Skip to Content
avatar image
Former Member

SAVE_DOCUMENT_PREPARE to update LIPS-LGMNG field

Dear All,

I am using the BAdi LE_SHP_DELIVERY_PROC and using method SAVE_DOCUMENT_PREPARE to update LIPS-LGMNG.

Following is the code:

if sy-tcode eq 'VL02N'.

loop at ct_xlips into wa_xlips.

wa_xlips-lgmng = 241.99.

wa_xlips-updkz = 'U'.

modify ct_xlips from wa_xlips transporting LGMNG UPDKZ.

endloop.

endif.

But Its not updating the field and instead giving an "Update terminated Message" - no short dumps.

I want to update the LGMNG field in LIPS Table. How to achieve this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 19, 2010 at 03:40 PM

    Hello,

    It looks like a syntax issue. Please checkup whether you have a syntax error in the followng line:

    wa_xlips-lgmng = 241.99.

    Thanks,

    Venu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 19, 2010 at 05:14 PM

    No, there is no syntax error. Actually I wanted to convey that i am passing some value there. For eg: wa_mchb-clabs. I simply hard coded the value for reference.

    Add comment
    10|10000 characters needed characters exceeded