Error in creating WBS element BAPI_BUS2054_CREATE_MULTI
Hi
I am calling BAPI_BUS2054_CREATE_MULTI for creating WBS elements for the blocked project . I am passing the detailed project definitiion with level ( like A5/01/01) . I am getting error that WBS element for the object could not be created error 076 that BAPI is not initialized .
Now to solve this I called BAPI_PS_INITIALIZATION first then am calling BAPI_BUS2054_CREATE_MULTI then its throwing dump and if I want to run thru se37 then still giving the same error mentioned above
Please let me know what should I need to do to remove the error .
Helpful answer will definetly ..
Thanks a lott in advance
Hi ,
I want to create a WBS element using the BAPI's BAPI_BUS2054_CREATE_MULTI .
I did this sequence of test :
BAPI_PS_INITIALIZATION
BAPI_BUS2054_CREATE_MULTI
And I have this return
S CNIF_PI 004 Individual check for creating the object WBS Element U008-F033-001 required
CAn you tell me what to do in order to resolve this problem ( calling a commit after this sequence leads to 'DUMP' bacause no precommit is called before )
can u send me a code Plz...
Thanks in advance
Similar Messages
-
Error while Creating WBS element using BAPI 'BAPI_BUS2054_CREATE_MULTI'
Hi Expert,
I've a requirement to create WBS elements using BAPI. And I am using BAPIs in the following manner.
CALL FUNCTION 'BAPI_PS_INITIALIZATION'
CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
EXPORTING
i_project_definition = g_pdwbs
TABLES
it_wbs_element = it_wbs_element
et_return = it_return
EXTENSIONIN =
EXTENSIONOUT =
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
When I do so I am getting the below errors. Please suggest.
"Individual check for creating the object WBS Element C-497082 required ".
"Individual check for creating the object WBS Element C-497082-0001 required".
Please suggest how to correct this error.
<REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Edited by: Alvaro Tejada Galindo on Aug 18, 2008 5:25 PMI am getting the same error, but I cannot figure it out how to detect it and fix it. Will you please share your solution?
Thanks, -
BAPI_BUS2054_CREATE_MULTI error while creating WBS Element
Hi Gurus,
I am trying to create WBS element by using BAPI_BUS2054_CREATE_MULTI
but bapi raise an error that I can not understand.
in return table I got the following error with the error code CJ - 021
" XXXX-YYYY-ZZZZ WBS Element does not exist "
But I try to create already? What does 'Does not exist' mean?
By the way I am using
CALL FUNCTION 'BAPI_PS_INITIALIZATION'. before using BAPI_BUS2054_CREATE_MULTI
thanks in advance, it is an very important
Mehmet AliHi.
I have the same problem. Have you solved?
Thanks.
Angie -
Creating WBS Element BAPI_BUS2054_CREATE_MULTI
hello all
in my zrfc to create WBS element
i have called following BAPIs
CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
EXPORTING
i_project_definition = temp_pspid
TABLES
it_wbs_element = it_wbs_element_new
et_return = it_return.
CALL FUNCTION 'BAPI_PS_PRECOMMIT'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
I have return the zreport to call above RFC
The values that i am passing to wbs internal table are
WA_WBS-ZI_PSPID = '1-4275/P'.
WA_WBS-ZI_POSID = 'T-01117'.
WA_WBS-ZI_POST1 = 'TEST WBS FROM REPORT'.
Append WA_WWBS to IT_WBS
then i pass IT_WBS to my ZRFC
but i am getting error message at BAPI_BUS2054_CREATE_MULTI
my question is am I passing parameters in right manner?
do the hardcoded parameters need some conversion and if yes what do i need to de?
thanks
sheetalHi ,
I want to create a WBS element using the BAPI's BAPI_BUS2054_CREATE_MULTI .
I did this sequence of test :
BAPI_PS_INITIALIZATION
BAPI_BUS2054_CREATE_MULTI
And I have this return
S CNIF_PI 004 Individual check for creating the object WBS Element U008-F033-001 required
CAn you tell me what to do in order to resolve this problem ( calling a commit after this sequence leads to 'DUMP' bacause no precommit is called before )
can u send me a code Plz...
Thanks in advance -
Error while creating WBS element.. regarding source structure
I am creating a project and then a WBS element. Its a investment project. While creating WBS element XXX, it gives me error that "WBS element XXX: SOurce assignments for source structure A1 missing in Investment Profile ZZZZZ."
What shall I check? what could be the reason?
Thanks,
Ahi,
In this IMG activity, you define the source structures used when settling and costing joint products.
A source structure contains several source assignments, each of which contains the individual cost elements or cost element intervals to be settled using the same distribution rules
Just consult with your CO Consultant...
Venkatesh -
Issue creating WBS using BAPI_BUS2054_CREATE_MULTI
Hi All,
I am trying to create WBS elements under existing project (CJ20N) using BAPI_BUS2054_CREATE_MULTI. I am I am getting ET_RETURN with message type S-W-I, even after commit no WBS created. Type S message says Individual check for creating the object WBS Element XXX required. Please find my code for more info. I am I using correct BAPI? Any hint or suggestion welcome. Thanks in advance.
Regards,
Trim
LOOP AT gt_wbs_element .
MOVE-CORRESPONDING gt_wbs_element to gt_wbs_element_bapi.
MOVE : gt_wbs_element-mims_id to gt_wbs_element_bapi-USER_FIELD_CHAR20_1.
MOVE : gt_wbs_element-PROJECT_DEFINITION to gv_proj.
*** Conert all dates
split_date gt_wbs_element-WBS_BASIC_START_DATE gt_wbs_element_bapi-WBS_BASIC_START_DATE.
split_date gt_wbs_element-WBS_BASIC_FINISH_DATE gt_wbs_element_bapi-WBS_BASIC_FINISH_DATE.
split_date gt_wbs_element-WBS_FORECAST_START_DATE gt_wbs_element_bapi-WBS_FORECAST_START_DATE.
split_date gt_wbs_element-WBS_FORECAST_FINISH_DATE gt_wbs_element_bapi-WBS_FORECAST_FINISH_DATE.
* split_date gt_wbs_element-WBS_ACTUAL_START_DATE gt_wbs_element_bapi-WBS_ACTUAL_START_DATE.
* split_date gt_wbs_element-WBS_ACTUAL_FINISH_DATE gt_wbs_element_bapi-WBS_ACTUAL_FINISH_DATE.
APPEND gt_wbs_element_bapi.
**** Update Custome 'Z' Fields
clear : BAPI_TE_WBS_ELEMENT, gv_error.
BAPI_TE_WBS_ELEMENT-WBS_ELEMENT = gt_wbs_element-WBS_ELEMENT.
BAPI_TE_WBS_ELEMENT-ZZCP_APPRBUD = gt_wbs_element-ZZCP_APPRBUD.
BAPI_TE_WBS_ELEMENT-ZZCP_ELECT = gt_wbs_element-ZZCP_ELECT.
BAPI_TE_WBS_ELEMENT-ZZCP_AREA = gt_wbs_element-ZZCP_AREA.
BAPI_TE_WBS_ELEMENT-ZZCP_PROG = gt_wbs_element-ZZCP_PROG.
BAPI_TE_WBS_ELEMENT-ZZCP_SUBPR = gt_wbs_element-ZZCP_SUBPR.
** BAPI_TE_WBS_ELEMENT-ZZCP_FINALDAT = gt_wbs_element-ZZCP_FINALDAT.
BAPI_TE_WBS_ELEMENT-ZZCP_TOTBUD = gt_wbs_element-ZZCP_TOTBUD.
** BAPI_TE_WBS_ELEMENT-ZZCP_DADHC_REG = gt_wbs_element-ZZCP_DADHC_REG.
** BAPI_TE_WBS_ELEMENT-ZZCP_DADHC_CEP = gt_wbs_element-ZZCP_DADHC_CEP.
BAPI_TE_WBS_ELEMENT-ZZCP_PREDBUD = gt_wbs_element-ZZCP_PREDBUD.
BAPI_TE_WBS_ELEMENT-ZZCP_CLIENT = gt_wbs_element-ZZCP_CLIENT.
BAPI_TE_WBS_ELEMENT-ZZCP_PM_NAME = gt_wbs_element-ZZCP_PM_NAME.
GT_EXTENSION_IN-STRUCTURE = 'BAPI_TE_WBS_ELEMENT'.
GT_EXTENSION_IN-VALUEPART1 = BAPI_TE_WBS_ELEMENT+0(199).
GT_EXTENSION_IN-VALUEPART2 = BAPI_TE_WBS_ELEMENT+199(171).
APPEND GT_EXTENSION_IN.
MOVE-CORRESPONDING gt_wbs_element to wa_wbs_elem.
AT END OF PROJECT_DEFINITION.
*** Inalise BAPI
CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
clear gt_return[].
CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
EXPORTING
I_PROJECT_DEFINITION = gv_proj
TABLES
IT_WBS_ELEMENT = gt_wbs_element_bapi
ET_RETURN = gt_return
EXTENSIONIN = gt_extension_in
* EXTENSIONOUT =
EXCEPTIONS
error_message = 1
others = 2.
*** Check GT_RESULT for success
LOOP AT gt_return where type co 'EA'.
gv_error = 'X'.
ENDLOOP.
IF gv_error is initial.
CALL FUNCTION 'BAPI_PS_PRECOMMIT'
TABLES
ET_RETURN = gt_return_pre.
LOOP AT gt_return_pre where type co 'EA'.
gv_error = 'X'.
ENDLOOP.
ENDIF.
IF gv_error is INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = '1'
IMPORTING
RETURN = GT_RETURN_COMMIT.
clear gv_write.
format color 4.
CONCATENATE 'Success: WBS Attached to Project' gv_proj '-'
into gv_write.
WRITE / gv_write. CLEAR gv_write.
move-corresponding wa_wbs_elem to gt_wbs_suc.
gt_wbs_suc-message = gv_write.
gt_wbs_suc-message_type = 'S'.
append gt_wbs_suc.
format reset.
else.
clear gv_write.
format color 6.
CONCATENATE 'Error: Attaching WBS to Project' space '-' space gv_proj
into gv_write.
WRITE / gv_write. CLEAR gv_write.
move-corresponding wa_wbs_elem to gt_wbs_suc.
gt_wbs_suc-message = gv_write.
gt_wbs_suc-message_type = 'E'.
append gt_wbs_suc.
format reset.
ENDIF.
CLEAR: gv_proj, gt_wbs_element_bapi, gt_extension_in, gt_return_pre, GT_RETURN_COMMIT.
refresh: gt_wbs_element_bapi, gt_extension_in, gt_return_pre, GT_RETURN_COMMIT.
endat.
ENDLOOP.Hi Trim
The message comes from (It is S004) in the BAPI_BUS2054_CREATE_MULTI (see below bold). I would be placing a breakpoint at the point where the BAPI is calling the function PS_BAPI_PREPARE to see if the lv_subrc variable is being set at this stage.
Cheers
Gareth
call function 'CJ2054_CREATE'
exporting
i_pspid = i_project_definition
i_wbs_element = ls_wbs_element
tables
extensionin = extensionin
exceptions
element_not_created = 1
dates_not_created = 2.
endif.
if sy-subrc <> 0 or lv_subrc <> 0.
message e007(cnif_pi) with text-wbs ls_wbs_element-wbs_element
into null.
lv_error = con_yes.
else.
<b> message s004(cnif_pi) with text-wbs ls_wbs_element-wbs_element
into null.</b> -
Creating WBS element using bapi BAPI_PS_INITIALIZATION
Hi All,
I have created Project definition successfully using function module "BAPI_PROJECT_MAINTAIN" .
But while trying to create Wbs-Element for the project definition using same function module "BAPI_PROJECT_MAINTAIN" we are getting the following error
Key does not correspond to mask: TR.XXXXX.X.X.XXX
Could any one help me out to resolve this issue.
Thanks in advance.
harsha pHi harsha p,
Error CJ609 "Key does not correspond to mask:TR.XXXXX.X.X.XXX" is always caused by an inconsistency between the project/WBS object number and the coding mask. Therefore, to solve the problem can you please try to run report ZZADJUSTPOSID from note 453280 attached?
The report should be imported into your system manually by SE38.
Please run it first in test mode to check the wrong entries and then correct them in update mode.
Best Regards,
Edna -
Create WBS Element under Specific existsing Level1 WBS Element
Hi friends,
In a Project definition, once the User creates the Level 1 WBS Element,
I need to Create a Level 2 WBS Element by default. Please suggest me any function modules or BAPI
to Create the WBS element under Particular WBS Element.
I checked the BAPI BAPI_BUS2054_CREATE_MULTI
I hope it creates WBS elements, but not under Specific WBS element.
I am checking the function module CJWB_CREATE_PRPS
Please suggest how to go ahead.........
Thanks in Advance,
Ganeshwbs cant b created under network,
just go to cj20n, select network/activity, then right click there, u ll never see any wbs element in create tab.
Graphically network is above a wbs in cj20n, does not mean that wbs is coming under network.
ashis -
Problem while creating WBS elements using LSMW
Hello experts,
I am able to create Project Definitions using LSMW. (using recording)
But there is a problem while creating WBS elements.
Tcode CJ20 has table control and that will become problem for multiple rows (levels).
Can anyone suggest a solution to mass upload WBS elements?
Thanks for your valuable advice.Hi,
Instead of using "BAPI_PROJECT_MAINTAIN", use following solution. We are using this solution and it is working pretty good.
If the WBS element is already created and you want to create one more with same data, first get the WBS related information using BAPI_PROJECT_GETINFO as you are doing currently.
I am using different sets of BAPIs to create project, create / change WBS element.
I use function module from Function group CJ2001 ( Project related BAPIs ), CJ2054 ( WBS related BAPIs ) and PS_BAPI ( pre/post processing BAPIs ). There are specific order in which you need to execute these BAPIs.
For example if you want to create / change the WBS element, the BAPIs sequence is:
<b>1. BAPI_PS_INITIALIZATION
2. BAPI_BUS2054_CREATE_MULTI ( to create WBS )
or
2. BAPI_BUS2054_CHANGE_MULTI ( to change WBS )
3. BAPI_PS_PRECOMMIT
4. BAPI_TRANSACTION_COMMIT</b>
Check the documentation of BAPI "BAPI_BUS2054_CREATE_MULTI " to see how these function modules work.
Let me know if you need further information.
Regards,
RS -
IDOC and then create WBS element
Hi guys,
I need some help here.
The process is like this. I'm creating an IDOC which would then create a WBS element.
The message type used here is /ISDFPS/PS and Basic Type is /ISDFPS/PS01.
I'm posting the IDOC using FM "IDOC_INBOUND_SINGLE.
The segments that I'm populating are:
/ISDFPS/E1BP_PROJECT_DEF
/ISDFPS/E1BP_WBS_ELEMENT
Its posting and creating the WBS element successfully but there is a small issue.
Lets say I have a Project Definition A and under that I have a Parent WBS B
How do I put the newly created WBS element under the Parent WBS B?Friends, Let me correct my stand here.
In my system, I simulated scenario, I am not getting REL status for higher level TECO WBS, when I undo TECO for network activity. I tried to find out why my system is behaving in that way. I referred note " 938066 - CJ20N: Cannot Undo TECO status of activity"
According to it correction is provided in Support package SAPKH60005 and I am at
SAP_APPL 600 0002 SAPKH60002 Logistics and Accounting .
So, My system is not correctly behaving. I have verified the same with one another note Note 542974 - Status inheritance in different transactions
Thanks to Ahmed & A Bhardwaj for overlooking me. So, I re look and got the reason. Rashid, take solution given by Ahmed & Bhardwaj ( The same is up to mark )
With Regards
Nitin P. -
Standard interface file format to create WBS elements
Hi Gurus,
Could you please let me know where I could find the SAP standard file entry format to create WBS elements master data?
The goal is to interface WBS master data from an upstream system to ECC6.
By the way, do you know an easy way to create a "real time" interface between an upstream system and ECC in order to skip the batch part?
Thanks & regards,
barabace> The goal is to interface WBS master data from an upstream system to ECC6.
>
What do you mean by it. If it is MSP or primvera than some standard integration product are there. Otherwise take help of technical team and figure out best solution.
With Regards
Nitin P. -
Integration cProjects and PS. Incorrect order of the created WBS elements
There is a ERP2005 and cProjects 4.0 and automatic multilevel controlling to WBS elements is activated.
But sometimes I get the backward order of the created WBS elements. For instance, in cProjects I have the following structure:
Project definition
- Phase 1
-- SubTask a
-- SubTask b
- Phase 2
-- SubTask c
-- SubTask d
In PS I get the following structure:
Project definition
- Phase 2
-- SubTask d
-- SubTask c
- Phase 1
-- SubTask b
-- SubTask a
Does anybody know what is the reason of such behaviour?
Thanks!Does anybody know the reason?
-
Wbs element can no longer be shifted error while creating wbs
i am trying to create wbs with bapi_project_maintain, i am facing an error with message no 418 WBS element 1899-CAP-10-100-001-1507 can no longer be shifted
- You tried to change the hierarchy of the project, despite the fact that some budget has already been assigned. Try to add the WBS to another node or place in the project hierarchy.
- You could also reset budget using transaction CJ30 and remove the availability control on the project using transaction CJBW.
Regards,
Raymond -
Error while Creating cost element under category 90
Dear Experts,
I have some Balance Sheet related G/L account, which I have created as cost element through transaction KA01, system gives an info message saying its an BS related account, if I ignore that message and proceed further it creates a Cost element with category (system automatically picks the category and the field gets into gray mode) 90.
We have created one more BS G/L account today and trying to create the cost element for the new G/L account, system is producing an error message:
G/L account 3200220 is a balance sheet account
Message no. KS036
Field status group R005 Material accounts is maintained
Can some one guide me to rectify this error?
Thanks in advance,
Regards,
PraveenHi,
The use of cost element category 90 is only provided
in the following two cases (note Note 75980):
1. asset acquisitions and down payments which are
assigned directly to a fixed asset or asset under construction can
be assigned to an account on internal orders or WBS elements
statistically.
2. cost elements of category 90 can also be created
for material stock accounts to display material make-to-order stocks
on sales orders or customer projects.
If you G/L account does NOT correspond to the standard cases 1) or 2),
you can (on your own responsibility)
both deactivate the account assignment
check in the CO interface (message KI098) and when you create cost
elements (message KS036). Both checks are deactivated by maintaining
Transaction OBA5. Deactivate message KI098. Message KS036 cannot be
deactivated directly with Transaction OBA5 - rather, it is deactivated
indirectly when you deactivate message KI098.
The message must be DE-ACTIVATED. Please do not set it to any other
type. Please proceed as follows:
Please call OBA5 in the production system - if not set to changeable
please do this in Your development system.
In OBA5 choose KI and in the detail screen add 098.
Then set the type of warning to "-".
Best regards,
MLM -
Error while creating WBS through BAPI
I am using BAPI_PROJECT_MAINTAIN to create WBS L2 & L3.
There is only 1 WBS at both levels.
For some cases it is running fine, but I am getting the following error in some cases:
"WBS element 3UTWB_BSRHT_001 can no longer be shifted"
What could be the reason?As you told you are creating WBS vai BAPI. This may not be exact relevant Normally you cannot change hierarchy of WBS Elements after you have done some sort of execution / planning on it. If you are getting error than please share details of error message with no.
With Regards
Nitin P.
Maybe you are looking for
-
Can't find college lectures on iPod to delete so I can free up some space!
My iPod nano is full, but has over 26 hours of college lectures from iTunesU that need to be deleted. I can see these lectures on the iPod screen, but when I hook it up to my computer, I can't find the lectures anywhere to delete them. Only a music
-
I'm still stuck on learning database-driven development. I plan to take the Lynda.com free lessons... but until then, if anyone can help me, I'd be very appreciative: Here are today's questions: My manager (VP eng./sales/mktg) wants to know WHY I thi
-
Getting message while opening PDF file exported from InDesign
Hi, We have created an interactive PDF in InDesign. In this PDF we have created 15-20 pages which are link together and next previous button is provided. We are using InDesign CS3 and PDF reader 9. PDF is exported for version 8 onwards. Exported PDF
-
Hello all. I'm using jDev 11.1.2.3 When we create a table and the table contains a date column, automatically we get the af:inputDate functionality. At run-time a tiny calendar icon appears next to the input field and help us choose a date. In 11.1.2
-
Ipod not restoring; error 1418
my ipod mini has a exclamation mark and a folder sign. I put it to disk mode and connected it to the computer. and it froze up itunes almost everytime. the only time I actually got ipod to show up left side (under library) when I unplugged the ipod a