Generating iDoc File Name SAP ABAP

When configuration outbound iDocs and if you are creating iDoc files though a file port. You should specify the file name format for these outbound files. You may have different outbound iDocs and you should be able to differentiate each type by the file name. For example Invoice iDocs can be prefixed as “810” and […]

Adapter Specific Message Attributes SAP PI

ASMA or adapter specific message attributes are additional information about the message. Each adapter has set of ASMA and these are available in in message header. These attributes can be accessed in message mapping or routing under namespace “http://sap.com/xi/XI/System/<Adapter Metadata Object Name of Adapter>” In this example file and SFTP ASMA are used in file to […]

File to File Scenario without IR (ESR) Objects

This article shows a PI integration File to File scenario which is configured to move files from application server location to FTP location. This interface is able to move any type of file regardless of its structure and extension. For this kind of interface you do not require integration repository objects as file structure is […]

Make Table Maintenance Display Only – Remove Change Mode – Disable New Entries

Hi Techies! There will be instances where you need to to only display the entries using table maintenance. Most common instance would be when there is a table maintenance transaction setup already but there is a new requirement to set it to display only. This can be done with minimum development effort by editing the GUI status of the table maintenance screen and […]

Table Control Example ABAP

Table Control Example Table control is a very useful tool when it comes to creating applications with user interactions.The program show how table control can be used to display and manipulate data. It will display sales order number, sales order line item and material number. User is able to change material number, sort up, sort down or delete […]

BAPI for MRP Run SAP AFS

If you need to execute MRP in SAP AFS for a single material for a plant you can use the BAPI “J_3AM_DISPOSITION”. This is the BAPI which is called by the standard SAP MRP transaction /AFS/MD02.   J_3AM_DISPOSITION You need to set the importing parameters as below. Parameter “I_BANER” (Creation Indicator for Purchase Requisitions) can […]

Write to SAP Application Log

SAP application log is a great method to display/save messages that occur when executing a SAP application. For custom applications, you can create your own application log object, which will enable user to see the log of the specific application in the future easily filtering using the object. Purpose of application log object is to logical segregation of messages. With […]