on 08-08-2007 9:34 AM
Hi experts,
I am doing an idoc to file scenario in which E1FISEG SEGMENT is coming multiple time and if it contains two field ebeln & sgtxt then only it has to create corresponding data record I used following logic ..............
eibeln[change context to one level upper] --->Exist
> AND-> Createif Target
//
sgtxt[change context to one level upper] -
>Exist
and achived creation of data record but the problem is that if EIFISEG occurs five time and only two time it contains eibeln& sgtxt then its creating only two data record but its taking data from first and second E1FISEG segment instead of corresponding E1FISEG which satisfy the condition......Plz help its bit urgent
Regards
Neha
First take out the Context Change for each element EIBELN and SGTEXT and do the maping . Before the Createif Use the remove context node function. It will work fine.
So EIBELn and SGTXT exist pass after If condition it will pass the elements with context change inside. Now use the remove context method to combined those values then definetly it wil work out
Warm Regards,
Vijay
Message was edited by:
Gangisetty Vijaya Bhaskarudu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot vijay it worked............however i have not understood what was the problem priviously however i am giving you u full point which u fully deserve.
Regards
Neha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.