Billing Level WBS element
Hi,
Iam Running a report. If i key in Project # and weekend dates , The Report Should fetch WBS element, WBS element - Billing Level , etc etc
Suppose a project 13381 has wbs elements 13381.001, 13381.101, 13381.501. The WBS Element Billing level for them are 13381-B01, 13381-B02, 13381-B03.
This is coming Properly in the Report.
But When I Key In Project Number as Select-options.
Project # 13381 to 13382
Iam Not Getting The Billing level of 13382 , But Iam properly getting The billing level for 13381. If the execute the report with single Project I get it properly , But The same thing with range Iam not getting Billing level for the Other Projects in the Range.
Below is the Code only for Fetching WBS level 2 .
Plz Tell me , How do i get the billing level for the all the projects in Range. What should i change in the code
DATA: TEMP_PSPNR LIKE PRPS-PSPNR.
DATA: BEGIN OF INT_PRHI OCCURS 0,
LEVEL(1) TYPE C, "level in the hierarchy
WBS LIKE PRHI, "Record for hierarchy
END OF INT_PRHI.
DATA: LEVEL2_INIT(1) TYPE C. "set to initial for each new proj
DATA: BEGIN OF LEVEL2_PRPS OCCURS 0,
POSNR LIKE PRHI-POSNR,
POSID LIKE PRPS-POSID,
POST1 LIKE PRPS-POST1,
END OF LEVEL2_PRPS.
IF PRPS-PSPNR <> TEMP_PSPNR.
MOVE PRPS-PSPNR TO TEMP_PSPNR.
MOVE PRPS-POSID TO ITAB-X_WBSELEMENT.
ENDIF.
PERFORM FIND_LEVEL_2
USING PROJ-PSPNR
TEMP_PSPNR.
ITAB-X_WBS_LEVEL2TITLE = LEVEL2_PRPS-POST1.
ITAB-X_WBS_LEVEL2 = LEVEL2_PRPS-POSID.
FORM FIND_LEVEL_2
USING PROJECT
WBS.
DATA: TOP_POSNR LIKE PRHI-POSNR,
FIND_POSNR LIKE PRHI-POSNR,
SECOND_POSNR LIKE PRHI-POSNR.
IF LEVEL2_INIT IS INITIAL.
LEVEL2_INIT = 'X'.
CLEAR INT_PRHI.
REFRESH INT_PRHI.
SELECT * FROM PRHI
WHERE PSPHI = PROJECT.
MOVE-CORRESPONDING PRHI TO INT_PRHI-WBS.
APPEND INT_PRHI.
ENDSELECT.
SORT INT_PRHI BY WBS-POSNR.
LOOP AT INT_PRHI WHERE WBS-UP = '00000000'.
EXIT.
ENDLOOP.
TOP_POSNR = INT_PRHI-WBS-POSNR.
LOOP AT INT_PRHI WHERE
WBS-UP = TOP_POSNR.
INT_PRHI-LEVEL = '2'.
MODIFY INT_PRHI.
SECOND_POSNR = INT_PRHI-WBS-POSNR.
LOOP AT INT_PRHI WHERE
WBS-UP = SECOND_POSNR.
INT_PRHI-LEVEL = '3'.
MODIFY INT_PRHI.
ENDLOOP.
ENDLOOP.
ENDIF.
FIND_POSNR = WBS.
DO 10 TIMES.
LOOP AT INT_PRHI
WHERE WBS-POSNR = FIND_POSNR.
ENDLOOP.
IF INT_PRHI-LEVEL = '2'.
SECOND_POSNR = INT_PRHI-WBS-UP.
SELECT SINGLE * FROM PRPS WHERE PSPNR = FIND_POSNR.
SELECT SINGLE * FROM PRPS WHERE PSPNR = SECOND_POSNR.
LEVEL2_PRPS-POST1 = PRPS-POST1.
LEVEL2_PRPS-POSID = PRPS-POSID.
EXIT.
ENDIF.
FIND_POSNR = INT_PRHI-WBS-UP.
ENDDO.
SELECT SINGLE * FROM PRPS WHERE PSPNR = WBS. "resets prps!!!
ENDFORM.
Hey Guys,
I Corrected it Myself, the problem was in the
FORM FIND_LEVEL_2
USING PROJECT
WBS.
<b>IF LEVEL2_INIT IS INITIAL. ]
LEVEL2_INIT = 'X'.</b> ]
These shud be taken off , if the Projects are in range , The above works only for a single project.
Similar Messages
-
Fetch Top level WBS elements for delivery type LP
Hi everyone,
we are working on a delivery analysis report and we are in progress of fetching sales order number for deliveries with delivery type LP.
How we are doing?
so we are fetch the UP values from PRHI table for the wbs elements in LIPS.
Now we need to fetching the top level wbs elements from PRHI table by passing the UP values to the same table until the UP field value becomes initial.
Then fetching the corresponding sales orders from the VMPA table for the wbs elements from PRHI table for the value of corresponding UP field is initial.
So it is going through so many iteration to fetch the UP value again and again until it is initial.
What we need?
So if someone can suggest a FM or method to fetch the top level WBS element for the given WBS element from LIPS table will be of great help.Hi,
Try FM
'BBP_PS_PROJECT_GET_LIST
'BAPI_PROJECT_GETINFO -
Updating Prod Hierarchy field for all 2 & 3 level WBS Elements
Dear All,
My requirment is to update Prod. Hierarchy field for WBS element. Here in input i give 2 level WBS Element with respective Prod. Hierarchy then my program should update the Prod. Hierarchy for 2 level and 3 level WBS element under it automatically.
I hope we need to use bapi BAPI_PROJECT_MAINTAIN.
If any one had a sample code please reply with the attachment.
Thanks & Regards
NSKHi Afzal,
In which table the Left Right Up Down WBS elements are maintained.
Regards
Shashikanth Naram -
Budget at all level WBS element
Dear All
In my project secrino i had created 4 level WBS elements i.e under 2ed level 3 rd level and under 3rd level 4th level i had created. when i am going for budget the system is taking only 4 th level WBS element total to all the Level of wbs.Please guide me to how to solve this issue. i want to have level by level budget.
Regards
RajHi Raj,
Amol is right, you don´t need total up the budget. But keep in mind If you have level 1 and level 2 for example and you want 1000 USD for level 1 and 5000 for level 2 it is needed budgeting 6000 for level 1 and 5000 for level 2 ( level 1 only have available 1000 USD)
Regards,
Sara -
Result Analysis with transaction code KKAJ for Top level WBS element
Hi Experts,
we have four level WBS structure with level 1 and level 4 with all operative indicators active
when we are doing Result analysis by using KKAJ for level 1 WBS element, System is taking all level 4 wbs elements also into consideration.
Is there a way to run results analysis using KKAJ only for level 1 wbs elements for multiple projects, avoiding the level 4 WBS elements.
SAP version 4.6C
Please suggest.
Thanks in advance
ChakravarthyHi
refer this thread posted a few days back
Ajay M -
dear all,
please understand the scenario
example:
item - "cable" . total order quantity - 5 kilometers of installation
installation charges: 100000 per kilometer. (total order value- 500000)
billing can be done partially. (multiple invoices against one item - order related billing)
say after
2 km
3 km
when i bill first 2 km installation, i put value in billing plan tab at item level (billing plan "01" in item category) i.e 200000
but when i create invoice, it does not show the quantity as 2 but shows full quantity i.e. 5
amount shown in the bill is correct though. i.e. 200000
how do i get quantity break up in billing doc?
also i want to restrict the billing amount not to exceed the order amount.
please give solution
atulHi
Milestone billing and billing based on quantity are not related at all. If you want to bill based on quantity then while creation of invoice through VF01 you could control qualtity. No need of milestone billing.
And even after this if you want the quantity with mile stone, create an ABAP program such that
Quantity = Value from Milestone/ value in VK11 for that material.
assign this program to your billing docuement save exit.
try and revert -
Error message setup for CJ32 3 level WBS elements
Dear all
We have 2 requirement for my project system as followed Below
1.The original budget inputted in CJ30 should be the same as released budget on 1st and 2nd WBS level
(i.e. value in column BUDGET is the same as the value in column RELEASE on each 1st and m2nd WBS level in CJ32 ):
2. No budget is released on 3rd WBS level (there must be zero in CJ32
need to set up the error message when entering the budget release in CJ32.
Hence requesting all please let me know is there any standard process available for above required
if not is there any validation or ABAP development possible.
If any validation is possible please let me the possible scenario.
and let me know the disadvatages for settings of error message if any
Thanks and Regards,
Jyothi Pasala.Hi
If you can explain the Business Process behind such a request we can think about a solution? -
Billing of a WBS Elements when we use a purchase order.
Hi,
My question is: Usually we use purchase order of the provider to create the delivery and after that the billing document. We use transaction VL04 to do that. It is a process of intercompany billing.
We have too, a process that we use a WBS Elements and after that we create a delivery and a billing document.
So, how can i use the two billing process in the same bill? The goal would be bill a WBS Elements using the original purchasing order of the provider VL04.
Best Regards
João FernandesHi,
My question is: Usually we use purchase order of the provider to create the delivery and after that the billing document. We use transaction VL04 to do that. It is a process of intercompany billing.
We have too, a process that we use a WBS Elements and after that we create a delivery and a billing document.
So, how can i use the two billing process in the same bill? The goal would be bill a WBS Elements using the original purchasing order of the provider VL04.
Best Regards
João Fernandes -
Level One WBS Element as Acct Assignment Element
Dear Friend's
My user have created one project, In that there are various levels WBS Elements.
Normally we never tick Level One WBS Element as a Acct Assignment Element.But User have made Level One WBS Element as Acct Assg Element and then Project is Released.So now I can't remove that tick because that field is Grayed out or Freezed.
Now i wanted to Remove or Undo Release status and then I have to remove Acct Assg Element Tick.
Pls guide me on this issue.
Thanks in Advance.
Regards,
Sandeep N.TheurkarHello,
I had not seen this problem before. So i checked it in my system. But i didn't see this
happening for me.
I think once system status is in REL (released) status you cannot reverse it. According to me Acct.
assignment field become gray only when posting is made against that WBS and not after release.
Pls check it and inform.
Regards,
Ashish Kulkarni -
WBS Element vs investment order
Good Day,
Please can someone explain the following..................
I have CO objects a WBS element and an investment order and I have posted budgeted values to these CO Objects. I have posted actual values to these Co object via the MM and FI-AA module.
When I display the budgeted values for the WBS Element and the invesment order for the fields BPJA-WTJHR the vaules are positive. Once the actual values are posted to the WBS Element and investment order the values are displayed differently on the table COSP-(WTG001-WTG016).
For the WBS Element the values are dispalyed as negative on table COSP -(WTG001-WTG016) and for the investment order the values are displayed as postive but both values for the different CO objects are expenditure which has occured via the MM and FI-AA modules Therefore can someone please explain to me why these values are displayed differently yet the budgeted values are displayed the same.
Your soonest response would be appreciated.
Kind Regards
RopetraHi
please gop through this notes it may be help full for you...............
Planning and Budgeting Measures
Use
Using this function, you can plan and budget investment measures, even if they are not already assigned to an investment program.
Integration
All of the planning and budgeting functions of orders or projects are at your disposal for the corresponding measures. For more information, see the documentation for the R/3 components, Internal Orders (CO-OM-OPA) and Project System (PS) .
Orders or WBS elements that are assigned to investment programs cannot receive their overall budget by means of the budgeting functions in CO and PS, when the Budget distribution indicator is set in the program position to which they are assigned. Instead, they are limited to receiving their overall budget only by means of the budgeting functions in Investment Management.
Prerequisites
Certain restrictions apply when an investment program type is entered in the budget profile of an order or WBS element. When this is the case, the order or WBS element cannot receive overall budget unless you assign it (or a higher-level WBS element ) to an investment program position. Until you make this assignment to a program position, the fields for the overall budget and/or annual budget for orders or WBS elements are not ready for input and cannot be changed.
Activities
To plan or budget orders, choose Internal orders ® Planning ® Overall values ® Change or Budget ® Original budget ® Change.
To plan or budget WBS elements, choose Investment projects ® Planning ® Total costs ® Change or Budgeting ® Original budget ® Change. -
Settlement of order -WBS Element
Dear Experts,
Can any one tell me what is meant by WBS element and in what scenario,PM orders settlement rule created with category as WBS.If possible tell me with any practical example.
regards
KRISHNANDear,
Dear,
Budget: Amount of resources allocated under a particular head in a financial year.
Budget Control: Having/ creating a control on the resources allocated in a financial year.
Original Budget: The initial budget that you have allocated to a WBS element.
Supplement of Budget: One time/ discrete increment in the original budget.
Return of Budget: Taking out the unutilized portion of the budget.
Transfer of Budget: Transferring the budget among two or more expense heads.
Project Definition: A framework for a business undertaking with a fixed goal to achieve with given resources.
The project definition contains dates and organizational information that are binding for the entire project.
WBS Element: Individual structural element in a work breakdown structure (WBS) representing the hierarchical organization of an R/3 project. Describes either a concrete task or a partial one that can be further subdivided.
Proposed Business Process
Assume there are seven expense heads in maintenance department. There may be addition of expense head in near future.
Based on the maintenance heads, maintenance department will create a project in project system. This project will be used for statistical purpose only & will not have any financial implication.
Upon creation of a project, WBS elements will be created as per the expense heads. So for each expense head, there will be one top level WBS element. Again these WBS elements will be divided in twelve WBS elements. These twelve WBS elements represent twelve calendar months.
Budget will be allocated to each WBS element & the WBS element will be released from the project.
Maintenance department will create maintenance orders as per their work requirements. These orders will be settled to cost centre, which is maintained in the settlement rule. Also WBS element will have to be mentioned in each order so that the budget control can take place. So as to capture cost from each maintenance order, the WBS element field will be made mandatory field in maintenance order.
So when a maintenance order is released, system will do a budget check against the WBS element mentioned. If the budget check status is OK, order is released or else it will stopped from release. If the order is stopped from release, maintenance department will have to supplement the budget. Upon supplementing, the order is released again & the maintenance cost such as, labour, material costs can be booked on the order. Again the order cost is settled to cost centre & at the same time, budget is consumed from the respective WBS element.
Every year, maintenance department will copy the previous years project so as to save time & efforts to create project & WBS elements. And the maintenance department will assign the budget allocated to each WBS element in a financial year.
It is also possible to return the unutilised budget or, transfer of budget from one WBS element to another.
Create a project CJ20N
Create WBS element CJ20N
Assign Budget to WBS elementsKO22
Display assigned Budget KO23
Supplement Budget KO24
Display Supplement budget KO25
Return Budget KO26
Display Return budget KO27
Transfer of budget CJ34
Hope u wull get ur answer
Regards
Rakesh -
Validation not Working in WBS Element
Dear Team,
I have created a Validation at WBS element level like this:-
Prerequisite
PROJ-PROFL = 'ZPSSNR'
Check
PRPS-POSID : 1-6 := PROJ-PSPID : 1-6:
Error:
WBS ID doesn't start with Project ID
My Project ID "SN-001"
Now when I tried create 1st Level WBS element ( which is Identical to Project ID), it is working fine but in 2nd level onwards it raised erorr. For example, I tried to create WBS at 2nd Level like "SN-001-CIV" then system throw error.
Kindly help me to resolve the issue.
Regards
Soumen DasHi,
For your case Use the data as below it would work fine for all the level WBS.
Prerequisitie:
PROJ-PROFL = 'Your project profile' AND PRPS-STUFE >= '1'
Check:
PRPS-POSID :1-5: = PROJ-PSPID :1-5:
Message:
Your required message number.
Note in Check i am asking to use 1:5 because the special symbols should not be considered.
Now your validation should work fine.
Regards,
Pradeep -
I am creating purchase order for WBS element of amount 76214 USD but getting error Budget exceeded. Details of WBS element is (checked through CJ31) Distributable 807,800.00 USD and Assigned 847,753.97 USD.
Please can you help how to check balance amount in WBS element.Hi
Please note that distributable amount is the figure on that particular WBS element which can be utilised on it or can be on its lower level WBS elements. Assigned value is total of commitment and spent value.
In you case assigned value is more than distributable - it means full value is utilised on this WBS element.
You need to check under CJ33 for the released value and assigned value.
or if you want to know available amount then use the report s_alr_87013558 or S_alr_87013561.
And also check the tolerance % for excess amount that can be spent on WBS elements in configuration through PS -> costs -> budget -> tolerance limits. -
Statistical WBS elements-Budgeting and Use
Hi Guys,
Need some KT from you all regarding Statistical WBS Elements.My queries are
1.Can a statistical WBS element be budgeted? If yes how are the Budget distributed to those below.
2..If a level 2 WBS is marked statistical and it has 3 WBS under it which are Acc asignment element then how is the budget distributed.
3.can you provide some good example of the use of Statistical WBS element?
Thanks in Advance
sskHi Shourya,
1. As mentioned above Statistical WBS can be budgeted like any operative project and the budget can further be divided into lower level WBS elements and Availaility Control can be activated on these.
2. Again as stated above the budget distribution is normal. For ex- If a level 2 WBS is statistical and level 2's underneath that are real WBS.
3. We can use the Statistical WBS for capital projects. For ex- We can assign a Statistical WBS in Master record of AUC for Availability control of budget for Capital spending. And then when we create a PO with Account Assignment category A with same AUC, budget control (Availability control) is activated through the statistical WBS.
Someone might ask but why we want to use WBS for budget control why not I/O? It's because it provides more visibility over different departments (divided by structure). And via this process we can see all our PO's on AUC directly from Asset Explorer (AW01N).
Hope it helps.
Thanks,
BS -
Settlement Run on Higher Level WBS
Hello Experts,
Scenarios is that I need to run settlement on 2nd Level WBSE where I have assigned asset class but my activities are linked on 3rd OR 4th Level WBS Elements due to the requirement of detailed level project planning. Cost is posted against lower level WBS Elements and settlement is to be run on higher level WBS Element.
Can I roll up the cost from lower level WBS to Higher level WBS so that settlement can be run against the asset class assigned with higher level WBS Element
Please advise. Thanking you in anticipation...
Warm RegardsHi,
You can perform this kind of settlement in two ways based on different conditions:
1. If there is only one asset to be created from project, then instead of hierarchical settlement you can use the line item settlement to the same asset maintained in the settlement rule of superior WBS, by using settlement strategy as in customization as ( Settlement rule generation: account assignment category........4) Copy rule from superior object. So that settlement of all the object will be done to the same asset.
2. Otherwise, if you want to have the settlment to the same asset of your project structure in hierarchy, then you can use SAP note number 211324, to have Settlement rule generation: account assignment category as 05 (Superior WBS element), in the customization of settlement strategy.
I hope this should help you.
Regards
Avisek Bhardwaj
Maybe you are looking for
-
Combine instances on Windows 7 taskbar
Is there any way to get Reader X to only have a single entry on the W7 taskbar, regardless of the number of open documents? I use the small icon, which keeps the label, but I would be much happier with just a single button instead of 4 or 5. It doe
-
Help with Plash player 10,3,162,29.
Help with Plash player 10,3,162,29.e I need some help with Flash Player 10,3,162,29. I'm able to play youtube videos and most prerecorded videos. However,with streams in realtime,like news sites,live sporting events and live webcam feeds, they play f
-
I just moved all of my events to an external hard drive directly in the iMovie interface. And in the process iMovie has forgotten all of the tags...or they didn't get copied. Each and every one is gone. I can't believe that iMovie doesn't copy tags a
-
IDVD having problems "during multiplexing/burning"
Help please: iDVD is not burning DVDs for me. it goes through the whole process seemingly fine, then at the end shows the error message: "problem during multiplexing/burning". I have a G4 emac. 800 Mhz 10.3.9 external Lacie dvd burner (that burns fin
-
Hi, In Obiee 11g, i'am using the new functionnality of file uploading. However, i would kniw if it's possible to do add a file filter? I want only .doc files to uploaded. Thanks.