Fonction SAP BAPI_NETWORK_CONF_CANCEL - CANCEL for BOR Object Network, Subobject Confirmation Method

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDITIONAL_INFOS BAPI_NETWORK_CONF_CANCEL u 48 X Posting Date
CONF_CANCEL BAPI_NETWORK_CONF_KEY2 u 16 BAPI Structure (Key Fields) for Confirmation: Cancel
NUMBER BAPI_NETWORK_LIST-NETWORK C 12 Network Number

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

Functionality
Using this method you can cancel a network confirmation that has alreadybeen booked.
Goods movements posted together with the confirmation are automaticallycanceled as well. They cannot be influenced from the outside.

Notes
Be sure that immediately after you after you call this BAPI you carryout a COMMIT WORK. It is not possible to use multiple write confirmationBAPIs in a row, and carry out a single COMMIT WORK only once after thelast BAPI. However, if this does occur, the system will terminate thesecond BAPI because a chain of calls, such as this, is prevented in atechnical way by the system.
If you do not carry out a COMMIT WORK, you cannot confirm a network youcreated and released using a BAPI since it does not exist in thedatabase yet. First carry out the COMMIT WORK to write the activity tothe database, and then create your confirmations.

Description
The return parameter indicates if you could successfully post theconfirmation cancellation, and which exceptions occurred.
If you successfully cancelled the confirmation, the return parameter isreturned with initial values. If an exception occurs instead, thereturn parameter contains all necessary information about the errorthat occurred in detail in its structure. You can also find thisinformation in the MESSAGE notification text.

Description
Additional information
1.) POSTG_DATE
,,Posting date
2.) CONF_TEXT
,,Text explaining the reason for canceling

Description
Key for identifying the confirmation that should be cancelled (network,activity, activity element and confirmation counter).

Description
Number of the network