on 11-19-2004 3:31 PM
Hi,
We are executing planning functions in SEM via a process chain. The process chain calls an ABAP program, UPC_PLANFUNCTION_EXECUTE, which will in turn execute the planning functions. What I'm looking for is a way to log the number of records read, changed and added. I'm also am trying to find a way to log if someone already has the data locked.
Has anyone ever done this before and can help?
Thanks!
~Matt
Hi,
Did you already try program UPC_PLANFUNCTION_LOG?
Kind regards,
Sander
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Matt,
I guess you meant program UPC_BUNDLE_EXECUTE to run a global planning sequence in your process chain. The system automatically logs the steps of the planning sequence with the number of records. You can view the log using transaction SLG1:
Object SEM-BPS
Subobject FUNC
To automatically check if data is locked, create a custom program and call function UPC_CHASEL_ENQUEUE with the corresponding selection. This will lock the data or provide an error message if someone else is working with it already. If everything is OK, use the same function to unlock the data before your GPS will run.
Regards,
Marc
SAP NetWeaver RIG, US BI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.