on 07-27-2010 9:54 PM
Hi,
I have a scenario in PI 7.1 imported from a standard design packge (for NFe solution) used to send invoices through an email to the customers (B2B outbound scenario).
I had changed this scenario by implementing the steps commented in the article http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00a7ba12-e7cd-2b10-d589-e52b11346f77.
Basically is to perform a lookup in the mapping during runtime to get an email address and put it in advanced email adapter configuration ("TO" field).
As described in the article, I created a Z mapping with the RFC call and informed such mapping name in the existing Operation Mapping, only changing the order which the mappings will be executed (there is another one, Java mapping and I needed to push it to second, and put the ZMapp in first).
Now, when testing this message mapping (Z) it works fine, the lookup is done.
When I try to test the Operation Mapping (with ZMapping first and Java Mapping second), it throws me the error:
RuntimeException when executing application mapping program com/sap/xi/tf/_MM_SourceMail_to_TargetMail_; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; com.sap.aii.mapping.api.UndefinedParameterException: The input-parameter In_RFC_ECC does not exist.
(In_RFC_ECC is the communication channel created to perform the lookup).
Does anyone knows where is the problem?
Thanks in advance.
Rafael Vieira.
Note http://service.sap.com/sap/support/notes/1777200 describes exactly problem we had. We are implementing solution now.
Regards,
Emile
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
any news here? We are having the same problem here on a PI 7.31 system. Even more it seems that sometimes the wrong parameter values are handed over to the mapping which is very strange.
Thanks,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian, our issue is still ongoing with OSS however we have a workaround which you can follow with these steps:
1) open up the swcv in the target system for changes.
2) delete the mapping objects (operation mapping and all includes message mappings)
3) make a dummy change to the mapping object in dev and export (a dummy change like adding a space to the description)
4) import to target system. This will cause conflicts due to the previous deletes.
5) log off the repository tools and restart. You'll now see the conflicts tab - its only visible if you log off and on. Good work there SAP!
Resolve the conflicts by choosing the displayed version ( the imported one ). Activate.
6) the mappings will now work fine.
Hi Emile,
we experienced the same thing about a year ago, but good news: SAP provided a note which solved the problem for us.
Have a look at http://service.sap.com/sap/support/notes/1933139
Kind regards,
Thomas
Unfortunately issue described in this note is not exactly the same. And we are already on the correct SP and patch level of PI731 SP10.
When we transport via export/import the mapping params are transferred correctly.
When accessing the message mapping we get the error:
"Java type of a parameter in function const has changed. Parameter binding will be ignored."
Kind Regards,
Emile
I had this behavior before when I had deleted a parameter in the mapping. (so not exactly the same issue).
It was solved after I cleared all caches in PI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, any progress on this issue? I see the same thing...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyone managed to solve this issue... We are on PO7.31sp6 and are getting this exact error as specified in the OSS message which is only for versions 7.10 to 7.20 however...
It works perfectly in our DEV environment - only when transported to TST environment do we get the error. The operation mapping tests successfully on its own.
?
Hi Vieria,
In your inteface mapping there is parameter tab. You need to fill the parameter and also test your interface mapping or press F7 for checking the interface mapping.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I haven't done these steps. When tried to hit F7, it shows me an error.
Now, just inserted in Parameters on Operation Mapping (i'm within PI 7.1) through Parameters button, the same information as MM (comm. channel name, Category - Adapter, Type - RFC, Parameter - Import, Description - blank).
Also, hit on arrow button, under Binding column, at Mapping Program section.
The Binding was with an "?" value, so I put the comm. channel name also (only for the 1st MM. There is another Java Mapping which shouldn't be affected).
Now when I press F7 on OM, it shows me no errors found during object check.
When executing through RWB i'm still getting error, but with another description:
Thrown: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length()
of an object loaded from local variable 'guid' at com.sap.guid.GUID.parseHexGUID(GUID.java:1015)
Runtime exception occurred during mapping
Any suggestion?
Thank you!
Rafael Vieira.
No errors when executing test on RWB.
I perform the steps to test in mapping test tab.
Once it success, I get the payload and put in the Payload section in RWB test message (Component Monitoring > Integration Engine > Test Message > Payload...).
Also filled the header fields (Sender Component, Interface, Interf. Namspc > User/Pwd, QoS Exac. Once).
It shows me Message Sent.
To check the results, SXMB_MONI and filter it.
Red flag, with the following error message:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">RUNTIME_EXCEPTION</SAP:Code>
<SAP:P1>Thrown: java.lang.NullPointerException: while tryi</SAP:P1>
<SAP:P2>ng to invoke the method java.lang.String.length()</SAP:P2>
<SAP:P3>of an object loaded from local variable 'guid' at</SAP:P3>
<SAP:P4>com.sap.guid.GUID.parseHexGUID(GUID.java:1015) ~</SAP:P4>
<SAP:AdditionalText />
<SAP:Stack>Runtime exception occurred during mapping</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I'm getting much the same error.
When I'm on my Development system I can see the parameter I have configured in my message mapping. But when I transport the change to QA then the parameter has desapeared. It is a bit frustrating.
In the processing log when I open the message mapping in QA i get the following error:
The source structure, target structure, or a function library has been changed or could not be found in the Enterprise Services Repository. The mapping definition contains elements or attributes that do not exist in the changed structure, or functions that were changed in a function library. The relevant entries will be deleted.
Java type of a parameter in function 'rfclookup' has changed. Parameter binding will be ignored
>
> RuntimeException when executing application mapping program com/sap/xi/tf/_MM_SourceMail_to_TargetMail_; Details: com.sap.aii.utilxi.misc.api.BaseRuntimeException; com.sap.aii.mapping.api.UndefinedParameterException: The input-parameter In_RFC_ECC does not exist.
Hi ,
There is a some problem while implementing RFC look up in Operation mapping (multiple mappings)..
look in to below thread..and check OSNOTE 1307777 and you need to apply patch
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raj,
I was waiting for basis guys to apply such note. It's applied!
Additionally, I've applied all configurations mentioned in these other threads but I'm facing the same error right now.
I can run the test successfully in MM (and I do see the lookup value returned, as an evidence that the lookup is executed) but when I go through RWB it still returns me this error.
Any other idea?
Thanks and regards,
Rafael Vieira.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.