on 2005 May 19 11:44 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.