Fonction SAP BAPI_DANGEROUSGOOD_REPLICATE - Dangerous goods: Request instances

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDINFORMATION BAPI1078_ADDINFORMATION u 1 X Additional information

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return

Paramètre Reférence Long. Facultatif Description
DANGEROUSGOODRANGE BAPI1078_RANGE 93 Range for dangerous goods
SAVEREPLICARECIPIENTS BAPI1078_RECIPIENTS 10 Recipient for dangerous goods

Functionality
The BAPI_DANGEROUSGOOD_REPLICATE method is used to request copies ofinstances for the business object dangerous goods in a systemusing the push procedure (sending).
Together with the BAPI_DANGEROUSGOOD_SAVEREPLICAMULTIPLE method, thismethod stores the instances provided to the target system.
You can still use the existing function to change the dangerous goodsmaster.

Prerequisites

  • The relevant material master records must be entered in the source and
  • the target system.
    • ALE Customizing must be edited in the source and target system.

    • If you use engineering change management, the relevant change numbers
    • you used to edit dangerous goods master records must be entered in thetarget system.

      Notes
      Messages are returned in the RETURN parameter. The return values andtheir meaning are explained in the documentation for this parameter.

      Authorizations
      Authorizations are defined using the authorization object M_MATE_DGM.You can assign the following activity to application profiles:
      Authorization,,Activity
      01,,Create

      Customizing
      For information about setting up ALE Customizing, see Help -> SAPLibrary -> CA Cross-Application Components -> Business FrameworkArchitecture -> Application Link Enabling (ALE) -> ALE QuickStart.

      Further information
      For more information, see Help -> SAP Library -> CACross-Application Components -> CA The IDoc Interface -> Overview of theIDoc Interface -> Monitoring.

      Description
      This export parameter contains the confirmation from the method call.

      Value range
      Type,,ID,,Number,,Message
      E,,DG,,825,,No authorization to distribute
      ,, ,, ,,date for object &1
      E,,B1,,003,,Could not determine recipients
      ,, ,, ,,for message type &
      E,,DG,,723,,Distribution was not started
      ,, ,, ,,(receiving system not available)
      E,,DG,,763,,Distribution not started (more
      ,, ,, ,,than one receiving system available)
      E,,DG,,862,,No data records could be found
      E,,DG,,860,,No data records found for
      ,, ,, ,,the selection criteria
      E,,DG,,861,,The data records found are
      ,, ,, ,,not valid for the selection criteria
      E,,DG,,753,,IDOC for distribution could not be generated
      S,,DG,,754,,Distribution was started successfully
      Only one message is returned in the return parameter as the method isstructured in grades.
      Example: If a message (D-DG-825, for example) occurs, the method doesnot proceed through the next program steps. This means that thesubsequent messages do not occur.

      Description
      This structure contains an indicator that shows whether the changepointers should be evaluated.

      Description
      For information on the meaning of the individual parameter fields, seethe corresponding data element documentation in the ABAP dictionary.
      Mandatory fields:
      The material, regulation, valid-from and valid-to fields must befilled. If not, the corresponding data record will be rejected. If adata record has a data record split (with engineering changemanagement), the change number is then also mandatory.
      Dependencies:
      None

      Description
      For information on the meaning of the dangerous goods recipient, seethe corresponding documentation Logical system of thereceiver.

      Value range
      None

      Default
      None