WBS Element - Order Number Relationship

Hi,
I need to know the specific Order Number (example: PM order) with cost posting on WBS element.  I am use COVP / COEP field OBJNR to see the WBS Element (those starts with PR*), but I do not know which field is the Order Nmber contained in the table.
Please advise in which table can I see the linkage between WBS and Order number for cost postings.
Thanks!
Regards,
Vivian

hi,
plz go thru following thread.Might be it will help u
WBS Conversion Routines
Conversion - Internal number to External number
WBS element
<b>plz reward if useful</b>

Similar Messages

  • Cost Line Item Posting - which field indicates Order Number

    Hi,
    I need to know the specific Order Number (example: PM order) with has cost postings on a WBS element. I am using COVP / COEP field OBJNR to see the WBS Element (those starts with PR*), but I do not know which field is the Order Nmber contained in the table.
    Please advise in which table can I see the linkage between WBS and Order number for cost postings.
    Thanks!
    Regards,
    Vivian

    Hi Eli,
    Now that we have established we are looking into Plant Maintenance order (IW33) and not Overhead internal order (the WBS element is specified in the PM Order itself under Account Assignment section). 
    Now, going back to original question.  I need to create a report to show cost detailed based on WBS Element input.  I need to display all the Cost Line items for a particular WBS element.  For each line items to be displayed I also need to show the particular PM Order.  Would you know if the PM Order number information is stored in which field in the COVP/COEP CO posting Line item table (OBJNR is for the WBS Element)?
    If COVP/COEP CO posting Line item table does not store the original source PM Order, could you suggest a way on how I can retrieve the PM Order number based on WBS element and posting date? I dont think we can just use AUFK since it is just the master data table and will not show the posting date.
    Thanks!
    Vivian

  • WBS Elements for Project

    Hi Guys,
    I have requirement like, my selection input as PROJECT , i need to get all the WBS element for the particular Project. Do we have any function module or table to get the data?
    Thanks,
    Gourisankar.

    Hello,
    Try the FM BBP_PS_PROJECT_GET_LIST
    Pass the project and in return you can get the WBS elements, Orders,Network activities
    P.S. Project number has a conversion routine attached to it check it before passing to the FM.
    Regards,
    Sachin

  • Problem issueing material from one WBS element to another

    Hi Guys,   This is my first post so be kind.
    Our projects during their life cycle change their WBS element sub number.   Example New project starts with WBS element # E.7029.00.010  at some point in the project it moves on to the next level and the WBS element changes to E.7029.00.020  later in the project it will again change to E.7029.00.030.  Ok you get the idea.
    Now the problem.   When the project is at the .020 level we purchase inventory and recieve it into project inventory under the WBS elemement E.7029.00.020.
    Now the project has moved on to E.7029.00.030 and we want to create a production order to make a prototype.  The WBS element for the production order is E.7029.00.030  but the inventory is still under WBS element E.7029.00.020.  When we go to issue the material to the job it says there is none in inventory under WBS E.7029.00.030. Which is right it is all under E.7029.00.020. 
    Is there a way that we can store the inventory under E.7029.00 and be able to issue it to any sub group of E.7029.00 so that it would not matter if the current WBS is E.7029.00.020 , E.7029.00.030 or E.7029.00.050?
    Since our BOM's can be quite extensive and often contain a large number of new components this would be of great assistance.
    Thanks for your time and consideration.

    The project moves on to another stage.   During the development of new products the project goes through several stages before the new product is released for production and sales.   For example:
    Stage 10 - concept
    Stage 20 - initial design
    Stage 30 - design refinement
    Stage 40 - Bata testing
    Stage 50 - Final design
    Stage 60 - Production process design
    At each of stages 20 - 50 changes to the BOM can occur.  Material would be purchased at stage 20 and could continue to be used through the rest of the stages including after release to production.   But if the material is purchased during stage 20 then it sits in inventory under the WBS element ending in 020 but when the project moves on to the next stage the material will  be used to produce prototypes for stages 30 - 60 as long as the material is included in the BOM at that time.

  • Find table with wbs element list

    Hi experts,
    i have the wbs element id number (i found it from a function)
    but i dont know how can i find the wbs element description table.
    any help will be appreciated.
    Michal.

    i found it,
    thanks.
    Michal.

  • Regading WBS element

    Hi all ,
    I am Reading the table PRPS with key WBS element . When reading this table i need to convert the WBS element from number to Char value .Is there any function module to convert this?
    Regards,
    Krishna.

    Hi,
    Use the following FM.
    CONVERSION_EXIT_ABPSP_OUTPUT
    to convert internal no into External WBS no.
    This you can find it in Domain of the pspnr field in PRPS table.
    Message was edited by:
            Vigneswaran S

  • Settlement doc number & wbs element relationship table

    Hello,
    I am trying to find any tables which can help me get the settlement doc number and wbs element relationship.  Presently I am using table AUAA and here is my select for that:
    SELECT belnr aufnr pspnr anln1 coobjnr FROM auaa INTO TABLE tab_auaa
                        WHERE emtyp = 'PR'
                        AND bukrs IN p_bukrs
                        AND kokrs IN p_kokrs.
    since I do not have "belnr"(the primary key) it is taking too long to get this info.....any one has any idea of any other tables to get this information or a bapi?
    appreciate the help
    AS

    Hi all,
    thanks for all the help and support on this...I found a way to get all the CO settlement doc numbers for a project and their relationship as sender and receiver.....
    first  i went to anla and anek to get the AUC and the wbs settling to this AUC relatiionship...once i got my main wbs element...i found all the wbses for this project.
    I need to use the table AUAK, AUFK, and AUAA to get all that information.  I got all my wbses for a project first....than I went to table AUAK with all these wbses...and found the belnr(settlement doc numbers)....this table does not give out complete settlement doc numbers for wbses....we need to go back to AUAK with the internal orders to get the belnrs for them as well....so to get all the internal orders for a project i went to AUFK....than i took these orders and went back AUAK with these orders and got my missing belnrs....
    now I had all my belnrs for a project....so i went to table AUAA and did the select with these belnr...and since now i have the primary key the access is lighting fast....by doing that select i got all my relationship, i mean which settlement is goind where...
    mind you that I used AUAS to get the sender/receiver relationship with the amount....this is as well a cluster table but we have the primary key belnr(co settlement doc. numbers)...so no worries to get the data here as well....
    here are my selects for AUAK, AUFK and AUAA....
    TYPES: BEGIN OF prps_ty,
            psphi TYPE prps-psphi,
            END OF prps_ty.
            DATA all_proj TYPE STANDARD TABLE OF prps_ty.
            DATA wa_all_proj TYPE prps_ty.
    TYPES: BEGIN OF objnr_ty,
               objnr TYPE auak-objnr,
               END OF objnr_ty.
    DATA lo_p_psp TYPE STANDARD TABLE OF objnr_ty.
    IF all_proj IS NOT INITIAL.
              SELECT objnr FROM prps INTO TABLE lo_p_psp FOR ALL ENTRIES IN all_proj
              WHERE
              psphi = all_proj-psphi.
            ENDIF.
    IF lo_p_psp IS NOT INITIAL.
              SELECT belnr objnr FROM auak INTO TABLE tab_auak FOR ALL ENTRIES IN lo_p_psp
              WHERE
              kokrs IN p_kokrs
              AND gjahr IN p_gjahr
              AND objnr = lo_p_psp-objnr
    *        AND objnr LIKE 'PR%'.
            SORT tab_auak BY belnr.
            DELETE ADJACENT DUPLICATES FROM tab_auak COMPARING belnr.
    SELECT aufnr objnr pspel FROM aufk INTO TABLE tab_aufk FOR ALL ENTRIES IN lo_p_psp
              WHERE
              bukrs IN p_bukrs
              AND kokrs IN p_kokrs
              AND pspel = lo_p_psp-objnr.
            ENDIF.
    *get the belnrs for orders---this part is very important or we miss out all the belnrs for I/O...
            IF tab_aufk IS NOT INITIAL.
              SELECT belnr objnr FROM auak INTO TABLE tab_auak2
              FOR ALL ENTRIES IN tab_aufk
              WHERE
              kokrs IN p_kokrs
              AND gjahr IN p_gjahr
              AND objnr = tab_aufk-objnr.
            ENDIF.
    *append these new belnrs to tab_auak
            LOOP AT tab_auak2 INTO wa_tab_auak2.
    *              CONCATENATE 'PR' wa_tab_aufk-pspel INTO wa_tab_auak2-objnr.
              APPEND wa_tab_auak2 TO tab_auak.
            ENDLOOP.
            SORT tab_auak. "by belnr.
            DELETE ADJACENT DUPLICATES FROM tab_auak.
    *now get all the belnrs for this project...complete list....
            IF tab_auak IS NOT INITIAL.
              SELECT belnr aufnr pspnr anln1 coobjnr FROM auaa INTO TABLE tab_auaa
                       FOR ALL ENTRIES IN tab_auak
    *            WHERE pspnr = wa_wbs-posnr
                                     WHERE
                                     belnr = tab_auak-belnr
                                     AND emtyp = 'PR'
                                     AND bukrs IN p_bukrs
                                     AND kokrs IN p_kokrs.
            ENDIF.
            SORT tab_auaa BY pspnr belnr.
    I used our own indexes for all the transparent table accesses.... to speed up the process...you might want to create your own indexes depending on the where clauses for transparent tables.....
    well thanks again..and hope all this will help someone else too....
    AS...
    Edited by: J Are on Oct 31, 2009 1:19 PM

  • Sale order - Wbs element Report

    Hi
    Is there any report for sale order wise wbs element report.
    In my sale order i will give wbs element and now i want to check "for one sale order , what are the wbs elements"

    You can check the WBS for a sales order from the table view of VBAP.
    The WBS field is PS_PSP_PNR.
    Goto SE16 and give VBAP.
    Enter your sales order number and execute. Look for your WBS elements in foeld PS_PSP_PNR for the different line items.
    You can also create a quick SAP query on this.

  • PO number and PO qunatity for a given WBS element

    hello all,
    in which table does PO  number and PO quantity are stored for a given WBS element...
    or do i need to use any function module....
    i need to use it in an ALV report...
    thanks in advance.....

    For service PO's or  material PO's you can get only by using PR reference.
    for  material you will be having only one PR for One material so there is no problem with Materials.
    for ref find the below screenshot
    for services number of activities comes under single PR so this is some critical to bring the datafor ref find below screenshot
    as mentioned in the screenshot all the service numbers will come under PR 40 line item so by using PR 40 you will be creating PO ,
    Pass order(NPLNR)/W.B.S.E(PS_PSP_PNR) in EBKN get  BANFN & BNFPO  pass this in EKPO for service PO's package number (PACKNO) will be updated by using this go to ESLL pass package number(PACKNO)  and take package (SUB_PACKNO) and pass in package number(PACKNO) you will get the service items for that PO
    Regards
    Ambarish

  • WBS element in work order

    I would like to restrict users to choose WBS elements in work order (in settlement rule and Addit.data - WBS element) depending on WBS type (project type - PRPS - PRART) - does anybody know how to solve it using authorization objects?

    Hi,
    Please use the following steps as reference:
    1.Go to T-Code pfcg
    2.Create a Role by giving a name say “ZPSTEST”
    3.Click on Authorization tab
    4.You will be asked to save the profile first
    5.Go to “ Change authorization data”
    6.Choose “SAP_ALL” and adopt reference.
    7.Confirm “ Yes” to insert all authorization
    8.Go and expand the link “project system”
    9.Expand the link “ PS: Project Manager for Project Definition”
    10.Here you will see two fields “ Activity for Authorization che” and Number of responsible per”
    11.Click on change button on the first field.
    12.Here click on “Cancel full authorization”
    13.Now, here you can choose what all functions you want to assign for this authorization Role.
    14.Choose say “ Display” and save
    15.Click on “ Number of responsible person” and choose any person , say “ XYZ”
    16.Now the authorization role is ready. This setting will ensure that any person who is assigned this role will only be able to “Display” the projects , if the responsible person is “XYZ”
    17.Go back to the pervious screen. In the process” Generate” the profile also.
    18.Once you are in “Change Roles” Screen, go to tab “USER”. Here you can assign this role ZPSTEST to various users.
    Reward points if useful.
    Regards

  • WBS element , Production Order and Sales Order Link

    HI,
    I have to get the name of the customer mentioned in the sales order. In Sales order line item assignment WBS element has been assigned as this is a sales order for customer specific.
    Now I am doing MRP run against WBS element and getting the planned order.
    After that i am doing Conversion of planned order into production Order with transaction code MD04.
    In the production order, Assignment tab WBS element is showing.
    My query is that against the WBS element and that particular production order how can i trace sales order as well as the customer name.
    Note: The WBS element can be assigned to more than one sales Order line item.

    Asutosh Mahapatra,
    Since each production order is created for 1 unique Sale order number you should see the sale order number on the header screen in production order ( General data tab). Also customer number & name will appear there.
    Hope this helps. Else please come back.
    Thanks,
    Ram

  • Travel Expenses settlements against Service Order/WBS Element/Project Ord

    Hi Experts,
    I have one req. in Travel Expenses, i.e. need to settle travel expneses against Service Order/WBS Element/Project Order.
    Can you guide me how to do this req.
    Thanks & Regards
    Rajesh

    Hye mate,
    This is possible for sure what you need to do is to go at travel request . In travel Request there is an option of Enhanced Travel cost/ Alternative master cost center. if you click on it . you would find an option of cost assignmnet click on it
    there you would have option , like an excel sheet like fields of  the cost centre, wbs element, profit center, order number what eve is requred and save it.
    now the cot of trip would go that particulat cost center or der numbe or WBS rather then the cost center assigned at master data in ifototype 0027.
    Regards
    Waqas Anwar

  • Updating WBS element in a sales order

    There is application in Project System (PS) module where I am creating the Project using bapi BAPI_PROJECT_MANTAIN and then uploading the budget for the same using bapi KBPP_EXTERN_UPDATE_CO. After this when I am trying to update the sales order to update its WBS element using bapi BAPI_SALESORDER_CHANGE it’s going into short dump. Dump description as follows :
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           SAPLBPFC
    Application Component  FI-FM
    Date and Time          17.07.2014 15:11:07
    Short text of error message:
    System error in : LBPFCFE2 Table:   Report:   Routine: DETERMINE_OBJ_ENQ
    _MODE
    Long text of error message:
    Diagnosis
         An internal error has occurred.
    System Response
         Processing will be discontinued.
    Procedure
         Contact your system manager.
    Technical information about the message:
    Message class....... "BP"
    Number.............. 005
    Variable 1.......... "LBPFCFE2"
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... "DETERMINE_OBJ_ENQ_MODE"
    Whereas when I am running the bapi BAPI_SALESORDER_CHANGE standalone using se37 with same test data its updating sales order properly.
    After debugging the standard bapi I have found out that there is a subroutine determine_obj_enq_mode which is setting the variable u_enq_mode.In our case this variable is blank that’s y its going into dump.I tried hardcoding this variable to 2 then it updates the bapi properly.So will you suggest for the enhancement where we can hardcode this variable or is there any other solution you will suggest.
    Thank you

    There is application in Project System (PS) module where I am creating the Project using bapi BAPI_PROJECT_MANTAIN and then uploading the budget for the same using bapi KBPP_EXTERN_UPDATE_CO. After this when I am trying to update the sales order to update its WBS element using bapi BAPI_SALESORDER_CHANGE it’s going into short dump. Dump description as follows :
    Category               ABAP Programming Error
    Runtime Errors         MESSAGE_TYPE_X
    ABAP Program           SAPLBPFC
    Application Component  FI-FM
    Date and Time          17.07.2014 15:11:07
    Short text of error message:
    System error in : LBPFCFE2 Table:   Report:   Routine: DETERMINE_OBJ_ENQ
    _MODE
    Long text of error message:
    Diagnosis
         An internal error has occurred.
    System Response
         Processing will be discontinued.
    Procedure
         Contact your system manager.
    Technical information about the message:
    Message class....... "BP"
    Number.............. 005
    Variable 1.......... "LBPFCFE2"
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... "DETERMINE_OBJ_ENQ_MODE"
    Whereas when I am running the bapi BAPI_SALESORDER_CHANGE standalone using se37 with same test data its updating sales order properly.
    After debugging the standard bapi I have found out that there is a subroutine determine_obj_enq_mode which is setting the variable u_enq_mode.In our case this variable is blank that’s y its going into dump.I tried hardcoding this variable to 2 then it updates the bapi properly.So will you suggest for the enhancement where we can hardcode this variable or is there any other solution you will suggest.
    Thank you

  • Which table has auc to wbs element relationship stored

    Hello everyone,
    I have to write a report on costs for AUC.  I have following scenario:
    auc1-----wbs2--internal order4
    ............... |----
    internal order3
    ............... wbs1----internal order1
    ............... |------internal order2
    ............... |
    auc2-----wbs3 -
    internal order1
    I tried my best to depict the scenario in the picture.....so basically i want auc1 cost.....now client does not want to see wbs3 element...since it is settling to auc2.....if i put in the project def in the following bapi(BAPI_PROJECT_GETINFO)...i get all the wbs elements..since there is a settlement from wbs1 to wbs3..is there any table which can give me relationship...or which can tell me that which wbs is settling for which auc....
    Thanks...i hope i was able to explain my question....
    appreciate the help....
    AS.

    Hi all, thanks for all the help and support on this...I found a way to get all the CO settlement doc numbers for a project and their relationship as sender and receiver..... first i went to anla and anek to get the AUC and the wbs settling to this AUC relatiionship...once i got my main wbs element...i found all the wbses for this project. I need to use the table AUAK, AUFK, and AUAA to get all that information. I got all my wbses for a project first....than I went to table AUAK with all these wbses...and found the belnr(settlement doc numbers)....this table does not give out complete settlement doc numbers for wbses....we need to go back to AUAK with the internal orders to get the belnrs for them as well....so to get all the internal orders for a project i went to AUFK....than i took these orders and went back AUAK with these orders and got my missing belnrs.... now I had all my belnrs for a project....so i went to table AUAA and did the select with these belnr...and since now i have the primary key the access is lighting fast....by doing that select i got all my relationship, i mean which settlement is goind where... mind you that I used AUAS to get the sender/receiver relationship with the amount....this is as well a cluster table but we have the primary key belnr(co settlement doc. numbers)...so no worries to get the data here as well.... here are my selects for AUAK, AUFK and AUAA....
    TYPES: BEGIN OF prps_ty, psphi TYPE prps-psphi, END OF prps_ty. DATA all_proj TYPE STANDARD TABLE OF prps_ty. DATA wa_all_proj TYPE prps_ty. TYPES: BEGIN OF objnr_ty, objnr TYPE auak-objnr, END OF objnr_ty. DATA lo_p_psp TYPE STANDARD TABLE OF objnr_ty. IF all_proj IS NOT INITIAL. SELECT objnr FROM prps INTO TABLE lo_p_psp FOR ALL ENTRIES IN all_proj WHERE psphi = all_proj-psphi. ENDIF. IF lo_p_psp IS NOT INITIAL. SELECT belnr objnr FROM auak INTO TABLE tab_auak FOR ALL ENTRIES IN lo_p_psp WHERE kokrs IN p_kokrs AND gjahr IN p_gjahr AND objnr = lo_p_psp-objnr * AND objnr LIKE 'PR%'. SORT tab_auak BY belnr. DELETE ADJACENT DUPLICATES FROM tab_auak COMPARING belnr. SELECT aufnr objnr pspel FROM aufk INTO TABLE tab_aufk FOR ALL ENTRIES IN lo_p_psp WHERE bukrs IN p_bukrs AND kokrs IN p_kokrs AND pspel = lo_p_psp-objnr. ENDIF. *get the belnrs for orders---this part is very important or we miss out all the belnrs for I/O... IF tab_aufk IS NOT INITIAL. SELECT belnr objnr FROM auak INTO TABLE tab_auak2 FOR ALL ENTRIES IN tab_aufk WHERE kokrs IN p_kokrs AND gjahr IN p_gjahr AND objnr = tab_aufk-objnr. ENDIF. *append these new belnrs to tab_auak LOOP AT tab_auak2 INTO wa_tab_auak2. * CONCATENATE 'PR' wa_tab_aufk-pspel INTO wa_tab_auak2-objnr. APPEND wa_tab_auak2 TO tab_auak. ENDLOOP. SORT tab_auak. "by belnr. DELETE ADJACENT DUPLICATES FROM tab_auak. *now get all the belnrs for this project...complete list.... IF tab_auak IS NOT INITIAL. SELECT belnr aufnr pspnr anln1 coobjnr FROM auaa INTO TABLE tab_auaa FOR ALL ENTRIES IN tab_auak * WHERE pspnr = wa_wbs-posnr WHERE belnr = tab_auak-belnr AND emtyp = 'PR' AND bukrs IN p_bukrs AND kokrs IN p_kokrs. ENDIF. SORT tab_auaa BY pspnr belnr.
    I used our own indexes for all the transparent table accesses.... to speed up the process...you might want to create your own indexes depending on the where clauses for transparent tables..... well thanks again..and hope all this will help someone else too.... AS...

  • Table name for WBS Element & Purchase Order Conditions

    Dear All,
    I need a table which stores WBS Elemnt No. & Purchase Order Conditions ( Like Excise Duty, Sales Tax, Packing & Forwarding etc.)
    Thanks & Regards,
    Sandeep N.Theurkar

    Hi ,
    It is not possible to get all this information from one table. But you can get the data by writing ABAP , or by creating a query.
    As Amit posted WBS table is PRPS.
    You can get the account assignment of a purchase order (whether it is network or WBS element) from table :EKKN.
    Pass PO number into EKKN and get the following:
    WBS No - PS PSP PNR
    Network -NPLNR
    Activity - AUFPL
    Hope all the postings together will provide an integrated picture.
    Regards
    Muraleedharan.R

Maybe you are looking for

  • How can I stop a JFrame from painting it's background on setVisible?

    When a JFrame is set visible it will paint its background before it paints whatever is in the contentPane. This gives an ugly gray flash before the content pane is painted. I can't use the solution of setting the JFrame's background color because the

  • Failing Drive - Disk Utility not working either

    Recently my drive started failing to the point that it was clear that I needed to do some maintenance. I'm backed up to an external HD, so I wasn't too worried about saving the image - just wanted to get up and running again. I started by trying to u

  • ICloud useable as server instead of buying new Mac for that purpose?

    If I buy a new iPad Air will I be able to abandon my 4year old Sony laptop, and use the former's full access to iCloud as the server for my 2 older iPads (1 & 3 models)? Such things as iTunes and iBooks come to mind. Thanks in advance, Ian

  • Additional correspondence types

    I had copied the function module FI_OPT_ARCHIVE_CORRESPONDENCE to a custom function module and that is placed in the BTE  and this function module has contains the correspondence types SAP01 (payment notificiation) and SAP08 (account statement) and i

  • Problem sending files

    Hello! I'm trying to send a music file that I made to a friend of mine. I am able to send songs to one of my friends no problem, but for some reason I can't seem to send it with any others. I have File Sharing on and my Firewall allows it. I'm assumi