06-19-2010 1:29 PM
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?
06-19-2010 4: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
06-19-2010 6: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.
06-19-2010 6:25 PM
Hi Shails,
If you are getting the message as a express document, check you SAP Inbox. You will get more details of the message wht the termination occurred.
Rajvansh
06-21-2010 6:26 AM
Hi,
I think along with 'LGMNG", you should update other relevant fields also like LIPS-LFIMG, LIPS-LFMNG_FLO, LIPS-LGMNG_FLO.
Regards
Vinod.