how can I get the program name of job step that made changes into purchase requisition?
I know there is modification log document but no info about program or job id.
I was wondering about FM/BAPI or code to trace object change or something like that.
please help, thanks
To get the program name that made changes to a Purchase Requisition, you can use the following options:
Table CDHDR and CDPOS: The modification log data is stored in the tables CDHDR and CDPOS. You can retrieve the program name and job id from these tables using the object key (EBELN) and change number (CHANGE_NO).
Change Log Report (transaction SARA): You can use the Change Log report to view all changes made to a Purchase Requisition. The report will display the program name, user id, and date/time of the change.
ABAP Debugging: In an emergency scenario, you can use ABAP debugging to trace the program that made the changes. You will need to set a breakpoint in the modification log tables CDHDR and CDPOS, and then execute the program that made the change to the Purchase Requisition. The ABAP debugger will stop at the breakpoint, and you can see the name of the program and the user id.
ST22 Dump Analysis: If you experience an error in the system, the ST22 Dump Analysis tool can be used to view information about the program that made the change. The dump will contain information about the program name and the user id.