Creation of project definition and wbs element
I want creation of project definition and wbs element upto 4 level using bapis.
i am using transaction cj27,cj01,cj02
which function module to use for this??
Hi,
to create project definition with customer fields the BAPI you should use is : BAPI_BUS2001_CREATE
to create WBS elements with different levels and specific fields the BAPI you should use is BAPI_BUS2054_CREATE_MULTI
these bapi must be used in the sequence of call :
BAPI_PS_INITIALIZATION
BAPI_BUS2001_CREATE / BAPI_BUS2054_CREATE_MULTI
BAPI_PS_PRECOMMIT
BAPI_TRANSACTION_COMMIT
before using the bapi, you must apply OSS note :
637345 - Syntax error with enhanced PS tables
i sent you the oss note to your mail
please reward points if helpfull.
Similar Messages
-
How to block reusage of archived Project definition and WBS element numbers
Dear All,
We have archived our projects using the TC SARA and the Project definition and WBS elements numbers no more exist in tables PROJ and PRPS etc.. When I now try to create a new project, the system proposes the next open number or allows to enter a number which is the same as one of the archived projects. But in our organization we cannot reuse the Project definition and WBS element numbers (even if it is archived) as a rule.
Can anybody guide me what are the possibilities to block or avoid the reusage of the numbers of archived project definition and WBS elements in a fool-proof way?
Thanks and regardsOne Workaround:
Use T code OPSJ and lock the project coding mask. Doing this you can not use this mask any more.
But you want to continue using the mask but with different numbers. Not sure how this can be acheived. lets wait for others view
Regards
Sreenivas -
Grey field for project definition and WBS element
Dear all,
I have created a project and WBS element in CJ01. Now I go via CJ02 to the change mode and the project ID and WBS element ID is not greyed out. But I would like that the system shows these key fields as not changeable anymore, only fields like description should be changable. Can you please tell me, which customizing step I missed to get the grey field for project ID/WBS element ID?
FYI I do not use a project mask to create the project.
Thanks for your answer.
HeidiHi Heidi ,
I don't think you can grey out the Project Definition and the WBS Element fields after the creation .
If you want to restrict the users to change the Proj definition and WBS , a better way is through
Authorization objects and restricting only specified users to change the WBS
Kish -
Enhancement for project definition and WBS element.
Hi Experts,
I have a client requirement for creation of the custom specific fields for the project definition and the WBS element level called IT relevant and they need to use this fields for the purpose of structured reporting in PS.Can you please guide me as to how do in need to do this.
When i go in to the transaction CMOD and SAP Program SAPMSMOD it says you are not authorised.Please let me know the process as to how it has to be done.
Thanks for your cooperation.
ShivkumarRefer the IMG documentation against the SPRO node 'Create Customer-Specific Fields in a Project Definition' and 'Create Customer-Specific Fields in a WBS'.
Regards
Sreenivas -
CADO Report - Missing Project Definition and WBS elements
While running CADO (time sheet data) report for employee, data is not being pulled up for the WBS Element and Project Definition. What could be the reason? Here time is entered against a network activity but for some entries WBS element and project definition is dispalyed and for remaining it is not.
Yes....these activities are assigned to the WBS element in the project. As I mentioned earlier for the same activity in some cases WBS element is populated.
-
Extension structure for a bapi to create project definition and wbs element
Hi,
is there a bapi that have an extension structure for custom fields, that can be used to create a project with wbs elements.
thanks for your help.i yhink BAPI_PROJECT_MAINTAIN dont have extension structure, so i cant use it because i have custom fields.
BAPI_BUS2054_CREATE_MULTI seems meet my requirement because it has extension structure, -
I need a report of PS Text assigned to Project Definition or WBS Elements.
Dear Friend's
I need a report of PS Text assigned to Project Definition or WBS Elements.
By putting Project Definition or WBS Elements i must get all PS Text & print option is also required.
How i can do this in PS module.
Regard's
Sandeephi pratap,
on ps texts account, can u pl let me know, how i can restrict using the ps texts assigned to one project, bcos the same ps text can be edited or modified any other user.
ps texts may be different eg, different excel sheets assigned at wbs elements.
1. abc project wbs assigned xyz ps text (excel sheet)
2. zyx project wbs assigned xyz1 ps text (excel sheet)
the above are used by two different users.
if abc project user goes thru cj02 for editing the ps text xyz, but at the same time, if this user goes thru pull down list, he can also pick up xyz1 ps text and can do edit/modify.
is there any way to restrict thru basis/ps control or authorisations
my requirement whatever assigned ps text is only has to be changed/modified as & when the user opens project thru cj02
pl help
regards
srihari -
BAPI/FM for setting the user status for the Project definition and WBS elem
Hi,
I have to set the User Status for the Project Definition and the WBS elements in that project.
The User status to be set is the same for the project and wbs elements.
Please let me know if there is any BAPI/FM to set the user status..
Thanks in advance.
Regards
ShivaHi Shkithija,
There is a dump encoutered in the form "PS_FLAG_GET_GLOBAL_FLAGS" for 'chk_precommit_ok' in the "BAPI_PS_PRECOMMIT".
But it is showing SY-SUBRC = 0 when used along with BAPI_TRANSACTION_COMMIT.
May i know what are input parameters we need to pass it to "BAPI_PS_PRECOMMIT".
Do you have any idea.
Please let me know
Regards
vishnu -
How to use Classification Characteristics for project definition and WBS
dear all:
my step is below:
1, CT04, create "Characteristic"
2, CL02, create "Class". and class type is "14".
3, now how to customize to use the class in project definiton and WBS.
Please explain me all the steps to be required.
Thanks in advance!Hi
Classification is only assigned for the network profile or in the activity.
CJ20N -
> Extra ---> Classification --- > Classification
Hope this will help you.
Regds,
Uddhab -
Locking of the Project and WBS Elements at a single step.
Hi Experts,
My client requirement is to lock the complete project and wbs elements so as not to allow any further postings to the project, I knew that we can lock the project or WBS individually by setting the lock status, but i want to lock the complete project at one step, Is there any possible standard setting to sort out my Issue if not give me the solution.
Thanks & Regards,
RAM.V RAM PRADEEP REDDY wrote:
it is possible to set a lock for Project Definition & WBS Elements at a single shot or not.
>
>
may be the below explanation will be helpful.
You can open the project in CJ20N for example and can set the lock for project definition and also you can set the lock for WBS element without saving and exiting from CJ20N, after setting the lock for both project definition and WBS Element you can save and exit.
It is not possible to select more than one object and set lock with one click. -
Different profit center in Project definiton and WBS
Hi,
Our client facing a problem for closing the project due to different profit center. In Project definition the assigned on profit center and WBS they assigned another different profit center . There is not data posted or planed .
SAP won't allow me to change the Profit Center because it says the project is released.
Now they try to close the project but it showing error like different profit center in project definition and wbs.
Could you please anybody help to solve this issue?
Thanks.
V.KFrom the error message It seems there is a validation using Field exit. Ask your abaper to debug. Then would be able to know the logic behind it.
Venkat -
How to Get project definition and description by WBS element
Hi All,
Is there any way to get project definition and description by providing WBS element.
Please help .
Salman ZahirHi,
These r the tables
PRHI Work Breakdown Structure, Edges (Hierarchy Pointer)
PROJ Project definition
PRPS WBS (Work Breakdown Structure) Element Master Data
RPSCO Project info database: Costs, revenues, finances
MSPR Project stock
Thanks,
Anitha -
Error when create project definition and 2 wbs by bapi BAPI_PROJECT_MAINTAI
Hello everyone,
I have to create project definition and 2 wbs, I use function BAPI_PROJECT_MAINTAI but I have the error:
"WBS element 0033.3332.01.R already exists" but that wbs it's created.
This is my code.
data:
I_WBS_ELEMENT_TABLE type BAPI_WBS_ELEMENT occurs 0 with header line,
I_WBS_ELEMENT_TABLE_UPDATE type BAPI_WBS_ELEMENT_UPDATE occurs 0 with header line,
I_PROJECT_DEFINITION like BAPI_PROJECT_DEFINITION,
I_PROJECT_DEFINITION_UPD like BAPI_PROJECT_DEFINITION_UP,
I_METHOD_PROJECT type BAPI_METHOD_PROJECT occurs 0 with header line,
E_MESSAGE_TABLE like BAPI_METH_MESSAGE occurs 0 with header line,
RETURN type BAPIRETURN1,
lv_index LIKE bapi_method_project-refnumber.
lv_index = 1.
I_METHOD_PROJECT-OBJECTTYPE = 'ProjectDefinition'.
I_METHOD_PROJECT-METHOD = 'Create'.
I_METHOD_PROJECT-OBJECTKEY = '0033.3332'.
I_METHOD_PROJECT-REFNUMBER = lv_index.
append I_METHOD_PROJECT.
lv_index = lv_index + 1.
I_METHOD_PROJECT-OBJECTTYPE = 'WBS-Element'.
I_METHOD_PROJECT-METHOD = 'Create'.
I_METHOD_PROJECT-OBJECTKEY = '0033.3332.01'.
I_METHOD_PROJECT-REFNUMBER = lv_index.
append I_METHOD_PROJECT.
lv_index = lv_index + 1.
clear I_METHOD_PROJECT.
I_METHOD_PROJECT-OBJECTTYPE = 'WBS-Element'.
I_METHOD_PROJECT-METHOD = 'Create'.
I_METHOD_PROJECT-OBJECTKEY = '0033.3332.01.R'.
I_METHOD_PROJECT-REFNUMBER = lv_index.
append I_METHOD_PROJECT.
clear I_METHOD_PROJECT.
I_METHOD_PROJECT-OBJECTTYPE = space.
I_METHOD_PROJECT-METHOD = 'Save'.
I_METHOD_PROJECT-OBJECTKEY = space.
I_METHOD_PROJECT-REFNUMBER = space.
append I_METHOD_PROJECT.
I_PROJECT_DEFINITION-PROJECT_DEFINITION = '0033.3332'.
I_PROJECT_DEFINITION-DESCRIPTION = 'Training project'.
I_PROJECT_DEFINITION-PROJECT_PROFILE = 'ZAF0001'.
I_PROJECT_DEFINITION-COMP_CODE = '0033'.
I_PROJECT_DEFINITION-RESPONSIBLE_NO = 1.
I_PROJECT_DEFINITION-APPLICANT_NO = 1.
I_PROJECT_DEFINITION-PLANT = '033A'.
I_WBS_ELEMENT_TABLE-PROJECT_DEFINITION = '0033.3332'.
I_WBS_ELEMENT_TABLE-WBS_ELEMENT = '0033.3332.01'.
I_WBS_ELEMENT_TABLE-DESCRIPTION = 'WBS 1'.
I_WBS_ELEMENT_TABLE-RESPONSIBLE_NO = 1.
I_WBS_ELEMENT_TABLE-APPLICANT_NO = 1.
I_WBS_ELEMENT_TABLE-COMP_CODE = '0033'.
I_WBS_ELEMENT_TABLE-PROFIT_CTR = '0033A99999'.
I_WBS_ELEMENT_TABLE-PLANT = '033A'.
append i_wbs_element_table.
clear I_WBS_ELEMENT_TABLE.
I_WBS_ELEMENT_TABLE-PROJECT_DEFINITION = '0033.3332'.
I_WBS_ELEMENT_TABLE-WBS_ELEMENT = '0033.3332.01.R'.
I_WBS_ELEMENT_TABLE-DESCRIPTION = 'WBS 2'.
I_WBS_ELEMENT_TABLE-RESPONSIBLE_NO = 1.
I_WBS_ELEMENT_TABLE-APPLICANT_NO = 1.
I_WBS_ELEMENT_TABLE-COMP_CODE = '0033'.
I_WBS_ELEMENT_TABLE-PROFIT_CTR = '0033A99999'.
I_WBS_ELEMENT_TABLE-PLANT = '033A'.
append i_wbs_element_table.
PERFORM fill_update_flags USING 'BAPI_PROJECT_DEFINITION_UP'
CHANGING I_PROJECT_DEFINITION_UPD.
PERFORM fill_update_flags USING 'BAPI_WBS_ELEMENT_UPDATE'
CHANGING I_WBS_ELEMENT_TABLE_UPDATE.
append I_WBS_ELEMENT_TABLE_UPDATE.
append I_WBS_ELEMENT_TABLE_UPDATE.
CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
EXPORTING
I_PROJECT_DEFINITION = I_PROJECT_DEFINITION
I_PROJECT_DEFINITION_UPD = I_PROJECT_DEFINITION_UPD
TABLES
I_METHOD_PROJECT = I_METHOD_PROJECT
I_WBS_ELEMENT_TABLE_UPDATE = I_WBS_ELEMENT_TABLE_UPDATE[]
I_WBS_ELEMENT_TABLE = I_WBS_ELEMENT_TABLE[]
E_MESSAGE_TABLE = E_MESSAGE_TABLE
write: / 'Finish'.
*& Form FILL_UPDATE_FLAGS
FORM fill_update_flags USING value(p_ddic_name)
CHANGING p_struc_upd.
DATA: lt_dd03l LIKE dd03l OCCURS 0,
ls_dd03l LIKE dd03l.
DATA: s(40), c(40), sc(80) TYPE c.
FIELD-SYMBOLS: <s>, <c>, <sc> TYPE ANY.
TRANSLATE p_ddic_name TO UPPER CASE.
SELECT * FROM dd03l INTO TABLE lt_dd03l WHERE tabname = p_ddic_name.
s = 'P_STRUC_UPD'.
ASSIGN (s) TO <s>.
LOOP AT lt_dd03l INTO ls_dd03l.
ASSIGN ls_dd03l-fieldname TO <c>.
ASSIGN COMPONENT <c> OF STRUCTURE <s> TO <sc>.
<sc> = 'X'.
ENDLOOP.
ENDFORM. " FILL_UPDATE_FLAGS
Please help me!
Thank you!
Edited by: kishan P on Sep 10, 2010 9:37 AMHi,
Please try creating the project definition and then call the FM again to create the WBS.
http://help.sap.com/erp2005_ehp_04/helpdata/EN/4c/226a7246e611d189470000e829fbbd/frameset.htm
Hope it helps.
Sujay -
How to do budgeting at activity level and WBS element level in project syst
Dear GURU's,
Can any one please suggest me how to do budgeting at activity level and WBS element level in project systems, friends please I required set by step process.
I need how to do this configuration to map this scenario.
Regards,
BhanuHi Bhanu,
Use this link :
http://help.sap.com/saphelp_45b/helpdata/en/86/98853478616434e10000009b38f83b/frameset.htm
after page opens , click on BUDGET MANAGEMENT , There you will find each and every step you want .
Thanks ,
Dhruv Kumar Malhotra -
How to find the Project and wbs Element System Status
Hi all,
How to find the Project and wbs Element System Status.
We can find the system status in the CJ20n transaction but I want the table and field name where it is stored.
Regards
RaghavendraHi,
try table <b>jest</b> with key = prps-objnr
Andreas
Maybe you are looking for
-
Broken Timecode during capture in FCP 5.04 Tape does not have broken time?
I am trying to capture video froma mini dv canon camera and fcp is telling me that there is broken timecode. I have checked it with imov with no problem and when I view the tape there is no broken timecodde? can anyone help Thanks joe
-
How to keep an image "in place" within a document using Pages?
Here's what I want solved. When I position an image (like a jPeg photo) within a document I take a great amount of care as to how it looks in the layout. BUT, if I add a new line of text ABOVE the image, all the text moves, but the image stays in pla
-
Cannot export quicktime movie from iPhoto
latest imac (brand new) iphoto slideshow... when i try to export a slideshow as a quicktime movie...it renders the quicktime movie...then when it goes into the "saving" phase...it just keeps saving and never ends... but it will let me save a high qua
-
Flickering using CC 2014 (GPU not available and .mp4 not an option)
Recently, most of my projects are exporting with a strange flickering over the footage. The projects vary from different sizes to green screen to having color correction. There is no correlation between the projects that would lead me to believe that
-
Hello, Does anyone have a good reference that explains the differences between geodetic and non-geodetic coordinate systems? I've read the spatial user's guide and would like to see a more detailed explanation of the differences and rationale behind