Skip to Content
avatar image
Former Member

IDOC Segment - wrong value in WE02

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 04, 2008 at 01: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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

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

  • avatar image
    Former Member
    Sep 04, 2008 at 01: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 04, 2008 at 01: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?

    Add comment
    10|10000 characters needed characters exceeded