Friday, January 6, 2017

Using test message option in SAP PI for production message


Om


During my support activates in SAP PI, I need to identify the failed messages in message monitoring.

If any failed messages that are due to no value mapping entry and there would be one fix required to avoid this error at SAP ECC side.

until we fix this change in ABAP , we could not wait for rest of entries/row (xml file) where data is not related to this error. we are supposed to move the data from sap pi to target system by skipping error entries in xml file ( by manual correction).

After getting firefighter id/support id, (manager approval and basis involvement to get this), we can use test option in sap pi to reprocess correct xml file to target system (production).

Other challenges 

1. Support option supports up to 11887 entries only, if the payload has more than this number entries/rows, we could send entire xml files to target. it throws mapping error again in monitoring page of sap pi.

What I did  ;-)

I simply split the corrected xml file into two files, each file has less than 11887 rows.
(by adding required tag start and end of xml file, like namespace and end tag)








Thursday, January 5, 2017

Fixing value mapping errors in sap pi mapping

Om

My value mapping error as follows.



opened the value mapping list, if that specific value is maintained in value mapping or not, and also find the solution to avoid mapping in this case also( as per my technical team advice)

By changing value mapping properties, usedefault value, we send some default value, if the value is not maintained in value mapping list.


Debugging SAP PI mapping based on manager query

Om

In one of my project, My manager asked me to verify specific parameter has been passed to target system or not, in delivery idoc from sap system.

As technical consultant, we could not find the corresponding filed in idoc.

but 
In this way, I have searched the right parameter in my idoc,

open the xsd structure of that idoc,

Search for the "reason code" and finding right segment in idoc.
As follows.


My manager query as follows




I have interface sheet, which was download from SAP PI message monitoring.

(save this as my reference)

I used this excel sheet to search based on my requirement.

identifying right idoc and mapping information.




 Searching sender idoc segment based on field description. for this i have opened idoc xsd searched the key word "Order Reason" as follows


Order reason corresponding filed name is AUGRU,

Now search this filed in mapping, where it is mapped to target.



copy the target field name and give it to my manager.


I hope , this would help you to solve your similar problems.