- The authorization for changing a funded program is checked.
- Use the TESTRUN parameter for testing.
Customer Enhancements
INCLUDE BAPI_CUST_INOUT OBJECT DOKU ID TX
INCLUDE BAPI_CUST2 OBJECT DOKU ID TX
Return Messages
INCLUDE BAPI_RET OBJECT DOKU ID TX
Hint
Change by comparison is supported in this parameter. This means that twostructures for one funded program are passed as parameters. Onedescribes the existing function program (FMMEASURE), the other(FMMEASURE_NEW) describes how the funded program should look after theupdate.
Basically the BAPI compares the two given structures and marks thefields that have not as 'not relevant'. This reduces the amount of datathat needs to be transported.
If you always want to update the whole program, you do not need to usethe structure FMMEASURE and the text table FMMEASURET.
To change an existing funded program, you should read it first using theBAPI_0038_GETDETAIL method and fill the FMMEASURE parameter with theresult of this method. Since the FMMEASURE parameter of the methodBAPI_0038_GETDETAIL includes other structures also, you can assign bothparameters like this:
BAPI_0038_CHANGE Parameter Result parameter fromBAPI_0038_GETDETAIL
FMMEASURE = FMMEASURE-DETAIL
If you do not want to read the program first, there is no need to usethe FMMEASURE and FMMEASURET parameters.
INCLUDE BAPI_0038_FMAREA OBJECT DOKU ID TX
INCLUDE BAPI_0038_DATA OBJECT DOKU ID TX
Note
Since the BAPI uses the change by comparison approach, this structureshould be filled with the funded program already on the database
INCLUDE BAPI_0038_DATA OBJECT DOKU ID TX
Note
Since the BAPI uses the change by comparison approach, this structureshould be filled with the updated funded program.
INCLUDE BAPI_0038_MEASURE OBJECT DOKU ID TX
INCLUDE BAPI_0038_TESTRUN OBJECT DOKU ID TX
INCLUDE BAPI_0038_EXTENSIONIN OBJECT DOKU ID TX
INCLUDE BAPI_0038_EXTENSIONOUT OBJECT DOKU ID TX
Note
Since the BAPI uses the change by comparison approach, this table shouldbe filled with the text entries of the updated funded program
INCLUDE BAPI_0038_TEXT OBJECT DOKU ID TX
Note
Since the BAPI uses the change by comparison approach, this table shouldbe filled with the text entries of the funded program already on thedatabase.
INCLUDE BAPI_0038_TEXT OBJECT DOKU ID TX
INCLUDE BAPI_0038_CHANGE_RETURN OBJECT DOKU ID TX