Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC Segment - wrong value in WE02

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

8 REPLIES 8

former_member404244
Active Contributor
0 Kudos

hi,

Please check the change in the transaction..if the idoc is success u will find the changed value in the transaction..

Regards,

Nagaraj

Former Member
0 Kudos

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

0 Kudos

How can i update the idoc data??

0 Kudos

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

0 Kudos

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

0 Kudos

Hi,

You are doing modifications after creation of IDOC in we19..so u cannot see ur changed value...

Regards,

Nagaraj

0 Kudos

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??

Former Member
0 Kudos

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?