How to restrict status profile for sales order.

Dear Friends,
Pl suggest me for follwoing scenario
►     As per business process for tender/ institutional sales and exports, the order is complete once the complete delivery and invoicing for the same has been performed.
►     It was also observed that a sales order may be modified (material, quantity, price etc) even after complete invoicing of the same has been performed in SAP.
     The requirement is  Possibility to enable a control to restrict any amendments to the sales order after complete delivery and invoicing will be explored as per business requirements.
Is there any solution above scenario without writing any code.
Regards,
Atul
Edited by: atul thakur on Oct 28, 2009 5:09 AM

Mr Atul,
My understanding is, you don't want your user to be able to change the pricing and order quantity once the order is complete, i.e Delivered and Shipped.
The status profile will not help you in the above scenario, Price/Quantity changes will not come up as Business transactions that can be controlled at Status profile.
Standard SAP restricts the price changes to a completed item of the order, so no need to worry about this.
But order quantity can be increased any time.
So to restrict the user to increase the order quantity you need to use the User-Exits that SAP provided.
Use the MV45AFZB user-exit program and form  FORM userexit_check_vbap to code this.
Hope this helps you.
Regards,
Aj.

Similar Messages

  • Status profiles for sales order

    Dear all:
      I use  status profiles to do sales order approve(BS02)
    who can tell me which business transaction can settle Sales Order can or not make to MD04?
    the standard business transcation:
    Acct. assignment order/project
    Activate final billing doc.
    Actual activity allocation
    Actual overhead (periodic)
    Actual settlement
    Automat. WIP/results analysis
    Change configuration data
    Complete
    Confirm order
    Create billing document
    Create changeable copy
    Create delivery
    Create inquiry
    Thanks a lot .

    hi,Imran  and rohit rathi
    thank you very much for you help,
    maybe I have't depict the problem,
    I use user status profiles to do sales order approve, i have defined a status profiles and assigned it to sales document type ,  i have defined two statuses  A00 and B00 in the  status profiles .
    I hope if the sales order in status A00,it'can make to MD04,when the sales order approved to status B00,It can make to MD04.
    but I don't know which business transaction  shoud I choose when defining the profiles' status A00 by t-code BS02.
    thanks and Best wishes.
    zeng
    Edited by: zeng zeng on May 31, 2008 11:37 AM

  • Status Profile for Sales Order

    Can anyone send step by step process for configuring Status Profile?

    Dear Anupa
    Being a senior member, dont you aware of the forum rules.  I am sorry to say that the informations you exchanged personally is definitely condemnable and we as a Moderator can ask the concerned panel to delete all your points.  But since I come across as a first instance, I dont want to do this.
    Please try to maintain the forum rules and also advise newbies to go in line with the guidelines.  Dont spoon feed them.
    thanks
    G. Lakshmipathi

  • How to use the selection profile and status profile for production order?

    Hi expert,
       I want to know how to use the selection profile and status profile for production order. what's the usage for these two selection profile and status profile ?
      Please help me.
      thanks in advance.
      george.shi

    Hi George,
    There are are two types of statuses.One is system status and second one is user status.These statuses will tell us current situation of an order.
    We can't change system statuses.But we can create our own statuses through status profile.With this profile we can control user statuses.
    In this status profile,
    1.We define the sequence in which user statuses can be activated,
    2.We define initial statuses
    3. Allow or prohibit certain business transactions.
    Selection profiles are used to select the objects (say production orders) with different status combinations.We assign status profiles to selection profiles in BS42 T-Code.
    Regards,
    Raja.
    Edited by: Rajarao on Oct 30, 2008 6:21 AM
    Edited by: Rajarao on Oct 30, 2008 6:22 AM

  • How to restrict the GR for Production Order when Goods Issue is not done

    Hi Gurus
    How to restrict the GR for Production Order when all the required components for production order are not issued with all required quantity. Even for partial issue system should not allow GR with 101. The user status with RMWA, RMWF & CGFB is not working.
    Pls suggest best solution.
    Abhijit.

    Hi,
    You can club together the GI nad GR at the time of confirmation..
    I.e Backflush for the components and auto GR for the Product.
    So that you can stream line the Process.
    The best Option would be to use the User Exit:
    Enhancement - MBCF0002
    Functional Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    Refer below link for further details..
    How to stop the goods receipt before issueing the goods for production orde
    Regards,
    Siva

  • How to restrict saving of a sales order without a material.

    Hi Gurus
    Please advice How to restrict saving of a sales order without a material. That is the system saves the order even if no item is assigned to it.

    Hi Raghu,
                 In standard SAP we can not do that. Even for some requirements of the customer this feature is required, specially in case of milestone billings, custom materials etc. client after saving the empty sales order they may create materials based on that sales order number.
                 If it is mandatary for u to save sales order only after the entry of the materials, u can try user exits or go for a code with the help of an ABAPer.
    Regards,
    Ravi Duggirala
    Edited by: ravi duggirala on Jun 20, 2008 11:11 AM

  • To change user status profile on sales order at run time.

    Hi Experts,
    We have defined status profile for Sales returns ( Doc type RE) which blocks the  return order on creation. There are two statuses here which are to remove the delivery block and to remove the billing block by authorised users.
    The requirement is now to have a three level block ( three statuses ) on the same document. We can create a new status profile and assign it to a new return sales order tpye  but we want to avoid creating new document types. Since this document type is used across various companies in the group we can not assign a new profile on the existing RE document as well.
    My question to all experts is
    Is it possible to dynamically change the status profile assigned to the document type based on characterstics like sales org or company code etc? If any body has done this please let me know the user exit , function module, BADI etc where the necessary coding has been done.
    Helpful answers will be rewarded with points.
    I look forward to your co operation.
    Regards,
    Kartik Shah

    Hi Liam,
    In the Program MV45AFZZ in the FORM userexit_save_document
    you use the following fn module to change the user status
    'STATUS_CHANGE_EXTERN'
    Example
    IF t180-trtyp = 'H'.  "Only creation time
      READ TABLE xvbap WITH KEY matnr = c_matnr.
      IF sy-subrc = 0.  "If above material exist then change status
        LOOP AT xvbap WHERE cuobj NE space
                       AND  matnr =  c_matnr.
          l_objnr = xvbap-objnr.
          CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            EXPORTING
              objnr               = l_objnr
              user_status         = 'E0013'  "Send ej IDOC
              set_chgkz           = 'X'
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ENDLOOP.
      ENDIF.
      sy-subrc = 0.  "Restore the previous condition
    ENDIF.
    Reward if helpful *********

  • User status transfer for sales orders from ECC to CRM

    Hi,
    We use business process with CRM sales orders that are transfer to ERP.
    Users can change user status in the sales orders in ERP.
    How we can replicate custom user status from ECC Sales Order to CRM Sales Order?
    What is the steps to do this for CRM 7.0?
    Denis

    Hi,
    We are creating quotation ZPQT in CRM which is then get replicated to ECC on saving it on “Accepted” status. In ECC we then create sales order of type ZPOR. Sales order gets replicated in CRM and also updates document flow. This sales order is called as “Project Sales Order”. PS team assigns WBS element to this order and does billing later on. Upon billing document is created sales order status in ECC changes to “Completed”. This is system status. But the issue is status of order ZPOR is CRM remains in status “Inprocess”. We want it to change to “Completed”.
    We have similar scenario with order type ZOR. In this order after delivery and billing ECC assigns status “Completed” to sale order and same gets replicated to CRM.
    In CRM for user status Completed we have assigned system status as FINI. Both ZPOR and ZOR has same status profile assigned at header and item level.
    Our concern is if status is changing back in CRM for ZOR then why not for ZPOR. What is stopping system to do so?

  • How to restrict the Number of sales orders in theTCode:VL10A whil creation

    I'm creating the Delivery by using the batch job with program: RVV50R10C Here I need to restrict the number of sales orders numbers while creating deliveries for sales orders
    Like system should pick the sales orders (sales documents) from 1 to 100 OR 100 to 200
    Please advise me how to do it and what changes I need to do it

    Hi,
    Aslo, you can see Note 198137 - VL10: Customer-specific enhancements / user exits. As is for SO, check subroutine LV50R_VIEWG03. If cf_subrc = 1 thin this SO isn't seen in list.
    ***INCLUDE LV50R_VIEWG03 .
    *&      Form  POSTAB_VEPVG_FILL_USER
    FORM POSTAB_VEPVG_FILL_USER
         USING    IX_LIST_PROFIL    TYPE      SHP_VL10_LIST_PROFIL
                  IX_PARAMETERS     TYPE      SHP_VL10_PARAMETERS
                  IX_SELECT_OPTIONS TYPE      SHP_VL10_SELECT_OPTIONS
                  IT_ENQUEUE        TYPE      SHP_VL10_PACKAGE_T
                  IX_SD_ORDER       TYPE      SHP_VL10_SD_ORDER
                  IS_VEPVG          TYPE      VEPVG
         CHANGING CS_POSTAB         TYPE      SHP_VL10_ITEM
                  CF_SUBRC          TYPE      SYSUBRC.
    CF_SUBRC = 0.
    *  cs_postab-zzfield = ......              "add new field to List
    *  if xxxxxxx = yyyyyyy.
    *    cf_subrc = 1.                         "Exclude this index from List
    *  endif.
    ENDFORM.                    " POSTAB_VEPVG_FILL_USER
    I hope this helps you
    Regards
    Eduardo

  • Status profile in sales order

    Dear All,
    I have a requirement  as below
    In status profile  maintained 5 statuses in the sales order when the user  releases 4th status system should not allow to change the sales order .

    Hi
    Your requirement can be fulfilled through a User exit.
    You write the logic as below, All the data related to statuses are stored in JCDS and JEST tables.
    So you can pass the OBJNR from VBAK to JCDS table there you have to get the status for the fourth profile and look for the fields
    INACT and CHIND,  if for the fouth status if the CHIND is U then there should not be nay modifications
    regards
    Prashanth

  • Overall processing status issue for sales order regarding services

    Hello,
    I have the following issue. I am billing a standard service (service without delivery) to a customer. The process goes ok, I issue an invoice, post it and generate an accounting document. Then I create a cancellation invoice. Now I want to reject my sales order. I assign reason for rejection to the item. The header and item status says it is u2018fully rejectedu2019, but the overall processing status says the sales order is u2018openu2019 and therefore appears in reports regarding open orders. I gave also a billing block, deleted the schedule line for the service so that the ordered quantity for the item equals to u20180u2019, but still the overall processing status of the order is u2018openu2019. This is standard SAP functionality (as I checked it). So can anyone explain me how to change this status to exclude this order from open order list? Or maybe someone may want to explain me why this is standard SAP process and what is the reason for the system to want to keep my order u2018openu2019?
    Thanks in advance,
    BR,|

    Place the reason for rejection in the status tab at item level, we are doing same, and the order lines does not show in open lines .
    Regards
    Chandrasekhar

  • User status profiles for work orders and sub-orders

    Hi Experts,
    I have the following question regarding status profiles for SAP PM work orders (but I guess it relates to all user status profiles).
    Customizing
    A status profile is defined for order type "PM_A", which contains an authorization key "OP" for certain user states (to be set by the ordering party)
    Situation
    The ordering party A creates an order of type PM_A for contractor B, and B then creates a sub-order of type PM_A for contractor C
    Problem
    - If I assign the authorization key "OP" only to roles of party A, then party B can't set the user states reserved for the ordering party (correct for the order A->B, but not for the sub-order B->C)
    - If I assign the authorization key "OP" to roles of party A and party B, then B could set certain user states reserved for the ordering party in the order A->B, which is also wrong
    Question
    Is there a way to restrict sub-orders differently than "non-sub-orders", or do I have to create a "sub-order order-type" for each order type, in order to assign them different status profiles and authorization keys?
    Thanks a lot!

    hi
    since you have 3 roles to be assigned to the same order type with different authorization ,it is better you create an seperate order type for sub order and assign the user status with authorization for B and C
    regards
    thyagarajan

  • User Status Profile for Process Order Operations

    Hello Experts.
    I have a need to set up a User Status at the Process Order Operation level that will prevent operation confirmation when the status is Active .
    I have been successful at the following:
       --- Created a new Status Profile (transaction BS02),
       --- Creating a u201CHoldu201D status,
       --- Defined the Influence on Business Transactions,
       --- Set the allowed Object Types for the profile.
       --- In an individual Process Order operation, I can now select the Status Profile, and set the Hold status, and it functions correctly.
    My problem is that I canu2019t figure out how to set my new profile as a default for Process Order Operations.  For Production Orders, this is done in the IMG definition for the Order Type (transaction OPJH), updating field T003O-VRG_STSMA.  However the Order Type definition for Process orders (transaction CORN) only has a field for a status profile at the header level.  Iu2019ve searched through Configuration and the Recipe, and the Production Version, and the Control Key, but can find no where to set the default status profile for a Process Order Operation..
    As a final desperate act, I manually edited a T003O record for a Process Order Type in our test system, but even this failed to set a default Operation Status Profile for subsequently created Process Orders.
    If you have any knowledge about this, then please help.

    As of this date, we have still not implemented a fix, but I did get some information from someone else who has.
    I'll post his information here for all to see.  Hope you find it helpful.
    From: Joe
    Yes we managed to do it.
    After several false starts and CMOD/projects which suffered because only the default keys (for order number, aufpl etc) were in place and not the actual, we coded up the IN_UPDATE method in the WORKORDER_UPDATE badi. This gives us the final format after the DB save (but before the commit). The update of the STATUS using the SAP std function module was actioned successfully but the status profile was not actually passed through. We assumed that this was because of the update task - so we introduced an INSERT into JSTO instead (a bit naughty I know, but desperate needs etc). If you require anything more let me know.
    Best Regards
    Joe

  • How to implement Approval hierarchy for Sales Order in Order Management.

    Hi,
    We need approval process for sale orders in Order Management module. Currently we are using credit HOLD option for orders at shipping level. The issue we are facing now is we can not cancel those orders who contains Service Line item in it while on HOLD. The restriction raised at the time of cancelling the order that the Line Item is "fulfilled". Service line item's get fulfilled.
    Is that any other possibility to have Approval hierarchy for Sales Orders in Order Management Module? If it is possible can anybody share the related document or implementation guide?
    Thanks with anticipation in advance.
    Many Regards
    Kaleem Bhatti

    I copied the standard order header workflow and the "Book Order, Manual" workflow to custom workflows.  I then modified the "Book Order, Manual" workflow to put another completely custom workflow (call this "Approvals") in between the "Book Eligible" and "Book" steps.
    The "Approvals" step assessed the sales order, changed the order header to the pending approval flow_status_code, and sent out the appropriate notifications.  The "Approvals" step returned a Complete/Incomplete where complete would proceed to "Book" and incomplete would go back to "Book Eligible."  The new workflow was then assigned to the order type needed.  I don't still have access to that environment (job change) or I would give more definite instructions.

  • Status Profile for Internal Order

    Hi,
    Please tell me during creation of new status profile for new internal order type under status I have mentioned LKD - Locked and PLIM - Write plan line item. What should be used its corresponding Business Transactions with No Influence, Allowed, Warning, Forbidden, No Action which i need your valuable suggestion for our new implementation project.
    Best Regards,
    Samrat

    Hi Anand,
    My query is while creating Status Profile in tcode OK02, there are various business transactions are available under status which one is No Influence or Allowed or Warning or Forbidd etc. I need to know the actual business transactions required for the status profile. Presently I have mentioned two business transactions which are Release and Write plan line item under status LKD(Locked). Release indicator is "Not Influence" and "Set". And Write Plan Line Items checked only "Allowed" as business transactions. But another user status "PLIM" I am not able to incorporte business transactons. While click on new entries A to W business transactions are appearing which are all "No Influence". But after saving the screen and back from the screen records(Business transactons) are not being saved properly.
    I want to know the actual reason... Kindly need your suggestion...
    Best Regards,
    Samrat Roy

Maybe you are looking for

  • Formatting using Disk Utility

    i have a USB drive of 8 GB (pendrive) currently formatted in FAT-32, i would like to know (a) How to format it into MAC OS JOURNALED ? (b) Will formatting it into MAC OS Journaled make it non-readable on WINDOWS PLATFORM? (c) And after formatting in

  • Error in Loading FIGL data into a standard ODS

    Hi, I have encountered an error when i attempted to load FIGL data into a standard ODS. Below is the error i received: Error message during processing in BI Diagnosis An error occurred in BI while processing the data. The error is documented in an er

  • What's should I need as hardware to record my guitar?

    i have 21 inc Imac and I am planning to record my electric guitar and acoustics with Garageband, What do I need to buy-hardware- to hve good recordings? Thanks Amine

  • Windows XP will not start up on HP Pavilion a350n.

    Hp Pavilion a350n desktop Windows XP No Error Message I have installed new ram and a new video card, but all was fine for many months/ possibly even a year after install. Hi, any help that anyone can give me would be greatly appreciated. My computer,

  • D600 Camera Raw Error

    I downloaded a trial version of CS6 yesterday and finally had the chance to edit all the Camera Raw from my Nikon D600 RAW files. It was great! Today I downloaded all the updates yesterday as prompted by Adobe..Now NONE of my RAW files will open and