Thursday, March 30, 2017

Getting problems during mapping testing with value mapping entries Dev qua Produ

Om

skip value mapping during unit testing.


Thursday, March 23, 2017

My colleague requirement in mapping fix

Om

On of my previous colleague, is trying to create dynamically target nodes based on sender input in AUDF in SAP PI graphical mapping.


1. His mistake,
He hard coded and trying to add values to result Set in AUDF. but it works only for 1 test data.

My fix
2. removed that java hard code logic,
in the same udf
I entered new input parameter to UDF, "on which parameter based, he would like to get entries in target side".
based on that , with out disturbing the logic, at the end.
put for loop 
{
addResultset

}


Thus , it worked for him, 
( to under his requirement , it took nearly 30-60min, )
Total 2 hours 

Most of the time, it took for me understand logic, his requirement,
I thought, his logic was correction, trying to fix.
later identify, that hard code does not work
tried to replace the correct logic.


Friday, March 17, 2017

Transport Request TR Search in SAP PI Dev Quality Production

Om


This blog helps you to search, CTS transport browser from EST

( some times it would be configured to some other system, sld componets also ).





Search options of transport request number in CTS browser
(filter criteria ) check status of the transport if it is development, quality, Production.

( if it is cratedin ESR, viewing in ESR, just add description change, and click on release , then
inform to your basis, saying transport has been released from development).

Also verify the status of transport in D or Q or P in this browser.










Every small things(how to do) will help you to finish task individually, 

Thursday, March 9, 2017

Remove asterisk while testing else throws error in Test option SAP PI

Om

end to end testing.
(remove * receiver party and receiver component and test it)


Wednesday, March 8, 2017

SAP PI mapping exception UDF rfc call :java.lang.ArrayIndexOutOfBoundsException while trying to load from index of an object array with length loaded from the parameter nr

Om

some times, your user defined function throws exception due to invalid entries, the number of entries for each paramter are not same, ( missing some data from source)

As shown below example

Message monitoring audit log error:
( selecting message mapping name: finding exact reason as shown below.)

see the stream transformatino exception.
Hint: whenever you see failed message, also get one sucess message 
( first compare the payloads in editor)
you will get some idea. based on this error.








failed message mapping , UDF does not show display queue , so i tried to open display queues for infort of this UDF

case1

case 2 ( observe the java code for this UDF)


Reason for failing , here only java throws error for us , comparing both array at same index.
(but that many number of index items are not found in another queue )


7th parameter input values ( 6 number), 6th parameter inputs ( 7 number)

7th paramter input values are to be 7, but 6 here



Let us observe the success payload input paramters.