‎2010 Apr 23 10:41 AM
Hi Experts,
idoc: orders05 , fm : IDOC_INPUT_ORDERS
I have a question , I am actually trying to see the structure E1EDKA1 and see if I have a particular value in the partner function
Lets say "A" i want to add the second segment E1EDKA1 with another partner function say "b".
i.e I need to dynamically add a segment of same type if I find the desired value in E1EDKA1. I have identified a user exit
but is it possible to dyanamically add a segment and fill it with values and append to IDOC_DATA.
I am not too familar with idocs, thanks in advance for help .. please guide..
Regards,
Saurabh
‎2010 Apr 23 10:57 AM
Hi,
Check enhancement : VEDA0001, Component : EXIT_SAPLVEDA_001 or EXIT_SAPLVEDA_007
Regards
Vinod
Edited by: Vinod Kumar on Apr 23, 2010 3:29 PM
‎2010 Apr 23 11:22 AM
Hi ,
Thanks for your reply .
the program is actally looping at idoc_Data and when it identifes a segment : e1edka1
it checks the value of the partner function and if partner function is "A"
my requirement is to add another set of value to this segment ie. append the e1edka1 segment with a new set of values
while the idoc_Data is still looping
while idoc_data is looping can i append a segment with new values to idoc_data and whether in next itteration of the loop new segment wld be covered?
is this possible in case of idocs?
‎2010 Apr 23 11:32 AM
Hi Saurabh,
Yes you can include your own segments if you have found the proper user exit
one thing you need to keep in mind is to maintain the correct segment group as long as you don't mess with the segment goroup you can add additinal segments up to its maximun number.
Regards,
Lohith