SAP AMDP CALL AMDP ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_AMDP - Calling an AMDP Procedure from SQLScript
This example demonstrates how am AMDP procedure is called from an AMDP procedure.

ABAP_SOURCE_CODE
DEMO CL_DEMO_AMDP_CALL_AMDP_PRCDR

ABAP_DESCRIPTION
The SQLScript procedure of the AMDP method INCREASE_PRICE of the AMDP class CL_DEMO_AMDP_CALL_AMDP calls a different AMDP procedure that is implemented in the private AMDP method INCREASE_PRICE_AMDP of the same class:
METH CL_DEMO_AMDP_CALL_AMDP=>INCREASE_PRICE
METH CL_DEMO_AMDP_CALL_AMDP=>INCREASE_PRICE_AMDP
The called database procedure must be specified after the addition USING of the statement METHOD . Compare the executable example for calling a further database procedure not managed using AMDP.