on 04-11-2016 7:22 AM
Hi All,
we are on PI 7.31 single stack SP16 .My scenario is file to proxy .with Header and detail records
The condition we have, to create a proxy are.
1.if Report Entry ID is equals to Report Entry Transaction Type then trigger one proxy with all detail records which satisfy this condition.
2. if the Report entry ID is not equals to Report Entry Transaction Type then for each detail record it should trigger a proxy.
Please help me out How this can be achieved.
Thanks& Regards,
Akhila.A
Thanks Raghuram and Inaki for your quick response.
Sorry the requirement has changed.
Now we have to take the unique combination of Report Entry ID Report Entry Transaction Type to post invoice to ECC
ex: If we have 4 detail records like below
date reportentryID ReportEntryTransactionType
1.11/04/2014 123 456
2.11/04/2014 123 789
3.11/04/2016 546 356
4.11/04/2016 123 789
then 2nd and 4th record should trigger one proxy because the combination of report entry ID and report entry transaction type is same for both the records
1st detail record should trigger one proxy and
and 3rd detail record should trigger one proxy . overall 3 proxy should reach ECC.
As of now I changed the occurrence of the target structure to unbound and trying to put this logic .Since createif expects boolean input its failing
Please help me the mapping logic to achieve this
Thanks&Regards,
Akhila.A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Concur?
If yes, I'd suggest you have an XSLT before the multimapping to sort the records by EntryID and TransactionType first so that all the details record that should go together in one message are next to one another, i.e. 2 & 4 are next to each other after the sorting by XSLT. XSLT is preferred since there are so many fields in the Concur structure.
Thanks Praveen..The mapping logic you provided for Accounting invoice receipt and Detail records worked..I am able to split the records and proxy is triggering for unique combination of Report Entry ID and Report Entry Transaction Type.
Since all the detail records are sorted, not sure should I use the logic you provided below.
Hi Akhila,
I think you don't need to use multi-mapping because if i understood right your scenario you will trigger one or another proxy depending one condition. You can use the condition editor editor in the receiver tab in the ICO object Using the Condition Editor - Integration Directory - SAP Library
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Akhila,
Refer the below link and see if it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.