Fonction SAP WRF_REF_MODULE_INIT_IF_STAT - Initialize fields concerning interface processing

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
PI_REF_MODULE WRF_REF_MODULE_NUMBER C 40 Number of the Reference Module
PI_UPDATE_TASK WRF_REF_BOOLEAN C 1 FALSE X Boolean Value

Exception Description
DATABASE_ERROR Error during update occured
FOREIGN_LOCK Module locked by another user
NOT_FOUND Module head doesn't exist in database

Functionality
This function module initializes the status fields in the module headerthat control follow-on processing of the reference module. These statusfields are:

  • NEWTS

  • Flag: New construction of history is necessary in SAP F&R due tochanges
    • DESC_MOD

    • Indicator: Description of module has been modified
      • FIRST_TRANSFER

      • Flag: New module (will be transfered for the first time)
        The function module is called when the module is sent to SAP F&R.