Posts

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'.        

Control Break Statement in SAP ABAP

Control Break Statement : Events 1.AT NEW 2.AT FIRST 3.AT LAST 4.AT END OF 5.ON CHANGE OF Using these statements we can control the flow of ABAP programming statement within the LOOP........ ENDLOOP statement AT NEW: It triggers for a group of similar contents in an internal table.It triggers whenever there is a change in field values in an internal based on character value. Syntax:  AT NEW <field-name>.  ....................... statenments  ......................... ENDAT. AT FIRST:  It triggers during first loop iteration . Syntax:  AT FIRST. .................... STATEMENTS ........................... ENDAT.   AT LAST: It triggers for last line of an Internal Table or last loop iteration.Most of the time AT LAST used to do for GRAND Total. Syntax: AT LAST. ................................ ................................ ENDAT. AT END OF: It will triggers the end of group of similar values in an internal ta...

Internal Table & Structure concept in SAP ABAP

Today I am going to discuss about Internal Table concept in sap ABAP. Internal table is a temporary table created in RAM. It is created during run time and store data temporarily. Using "Table of"  key word we can create internal table.Internal table can store multiple value in run time. Syntax of internal table: Data: Itab TYPE TABLE OF  MARC (TYPE TABLE). Even we can create internal table as we need. At the very first time we need to create a structure. Using Type keyword we create structure in ABAP program. Structure never holds any data, based on structure we can create number of object in sap. Syntax: Types: Begin of st ,             matnr  type  marc-matnr,            werks   type  marc-werks,            sobsk    type marc-sobsk,           ...

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

SAP PM table list.Part:02

In my previous post I share most important table name for PM module.As a sequence today I also share again some useful table.Hope it will assist you when work. Keep in touch with me. SAP PM Orders Table Description AFIH Order header AFAB Network – Relationships AFPO Order Item AFFH PRT assignment data for the work order AFFL   Work order sequence AFFT   Order – Process Instructions AFFV Order – Process Instruction Values AFKO Order header data PP orders IHPA Partners PMCO Cost structure and overview of the order MCIPMIS Order data for PMIS PMCOQT Quantity structure for the maintenance order PMPL Print data for the order PMSDO PM organizational data for SD documents  ...