‎2015 Nov 23 3:30 PM
I need a BAPI or Function Module for SAP Trans ME12. I created a BDC for this trans but will not run in background mode works fine in foreground but I need this to run in background. So trying a different approach by looking for a BAPI or Function module. I need to enter Text and for Conditions PB00 need to created a new Valid From Date and Amount. Does anyone have an example of how to accomplish this via a BAPI or know how to make the BDC work in background.
Thanks
Gary
‎2015 Nov 23 3:40 PM
‎2015 Nov 23 3:42 PM
‎2015 Nov 23 3:48 PM
ME12 is "change info record" , the BAPI for PO creation will certainly not help here.
Why an own BDC if SAP provided RM06IBI0?
‎2015 Nov 23 4:00 PM
‎2015 Nov 25 5:04 PM
Yes the ENJOY is keeping it from running in Background. Did not try RM06IBI0 sorry I'm a novice never used that option. Any tips or examples on running RM06IBI0? I need to add text and change price what the ME12 trans allows us to do.
‎2015 Nov 27 3:01 PM
First read the documentation of the report.
Hint: The report is also avilable under LSMW for object 0060 Purchasing info rec.
Regards,
Raymond
PS: Insure that 1396817 - RM06IBI0: Error for texts in the batch input is not required in your system version.
‎2015 Nov 23 4:44 PM
‎2015 Nov 23 4:49 PM
This function module only cares about EINA and EINE table, but he is also looking for condition creation/update. In case of Idoc processing Info record itself and info record conditions are 2 different Idocs.
‎2015 Nov 24 6:56 AM
This FM is an "update task" FM, so as a rule I would never use those, they are execute at end of transaction/BAPI and usually don't perform any check and consist only of some Open SQL statements and sometimes some change doc generation, so can (will) miss some updates and can (will) mess up your database.
Regards,
Raymond