on 09-15-2009 2:53 PM
Hi ,
I am creating Message mapping for IDOC to Http scenario.
In which i have the following requirement. For a partner Role in segment E1BPDLVPARTNER we need to get the Address_No value
and then with that we need to get the address from segment E1BPADR1
<E1BPDLVPARTNER>
<PARTN_ROLE>AG</PARTN_ROLE>
<PARTNER_NO>0007745359</PARTNER_NO>
</E1BPDLVPARTNER>
<E1BPDLVPARTNER SEGMENT="1">
<PARTNER_NO>0007745359</PARTNER_NO>
<ADDRESS_NO>0000267775</ADDRESS_NO>
</E1BPDLVPARTNER>
<E1BPDLVPARTNER SEGMENT="1">
<PARTNER_NO>0007759123</PARTNER_NO>
<ADDRESS_NO>9000001048</ADDRESS_NO>
</E1BPDLVPARTNER>
<E1BPADR1 SEGMENT="1">
<ADDR_NO>000075</ADDR_NO>
<NAME>BRIDT HOSPITAL INC</NAME>
</E1BPADR1>
<E1BPADR1 SEGMENT="1">
<ADDR_NO>00775</ADDR_NO>
<NAME>BRIDGA</NAME>
</E1BPADR1>
<E1BPADR1 SEGMENT="1">
<ADDR_NO>05</ADDR_NO>
<NAME>BRIDL INC</NAME>
</E1BPADR1>
Can you provide inputs on this.
Thanks,
Vishal
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For the Address No 0007745359 in E1BPDLVPARTNER we need to go to the E1BPADR1 segment and get the address from
it and populate the target. Also the data above is test one
Me a bit confused about your requirement!
In your structure Partner_Number is having the value 0007745359
What i get is you have to check for PartnerNo in E1BPDLVPARTNER and if that value matches then go to E1BPADR1 segment and get the Address......but to go to a particular E1BPADR1 you need to check for some field within it.....
Your mapping logic will be something like:
PartNum/ AddrNum -->
--->equalS --->
Constant(0007745359)
----> And ----> IfWithoutElse ---> Target
Field_of_E1BPADR1 (validation logic) --> Then(Field_of_E1BPADR1)
Context of PartNum/ AddrNum to be raised and also that of Field_of_E1BPADR1 (the one on which validation is imposed.
If possible get some more details from your technical lead on how to select the E1BPADR1 ...
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal,
I dont see a relationship between the two for example, for address no. 0000267775 which address segment you need to take? Do you mean for the first addressno. you need to take the first address and for the second addressno. you need to take the second address etc or any other business logic?
Regards,
---Satish
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.