2007 Jun 27 1:31 PM
Hi all,
for a sales order whenever the fields delivery block and reason for rejection changed then i want to update a custom table which contains the following fields.(VKORG,KVGR3,ERDAT,PAYER_N,PAYER_DESC,SHIPTO_N,SHIPTO_DESC,MATNR,MAKTX,ORI_QTY,FINAL_QTY,DIF_QTY).
Please suggest me how to create the function module to update a table.
i am writing my coding in MV45AFZZ.
thank to all
2007 Jun 27 2:35 PM
Hi,
In MV45AFZZ. u can check whether Field is getting changed by comparing Current field value with already existing value.
E.g - If Vbak-Kunnr <> *Vbak-Kunnr ..
Table prefixed with *
So U can update ur custom table by comparing .
So Create one function module which will contain updation part & call that in
MV45AFZZ
Hi all,
for a sales order whenever the fields delivery block and reason for rejection changed then i want to update a custom table which contains the following fields.(VKORG,KVGR3,ERDAT,PAYER_N,PAYER_DESC,SHIPTO_N,SHIPTO_DESC,MATNR,MAKTX,ORI_QTY,FINAL_QTY,DIF_QTY).
Please suggest me how to create the function module to update a table.
i am writing my coding in MV45AFZZ.
thank to all
2007 Jun 27 2:35 PM
Hi,
In MV45AFZZ. u can check whether Field is getting changed by comparing Current field value with already existing value.
E.g - If Vbak-Kunnr <> *Vbak-Kunnr ..
Table prefixed with *
So U can update ur custom table by comparing .
So Create one function module which will contain updation part & call that in
MV45AFZZ
2007 Jun 27 2:38 PM
Hi,
Look at the below links to create the function modules
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
Regards
Sudheer