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

Creating projects and wbs elements

I am running a conversion and for the upload portion I need to create projects and the relevant wbs elements in the system. I have been looking over the forums etc and have seen many notes regarding BAPI_BUS2001_SET_STATUS, BAPI_PROJECTDEF_CREATE, and BAPI_PROJECT_MAINTAIN.

My problem is this.

I need to update the APPR and PREP system statuses of the projects I create and I can find no way to do this with a BAPI. I also need to update the location of the project (stort) and the only BAPI I can find that will allow me to do this is BAPI_PROJECT_SAVEREPLICA which seems incorrect to use in this manner.

in short:

How do I update project system status of PREP and APPR?

How do I update project location (stort)?

Having no luck finding solutions so any help is appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on May 12, 2009 at 12:56 AM


    I've used these BAPIs but not for your fields. But maybe I can help you. There is no field LOCATION in the project definition but there is field LOCATION on WBS level. So have you tried to change this field on all WBS elements for your project?

    Unfortunately your system statuses are not supported by this BAPI. All supported statuses are mentioned in BAPI documentation. There is a FM STATUS_UPDATE_PROJECT which might help you but you need to be careful what you do. There are some additional FM STATUS_* for generic object status modification but again, you have to be sure that you can set up that system status without any additional checks.

    Good luck

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      In the PROJ table there is no field called location, I was referring to STORT. That is the field I wish to update for the Projects.

      I took at look at that function module and at first glance I am not sure that will get me what I need. I'll keep digging and thanks for your response.

      I think I am going to go ahead and use BAPI_PROJECT_SAVEREPLICA on the upload side to handle the location and statuses. At least, that is my current course of action..

  • author's profile photo Former Member
    Former Member
    Posted on Oct 07, 2009 at 08:55 PM


    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.