Ansicht
Dokumentation

SIMG_CFMENUOLSDDAT07 - Transfer Data From Sales Documents (Up To 3.1x)

SIMG_CFMENUOLSDDAT07 - Transfer Data From Sales Documents (Up To 3.1x)

General Material Data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

In this menu entry, you start the program for transferring open sales order from an old data processing system to the SAP system.

The following table structures describe the record layout for copying open orders:

  • BVBAKKOM Header data
  • BVBPAKOM Partner data
  • BVBAPKOM Item data and conditions
  • BVBEPKOM Data from schedule lines

Write old data to a sequential file and introduce it to the SAP system.

Start the program for transferring open orders:

  • Enter the name or path of the seqential file to which you imported the data from the legacy system.
  • Enter the indicator for a test run for testing purposes.

When you start the program, enter the name of the file path where the data to be transferred is stored. The following rules apply for the structure of this data:

The data is made up of records which, depending on content, have different structures. Each structure has a name under which it is defined in the Data Dictionary. Copy this name in the first field of the structure (field ....-TBNAM). For more information on how structures are set up, see the Data Dictionary.

  • Header data and contract head data are transferred using structure BVBAKKOM. Data on document partners is transferred to structure BVBPAKOM. You must enter the item number '00000' for header partners. You can also enter partners at item level by transferring them to the related items with item number.
  • Item data and conditions are transferred using structure BVBAPKOM. This structure can also be used to transfer an order quantity and a requested delivery date. These are first transferred as schedule lines. In credit/debit memo requests as in contracts, however, all target quantites must be filled in.
  • Data in other order quantities and dates in the form of schedule lines can be transferred using structure BVBEPKOM.
  • At the beginning of each data record, the table name must be entered for identification purposes (e.g. BVBAPKOM for item data). Note that, unlike with manual entry, fields must be transferred in part in internal format: Date fields in Format YYYYMMTT, e.g. 19941231.
  • The date field must be in format YYYYMMDD, for example 19941231.
  • You must consider data element documentation when working with quantity and value fields. Partner functions must be in internal format: AG = Sold-to party, WE = Ship-to party, RE= Invoice recipient, RG= Payer.
  • Order types must be in internal format, not in the language-dependent translation, for example 'TA' for Terminauftrag instead of the english translation 'OR' for standard order.
  • You must enter the period indicator for the requested delivery date in internal format: 1 = day, 2 = week, 3 = month.
  • Numerical fields and date fields which are not used must be reinitialized with zeros.

The following rules apply for the sequence of the data records:

  • Each document begins with a header record (BVBAKKOM).
  • These are followed by the document partners (BVBPAKOM) for the document header.
  • After that comes the item data and the schedule lines (BVBAPKOM, BVBEPKOM, and BVEDAKOM).

Sample sequence:

BVBAKKOM Header data in first order

BVBPAKOM Partner data

BVBPAKOM Partner data

BVBPAKOM Partner data

BVBPAKOM Partner data

BVBAPKOM Item 1 with a schedule line

BVBAPKOM Item 2 with the first schedule line

BVBEPKOM 2nd schedule line for Item 2

BVBEPKOM 3rd schedule line for Item 2

BVBAPKOM Item 3 with first schedule line

BVBEPKOM 2nd schedule line for Item 3

BVBAPKOM Item 4 with a schedule line

BVBAKKOM Header data in second order

BVBPAKOM ...

BVBPAKOM ...

BVBPAKOM

BVBPAKOM

BVBAPKOM

BVBAPKOM

BVBAKKOM

BVBPAKOM

BVBPAKOM

BVBPAKOM

BVBPAKOM

BVBAPKOM

BVBAPKOM

The program reads the data and produces sales documents on the basis of it. You can generate a file with test data using Program RVINVBTO.

The program reads the data and generates sales documents.

Output

A log is issued in which it is defined which data can be transferred and which cannot. If data cannot be transferred, this is explained by way of an error message. The old document and item number which were transferred into the data records in the field OLDNR is given for each note in the log. Data which is not transferred must either be entered manually or processed in a later program run (after the input data has been corrected). You can issue sales document data, which has not been transferred, to a file for subsequent processing.






ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5844 Date: 20240523 Time: 191641     sap01-206 ( 119 ms )