Ansicht
Dokumentation

FARRIC_SD_REFFIELDS_UPDATE - Update reference fields of existing SD document items

FARRIC_SD_REFFIELDS_UPDATE - Update reference fields of existing SD document items

Vendor Master (General Section)   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

FARRIC_SD_REFFIELDS_UPDATE is a remote enabled function module. It can be used to fill the reference fields (REFID and REFTYPE) of existing sales document items in the VBAP table. These reference fields will be used in Revenue Accounting to combine contract items delivered from different sender components in one revenue contract as a multiple element arrangement.

Notes

The function module will import the following parameters:

IT_SD_REFFIELDS_MAP: This parameter will contain a package (or table) of all the items which needs to be updated on the SD table along with the corresponding reference field values.

The function module will export the following parameters:

EV_PACKAGE_STATUS: This parameter will indicate if the database update for all the documents in the package sent to the FM was successful or not. (S: success, E: error, I: Information)

ET_MESSAGES: This table will contain error or information messages. For example, if a document sent to the FM is not found in the SD tables an "information" type message will be added to this table. If a document sent to the FM could not be locked to make the updates on the database an "error" type message will be added to this table.





Parameters

ET_MESSAGES
EV_PACKAGE_STATUS
IT_SD_REFFIELDS_MAP

Exceptions

Function Group

FARRIC_SD_CRM_MIG

ABAP Short Reference   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1515 Date: 20240604 Time: 003149     sap01-206 ( 41 ms )