Posts

Showing posts with the label AMDP in SAP HANA

BAPI for material storage location Add

 We can add material storage location plant wise using third party app or web. BAPI names : BAPI_MATERIAL_MAINTAINDATA_RT Import parameters: HEADDATA: Material Tables: STORAGELOCATIONDATA: Material: Plant: STGE_LOC:   STORAGELOCATIONDATAX: Material: Plant: STGE_LOC:   use below code after completing steps. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.        

AMDP in SAP HANA

Database procedure are stored and execute in the Database. On HANA database through ABAP using AMDP class and AMDP method called  ABAP managed Database Procedure. SQL script is the language for creating stored procedure in HANA. Benefit of SQL script allows complex calculation inside HANA Database. Language varies from one database system to others. The ABAP Managed Database Procedure should be created using ABAP developments tools Eclipse or HANA studio. If we consider students as a Class and that Class has a Marker Interface "IF_AMDP_MARKER_HDB"  then it is an AMDP Class.If one or more method of AMDP class has then keyword is "BY DATABASE PROCEDURE". The AMDP class must contain the appropriate tag interface. In Class definition provide interface IF_AMDP_MARKER_HDB . Define Table Type as TT_name and structure as TY_name. Define the method GET_name_data