Fonction SAP BAPI_BUS1119_SAVEREPLICA - BAPI: Edit Hazardous Substance Data (Mass Editing)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHANGE_NUMBER BAPI_1119_IMPORT_PARAM-CHANGE_NUMBER C 12 X Change Number
COMPLETE_HAZSUB BAPI_1119_IMPORT_PARAM-COMPLETE_HAZSUB C 1 'X' X Transfer of Complete Data
DELETE_DATA BAPI_1119_IMPORT_PARAM-DELETE_DATA C 1 'X' X Physical Delete of Old Data
KEY_DATE BAPI_1119_IMPORT_PARAM-KEY_DATE D 8 SY-DATUM X Validity Date (Key Date)
SENDER BAPI_1119_IMPORT_PARAM-SENDER C 10 Logical System of Sender
SENDING BAPI_1119_IMPORT_PARAM-SENDING C 1 ' ' X Sending or Posting of Data

Paramètre Reférence Long. Facultatif Description
ET_APPLICATION_OBJECTS BAPIOBJID 100 X Structure for Object ID
ET_COMMUNICATION_DOCUMENTS BAPIOBJID 100 X Structure for Object ID
EXTENSION BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
HAZSUB_HEADER BAPI_1119_MD 512 X Hazardous Substance Basic Data
HAZSUB_HEADERX BAPI_1119_MDX 29 X Checkbox Structure for BAPI_1119_MD
HAZSUB_NUMDATA BAPI_1119_DN 328 X Hazardous Substance Additional Data 2 (Numeric Value Type)
HAZSUB_NUMDATAX BAPI_1119_DNX 28 X Checkbox Structure for BAPI_1119_DN
HAZSUB_TEXTDATA BAPI_1119_DT 283 X Hazardous Substance Additional Data 1 (Text Type)
HAZSUB_TEXTDATAX BAPI_1119_DTX 17 X Checkbox Structure for BAPI_1119_DT
RECIPIENT BAPI_1119_RECEIVER 10 X Transfer Structure for Logical Systems
RETURN BAPIRET2 548 X Return Parameter(s)
UPSLINK BAPI_UPSLINK_ADDON 210 X BAPI Ref. Structure for Referring Object to Superord. UPS

Functionality
With this method you can post or send hazardous substance data.

Functionality from Point of View of Calling Program
With this method you can send copies of instances of the business objecthazardous substance in a system via Application Link Enabling(ALE). Here, you can request hazardous substance data in push mode(SENDING parameter = ) or distribute hazardous substance data inpull mode (SENDING parameter = X).
Distribution is asynchronous and in the form of mass processing, thatis, the system sends all hazardous substance data per filter objectcombination to the systems that are specified for this in thedistribution model.
A checkbox structure exists for each hazardous substance data table(HAZSUB*). The system changes only the fields in the hazardous substancedata table for which the corresponding checkbox is set in the checkboxstructure. The field names in the data structure and checkbox structureare identical.
The EXTENSION table contains additional data that can be posted in therecipient system. For this, you must create at least one appendstructure for the structure BAPI_1119_TE_HSMT_MD, BAPI_1119_TE_HSMT_DT,or BAPI_1119_TE_HSMT_DN and an additional append structure with the samefields for the tables HSMT_MD, HSMT_DT, or HSMT_DN. During sending, youradditional fields in the tables HSMT_MD, HSMT_DT, or HSMT_DN areautomatically written to the EXTENSION table and distributed. Onposting, the additional data is then transferred back again to thecorrect table and written.

Notes
You can modify the hazardous substance data before sending it or postingit using the Business Add-In (BAdI) HSM_BADI_002
.

Description
This parameter specifies the change number.

Description
This parameter specifies whether hazardous substance data is distributedor saved over the complete time interval (value X) or not (value).

Description
This parameter controls whether old data is deleted physically (valueX) or not (value ), that is, whether the data in thetarget system is completely overwritten or not.

Description
This parameter specifies the selection date for the selection of thehazardous substance data that is distributed.

Description
This parameter specifies the logical system of the sender.

Description
This parameter controls whether data is sent (value X) or posted(value ).

Description
This table contains your additional data.

Description
This table contains the hazardous substance basic data.

Description
This table contains the checkbox structure for the hazardous substancebasic data.

Description
This table contains the hazardous substance additional data 2 (numericvalue type).

Description
This table contains the checkbox structure for the hazardous substanceadditional data 2 (numeric value type).

Description
This table contains the hazardous substance additional data 1 (texttype).

Description
This table contains the checkbox structure for the hazardous substanceadditional data 1 (text type).

Description
This table contains the recipient systems.

Description
This table contains error messages and warnings.

Description
INCLUDE BUS1119_SAVEREPLICA OBJECT DOKU ID TX