Ansicht
Dokumentation

BUPA_ACT_ANALYZE_FOR_BAPI -

BUPA_ACT_ANALYZE_FOR_BAPI -

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function checks whether a particular activity (in the sense of the general status management) is allowed for a stated business partner.

Result:

In the case of this variant, which is meant to be used in BAPI methods, the result is returned in the following form:

  • ev_result_type = 'S' (Success): Activity is allowed
  • ev_result_type = 'W' (Warning): Activity is allowed with a warning
  • ev_result_type = 'E' (Error): Activity is not allowed

In addition, the table et_results returns a complete list of all messages in the format that is usual for BAPI methods.

The business partner can be specified via its GUID (parameter iv_partner_guid) or its business partner number (iv_bp_number), whichever is required.

If the activity is not allowed, a successor may (i.e. if correctly entered) be made known with the help of the parameter ev_successor. In future this successor should be used instead of the provided partner.

Example

Notes

For more information, also see the documentation on the parameter iv_activity.

If you require exceptions instead of a message table, then you can use the analogous module BUPA_ACT_ANALYZE_FOR_DIALOG.

Further information





Parameters

CT_RESULTS
EV_RESULT_TYPE
EV_SUCCESSOR
IV_ACTIVITY
IV_BP_NUMBER
IV_PARTNER_GUID
IV_REQ_MASK
IV_RESET_BUFFER
IV_VALDT

Exceptions

Function Group

BUBA_4

General Data in Customer Master   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1902 Date: 20240523 Time: 151757     sap01-206 ( 31 ms )