Application Development and Automation 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: 
Read only

IDOC Segment - wrong value in WE02

Former Member
0 Likes
1,967

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
Read only

Former Member
0 Likes
1,330

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
Read only

former_member404244
Active Contributor
0 Likes
1,330

hi,

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

Regards,

Nagaraj

Read only

Former Member
0 Likes
1,331

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

Read only

0 Likes
1,330

How can i update the idoc data??

Read only

0 Likes
1,330

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

Read only

0 Likes
1,330

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

Read only

0 Likes
1,330

Hi,

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

Regards,

Nagaraj

Read only

0 Likes
1,330

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

Read only

Former Member
0 Likes
1,330

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?