on 10-13-2010 5:14 PM
Hi Sap All.
in an Idoc to webservice Interface,i have got a requirement where in the message mapping there is a segment called E1EDKA1
here this E1EDKA1 segment will be repeating for multiple times so i need too checkfor every E1EDKA1 if E1EDK01-PARVW = x if yes then i need to CONCAT the corresponding E1EDKA1-title to the E1EDK01-BELNR which occurs only for one time in the IDOC then map to target field which occurs under the header of the target structure.
here i used if then standard function with if E1EDKA1-PARVW = X then E1EDKA1 TITLE ,E1EDK01-BELNR ->CONCAT ->map to target field under header.
but when i click on Display queue function of IF THEN its only concatenating the first occurance E1EDKA1-TITLE to E1EDK01 -BELNR and then passing to target irrespective of "TRUE" or "FALSE".
will be waiting for the best solution for this.
regards.
Varma
Keep your current map, use following logic to replace E1EDK01 -BELNR
E1EDK01 -BELNR ------------------------------>
E1EDKA1-TITLE(raise Context to IDOC) ---->UseOneAsMany--->
E1EDKA1-TITLE-------------------------------->
Then you can use cancat with E1EDKA1-TITLE.
Regards
Liang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Varma,
Use the below logic
Use IF THEN Without else
Pass the below logic to IF PART
PARVW(change context to IDOC) , eQuals, Constant( whatever you want to pass)
Pass the below logic to THEN PART
BELNR ,CONCAT, TITLE(change context to IDOC)
PASS THE OUTPUT OF IF THEN to REMOVE CONTEXT
PASS THE OUTPUT OF THE REMOVE CONTEXT to your target field.
Hope 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 |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.