How to Block Customer from Sales Order Type

Hello Gurus!
I was wondering if there was a way to block a specific customer from a sales order type? 
We have 4 Sales Organizations, and 2 of them use this customer, with different sales order type for each sales organization.  So I only want to block this customer for 1 sales organization and a sales order type.....is this possible.  If so, please advise!
I just want to block a customer from a sales order type. 
Thank you for your time!
Best regards,
WC

Hi,
I have an wild idea just check it works or not--
Create a dummy customer pricing procedure.whenever u want to bleck a customer for any particular order type assign this dummy pricing procedure in customer master(Sales Tab).
Do not define any pricing procedure in SPRO against this customer pricing procedure
The moment user will try to process any order type (which u want to block for a customer), the system will not determine any pricing procedure & consequently it will not allow to save the order.
Hope it will solve the problem.
Regards
Sanjay

Similar Messages

  • User-Exit for Checking Customer and Sale order type in Sales Order Creation

    Hi Experts,
      While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
    Please suggest me if any user-exit or enhancement or BADI available for it.
    Thanks & Regards,
    -VM

    Hi
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    mark if helpful
    Regs,
    Tushar Mundlik

  • How to block inventory at sales order level

    Hi to all,
                i am using sapb1 2005 pl36 i want to block invetory at sales order level means what i want, if any user create sales order of item1 if instock qty of that item1 is 10 and commited is 10 then availabale inventory is 0 nos .means sales order  should not posted it should be block at sales order level.so how it can possible .if it possible through addon pls send code of perticular.i will await for positive reply .
    Regards,
    Vishal

    Vishal,
    You can use Application_FormDataEvent to block the add.
      Private Sub Application_FormDataEvent(ByRef args As SAPbouiCOM.BusinessObjectInfo, ByRef bubbleEvent As Boolean) Handles MyApplication.FormDataEvent
        If args.BeforeAction Then
          Select Case args.EventType
            Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD
              ' get document form
              Dim form = MyApplication.Forms.Item(args.FormUID)
              ' get docucment matrix
              Dim matrix = DirectCast(form.Items.Item("38"), SAPbouiCOM.Matrix)
              For row = 1 To matrix.RowCount
                ' get ItemCode
                Dim ItemCode = DirectCast(matrix.Columns.Item("1").Cells.Item(row).Specific, SAPbouiCOM.EditText).String
                ' Do a query on inventory or use Company object
                ' If a line is not allowed block adding the order:
                bubbleEvent = False ' order is now blocked!!
              Next row
          End Select
        End If
      End Sub

  • How to retrun goods from sales order (OPM 11.5.2)

    Dear all
    Have anybody know how to return stock from the OPM order fulfillment module? Please guide me the step and procedure.
    I have read the OPM user guide no return stock but I applied by using the quantity form and reason code to identify the sale order return mapping account to subledger.
    Thanks in advance
    CC.

    Dear all
    Have anybody know how to return stock from the OPM order fulfillment module? Please guide me the step and procedure.
    I have read the OPM user guide no return stock but I applied by using the quantity form and reason code to identify the sale order return mapping account to subledger.
    Thanks in advance
    CC.

  • How Variant Configuraton data  from Sales Order stored in the database

    Hi,
    I understand that the "variant configuration" data (chosen values for each characteristics assigned to material) from a sales order is stored separately with reference of an object in SAP.
    Please let me know how SAP stores such data -source in the database tables.
    This is required to draw a report of these charateristics values for various sales orders (Transactional data).
    I also understand that there are function modules to retrieve this data, but the function modules are unable to retrieve data as accurately as the VA03 program.
    Thank you for your advice.
    Regards,
    Hemant

    Hi ,
    I do not know what a reference charactersitcs is,but there are all independant characeristics in terms of their values.
    A guess it is because the VC data is changed after the sales order is created, the updated VC data is displayed properly only in VA02 or VA03 but other function modules fail to display the updated VC data.
    I understand there is a relationship of instance -between sales order object and VC data object-which we need to update and then see the latest data.
    Please let me know if anyone has debgged VA03 to know how the standard SAP program retrieves VC data in a sales order.
    Thank you,
    Hemant

  • How to block deleteion of sales order items

    We need to be able to block users from deleting sales order items. The objects V_VBAK_VKO and V_VBAK_AAT can be used at the 'order header' level but these do not prevent a user deleting an individual item in an order. Does anyone know of a way of achieving this through authorisations?

    Thanks for your responses. We have decided to use USEREXIT_CHECK_XVBAP_FOR_DELET in MV45AFZB with some code based on the AUTHORITY-CHECK syntax below:
    AUTHORITY-CHECK OBJECT 'S_CARRID'
                      ID 'CARRID' FIELD pa_carr
                      ID 'ACTVT' FIELD '03'.
      IF sy-subrc = 4.
        MESSAGE e045(sabapdocu) WITH pa_carr.
      ELSEIF sy-subrc <> 0.
        MESSAGE e184(sabapdocu) WITH text-010.
      ENDIF.
    In our case we will reference object V_VBAK_AAT.

  • Block customer for sales order

    Hi,
    if i flag a customer for deletion through VD06, the sales order is created for that customer with a warning message. is that possible that i can control that no sales order should be created for any customer who has been set as "flagged for deletion"
    thnks in advance
    maXim

    Hi
    Why dont you try VD05 t code Blocking the customer instead of VD06 marking for deletion
    In VD05 if you input the customer name and enter
    Then order block then all sales areas maintain as 01
    Then when you try to create an order for this customer straight away error message is thrown unlike VD06 in which there is only a warning message which you can bypass
    Regards
    Raja

  • How to get PO from sales order item in CRM

    Hi,
    I am building a BI extractor which needs PO for a given complaint. I am able to get the sales order/item for a complaint using crm_order_read FM. Is there anyway to get the PO based on this SO-item. Are their tables that link these two.
    Thanks!

    Table CRMD_ORDERADM_I -> Give Item GUID in filed GUID and get the document header guid in field HEADER. Then use function module CRM_ORDER_READ and table ET_SALES to get the Sales Data for the right item. The PO you are interested in can be any of the fields related to PO in this set. Usually it is PO_NUMBER_UC.
    Alternately, if you want to use only the table reads use this.
    1. Table CRMD_LINK --> get the record with GUID = Item GUID and OBJTYPE_SET = 11 (for Sales Set)
    2. Table CRMD_SALES --> get the record with GUID = CRMD_LINK-GUID_SET
    Get your PO information from this Sales set record for your item. But since, PO is usually associated with the header, you can do the same as above but with the GUID = Header GUID in the CRMD_LINK table.

  • Link Sales Order Type to Customer

    Hi gurus,
    Do you know if there is anyway of linking a customer to a Sales Order Type?
    So that if selling to that customer, everytime that Sales Order type is determined?
    Please consider scenario where Sales Orde type is created through DP90 from service orders.
    Thanks and best regards,
    Víctor Liedo

    hi victor,
    in standard SAP there is no direct link as such for customer to sales order type.
    what is the business logic for the same.
    you are linking the sales areas for the document types - not to the customer level - that is one type of control which SAP is providing.
    but here you need to enter the sales order type manually before entering the customer for the sales order.  so MV45AFZZ : USER EXIT SAVEDOCUMENT_PREPARE.
    you can write a piece of code for the same.
    you need to hard code account group of the customers & sales document type, so that when ever before saving the sales order the system will check the sales order type used for that particular customer is correct or not and then saves the sales order or else it throws an error
    hope this clears your issue
    balajia

  • How material transfers from sales order to service order

    Hi All,
    In case of sales order (Debit memo request or quotation) created from service order, material in service order is transferred to sales order via DIP profile.
    but in case of,
    service order created from sales order how the material flows from sales order to service order.
    In customer service module.

    If Service Order gets created from Sales order, operations & components are transferred to Service order through Service Product assignment in Sales Order.
    Service Product will be created in MM01 & this will be linked to Task list in OISD. By assigning this Service Product in Sales Order, Service order will be created automatically with the assigned Task list.

  • Credit Management for different Sales Order Types

    Hello All,
    The problem is related to Credit Management for Sales Order which is explained below with an example -
    We have separate Sales Order Types for New Launches (ZNLS) & Normal Depot Sales (ZDPS) but both the Order Types are assigned with same pricing procedure and respective orders will be raised against the same party code.Now automatic credit check is only active for order type ZDPS where the credit limit had been set to Rs.1000. Now Rs,.500 had already been raised using order type ZDPS, then another sales order of Rs. 500 is raised using order type ZNLS.But when a sale order of Rs. 550 is raised using order type ZDPS the sales order is getting blocked, because the system had taken into consideration & added up the Rs. 500 value of ZNLS with previous value of Rs. 500 against order type ZDPS as a result of automatic credit check though it is not active for order type ZNLS.Point to be noted that Credit exposure is  also not active for Order Type ZNLS.
    How is this taken into consideration & what are the steps need to be configured so that the credit limit check will not get automatically activated for order type ZNLS  and  only remain active for order type ZDPS  despite they are assigned to same pricing procedure and used for invoicing same party code?
    Please suggest.
    Thanks & Regards
    Priyanka Mitra

    Hi Mitra,
    The issue occurs because of the fact that credit check and the
    update of the credit values are separate processes which are also
    controlled separately by the respective customizing:
    1. credit check is controlled by transactions OVAK and OVA8.
    According to the attachment, you have already refered to note 18613 to
    check the customizing settings.
    2. update of the credit values is controlled by VOV7 or OVA7: "credit
    acttive" flag. The 'Credit active' setting only affects the credit
    update of the SD credit values (open orders, open delivery and open
    billing documents). This flag has no control on the credit check. So
    if for an order type, there is no credit check in OVAK and OVA8 but
    the "credit active" flag is set for the item category, the order will
    update the credit values even if no credit check is performed for the
    order.
    If the flag "credit active" is not set, the system will not update the
    open credit values. On the other hand, the system ALWAYS updates the FI
    credit value 'Open receivable' when the billing document is transferred
    to Accounting. So, although you deactivated the "Credit active" flag in
    in OVA7 or VOV7, such an item will increase the 'Open receivables' and
    thus the credit limit used when the corresponding billing document is
    posted to Accounting.
    If you would like the value from sales order type  ZNLS is excluded from credit update, you could consider set the "Credit Active" field as blank in VOV7 for the item category used for ZNLS.
    Best regards,
    Smile

  • About check po no in sales order type.

    Hi SD experts:
                                 When creating sales order,i want to implement checking whether purchase order number exists,and giving the 
                        waring message.
                               But  In the Customizing of sales order type,it can only check with a error message or do not check.
                               In the std SD Customizing,how can it implement,pls give me some advice.
                                     Thank you very much.

    Kindly check following SAP Notes:
    Note 325894 - No message if purchase order number already exists
    Symptom: If the 'Check purchase order number' flag is activated in an order type, when you change the sold-to party, the system does not issue a message that the purchase order number is already assigned for this customer.
    Note 63056 - Validation of PO number for sales order
    Symptom: If the preparations for consolidation are activated in profit center accounting, the partner profit center for a sales order can, if necessary, be determined from the respective purchase order.
    To do this, the purchase order number entered in the sales order for the corresponding customer is validated.
    If this number has less than 10 digits, you need to enter the number with leading zeros.
    Note 317029 - Bad performance in the sales order due to PO number check
    Symptom: Long waiting times occur within the order entry because the system carries out a check to determine whether a document with the particular order type already exists for the relevant sold-to party.
    All the above are under category of Program error.
    Hope it assists you.
    Thanks & Regards
    JP

  • Copy Control From Sales Order to Purchase Order

    Hi Experts,
    I want to ask how the copy control from Sales Order to Purchase Document can be done? Because they are instances that the users have some items in the Sales Orders not copied to Purchase Document.
    Thanks a lot!

    Hi Experts,
    I have seen the documentation for 3rd Party Sales, thanks to some suggestions. However, there is a report which does not work in our Test Environment, the program name is SDMFSTRP. As suggested by some forums, this is another way of connecting Sales Order to the created Purchase Requisition. So I'd like to ask if there are other ways to connect the 3rd Party Sales to the created Purchase Requisition.
    And also may I know your scenarios when there will be missing items from Sales Order to Purchase Requisition. There are some instances that from Indent Orders, some SO items are not copied to PR.
    Thanks a lot!

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • How to block sales order creating manually for a sales order type

    Hi SD gurus,
    My client wants for EDI orde type, the sales order should not be processed manually
    how can i restrict this. I know to i can restrict this by not giving authorization
    I want globally to maintain this.
    thanks

    Hi.
    I think that the best way to do this is to create a field exit to data element AUART.
    You will need an ABAP'er to create this field exit and associate the field exit to program SAPMV45A.
    Doing this, you need create a customized table to maintain the sales order type permitted to manual creation.
    You can use the program RSMODPRF to see all active field exits.
    I believe that EDI orders in your process are created through BAPI, correct?
    Waiting for response.
    regards.

Maybe you are looking for

  • I have one random Apple ID that appears only when I go to itunes or App Store.  For everything else I have my Apple ID and password all set.  Can I get rid of this thing?

    This is a Question:  I have one random Apple ID that comes up only when I'm trying to access Apps or iTunes.  I have another Apple ID with a password that works just fine for everything else.  I do not have a password for this random id.  How can I g

  • Exchanging iPhone 3G

    Hello Everyone, With all the problems I'm having (from almost weekly restores due to the Apple Logo Freeze Bug, to Apps crashing, to reception problems,) would I be able to exchange my phone at an Apple store for a new one? Has anyone had a similar e

  • Time Machine will not backup after Snow Leopard.

    Pertinent information: Macbook Pro pre-aluminum body Time Machine backing up over network to a ppc mini with 500 gb external drive. This worked fine with Leopard for over a year. I installed Snow Leopard last week and this is the first time I got a c

  • How to identify a rehire candidate?

    Hi, Please let us know if you have worked on the following: 1) How can we identify in e-recruiting that an external candidate was a previous employee of the company at some point in time? OR how to identify that the candidate had a record in SAP PA i

  • Unable to reclaim free space

    tablespace size: 62G, 14 4G files and 1 6G file, freespace =51G When I try to resize datafiles, I get an error; the max free space per file =1G --- not sure what is using up the space. environment: 10.2.0.3 2-node RAC cluster on Red Hat Linux 4 Can s