BUS2054/WBS Status
Hello,
in my current application I query WBS element data from an external application using BAPI function Bapi_Project_Getinfo() on BUS2054.
Now I need to query the user status of a WBS element which is not returned by this function. In other posts I found references to BAPI_BUS2054_GET_STATUS() function but this does not seemed to be included in our SAP 4.6C system.
Does anyone know in which SAP release this function was introduced ?
Is there an alternate method to this function which is available on a SAP 4.6C system ?
Can anyone submit the BAPI code for this function so I can try to simulate this on a 4.6C system by querying SAP tables directly ?
Thanks for any hints on this matter,
Andreas Koschinsky
Hi Prabhu,
thanks for your reply. This FM might have helped if it was remoteable (We need to query status information from a remote application using BAPI/RFC calls).
Of course you could provide a wrapper and make this remoteable but in a productive corporate SAP system this involves an extensive change process.
Do you have any other hints which remoteable BAPIs/FM can be used ? Otherwise I'll analyze the tables you mentioned.
Thanks and Greetings,
Andreas Koschinsky
Similar Messages
-
Table for WBS status change with date
Hi,
Please assist me with a table name which should have WBS status with date on which statis was changed.
Thanks,
Manish.Hi
You can use program (SE38) RBSVCDOC to track these changes. Else go manually in CJ20N to track these status changes.
Use JCDS and JEST table for any other reporting on it.
*Kindly mark your thread once your query is resolved.*
Regards
Saurabh -
Hello
I am trying to migrate some statuses from one project to another.
I am using BAPI_BUS2054_GET_STATUS for reading the old wbs status and BAPI_BUS2054_SET_STATUS to set the status to the new wbs
My Problem is that i have several old WBS that have for ex the status REL AALK RESA SETC .This result is beeing return in form of 4 lines in the system status table :
WBS1 REL
WBS1 AALK
WBS1 RESA
WBS1 SETC
and when i try to give these 4 lines as parameter to the BAPI_BUS2054_SET_STATUS bapi, i get the error that :
"WBS Element SP/10000XX appears more than once"
How can i set this status to the new WBS?
thank youHi,
you can process only one WBS in each LUW. So you have to call COMMIT after each WBS element not after each WBS element and status.
Here is a quote from BAPI documentation
You can call up the BAPI as often as you like until a Logical Unit of
Work (LUW) is closed with the BAPI BAPI_PS_PRECOMMIT and BAPI COMMIT
WORK.
Only one project or WBS element from a project can be processed in a
LUW.
Cheers -
WBS status locked - system allows consumption
Dear Experts ,
I need expert opinion on the following two points.
1. My WBS status is locked. But the system allows consumption of materail (ie 261 movement) against production order assigned to the WBS
2. My WBS status is locked. But the system allows to create schedule lines against the scheduled agrrement assigned to the WBS.
Due to the above two phenomeneon , the system is allowing comitment & incurrence to happen even for closed WBS.
Are the functionality described above are part of standrad PS process.
If yes, then how to tackle these points. If no, then is there any PS configuration for providing checks.
Thanks & Regards,
Vishal MurmooHi Khader Sir/ PSR
Thanks for the reply .
As suggested by PSR , the user status should be used to prohibit business transcation . In my case for Order Confirmation , Goods Receipts & Schedule delivery .
I made the configuration chnages for user status ( locked), which prohibits all the above mentioned transcation. This user status is mainatined for the concerned WBS .
But still i found that it is actaully not working .The system allows Order Confirmation , Goods Receipts & Schedule delivery .
against WBS having user staus locked.
Is it that i have missed some configuration.
Need experts suggestions on this matter
Regards,
Vishal -
Hi All,
I need to get to (project : WBS Element Overview) which gives me
project overall status and WBS Overall status
I have tried the table JEST but has no entries.
Could anyone guide me if we have a standard DataSource in BI to get to the Project & WBS statuses.
Kind Regards
NirenHi ,
I dont think there is a standard datasource to get the statuses. But you can use the below FM in the exit.
BAPI_BUS2054_GET_STATUS -
WBS status -ISBD Insufficient budgeting
Dear All,
Please explain WBS status. "ISBD Insufficient budgeting"
Regards,
VishalDear Nitin,
In our case of Insufficient budgeting we have transcation as
Collective Entry of Confirmations &
Goods Withdrawal
Could you explain what does this mean.
Does it mean that the cost booking during these two transcation has exceeded the alloted budget of the corcerned WBS.
If it means that only, then being Availability control active in the system, how has this default occured.
Please suggest .
Regards,
Vishal -
How to mass change WBS Status Profile?
Hi Amit,
CNMASS is the standard transaction to carry out mass change of WBS elements,network,activities,activity elements, relationships,milestones.
I doubt whether you can caary out mass change of WBS status profile directly.
You will require ABAPer to do this.
Please see one similar post on the subject in the link below.
Mass change for user fields for WBS
Regards
Tushar
PS: Reward points if useful. -
Check in mass WBS status (user or system)
Hello Gurus,
Does someone know if there exists a standard report allowing us to display in mass the system and the user status assigned to a WBS?
Or do we have to write a specific one using function BAPI_BUS2001_GET_STATUS?
Kind regards
Chrishi
go to cn41n and execute by entering the list of wbs or project
and select the status from the layout.
ashis -
Calling of 'BAPI_BUS2001_SET_STATUS' in LSMW to update WBS status
Hi All,
We have written a LSMW to update the status of the WBS element to 'REL' status. For doing this, we are calling the BAPI 'BAPI_BUS2001_SET_STATUS' in the below steps:
1. CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
2. CALL FUNCTION 'BAPI_BUS2001_SET_STATUS'
3. CALL FUNCTION 'BAPI_PS_PRECOMMIT'
4. CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
The problem is, during the first record run, the update is successful, but when it processes the second record of the file, the CALL FUNCTION 'BAPI_BUS2001_SET_STATUS' gives a DUMP with the below msg:
Exception condition "NOT_FOUND" raised.
Termination occurred in the ABAP program "SAPLCJDW" - in "CJDW_PRPS_GET".
The main program was "RBDAPP01 ".
Kindly help me resolve this problem.
thanks and regardsHi Kishor,
Can you share us how did you get this resolved?
Thanks,
Jeff -
Help with WBS status management
Hi,
I am trying to create a new user status for a WBS in OKO2 which will forbid material postings through requisitions and orders and also forbid sales orders to be created. These are standard business transactions and I can see are easily available to forbid when creating the new status.
It works when trying to create a new material document or sales order.
However, can anyone help as I am also trying to ensure that if a material posting has been made already to the WBS or sales order is assigned and then someone tries to change the user status to this new user status, then the validation of the project on save will create an error message an advise that the status can not be set due to an existing material document or sales order.
I would like to do this without having to create an additional validation user exit.
Can anyone advise if this is possible?
ThanksFor postings that are already made this can't be achieved. As suggested by Abdul you may have to use Validations or any other work around to achieve this.
-
Function Module for WBS Status
Hi all.
ECC 6.0.
I am trying to figure out a way to reach the status of a WBS element; CNJ_STAT-STTXT_INT. Does anyone know of a function module that could perhaps read this status or another way to do so? I do realize that the include FCJWBO00_STATUS_TXT_FILL can read the status, but surely there must be a FM for this as well?
Thanks for info.Hi,
What about BAPI_BUS2054_GET_STATUS?
Regards,
Eli -
Set WBS status in Project System from CRM Status
Hi Gurus
I am figuring out a solution for how to influence WBS element status in Project Systems in ECC from the campaign/Marketing plan status in CRM. Has anyone done it before or is there any BADI for it.
Your help is greatly appreciated.
Regards
-MPYour yourself answered your question.
"Can we create our own list of system status"
"Our own" status creation and maintenance feature within SAP in called "User Status".
Please follow link below to have additional information regarding system status.
link: [http://help.sap.com/saphelp_erp60/helpdata/en/a9/8a853488601e33e10000009b38f83b/frameset.htm] -
BADI for CJ20N to get the WBS status when changed
Hi all,
Here's the requirement:
I have to capture the previous status and currently changed status of the WBS element in CJ20N T-CODE and save this in the ZTABLE.
Every time the STATUS of WBS element changes..the ZTABLE has to get updated.
Will you please help me out to do this.
I have tried with BADI - WORKBREAKDOWN_UPDATE, could find that the status part is updated after the call to WORKBREAKDOWN_UPDATE.
Thanks and Regards,
Krishna Chaitanya G
Edited by: Krishna Chaitanya G on Apr 27, 2009 6:30 PMUse BADI WORKBREAKDOWN_UPDATE method AT_SAVE. The WBS elements are in internal table IT_WBS_ELEMENT which has structure PRPS. Use OBJNR to find status with function module
CALL FUNCTION 'STATUS_READ'
EXPORTING
CLIENT = SY-MANDT
objnr = gs_wbs_element-objnr
ONLY_ACTIVE = ' '
TABLES
STATUS = et_status
EXCEPTIONS
OBJECT_NOT_FOUND = 1
OTHERS = 2
The statuses are buffered in a separate memory area so be careful if you call any function modules that affect statuses e.g one to create Sales Orders as this initializes the buffered statuses and they are not changed when you save the WBS element. To get round this problem put the current status in a separate memory area carry out the processing that initializes the statuses and then recall the status from memory.
CALL FUNCTION 'STATUS_BUFFER_EXPORT_TO_MEMORY'
EXPORTING
i_memory_id = 'ZPSS_STATUS'.
LOOP AT gt_pss_01 ASSIGNING <ls_pss_01>.
AT NEW sold_to_party.
CLEAR: ls_order_header,
lt_order_items,
ls_order_partners,
lt_order_partners.
"Header
ls_order_header-doc_type = c_rsbill_order_type.
CALL METHOD <ls_pss_01>-o_pss01->get_sales_area
IMPORTING
e_sales_org = ls_order_header-sales_org
e_division = ls_order_header-division
e_distr_chan = ls_order_header-distr_chan
EXCEPTIONS
not_found = 1.
IF sy-subrc NE 0.
CONTINUE.
ENDIF.
"Partner
IF <ls_pss_01>-sold_to_party IS INITIAL.
CONTINUE.
ENDIF.
ls_order_partners-partn_role = 'AG'.
ls_order_partners-partn_numb = <ls_pss_01>-sold_to_party.
APPEND ls_order_partners TO lt_order_partners.
ENDAT.
"Items
CLEAR ls_order_items.
ls_order_items-itm_number = <ls_pss_01>-posnr.
ls_order_items-material = c_rsbill_material.
ls_order_items-wbs_elem = <ls_pss_01>-posid.
APPEND ls_order_items TO lt_order_items.
AT END OF sold_to_party.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = ls_order_header
behave_when_error = space "'P' "Save when error occurs
testrun = space
IMPORTING
salesdocument = <ls_pss_01>-sales_order
TABLES
return = <ls_pss_01>-bapireturn
order_items_in = lt_order_items
order_partners = lt_order_partners.
ENDAT.
ENDLOOP.
*--Re-fill status from memory
CALL FUNCTION 'STATUS_BUFFER_IMPORT_FROM_MEMO'
EXPORTING
i_memory_id = 'ZPSS_STATUS'.
Hope this is of some use -
About wbs status check ----GR/IR balance check
hi,dear all
When I set wbs to "clsd",can system check the purchment order's gi/ir balance of the wbs?(the account assignment of the po is the wbs,the po's goods receive is completed,all commitment is close ,but invoice has been done partially, not complete,the gi/ir balance is not zero.)
If it can not ,is there any else method can do this?
thank you!
maojianHi Jian,
Since the project is not fully complete, you can use the Status "TECO". This will ensure that no fresh commitments will be allowed. If required you can even use "lock" in the WBS to lock Master data /Account assignment or "all"
Please follow the following link for various aspects of Status management in Help.sap.com
Project system --Structure ---Status management ---System Status in WBS.
Warm regards,
Srinivas Potluri -
About wbs status check ----gi/ir balance check
hi,dear all:
When I set wbs to "clsd",can system check the purchment order's gi/ir balance of the wbs?(the account assignment of the po is the wbs)
If it can not ,is there any else method can do this?
thank you!Hi Jian Mao,
Yes, when you change the WBS elemnt to "CLS" status, system will wheck any Open PR's, PO's and Final confirmation of the Activity assigned to that.
For closing the PR's or PO's set deletion flag on header or item level OR set the delivery completed flag in PO.
For Activities you need to confirm them manually using batch or one-by-one.
Hope this will answer all your requirement.
Reward me accordingly.
Harisha
Maybe you are looking for
-
INSERT Script stored as "SQL Statement Script" not firing on Oracle Alert
We are using Alert Manager to run Alerts based on absence information in EBS R12.1.3 HR tables. Application: Human Resources Period/Event: Periodic Frequency: Every Day The Alert has 2 actions. One is to email a supervisor based on the Alert SQL find
-
Music on iPod but not under Artists
I have recently put on some new music to my iPod (now 1year old) and have noticed it appears under the "recently added" playlist, and the album will appear under "albums", however, the artist will not appear under "artists". It seems to occur only wi
-
Insert table column - nothing happens
New to LiveCucle Designer ES and working on a form with a flowable table. I'd like to add 2 columns but nothing is happening as far as I can tell. The option is not grayed out, but no columns are inserted. Should be simple enough, so it's probably
-
You have probably heard this many times : I have bought a VOIP usb phone. The cd comes with a program to download Skype and Skypemate. When I activate Skype and Skypemate, skypemate does not recognize that Skype is working, therefore the features on
-
Undoing automatic workflow customizing swu3
Hi *, I did an automatic workflow customizing with transaction SWU3 on SAP R/3 System. Is it possible to undo the workflow customizing automatically? BR, Rene.