How to block order for a particular customer. pls read clearly

hi
some customers may be asked for cash and carry procedure.
bcos they do very small sales they have access to only cash sale document ie CS.
here how to block OR, RO etc to that particular customer or group of customers
regards
sridhar

Hi,
One simple way would be to give those customers a special sales area (e.g. a separate distribution channel) than for normal customers. Then you do not allow the Document Type for this sales area in the transaction "Assign Sales Areas to Sales Document Types" in IMG (Sales & Distribution -> Sales -> Sales Documents -> Sales Documents Header).
Ensure that the customer is created to this "blocked" sales area only. Then when you try to create the sales order, system would give an error message saying customer is not defined for the sales area, and would not let you proceed.
Hope this helps,
Regards
Nikhilesh

Similar Messages

  • Retrieve the sales orders for a particular customer in selection screen

    Hi
    I want to retrieve the sales orders for a particular customer(entering customer number field in the selection screen and then clicking on f4 help on sales order field in the selection screen I should get only sales order numbers for that particular customer number).How can I achieve this through search helps?Are there any standard search helps that I can use.
    <removed_by_moderator>
    Edited by: Julius Bussche on Apr 9, 2009 12:55 PM

    Hi,
    try this:
    at selection-screen on value-request for p_par.
    select * from vbak
    into itab
    where kunnr = p_par.
    then use the FM 'F4IF_TABLE_VALUE_REQUEST'.
    with
    retfield = 'VBELN'
    dynprog = sy-repid
    dynpnr = sy-dynnr
    dynprofield = <name of parameter>
    value_org = 'S'
    tables = itab.
    Regards,
    Leo.

  • Display list of sales orders for one particular customer using BAPI in WD

    Friends,
    i want to display list of sales orders for one particular customer, the materials ordered, quantity ordered, goods issue date of that particular order and contact information about that particular customer, using Webdynpro.
    Please somebody send me related info,blogs,help links , to complete this task, this is very urgent.
    Please help
    Peter

    Find the WD tutorials here...
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/web%20dynpro%20sample%20applications%20and%20tutorials.htm">Tutorials</a>

  • How to block users for a particular type of transaction?

    Hi SAP Experts,
    wishes for the day.
    TDS related entries should be passed from the accounting side but the tds entry has passed from MM side at my client place.and now they want to restrict the tds kind of entries to the MM users.How can i block the mm users for particular this kind of transactions.
    Full points will be assigned for the right solutions.
    Regards,
    Sumeya Offrin

    In the Control Data of FS00 there is field 'Authorization Group'
    Please Create an Authorization Group for those user ID who can post TDS entries.
    then Maintain this group for TDS related GL.
    Then others will not able to post to this GL.
    Regards,
    Alok

  • How to stop PR creation from PM work order for a particular vendor?

    Hello Experts,
    We have following scenario for breakdown maintenance activities.
    When a machine breaks down, a breakdown order is created in SAP. The external manintenance services are planned in the order. When the order is released, a single PR (with multiple item numbers corresponding to number of services) is created by SAP. The PR has a release strategy. When PR is released, PO is created followed by the SES.
    The practice followed AS -IS for breakdown outside business hours:- If the breakdown happens outside business working hours, the person releasing the PRs is not available & hence PR can not be released resulting in no PO & no subsequent SES.
    In this case, the maintenance is completed by the external agency & the work order is TECO. The next day, TECO is reveresed, new PR is created, released, converted into PO, & then SES.
    TO-BE process:- Client expects that, for certain vendors identified, PR should not get created at all from the breakdown order. (The list of  vendors will be maintained seperately). For these vendors, a framework order will be created at the start of fiscal year & SES will be created as & when required agaainst the framework order.
    My concern is :- How to stop PR creation from PM work order for a particular vendor? OR delete the created PR?
    Highly appreciate your quick response.
    Thank you.
    Amit
    Note:- My ABAP consultant has checked following BADI's, but could not find it useful.
    IWO1_ORDER_BADI
    ORDER_COSTING_CK
    DATA_EXTENSION_CK
    VALUATION_CK
    ME_REQ_OI_EXT
    IWO1_PREQ_BADI
    ME_CHECK_SOURCES
    ME_REQ_POSTED
    IWO1_ORDER_BADI

    Dear Amit
    I am giving a different dimension to your question check if it fulfills your requirement -
    As we know Vendor selection comes at a later stage only after your PR creation, approval & RFQ etc. & PR generation from maintaine. order is controllled through control key PM03.  While triggering PR from order you have to specify Material group, Purchase group and vendor. Try to control it through authorisation as all these are authorisation objects. The persons executing breakdown order shall no t be given this authoriations
    shakti

  • How to club the amount field for the particular customer from file

    Hi ,
    In my BDC i am getting the Amount field which is need to be put in the Header data . For 1 Customer there are more than 5 line in amount field in the Excel file.
    For the Particular Customer , I need to club all the amount ffield and put it into the Heade data for the customer.
    How to do this .
    Thanks

    got answer

  • How to stop a person from creating an order for a particular region?

    Hi All,
    Suppose there are three regions viz :
    1.Asia
    2.Middle East
    3.Europe
    Now what I want that when a agent /end user is creating an order for a particular person for a specific region, he gets an error message that "Orders cannot be created for this person."
    I mean he can create orders for other people of that region but not for a specific guy.
    Also the End user has the authority to create orders for all the above mentioned three regions.So (I Guess) there are no changes to be done in SU01.
    What is the configuration that needs to be done for this one?
    I hope my query is clear and thanks in advance for your advises.
    Thanks

    I don't think so. There is no role that has VIEW only at user level- neither in CRM nor in R/3.
    Only at shop level, we can set if "Order Change" is allowed or not. But nothing to limit ordering at any level.
    Even in CRM 5.0 up, out of the box, you have only got:
    SAP_CRM_ECO_ISA_WU_B2B_ORDER - Can Create an Order but can not Change
    SAP_CRM_ECO_ISA_WU_B2B_FULL - Can Create an Order as well as Change
    No role for just display only rights. For full set of available [Web Channel authorization roles|http://help.sap.com/saphelp_crm60/helpdata/en/46/7aea16f4ca468ce10000000a114a6b/content.htm], check this link out.
    Easwar Ram
    http://www.parxlns.com

  • Count no. of records for a particular customer in the query?

    Hi,
    1)Can anybody guide as to how do we count the number of records for a particular customer. E.g.
    C1 has placed 2 orders
    C2 has placed 4 orders
    C3 has placed 5 orders
    so in all the ODS has 11 records. Now while designing the query we need to ensure that we show only the Customers who have placed more than 3 orders. What could be logic to solve this kind of a problem?
    2) Is there a way that we can access the structure and data of the ODS in ABAP code say one of the includes in a user exit?
    The requirement says there could be N number of cases opened and closed in one month. Now we need to calculate the average number of days taken to close a case? Any ideas on the possible solution.
    Thanks
    RB

    Hi Rajat,
      Take a calculated key figure rename it as Count , go to the properties of that calculated key figure on the left hand side not at the columns side in the properties click on the button Enhance which is shown in the down left side, in the exception aggregation part select "count all values <>0" , take the reference character as customer Id . Now go to the Customer character which is in rows go to properties and select  "Normalise to" combo box  in that select "Query result" now u will get the exact result which ur looking for .

  • How to block articlee for purchases

    we are planning to block some of articles for purchases. However we want to allow for stock transfers using stock transfer requests( ME21N-UB doc type).
    when i kept 01 Blocked for procment/whse in X-site status of baisc data tab system is not allowing for stock transfer order creation also.
    plz suggest how to block articles for purchases without impacting for stock transfers.
    what is the usage of follwing selections for blocking
    01     Blocked for procment/whse
    02     Blocked for task list/BOM
    03     Blocked for Purchasing

    Hello,
    If you want to block articles from procuring into DCs and do not want to block DC to Store movements, you may block articles in site-specific Block status (MARC-MMSTA) in Article/DC view. So DC to Store STOs can be created.
    You may see the definitions of various blocking statuses in transaction OMS4. For example, 01 Blocked for procment/whse means blocked from Purchasing,Forecasting and RP (No Message, Warning or Error Message).
    Thanks,
    Venu

  • Delivery for a particular customer

    Is it possible to create delivery for a particular
    customer on specific dates we want? How we will do it in SAP if possible? thanks

    Hi
    Further...if you wish to create deliveries on different future dates, one more alternative is to create a SCHEDULING AGREEMENT with delivery dates and quantities given in the schedule lines. Based on the delivery date, it automatically wil be added in the delivery due list.
    Thanks,
    Ravi

  • Order # for a particular Delivery #

    Dear All,
    How can I know the particular order # for a particular Delivery/Picking #?
    All helpful answers will be rewarded.
    Regards
    Renjan

    Hi Martin,
    I have given the SQL as
    SELECT SINGLE vbelv from vbfa INTO it_delhdr-vbelv WHERE vbeln =
    it_delhdr-vbeln.
    But it is taking a lot of time to execute it. Is there any other way to find out?
    Regards
    Renjan

  • Visibility for a particular customized record.

    We are facing an issue of visibility for a particular customized record.
    As customized record costing is created automatically using web services, so by default it is picking the name of the Administrator.How can we remove admin by default and assign its real owner by default?
    Thanks in Advance,
    Manish.

    You should be able to assign this by using post default on the Opportunity Owner ID field to be the creator of the record. If you have hard coded a WS username to complete this perhaps look at using SSO

  • How to provide hyperlink for a particular field in ALV

    Hi,
      How to provide hyperlink for a particular field in alv report.
    Regards,
    Ramu.

    Yes you can do that. using the fieldcatalog there is an option for that. give HOT_SPOT = 'X'. for the column you want.
    wa_field-hotspot = 'X'.
    REPORT  ztest_alv.
    TYPE-POOLS:slis.
    DATA:it_fieldcat  TYPE  slis_t_fieldcat_alv,
         wa_field LIKE LINE OF it_fieldcat.
    DATA: BEGIN OF it_likp OCCURS 0,
           vbeln TYPE likp-vbeln,
          END OF it_likp.
    DATA: layout TYPE slis_layout_alv.
    wa_field-fieldname = 'VBELN'.
    wa_field-tabname = 'IT_LIKP'.
    wa_field-hotspot = 'X'.
    wa_field-outputlen = 10.
    wa_field-no_zero = 'X'.
    wa_field-seltext_l = 'Sales'.
    APPEND wa_field TO it_fieldcat.
    SELECT vbeln FROM likp
    UP TO 10 ROWS
    INTO TABLE it_likp.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program      = sy-repid
        is_layout               = layout
        i_callback_user_command = 'USER_COMMAND'
        it_fieldcat             = it_fieldcat
      TABLES
        t_outtab                = it_likp
      EXCEPTIONS
        program_error           = 1.
    *&      Form  user_Command
    *       text
    *      -->UCOMM      text
    *      -->SELFIELD   text
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.
          SET PARAMETER ID 'VL'  FIELD selfield-value.
          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.
      ENDCASE.
    ENDFORM.                    "user_Command

  • Techical field ( and Table ) for Promotion type for a particular Customer

    Hi All,
    Where can I find the promotion type for a particular Customer?
    Thanks,
    Sanjeet

    Hi Suman,
    I think you are talking about Transaction VB33.
    Table - KONA (Rebate Agreements)
    Field - KNUMA (Agreement (various conditions grouped together))
    Structure - RV13A (Input/Output Fields for Price Element Maintenance)
    Field - KNUMA_PI (Promotion)
    And if you want based on particular customer..
    Table - KOTE003 (Customer)
    Field - KNUMA (Agreement (various conditions grouped together))
    Table - KOTE004 (Customer Hierarchy)
    Field - KNUMA (Agreement (various conditions grouped together))
    Best Regards,
    Sayak

  • Searching for Sales Order for the given Customer PO Number Pattern in BAPI

    Hi,
         I have developed a BAPI which retrieves all the Sales Orders for a given Customer (Sold-To). The Following are the Input Parameters given in the Function Module (RFC).
    Customer Number (Mandatory)
    From Date (Optional)
    To Date (Optional)
    Sales Order Number(Optional)
    Customer PO Number(Optional)
    Now, when the Customer PO Number is populated, it will come as a Pattern, say 9ab* and I need to retrieve all the Sales Orders with PO Number starting with 9ab.
    When I am trying to retrieve, it is giving different set of output based on the Case specified in the Customer PO Number Pattern. Lets say, if I give 9ab, I get 200 Records but if I give 9AB, I get only 5 to 6 Records.
    As I have understood from the Standard Transaction VA03, it has a Search Help VMVAA which retrieves all the Sales Orders for the given PO Number pattern irrespective of the Case, that is Lower Case, Upper Case or Mix of Upper and Lower Case.
    I can see the Code in the Search Help Exit but couldn't find useful piece of code which I can implement in my BAPI to simulate the same.
    Can somebody help me on this?
    Thanks,
    Venkat.

    Hi Sudhir,
             I think you did not understand what my problem is. What I mean to say is, for Customer X, the PO Number could be 9abc and for Customer Y, the PO Number Could be 9ABC.
           So, according to your logic, if I translate it to Upper Case, it will give the Sales Order details of Customer Y to Customer X.
          And more over, SAP stores the PO Number as it is entered in the Sales Order Screen (VA01).
        What if the Customer PO Number for Customer X is 9aBcDeFgH? and the PO Number for Customer Y is 9AbCdEf?
       Hope you've understood my question.
    Thanks,
    Venkat.

Maybe you are looking for