Change Standard Domain Fixed Values SAP

SAP domain values could be validated or restricted by maintaining fixed values. These fixed values could be used for input checks in selection screens. If there are no other input help is available, these fixed values are also used as the F4 hit list of the selection field. Standard SAP domains are delivered with set […]

Change iDoc Status by Standard Program

How to change the status of an iDoc in SAP? iDoc Status change requirements may arise due to different reasons such as reprocessing, archiving etc. But make sure you use SAP standard methods and programs to change iDoc status. If you have a iDoc in status 53 (successfully processed), standard iDoc processing programs such as […]

Function Group Contains Errors SAP ABAP

Error “function group contains errors” could be due to inconsistencies in the function group. If you come across this error when trying to execute a function module follow the below steps to rectify the issue. To fix the issue you simply have to repair the function group. Go to se37 and select Utilities and repair […]

Convert Spool Requests to PDF SAP ABAP

You can use the standard program “RSTXPDFT4” which converts OTF or ABAP list spools to PDF. First find the spool request number from SP01. Then go to transaction se38 and execute the program “RSTXPDFT4”. Provide the file path and spool request number. File could be directly downloaded to a local destination. Spool Requests with More […]

SAP View Cluster Example

View cluster is a logically grouped set of maintenance dialogs. Grouping of these maintained dialogs into one view cluster or one maintenance unit can be based on business or technical relationship. View cluster can be a collection of related tables or views which enable data maintenance in a consistence manner. In this example there are two tables which are […]

Dynamic File Name in SAP PI

In SAP PI/PO there are several ways to create dynamic file names at receiver channel. Depending on the requirment you can make use of either Adapter Specific Massage Attributes (ASMA), User Defined Function (UDF) or Variable Substitution to set the file name dynamically. I have three articles explaining each method step by step with an […]

Variable Substitution Configuration Example

Lets look at how to configure Variable Substitutions at receiver File adapter. Variables or data elements from xml payload can be assigned to file name at PI/PO runtime using this method.   Receiver file channel has capabilities of defining the file directory and the file name of the output file. Variable substitution method is a […]

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 […]

Number Range Objects Example SAP PI/PO B2B

If you have a requirement to assign a unique sequence number to a target field you can do that using below method in PI 7.3 or higher single stack versions. This type of unique sequence number requirement is common when you have B2B EDI integration scenarios with business partners. EDI segments ISA.13 (Interchange Control Number), […]