on 02-03-2010 7:17 AM
Hi Experts,
We have to send across an invoice to web service enabled legacy system from ECC.
ECC>ABAP Proxy>SAP PI>SOAP Adapter>Legacy System1
ECC>ABAP Proxy>SAP PI>SOAP Adapter>Legacy System2
Requirement is like if the invoice number starts with 1A, it should go to Legacy System1 & if the invoice number starts with 2A, it should go to Legacy System2.
Can we do it in one single scenario using receiver enhancement and if yes How?
Regards
Nidhi Kukreja
If the source message is similar in both cases, then there is no enhancement required. You may simply use Condition in Receiver determination.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can make use of the XPATH function starts-with(string1,string2) and customize your condition as shown in this blog:
/people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
Update:
It can even be done without using any XPATH function.....just make use of the option Contains Pattern from the dropdown available for the Middle Operand....right operand will be 1A*
Regards,
Abhishek.
Edited by: abhishek salvi on Feb 3, 2010 1:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
>>>Can we do it in one single scenario using receiver enhancement and if yes How?
no need for any receiver enhancements - just use standard receiver determination rule with
substring function
no need for anything fancy
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.