Skip to Content

creating the WBS using bapis

i am creating the WBS using thses bapis

1. BAPI_PS_INITIALIZATION

2. BAPI_BUS2001_CREATE

3. BAPI_PS_PRECOMMIT

4. BAPI_TRANSACTION_COMMIT/BAPI_TRANSACTION_ROLLBACK

but i am getting the error

Field COMPANY_CODE/Company code: Changing the contents of the field is not permitted

Field BUSINESS_AREA/Business area: Changing the contents of the field is not permitted

Field WBS_ACCOUNT_ASSIGNMENT_ELEMENT/Acct asst elem.: Changing the contents of the field is not permitted

Field OBJECTCLASS/Object Class: Changing the contents of the field is not permitted

Please help to resolve this

kanishak

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 16, 2009 at 09:40 PM

    Hi,

    have you tried to look for corresponding OSS notes? I've never had any problems with this BAPI and according to BAPI documentation all fields from input structure can be used. It looks more like error. Or don't you have any validation for projects definitions? If you can find the reason you can still debug that code and see why it's failing.

    BTW your BAPI is for Project definition creation, not WBS element. You can maintain WBS elements form any project using BAPI BAPI_PROJECT_MAINTAIN.

    Cheers

    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.