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

BAPI_PROJECT_MAINTAIN

Hi All,

I am using BAPI_PROJECT_MAINTAIN to create Project and it's related WBS elements. It works fine. The question I have is,

Along with Just creating a Project and it's WBS, My requirement is also to

1. Create a Partner function for the Project Definition (It can be seen then on Partner Tab of Project Definition in CJ20N),

2. Long Text for Project Definition, Which again will be Visible on the Long Text Tab of CJ20N transaction.

3. Investment Program Details for Level 2 WBS Elements (Which is visible at "Assignment to Investment program Position" section of "Basic Tab" of Level 2 WBS Elements in CJ20N transaction)

These are the 3 other things which I want to create when I create the Project Using this BAPI.

Kindly Help me, if somebody has already worked with this BAPI.

Kindly let me know if these 3 possible to create using this BAPI, also let me know, what Do i need to pass and in which fields of this BAPI that this gets created.

This BAPI has it's OWN Commit and if all three requirements can be done with this one commit it will resolve lot of my issues.

Kindly help me out.

Thanks in Advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2005 at 10:55 PM

    Hi Sunil,

    In answer to <b>question 2: Long Text.</b>

    You can use the SAVE_TEXT function module.

    The key thing is to populate the HEADER parameter correctly. It has the structure THEAD.

    You will need to determine the correct TDOBJECT (this will be fixed) TDNAME (this will be a key based on the project number), and TDID (this will be fixed).

    To determine these values, just save a text manually on a Project (using the CJ20N transaction), and then look in the table STXH. Search for your username for the corresponding date and time and you will find the corresponding entry. This will enable you to set the correct data when calling SAVE_TEXT from your program.

    Hope that helps.

    Brad

    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.