Ansicht
Dokumentation

BUPA_ACT_ANALYZE_FOR_DIALOG -

BUPA_ACT_ANALYZE_FOR_DIALOG -

rdisp/max_wprun_time - Maximum work process run time   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function checks to see if a particular activity (in the sense of the general status management) is allowed for a given business partner.

Result:

  • sy-subrc = 0: Activity is allowed
  • sy-subrc <> 0: Activity is not allowed, or is allowed only with a warning
  • Exception NOT_ALLOWED: Activity is not allowed
  • Exception ALLOWED_WITH_WARNING: Activity is allowed with a warning

The business partner should be stated by means of its GUID (parameter iv_partner_guid).

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 for the parameter iv_activity.

If you require a message table for BAPI methods instead of exceptions, you can use the analogous module BUPA_ACT_ANALYZE_FOR_BAPI.

Further information





Parameters

EV_SUCCESSOR
IV_ACTIVITY
IV_PARTNER_GUID
IV_RESET_BUFFER
IV_VALDT

Exceptions

ALLOWED_WITH_WARNING
NOT_ALLOWED
PARTNER_UNKNOWN

Function Group

BUBA_4

PERFORM Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1670 Date: 20240523 Time: 173801     sap01-206 ( 26 ms )