on 11-01-2005 6:49 PM
I have a BPM where I get two structures one from SAP
and one from WebService.
I have to compare these two strutures
if no entry is found in web service structure for the correponding entry in SAP Structure, then call other webservice else skip
Is this possible using Loop in BPM
Thanks
John
Hi Prasad,
I got this strucure with data from the rfc call to SAP
001
002
003
004
005
I got this structure with data from a call to web service
001
002
003
I have these two strucures in my BPM
Now, I have to compare these two structures and get
004, 005 which are not in the web service strucure and pass this data by calling another web service
I dont know how to loop over these two structures.
Is it possible to do this
Thanks for ur help
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
This can be done using mapping(transformation) step in BPM.
Create a multimapping with source messages as
1. strucure with data from the rfc call to SAP
2. structure with data from a call to web service
and have a target structre as structure which needs to be sent to another webservice.
Pass all the values from both the source structures to a user defined function. You can compare the input values from both the structers with each other using java code in a userdefined function and pass only the values(004
005) which needs to be sent to another webservice to target structure.
Regards
Anand
Hi Prasad,
Suppose I have 10 records in SAP Strucure and 8 records
in Web service strutcure.
Then i have to ignore 8 records which are similar in both structures and have to get the remaining two and pass it to the lagacy system.
How do i compare this using switch...
Please help me out..
Thanks
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
Use a Switch Step
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.