Prevent Material PO creation till WBS status is released

Hi All,
Please suggest how can I prevent creation of material PO giving WBS assignment till WBS is released.
I know I can control it through System Status (Drawback is cross client setting) and User status.
Anyother method?
Thank You
Regards
Maneesh

Hi,
This is standard functionality in SAP that you can create PR and PO without allocating budget to the WBS Element.So create a user status that will prohibit the system to create PR and PO in CRTD system status.
The steps are:
Go to OK02 and create a user status .
then create two statuses NBUD and BUDG.
1.under NBUD & BUDG choose object type WBS .
2.In NBUD Forbid the Material purchase order,Material Purchase Requistion and Release.
3.In BUDG set Budgting and allow Release.
So system will not allow to release a project without allocating Budget.
Once you allocate budget system will change the status from NBUD To BUDG.
Take care.
Muzamil

Similar Messages

  • XML file getting stucked in queue in ECC preventing material status in MDM.

    XML file getting stuck in queue in ECC preventing material status in MDM to be changed.
    Hi SAP Experts,
    We have an issue regarding XML messages getting stuck in queue in ECC preventing the material status in SAP MDM to be changed from "Approved" to "Updated/Posted".
    Checking in transaction SXI_MONITOR the status of the XML Messages are Scheduled or Green Flagged, looking at the time started it has been an hour and it is not yet processed successfully; and also checking the queues XBTR* (XBTR0001, XBTR0002 and ETC.) via transaction SMQ2 have stopped.
    We need to manual process the XML messages for it to be processed successfully.
    I'm unable to understand why these files are getting stuck in Queue's.
    Many thanks in advance and have an awesome day ahead.
    Regards,
    Aeron Merc

    Hi Aeron,
    Check whether the Queue XBTR* (XBTR0001, XBTR0002 and ETC.) is Unregistered in SMQR.
    If it is so you can see as U in the Queue type.
    Try to register by selecting the queue and click on Registration button and activate.
    Then check your message in MONI,  hope this should solve your problem.
    Thanks
    Sai.

  • Issue in BAPI_PS_PRECOMMIT in mass creation of WBS Elements

    Hi,
    I am facing a issue with BAPI_PS_PRECOMMIT.
    we have the following WBS Hierarchy:
    S - Proj, (level1)
    S-XXX WBS Element (level2)
    S-XXX-001 WBS Element (level3)
    I have created a program for mass creation of WBS elements creation
    which uses the following BAPI's
    BAPI_PS_INITIALIZATION
    BAPI_BUS2054_CREATE_MULTI
    BAPI_PS_PRECOMMIT
    BAPI_TRANSACTION_COMMIT
    The proj: 'S' and the level2 WBS element: 'S-XXX' already exist in the system.
    When I run the program for delta load, so as to create the following level3 WBS elements:
    S-XXX-001
    S-XXX-002
    S-XXX-003
    The system is throwing the following errors at the BAPI_PS_PRECOMMIT:
    1. Final Check of the project definition and WBS elements: Error
    2. Validation unsuccessful
    Pls help me on this.
    Thanks,
    Deepak

    Check the WBS elements doesn't exist already in your system.
    Here is what I coded some days back for deletion of Network Activities, most of the things are same.
    You are doing for WBS element.
    * Call to initialization BAPI Before Delete
          CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
    * Call to Network Activity Deletion BAPI
          CALL FUNCTION 'BAPI_BUS2002_ACT_DELETE_MULTI'
            EXPORTING
              i_number           = t_bapi_activity-network
            TABLES
              it_delete_activity = l_t_del_vornr
              et_return = l_t_bapiret2.
          DELETE l_t_bapiret2 WHERE type <> 'E'.
          READ TABLE l_t_bapiret2 INDEX 1.
          IF sy-subrc EQ 0.                                      "If error in Deletion
            MOVE: f_idoc_contrl-docnum TO t_idoc_status-docnum,
                  l_t_bapiret2-type TO t_idoc_status-msgty,
                  'CNIF_PI' TO t_idoc_status-msgid,
                  l_t_bapiret2-number TO t_idoc_status-msgno,
                  l_t_bapiret2-message TO t_idoc_status-msgv1.
                  MOVE c_idoc_status_error TO t_idoc_status-status.
                  APPEND t_idoc_status.
                  ROLLBACK WORK.
                  EXIT.
          ELSE.                                                  "If Delete is successful COMMIT
    * Call to PreCOMMIT BAPI
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
             TABLES
               ET_RETURN       = l_t_bapiret3.
    * Call COMMIT BAPI
    *        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          ENDIF.
    The other solution is use BAPI_PROJECT_MAINTAIN.

  • Want to procure material  with reference to WBS and sales order

    Dear all
    If i have assigned account assignment in PO means then while GR my material value is going to consumption. I dont want to book consumption at GR level i want to do consumption at delivery level. Also i want to procure material for particular WBS and Sales order.
    How to process the same. Kindly give some idea.

    Hi
    If you wanna toprocure the material wrt to WBS element or sales order the you have to make use of the Account assignment category P- projects ( That can be WBS elements /network ) And sales order C or any specific account assignment category created by you.
    Example :
    Sceneraio- When you are creating a slea order in SAP by T.code VA01 then at time of saving the SO the system is creation the WBS automatically ( that has to be mapped in SAP) .The Sales order number and the WBS element are  same .When you are cretating PO for  the Material wrt to  this WBS element then the system at time of the GR will be posting the consumption account which is booked to WBS element that in turn against the particular sales order.
    In SPRO - customizing i for the account assingment category P  in the Consumption Value is V
    Which is posted to consumption at time GR. Please  try create new account assignment category
    Consumption Value is E i.e accounting by sales order .
    Regards

  • Restriction on Creation of WBS

    Hello experts,
    once the WBS structure is finalised, is there any way to restrict any further creation of WBS by user status..? my business requirement is once structure is finalised, any new wbs should not be added in present structure. Is this possible by user status..?
    regards,
    Rahul Kulkarni

    Hi Rahul,
         Use the concept of code masking for the project and there is check box (Lck) in the customizing which restricts the further creations once you check the check box.
          OPSJ and OPSK are the transactions for customizing project code masking.
          Hope this helps !!
    Regards,
    Punith.

  • User Exits / BADIs triggered during the Material document creation

    Hi Experts,
    Can anybody tell me the User Exits / BADIs /Possibilities that can be triggered during the Material Document Creation which can be used to update the Equipment Master User Statuses.
    Thanks,
    Sangeeta.

    Hey Sangeeta,
      Try these User Exit's
    MGA00001  Material Master (Industry): Checks and Enhancements
    MGA00002  Material Master (Industry): Number Assignment
    MGA00003  Material Master (Industry and Retail): Number Display
    Using Enhancement MGA00001 (Function Exit : EXIT_SAPLMGMU_001 ) you can validate & Change your Material Document Number.
    Badi's
    BADI_EAN_SYSTEMATIC
    BADI_GTIN_VARIANT
    BADI_MAT_F_SPEC_SEL
    BADI_MATERIAL_CHECK
    BADI_MATERIAL_OD
    BADI_MATERIAL_OD
    BADI_MATERIAL_REF
    BADI_MATNR_CHECK_PVS
    BADI_MM_MATNR
    BADI_MM_MATNR
    CDT_CHECK_MATERIAL
    MG_MASS_NEWSEG
    MG_MASS_NEWSEG
    WRF_DISCONT_FACT_E
    Note: This is for transaction code MM01, MM02 & MM03.
    Regards,
    Saravanan M

  • BAPI for Production order creation against wbs element

    dear all,
    I am using BAPI (BAPI_PRODORD_CREATE) for Production order creation against wbs element.I am putting following input paramters in this
    material no,
    order type
    plant
    qty
    basic start dt & end dt
    wbs
    But during GRN it is not taking the account assignment as project stock i.e. its picking movement type 101 but it should be 101Q.
    For this what changes are required.
    regards
    ravi arora

    Hi,
    2 options i can think of:
    1. Create a BDC program by recording co10
    2. Create a planned order with order type PR using BAPI_PLANNEDORDER_CREATE, specify the WBS element & other details. Now use BAPI_PRODORD_CREATE_FROM_PLORD to create a production order with reference to the planned order created earlier.
    I believe option 2 should meet your need. Check & revert.
    Regards,
    Vivek

  • Block the production order creation till approval of sales order

    Dear
    We are using MTO process. Client is asking to avoid the creation of production order still the sales order is approved. In sales order one user status is defined as approved. By default when sales order is created the status will be in not approved and once the accounts clears, they manually change the status to approved. Is it possible to put system check  to avoid the production order creation till sales order status is changed to approved?? Any idea??.
    Thanks in advance.

    Dear Usmani,
    I'm facing the same problem as you. Do you already have the solution for this?
    As of now, the only solution to stop the transfer of requirement to MRP is to set the delivery block at the header level and also flag on the "Fixed Date & Qty" in each schedule line item. The problem is now to deflag the "Fixed Date & Qty" in each schedule line item when the Sales Order is confirmed.
    Please share should you have any other solutions.
    Thank you.
    Regards,
    Jieyi

  • Issue in creation of level 2 WBS for level 1  WBS which is released

    Hello All,
    I am trying to create a level 2 WBS for a alrealy created level 1 WBS using BAPI_BUS2054_CHANGE_MULTI .If the level 1 WBS is not released then level 2 WBS gets created .However if the level 1 is released then level 2 WBS doesnt gets created and i get error ' User status INIT is active (WBS #1) '
    Using T-code CJ20n i am able to create level 2 WBS for released level 1 WBS .

    Hi;
    Do you fill WBS_LEFT, WBS_UP fields for IT_WBS_ELEMENT / IT_UPDATE_WBS_ELEMENT tables.
    Hierarchy is very important for between WBS.
    May help below similar link:
    Re: Create Whole Project with BAPI_PROJECT_MAINTAIN
    Best regards.

  • Problem during material variant creation

    Hi Guys,
    I am trying to create material variant in MM01. I entered configurable material let's say DESKTOP. nOw i have partial variant scenario so instead of entering all 30 characteristics i need to enter only 3 characteristics.These 3 charcteristics based on which partial matching will happen in sale document.
    My requirement is as out of 30 , TEN chars. are maintained as required entry. So system is asking me to enter all 10 required chars. in material master which my scnario don't want.But the same is required in Sales document.
    How to remove this required entry in case of  material master creation and keep required entry in sales order or quotation?
    Regds

    Hi,
    You can decide whether it is mandatory to assign a value to a characteristic on the basis of transaction code.
    You must use [selection condition|http://help.sap.com/saphelp_erp60/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm] which calls the [user-defined function|http://help.sap.com/saphelp_erp60/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm]. In function you need to analyze sy-tcode and raise the predefined exception FAIL for those when you don't want to assign a value to a characteristic (e.g. mm01, mm02). Contact your ABAP team to create such a function.
    Don't tick the characteristic as required entry in class definition but assign this selection condition to this characteristic in class.
    Regards,
    Alexander

  • 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

  • Change WBS status

    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 you

    Hi,
    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

  • Material Purchase Requisition with WBS from Projects

    Hi ;
    As per our client requirement we need to create Material Purchase Requisition  with WBS Element  Material .Can Some one send me the procedure .
    Thanks in Advance ;
    Joydeep Mukherjee

    HI Joydeep,
    This is not possible in PS via CJ20N transaction to create material PR without activities. This is standard SAP restriction, i guess this cannot be changed.
    You can use ME51N by account assigning to Project / WBS element, then system will allow you to create.
    This is kind of two different functionalities we have to create PR for WBS element / Project / Network.
    Regards
    Terence

  • Authorization control on material reservation creation and change (MB21 & M

    Hi Friends
    Please help me to find a solution on Authorization control on material reservation creation and change (MB21 & MB23).
    Client looking for a control over end user on those T.Code s but not at T.Code level;
    Client looking for control either based on "Storage location" and/or u201CProduct hierarchyu201D.
    More specifically, user A and B both can Create/Change MR but user A only can do it for the MR which related to storage location say YY while B authorized for storage location ZZ
    Thanks in advance.

    Hello Partha,
    Only available Standard SAP Authorization Objects, related to Reservations, are M_MRES_BWA (Reservations: Movement Type) & M_MRES_WWA (Reservations: Plant) where you can maintain authorizations based on Movement Type & Plant respectively and hence seggested enhancement.
    You can use Tcode-SUIM to search for Basis authorization details i.e. Roles defined for specific transaction/authorization object / profiles.
    Revert if any further info required.
    Regards,
    Anup

  • Cideon / Autocad 2007 / Material BOM Creation from autocad

    Hi,
    we are using Cideon integration for AutoCad 2007 & SAP ERP communication. DIR's in DMS are created from AutoCad drawings via SAP menu.
    We want to create Material & Material BOM from AutoCad but we cannot see any option present in SAP menu. We can just create Header Material from SAP menu in AutoCad, no BOM option. What steps should be taken to enable material & bom creation from AutoCad SAP menu.
    Thanks
    Edited by: Rob Burbank on Oct 22, 2010 3:56 PM

    Moderator message - Welcome to SCN
    Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    In particular, offering points is against forum rules
    Rob

Maybe you are looking for

  • 2009 Macbook to HDMI: Low quality/blurry video

    I have a Macbook Pro from mid-2009, Apple's Mini Display Port to VGA Adapter, and a VGA Adapter to HDMI cable. My computer connects to the HDMI input on my TV just fine, but when I try to show a video that has been downloaded to my computer on the ot

  • Last 2 fields to be displayed in ALV

    HI Experts, I need your help once again. My ALV using OOPS has 24 columns and the its is very long. Im not able to scroll to the last field in my ALV .WEven if i scroll only 22 fields are visible. Please let me know how to scroll to make all the fiel

  • Pie chart legend options

    I have a spreadsheet with "expense categories" in one column and "dollar figures" in the second column. When I highlight the columns and create a chart I DON'T want to have to use "show legend" (with the color circles at the bottom) as it repeats my

  • Runtime Errors: CONVT_OVERFLOW while executing transaction sm66

    Hello Everyone, There are two Application serevrs out of which I am getting the following error while executing transaction SM66 only in one i.eCI server but if i remote login to other system and try SM66 its working fine. Please suggest Runtime Erro

  • SG200-08 - Not Mirroring Broadcasts

    For Example:      Non broadcast ARP requests ARE seen on mirror.      ARP replies ARE seen on mirror.      Broadcast ARP requests however are NOT seen on mirror. Same with other broadcasts. They are NOT seen on mirror. Model: SG200-08 Firmware Versio