Restrict creation of sales order for specific customer

Hello All,
I want to restrict creation of sales order (of particular sales order type) for specific customer, please let me know how can I do it.
Your early reply will be highly appreciated.
Thanks & Regards,
Mahavir

HI
As per My knowledge it is not possible in Standard SAP , you need to go with Enhancement
Go to SE38 : MV45AFZB, User Exit: USEREXIT_CHECK_VBAK
Regards,
Prasanna

Similar Messages

  • Duplication of Purchase Order while creating sales orders for a customer

    when we try to create sales order for one customer it have to create by picking up the purchase order from the table linearly.
    But the problem is that here when we are trying to create multiple sales orders the same purchase order is being picked.
    for example..when we create sales order 1 the purchase order picked is PO1 and
    for creation of sales order 2 the same purchase order PO1 is being picked up instead of PO2.
    No idocs are being generated in this, even to check them..
    How shall i resolve this...? Please help me out ASAP

    Hi Kumar,
    Thanks for the reply. But actually the problem is that this is related to some customized table in the project. When a EDI Batch job runs in the background then automatically the SO is created and the PO is being picked from the table(custom table) and then posted against the respective SO. we are not aware of that job which is triggering this to debug. Once if we can know that particular batch job or pgm or edi or idoc what ever it is then we can debug.
    Do you have any idea how can we find that particular pgm/edi/idoc/job name which triggers this creation of SO?

  • User exit or badi to restrict PROO in Sales Order for certain sales organisation

    Hi SAP SD experts,
    I would like to know the User exit or badi to restrict PROO in Sales Order for certain sales organization. This can be done by making condition type as D but will affect all sales org and we to restrict for a certain sales org only.
    thanks,
    SG 

    Kindly  explained  how  you have  solved  others  may benefit..
    regards
    Arunkumar

  • Invoice request based on multiple sales order for same customer

    Hi Team,
    I just wanted to know if we can create manual invoice request based on multiple sales order for same customer?
    For project based invoice request i have create based on single invoice request.
    Appreciate your input here.
    Thanks,
    Nitin

    Dear Ratish,
    Thanks for yr reply.
    I already did that but it is not serving business purpose.
    Comm payment  - comes diff time than sales payment.
    so ,I will post one entry customer will get hit with total amount Sales + commission
    like below
    Let say 10, 000 is the sales value and 500 is the commission
    So , This entry will get posted
    Customer Db- 10,500
    Sales Cr- 10,000
    Comm Income Cr- 500
    But, As I said sales amt will be paid before so We need to clear it partially and some time customer pays also diff amount due to some defect.
    So, We wont be knowing for which case we have or havnet received the payment against commission.
    As , Customer account is got hit with total amount( Sales+ Comm..value).
    Pls advise how to solve this.
    Regards,
    Sukh

  • Getting sales orders for a customer

    Hi Experts,
    Which FM should be used to get all sales orders for a particular customer in ECC 6.0
    Thanks and Regards
    Shilpi

    Hi,
    Not sure abt FM.
    Did u check VBAK table has a field KUNNR.
    You can put query on VBAK with condition Kunnr = 'Customer NO'.
    Please check if this serves ur purpose.
    Thanks
    Praveen

  • Credit Check while creation of Sales Order for Item Category Purchase Req

    Hi Experts,
    We are creating Sales Order using an Order Type ABCD for a material 1000. While creating Sales Order, we use Item categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO).
    Credit Check settings are there at Order Type ABCD as well as all the Item Categories (ZOVD, ZOVB,ZOST,ZOVP and ZOBO). We are trying to test a scenario where a customer does not have enough credit limit while creating a sales order.
    When we create a sales order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP), credit check fails because our customer does not have enough credit limit, so that Sales Order gets created and Delivery does not get created (This is what we want), then we go into VKM1 manually and relase the sales order and then if we go to VA02 and check the status of the Sales Order, it says sales order status is complete. My Sales Team is saying here also Purchase Requisition is getting created.
    When we create a sales order for Item category ZOBO, it is going into Purchase Requisition screen. Once we give another plant in the create purchase requisition screen and save it we are getting a message that cannot create Purchase Requisiton because of Credit Block.
    The settings were same for all the Item categories.
    1) What made difference to complete Purchase Requisition for Item Categories (ZOVD, ZOVB,ZOST,ZOVP) and not for Item Category ZOBO when my customer is not having enough credit Limit.
    2) Why Purchase Requisition screen is not coming for us when we create an Sales Order for Item Categories (ZOVD, ZOVB,ZOST,ZOVP). We only get Create Purchase Requisiton Screen for Item Category ZOBO.
    Thanks
    Rajanikanth

    Hi,
    None of the Item Categories has Create PO Automatically.
    Thanks
    Rajanikanth

  • How to create a sales order for Onetime customer with Tax code?

    Hi everyone,
    Can I use sd_salesdocument_create for a one-time customer? From the standard bapi, which field can I use for the Tax Code ?
    pOints will be given.

    I have the same problem... should I use a different function module on this? if yes, what is it?
    I need to create a sales order for one onetime customer with tax code... help me pls....

  • Determine if PO number has been used in a Sales Order for a customer....

    We're able to perform some processing both before the Sales order is created and before the IDOC is updated, status-wise. One of the checks that we're performing is to determine whether the PO number supplied by the IDOC has been used in a order before for this customer.
    I can easily determine whether the (or so I thought) PO number is used by referencing the CRMD_SALES table having searched for the PO number. Unfortunatley the GUID returned should be the Order GUID, but they do not seem to exist. Am I reading the guid incorrectly or should there be some kind of intermediate table?.
    Regards
    Blue

    Gary,
    Try using the view CRMV_PURCHASE_NO instead.  I believe this will give you all the orders that have this PO number used before.
    Take care,
    Stephen

  • Two billing for one sales order for same customer

    Dear All ,
    I have a requirement of posting a two billings for one sales order.
    One is for Sales and another is for commission...
    Entry could be
    Sales Entry - Db Customer
                        Cr  Sales
    Commission entry could be
    Db - Cusomter
    Cr- Sales commission income account (P/L)
    We are having third party sales scenario , In this case billing is MIRO dependent.
    Once the miro is done then only billing is possible ...
    Could you please advise on that ..
    Regards,
    Sukh

    Dear Ratish,
    Thanks for yr reply.
    I already did that but it is not serving business purpose.
    Comm payment  - comes diff time than sales payment.
    so ,I will post one entry customer will get hit with total amount Sales + commission
    like below
    Let say 10, 000 is the sales value and 500 is the commission
    So , This entry will get posted
    Customer Db- 10,500
    Sales Cr- 10,000
    Comm Income Cr- 500
    But, As I said sales amt will be paid before so We need to clear it partially and some time customer pays also diff amount due to some defect.
    So, We wont be knowing for which case we have or havnet received the payment against commission.
    As , Customer account is got hit with total amount( Sales+ Comm..value).
    Pls advise how to solve this.
    Regards,
    Sukh

  • Creation of Sale Order for configurable material with availability check.

    Hi,
    We have a scenario in which the material is configurable. The configurable material (X) has few variants (Ex: X1, X2, X3, X4, X5). While booking the sale order, we use the material number (X).
    Further, the material planning is done for the variants X1, X2, X3, X4, X5. The standard variants are planned for production in advance.
    1.     While booking the sale order, we want the availability check of the stock (type matching to happen). What needs to be done in configuration?
    2.     While booking the sale order, there is a possibility that the configuration selected will not match with any of the standard variants due to some additional requirements of the optional features, in such cases how to link the standard variants to the sale order & create requirement for additional requirements.
    Regards,
    Umesh

    Hi Umesh,
               1.Create material master for configurable material and variants in mm01.
               2.Maintain BOM for the configurable material in CS01
               3. Configur the variant configuration steps
                  a. Create charecteristics T.code CT04
                  b. Create values and assign classes
                  c. assign the values to charecteristics
                  d . Maitain dependence  T.code CU01
                  e.create configuration profile t.code CU41
                  f.stimulate the configuration profile.
    4. Do the availability check configuration through this path
    IMG --> Sales and distribution > Basic functions ,> Availabilty check and Transfer of requirements.
    5. Maintain the Availbility check field and MRP views in the material masters other wise you sit with PP people and do that
    I hope it will help you
    Regards,
    Murali.

  • Select query for sales order for particular customer oder text and storage

    Hi All,
    I am trying to retriev customer order text and customer storage bin from the following select query, but it's giving huge number of records, I want to restrict the number of records.
    Select customer order text, customer storage bin
                       Select STXH–TDOBJECT, STXH–TDID
                       Where  TDOBJECT = VBBP
                              TDID = Y001
                              TDID = Y007
    Please let me know how to restirct the number of records.
    Thanks,
    Ranjan

    Try using the FM 'READ_TEXT'.
    NAME will be the order number concatenated with the item number.
    And you have the ID and OBJECT.  You may also need to use the LANGUAGE.
    Message was edited by:
            Matt Nagel

  • Sales order for new customer

    hello to every one
      For first 10 orders xxxxxx material 10 quantity = 700 rs  for perticular  customer
    from 11 th order onwards price should be normal  xxxxx material 10 quantity = 1000rs
    anyone can guide me
    thanking you

    hi,
    Go to price condition type control settings and check the field "Condition update" and save. Go to VK11 and maintain condition records and press "F7" a screen will appears in that "no of orders" field give value "10". Also u can specify the amount.
    CHAN

  • How to find the Unit Price of an Item in the sales order for a customer.

    Hi All,
    I need to know a function module or table or any way by which I can find out the price of an item.ie unit price.
    Thanks,
    Ashish.

    Hi
    See table MBEW. The value or price is in terms of UoM that you have in MARA-MEINS (base unit measure). You have 2 diff. prices: variable and standard in function of type (field VPRSV).
    Regards
    Eduardo
    Edited by: E_Hinojosa on Aug 12, 2011 10:49 AM

  • Changing sales order for a Credit blocked customer

    Hi Gurus
    One of the requirement of my client is that they create sales order for a customer and deliver the goods. During sales order creation billing block is automatically applied. This block is removed by a batch job after the goods are delivered. Sometime credit department block the customer using FD32 (KNKK-CRBLB). Now when the batch job is run to remove the billing block the system will not allow it for that order as the system calls VA02 during that batch job run. When you process a sales order using VA02 for a customer which is blocked (KNKK-CRBLB) then system will through error message V1 (154) i.e Order receipt/delivery not possible, credit customer blocked.
    So the batch job will not be able to remove the billing block from the order. NOw the requiremetn is that how can I achieve this so that the billing block are removed by that batch job as the customers has already been delivered the goods (Any user exit?).
    Thanks
    KTK

    Dear KTK,
    Please check this sample program from other thread to find BADI and enhancement for a given transaction code. You just need to create a custom program in your system by cut and paste below codes.
    REPORT ZTEST.
    TABLES: TSTC,
    TADIR,
    MODSAPT,
    MODACT,
    TRDIR,
    TFDIR,
    ENLFDIR,
    SXS_ATTRT ,
    TSTCT.
    DATA: JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA: FIELD1(30).
    DATA: V_DEVCLASS LIKE TADIR-DEVCLASS.
    PARAMETERS: P_TCODE LIKE TSTC-TCODE,
    P_PGMNA LIKE TSTC-PGMNA .
    DATA: WA_TADIR TYPE TADIR.
    START-OF-SELECTION.
    IF NOT P_TCODE IS INITIAL.
    SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    ELSEIF NOT P_PGMNA IS INITIAL.
    TSTC-PGMNA = P_PGMNA.
    ENDIF.
    IF SY-SUBRC EQ 0.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'PROG'
    AND OBJ_NAME = TSTC-PGMNA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    IF SY-SUBRC NE 0.
    SELECT SINGLE * FROM TRDIR
    WHERE NAME = TSTC-PGMNA.
    IF TRDIR-SUBC EQ 'F'.
    SELECT SINGLE * FROM TFDIR
    WHERE PNAME = TSTC-PGMNA.
    SELECT SINGLE * FROM ENLFDIR
    WHERE FUNCNAME = TFDIR-FUNCNAME.
    SELECT SINGLE * FROM TADIR
    WHERE PGMID = 'R3TR'
    AND OBJECT = 'FUGR'
    AND OBJ_NAME EQ ENLFDIR-AREA.
    MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
    ENDIF.
    ENDIF.
    SELECT * FROM TADIR INTO TABLE JTAB
    WHERE PGMID = 'R3TR'
    AND OBJECT in ('SMOD', 'SXSD')
    AND DEVCLASS = V_DEVCLASS.
    SELECT SINGLE * FROM TSTCT
    WHERE SPRSL EQ SY-LANGU
    AND TCODE EQ P_TCODE.
    FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
    WRITE:/(19) 'Transaction Code - ',
    20(20) P_TCODE,
    45(50) TSTCT-TTEXT.
    SKIP.
    IF NOT JTAB[] IS INITIAL.
    WRITE:/(105) SY-ULINE.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    Sorting the internal Table
    sort jtab by OBJECT.
    data : wf_txt(60) type c,
    wf_smod type i ,
    wf_badi type i ,
    wf_object2(30) type C.
    clear : wf_smod, wf_badi , wf_object2.
    Get the total SMOD.
    LOOP AT JTAB into wa_tadir.
    at first.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 'Enhancement/ Business Add-in',
    41 SY-VLINE ,
    42 'Description',
    105 SY-VLINE.
    WRITE:/(105) SY-ULINE.
    endat.
    clear wf_txt.
    at new object.
    if wa_tadir-object = 'SMOD'.
    wf_object2 = 'Enhancement' .
    elseif wa_tadir-object = 'SXSD'.
    wf_object2 = ' Business Add-in'.
    endif.
    FORMAT COLOR COL_GROUP INTENSIFIED ON.
    WRITE:/1 SY-VLINE,
    2 wf_object2,
    105 SY-VLINE.
    endat.
    case wa_tadir-object.
    when 'SMOD'.
    wf_smod = wf_smod + 1.
    SELECT SINGLE MODTEXT into wf_txt
    FROM MODSAPT
    WHERE SPRSL = SY-LANGU
    AND NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
    when 'SXSD'.
    For BADis
    wf_badi = wf_badi + 1 .
    select single TEXT into wf_txt
    from SXS_ATTRT
    where sprsl = sy-langu
    and EXIT_NAME = wa_tadir-OBJ_NAME.
    FORMAT COLOR COL_NORMAL INTENSIFIED ON.
    endcase.
    WRITE:/1 SY-VLINE,
    2 wa_tadir-OBJ_NAME hotspot on,
    41 SY-VLINE ,
    42 wf_txt,
    105 SY-VLINE.
    AT END OF object.
    write : /(105) sy-ULINE.
    ENDAT.
    ENDLOOP.
    WRITE:/(105) SY-ULINE.
    SKIP.
    FORMAT COLOR COL_TOTAL INTENSIFIED ON.
    WRITE:/ 'No.of Exits:' , wf_smod.
    WRITE:/ 'No.of BADis:' , wf_badi.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'No userexits or BADis exist'.
    ENDIF.
    ELSE.
    FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
    WRITE:/(105) 'Transaction does not exist'.
    ENDIF.
    AT LINE-SELECTION.
    data : wf_object type tadir-object.
    clear wf_object.
    GET CURSOR FIELD FIELD1.
    CHECK FIELD1(8) EQ 'WA_TADIR'.
    read table jtab with key obj_name = sy-lisel+1(20).
    move jtab-object to wf_object.
    case wf_object.
    when 'SMOD'.
    SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
    CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    when 'SXSD'.
    SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
    CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
    ENDCASE.
    Alternatively, you can do the following:
    1. For what ever transaction u want the enhancement .. just check for the System-->status (menu) and find out the PROGRAM name....
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for "Call Customer-function " ... and u'll get some search results .. If u get results then u have enhancement in that tcode .....
    4. Then it actually calls a Function module .... copy the Function module name .... go to SE80 (object navigator) click on "Repository Information system" then Customer Enhancements .... Give the Function module name in the "Components" field and click Execute ....
    ull get a list of Enhancements related to that Componene....
    5. Choose which ever enhancement will suit ur business need ..
    6. Go to CMOD... create a project .... assign ur enhancement ... and then code ur logic.... activate ur enhancement in CMOD ....... Ur Buisness need will be solved...
    For a user exit......
    Finding whether there is any User Exit or not for tcode VA42
    1. For what ever transaction u want the user exit .. just check for the System-->status (menu) and find out the PROGRAM name.... ( The program name would be for our scenario "SAPMV45A" )
    2. Double click on to the program name and go inside the program (Abap editor)
    3. Search for the word "USEREXIT" .... u ll find all the user exits in the search result .. and find ur's then ...
    Reward points if this helpful.
    Regards,
    Naveen.

  • Sales order block in customer master

    Hi  Gurus,
    There is one requiremnet from client.
    _Create one additional Sales Order Block which is maintained in the customer master and prevents order creation for these customers._
    Can any one tell me where is sales order block in customer master.
    Regards,
    Ajoy

    Hi,
    You can block the customer centrally or for the required sales areas using XD05. this is one option.
    As i understand additional block at sales order for this customer means you can set the customer credit limit as say 1 $ assuming any of the material that is sold is above that, the system does the credit check and blocks the order. How do you want to deal with this block you can think in terms of credit management settings. This is config.
    But if you want to set a block at the sales order dynamically for the required some customers, then you need to implement an user exit like, Userexit_save_document. the authorised users can go in VA02 and remove the block. But to identify in the user exit logic which customer you want to block you need to maintain some master at customer master level.
    Anyways let me know if this idea helps you so that i can guide furhter.
    regards
    sadhu kishore

Maybe you are looking for

  • MOV-Files: Syncing out of Apetture - No Syncing with Connection Kit - Yes

    Hi, I have a Lumix LX3 and videos taking by the cam won't sync to the ipad via itunes/aperture. When I import the video files with the Camera Connection kit everything works fine. So there is no different in the format of the video. Why doesn't it wo

  • Identifying Notes in a backup

    Can anyone tell me if there is an easy way to identify the file (files?) in an iPhone backup that contain the data from Apple's own Notes app? We lost of a bunch of stuff in an OS4 upgrade; we got most of it back but not the notes... so I am wonderin

  • Importing Themes from iDVD or iMoveHD

    I have been having trouble importing Themes into Final Cut Express and I am going to assume that I am missing something in order to do this. Can anyone give me assistance on how to do this or if it is even possible? Thanks

  • 10.4.1 is full of Glitches

    Has iTunes take a major nosedive for anyone else last few updates? Drag and drop isn't reliable for mp3s or album art and hitting delete on anything sends me to the 'z' section...i have to highlight individual songs to delete them. Can't just delete

  • How to disable a default selection checkbox in the tableview

    Hi All,          How to disable a default selection checkbox in the tableview ??? I have  a tableview  with a iterator class mentioned on the iterator attribute of the table view. Table is a MULTISELECT tableview . Is it possible to disable or make i