Ansicht
Dokumentation

/SCWM/SAMPLE_MATLWH_00001250 - Example Implementation for Event 00001250 to create MATLWH entries

/SCWM/SAMPLE_MATLWH_00001250 - Example Implementation for Event 00001250 to create MATLWH entries

Fill RESBD Structure from EBP Component Structure   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is an interface description only and does not contain any instructions. It is intended for developers of those additional components that provide their own function module at Event 00001250 (Master data material, data transfer).

Function module SAMPLE_INTERFACE_00001250 must not be changed.

If you want to create your own function module that is to be accessed at the callup point mentioned above, proceed as follows:

  1. Copy the function module to your own name range.
  2. Do not change any transfer parameters !!
  3. Write your own coding in the copied function module.
  4. Save and activate your function module.
  5. Carry out the necessary settings in Customizing. Business Transaction Events

EVENT

The event will run when creating and changing a material after writing the material master data.

INTERFACE

For each database table, the interface provides the data for the current status and the status before the change was made.

The interface includes the following parameter types:

  • Update indicator (for example, UPD_MARA, UPD_MARC, ...)
These indicators display whether a change has been made to the assigned database table (for example, MARA, MARC, ...).
Possible values for changes:
  • U = Update

  • I = Insert

An exception forms the update indicator UPD_ICDTXT_MATERIAL. This includes 'X' if a change to the long text has been made.
If no change has been made, the parameter has the value SPACE.
  • Import parameters
These parameters help transfer data for those database tables (for example, MARA, MARC, MARD, MBEW, ...) for which only one data record can be transferred for each call.
  • Table parameters
These parameters help transfer data for those database tables (MAKT, MARM, MEAN, ...) for which several data records can be transferred for each call.
For table parameters (for example, for MAKT) the assigned update indicator (for example, UPD_MAKT) is always 'U' if data records were created, changed or deleted. Every data record includes an additional update indicator that specifies for the data record, whether it was created, changed or deleted.
  • If the data record was changed, a record with indicator 'U' can be found in both the table with the old values and the table with the new values.

  • If the data record was added, a record with indicator 'I' can be found in the table with the new values.

  • If the data record was deleted, a record with indicator ' ' can be found in the table with old values.

An exception forms the table parameter T_ICDTXT_MATERIAL. In this table, only the changed long text keys are transferred, no long text data. The update indicator is therefore as follows:
  • 'I', if the long text is new

  • 'U', if the long text has been changed

  • 'D', if the long text has been deleted





Parameters

FL_UPD_TASK
I_MARA_NEW
I_MARA_OLD
I_MARC_NEW
I_MARC_OLD
T_GESV_NEW
T_GESV_OLD
T_ICDTXT_MATERIAL
T_MAEX_NEW
T_MAEX_OLD
T_MAKT_NEW
T_MAKT_OLD
T_MAPE_NEW
T_MAPE_OLD
T_MARM_NEW
T_MARM_OLD
T_MEAN_NEW
T_MEAN_OLD
T_MKAL_NEW
T_MKAL_OLD
T_MLAN_NEW
T_MLAN_OLD
T_PROW_NEW
T_PROW_OLD
T_QMAT_NEW
T_QMAT_OLD
T_UNGV_NEW
T_UNGV_OLD
UPD_MARA
UPD_MARC

Exceptions

Function Group

M/SAPLPRD_S4

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 4540 Date: 20240427 Time: 031247     sap01-206 ( 68 ms )