on 09-24-2015 2:12 PM
Hi All,
I am using SAP MII 15.0 SP4 and I am trying to release the Order using SAP ME PAPI "ShopOrderRelease".
I am able to trace the success response.But Sometimes the service throws the error as "Material is not valid" like that,I cant able to trace the exact error.Catch action block also not able to give the error. Can anyone please help so that I can get the error response also?.
Regards
G.Partheeban
Hi G.Partheeban,
When you Catch the exception from any PAPI, examine the PAPI Action Block Message parameter, that will contain the complete error message that caused the exception.
Regards, Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Partheeban,
Check the response and request objects. It should give you a clue.
Action, action failure would not give you a response. A catch block would help you get the correct message though, you can check transaction manager for detailed insight.
Best Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Partheeban,
Once you catch the error using catch action, use terminate action block and assign the catched message to terminate action's message and set terminate with error to "true".
Now when the BLS fails, your ajax call will get into error state and provide you fatalerror which gets you the message that was captured by catch action block.
Let me know if you need any further info.
Best Regards,
Swaroop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.