Dynamic File Name UDF Example – SAP PI/PO

There are several ways to create dynamic file names at receiver adapter in SAP PI/PO. In this example we will discuss how to create a dynamic file name at receiver file channel using a User Defined Function (UDF).  Filename creation with UDF is a great way when the file name logic is too complicated to

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

When working with iDocs, you may come across situations where you need to change the current iDoc status. 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

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

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