Show TOC

 Data Upload Locate this document in the navigation structure

An SAP transaction triggers the upload of data from the optimization system. The upload takes place in three parts.

Part 1: Access Function in Optimization System Through the SAP System

You define the RFC destination and the function that is carried out in the optimization system in the SAP system.

Start function RFC<External function>

Usually, the function RFC<POI_Upload_Start> is set in program <POI_Upload> (see Customizing Settings).

The interface is started.

Part 2: Access Function ”CLOI_Changes_Upl_31” in the SAP System

This function is accessed through the external optimization system.

Changes are copied to tables (Suffix:_imp). You can control how the interface works using parameters.

After function module CLOI_CHANGES_UPL_31 is carried out, the export parameters and export tables (Suffix in:_exp) are returned to the optimization system.

This function module may be used several times in succession without using the commit flag in structure CLOIIFPAR. If you do use the commit flag, the connection has to be closed and reopened to use the function module again.

Part 3: Exit Function

The exit function ends the connection to the external system. See RFC_API for more detailed information.

Note Note

Each business object should only be changed once per RFC.

The upload transaction must be ended after a database commit. However, you can restart the transaction.

End of the note.

See also:

Function Module CLOI_CHANGES_UPL_31

Function Module CLOI_MESSSAGES_TEXT_GET