‎2010 May 31 10:28 AM
I need to call a BAPI function 'BAPI_MATERIAL_MAINTAINDATA_RT' using a Super User ID.
Can someone guide me on the syntax?
Call 'BAPI_MATERIAL_MAINTAINDATA_RT'
Desitination ....
I need to know how to put in the superuser-ID.
Thanks
‎2010 May 31 10:54 AM
Hi Colin ,
Is your program going to be scheduled in a background mode ? if so create your program in a normal way and Request your BASIS team to Schedule your program with Super user ID.
In forground when you execute the program current user ID will be taken automatically.
‎2010 May 31 1:07 PM
Hi,
I really need to run it online.
I really need to know how to add in the SuperUser ID.
This is in accordance with OSS note. However, the note stopped short of how to add the syntax.
Can you help?
Thanks
‎2010 May 31 1:54 PM
Hi Colin,
Please Create a Custome Report and call your BAPI inside that. then you can use
SUBMIT statement to call the custom report in addition to user ID. THis way you can adopt the same.
SUBMIT zprogram
VIA JOB jobname
NUMBER jobcount
USER Super_user_ID
WITH SELECTION-TABLE lt_par_tab "<-- selection table of custom program.
AND RETURN.For example Please refer the thread
‎2010 Jun 01 7:03 AM
I had managed to set the destination "XXXX" as per SM59 using a superuser-id to get out and get in as a SuperUser to overcome the authorization check