Skip to Content
author's profile photo Former Member
Former Member

SEM logging for planning function in Process Chains

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 02, 2004 at 12:49 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2005 at 09:21 PM

    Hi,

    Did you already try program UPC_PLANFUNCTION_LOG?

    Kind regards,

    Sander

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.