03-31-2009 7:35 AM
Hi All,
my requirement is to update a field i.e TCODE2 in MKPF table, I can update directly But SAP do not recommend, Is there any other way I can update the field from ABAP program, I also want to update field in LIKP table, please tell me how to update for the same.
thanks
tanmay
Edited by: TanmayG2000 on Mar 31, 2009 8:38 AM
03-31-2009 7:46 AM
Hi,
You can create a Z program,which has a selection screenasking for the primary key selection.
After that, using SQL, it updates the field of that row.
Still such things are not advisable. Its necessasry to have the confirmation
and signature of functional consultant, while touching the standard sap tables.
03-31-2009 8:00 AM
try with badi's which are getting triggered while saving delivery or material document, throuh that you can updatee the required field in DB. This is safe also.
You have to use the followinf BADI's,
For delivery : LE_SHP_DELIVERY_PROC or LE_SHP_GOODSMOVEMENT
For material doc: MB_DOCUMENT_UPDATE