Structuring Rules for Sales Doc. Transfer Files

Use

Specific structuring rules apply to the transfer file for sales documents. You must consider these in the conversion program, for example.

General Structuring Rules

  • The data consists of a series of data records: The structure of these records varies according to the data contents. Each structure has a name with which it is defined in the ABAP Dictionary. This name must be transferred into the first field in the structure (Field ... .-TBNAM). You can see the name of a structure by displaying the initial data transfer file in the Data Transfer Workbench.

Field Contents and Formats

  • The table name should be at the start of each data record so that it can be identified (BVBAPKOM for item data, for example). Unlike manual entry, some fields must be transferred in internal formats: Date fields in the format JJJJMMTT (for example, 19971231).

  • For quantity and value fields, follow the data element documentation. Partner roles in internal format: SP = sold-to party, SH = ship-to party, DB = bill-to party, PY = payer.

  • Order type in internal format, not the language-dependent translation (for example, TA for "Terminauftrag", not the English translation, OR, for "standard order").

  • The period indicator for requested delivery date must be specified using the internal format: 1 = day, 2 = week, 3 = month.

  • Any numeric fields, including date fields, that are not used, must be initialized with zeroes.

Detailed Information for Each Structure

  • Structure BVBAKKOM

    Header data and, if needed, contract header data are transferred in the structure BVBAKKOM.

  • Structure BVBPAKOM

    Data for document partners are transferred in the structure BVBPAKOM. Enter the position number 000000 for head partners. Partners can also be transferred on the item level, by transferring them with a position number after the corresponding position.

  • Structure BVBAPKOM

    Position data and conditions are transferred in the structure of table BVBAPKOM. You can also transfer an order quantity and requested delivery date in this structure. These are transferred as the first schedule line. For credit memo and debit memo requests, as well as contracts, fill in the target quantity.

  • Structure BVBEPKOM

    Use structure BVBEPKOM to transfer the data for further order quantities and deadlines in the form of schedule lines.

    Example of a typical sequence:

    BVBAKKOM

    Header data for the first order

    BVBAKKOM

    Partner data

    BVBAKKOM

    Partner data

    BVBAKKOM

    Partner data

    BVBAKKOM

    Partner data

    BVBAKKOM

    Position one, with schedule line

    BVBAKKOM

    Position two, with the first schedule line

    BVBAKKOM

    2. Second schedule line for position two

    BVBAKKOM

    3. Second schedule line for position two

    BVBAKKOM

    Position three, with the first schedule line

    BVBAKKOM

    2. Second schedule line for position three

    BVBAKKOM

    Position four, with schedule line

    BVBAKKOM

    Header data for the second order

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM

    BVBAKKOM