10-24-2018 10:05 AM
Hello Experts,
i am using Bapi_po_change function module for PO item details change. while changing the Po item i need update the different user id insted of current user id. where i can pass the custiom user id in Bapi_po_change? i
10-24-2018 11:25 AM
Hi,
If there is no option in the bapi then it's not possible. You might check if there's a badi or exit available. Another, more cumbersome way, is to schedule the piece of code in a job with the desired user as the one to execute it.
Kind regards, Rob Dielemans
11-14-2018 12:12 PM
yah, i ran the bapi via job. but no use. its not changes
11-14-2018 12:13 PM
More ever its report program.
10-25-2018 10:27 AM
thanks, Rob
but we are ran this object foreground only. why becuse we are using editable alv for this PO item change.
10-25-2018 1:51 PM
Hi.
There is a BAdI called PROCESS_PO_CUST. Within the BAdI you can access the complete PO data. Give it a try, you should be able to change the user ID in there.
C ya,
Maic
11-27-2018 4:23 AM
its working through BAPI_PO_CHANGE , but we should run this bapi in background mode. before that change user id as 'ZUSER'
01-05-2024 8:44 AM
If you are executing the BAPI via background JOB, just set the JOB step user to the desired user ID.