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

BAPI_PROJECT_MAINTAIN

I am getting an error in BAPI_PROJECT_MAINTAIN while trying to add an Activity to an existing Network. The Activity number does not exist for the network so I am assuming that CREATE is the best Method to use. Initially, this error was caused by a missing field UVORN, SubOperation, that is required to create an activity. I do not see the connection of UVORN, a work order related field, to creating an Activity.

Now, I am getting an Object Key error from my input data using UPDATE with the same data. I am new to the world of PS and could use some help in getting the input data coded correctly to add and Activity. Any help I can get on this would be gratefully appreciated.

Thank you in advance for your assistance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2008 at 07:51 AM

    Hi Robert,

    Have you tried using the BAPI, "BAPI_NETWORK_MAINTAIN"? You can also try creating Activity from here.

    Rgds

    Deepak

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Robert,

      It is rather the reverse way. BAPI_PROJECT_MAINTAIN has the functions of BAPI_NETWORK_MAINTAIN. Following is an extract from the documentation of the former BAPI:

      "With the Maintain BAPI of the WorkBreakdownStruct business object you can edit the objects of a project definition. You can also use all the functions of the Maintain BAPI of the Network business object.

      For more information, see Network.Maintain. With WorkBreakdownStruct.Maintain it is possible to edit the project definition, its WBS elements and their hierarchical relationships. The BAPI encapsulates a complete transaction in itself. As a result, several operations on project elements can be processed by only one call. The Project System determines in which order the operations are to be executed on the objects. The caller can choose the operations in any order."

      RGds

      Deepak

  • author's profile photo Former Member
    Former Member
    Posted on Aug 01, 2008 at 04:37 PM

    Hello,

    For Query-1:

    (1) The field VORNR corresponds to Network Activity in PS Module whereas to Operation in PM module.

    (2) Similarly field UVORN corresponds to Activity Element in PS module whereas sub-operation in PM module.

    (3) These fields are uniquely stored in database tables referring to Network or PM order.

    For Query-2:

    In the object key try giving 12 character network number.

    Thanks & Regards,

    Anish Walinjkar

    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.