09-04-2008 2:34 PM
HI,
I am working on ECC 6.0. I have changed the value of idoc segement in user exit by modifying table t_idoc_data.User exit name is EXIT_SAPLMRMH_011.
Once the invoice is created, invoice contains the value which is chaned in the exit but idoc log ( we02) shows the unchanged value.
Say segment in e1edp04 filed mwskz was having value 'MAT'.
I am changing it to 'M' . Then invoice is having value as 'M' but log shows 'MAT'.
Any clue??
Regards,
Shweta
09-04-2008 2:38 PM
Shweta
Inbound IDOCs are created in the system first and then they are sent for processing through Inbound Process Code... You are doing modifications after creation of IDOC, so there is no way you will see modified data in the IDOC....
You may Update the IDOC Data, once you processed it with the Process Code...
Thanks
Amol Lohade
09-04-2008 2:37 PM
hi,
Please check the change in the transaction..if the idoc is success u will find the changed value in the transaction..
Regards,
Nagaraj
09-04-2008 2:38 PM
Shweta
Inbound IDOCs are created in the system first and then they are sent for processing through Inbound Process Code... You are doing modifications after creation of IDOC, so there is no way you will see modified data in the IDOC....
You may Update the IDOC Data, once you processed it with the Process Code...
Thanks
Amol Lohade
09-04-2008 3:00 PM
09-04-2008 3:03 PM
if ur idoc is success i have already told please view in the transaction and see if ur changed value updated or not....
if it is changed then ur exit is working..
Regards,
Nagaraj
09-04-2008 3:06 PM
IDOC is sucess. Changed value also updated. My exit is working. But i want to know why when i see in we02 the value which is reflecting is wrong.
Edited by: Shweta Verma on Sep 4, 2008 7:36 PM
09-04-2008 3:14 PM
Hi,
You are doing modifications after creation of IDOC in we19..so u cannot see ur changed value...
Regards,
Nagaraj
09-04-2008 3:18 PM
Yes i am running it from we19. But new idoc number is getting generated. In that case if i don't test from we19 then will this be fine??
09-04-2008 2:40 PM
Are you modifying the Idoc Data with the new value. You might have modified the invoice but not the idoc data when it is populated?
Did you verify in debugging if that segment is getting the changed data?