Hi, I want to update two fields Last changed on(MARA-LAEDA) AND Last changed by (MARA-AENAM) for variant and its generic article.
I am looping the internal table has 20 article , in which calling the function module 'BAPI_MATERIAL_MAINTAINDATA_RT' for each article and populating HEADDATA,CLIENTDATA and CLIENTDATAX for every record.
when it is not retuning any error excuting commit through Function module 'BAPI_TRANSACTION_COMMIT'.this function module is also giving sy-subrc equal to 0 for all article means commiting it.
Although everything is fine,Each FM is working fine..but record is updating for only first article,not for all .Please help.