Restrict SaTy for 1 Customer in a Sales Org

Hello,
I have a scenario where a specific sales document type is to be restricted for 1 customer.  All other customers for the particular Sales Org / Dist Channel / Division are to use this sales document type except for this customer, and my user would like a hard stop to be enforced (i.e. stop message) when attempting to enter an order in this specific sales document type for this customer.  If a different sales document type is specified prior to sales order entry, the order should be created for the customer.
Is there any master data or standard configuration that could allow this scenario to work?

hi andy;
you have three options here:
1. create a Z table for the same the same with fields SALES ORGN/DISTRIBUTION CHANNEL/DIVISION/CUSTOMER NUMBER & SALES DOCUMENT TYPE which you want to restrict - this re usable any number of times because you will maintain in MAINTAINCE view inside Z table.
2. HARD CODE these SALES ORGN/DISTRIBUTION CHANNEL/DIVISION/CUSTOMER NUMBER & SALES DOCUMENT TYPE which you want to restrict  & this is permanent setup but when ever you want to change it you need to go to the program MV45AFZZ : USEREXIT_SAVE_DOCUMENT_PREPARE will trigger to throw an E - ERROR message.
functionally :
3. block the customer with respect to the sales area in Go To T-code XD02-->
Extras-->bloc the customer or you can use XD05 for the same. but here blocing will not happen basing on the sales document.
please choose for which one you want to go with.
hope this clears this issue
balajia

Similar Messages

  • Getlist bapi for customer based on sales org, distbtn chnl

    Hi,
        Is there any standard BAPI for customer Getlist , i want to filter based on distribution chanel and sales org and divison.
            Now am using BAPI_CUSTOMER_GETLIST  its showing all customer list i want to filter this based on distribution chanel and sales org and divison.
    Thanks ,
    Arun

    Hi Siva : )
    In VK11 we have a key combination radio button called Country/ Destination Ctr./Plant/TaxClCust/TaxClMat.
    I think it might be a custom key combination (so you might have to create a siliar one for yourself), but basically all I had to enter there was Country = GB, Destination Coutry = GB, plant SORG1 (it's called the same as the sales org and is linked 1-1), tax classification on Customer = 2 (because I want the central setting on the customer to be 2 = ICO, no tax), tax classification on material 1 = full tax goods and enter relevat tax code.
    Hope this helps.
    It worked for me.
    Kind regards,
    Tanja

  • Invoice Layout configuration for a specific customer within a sales org.

    Hi,
    I have a situation where the invoice layout need to be configured for one particular customer within a sales org in a different style from rest of the customers.
    Could someone let me know how to do it please.
    Thanks.
    Best regards,
    Srikrishhna

    By u201Cinvoice layoutu201D, I assume you mean layout of the print output.  If so, then
    u2022     Set up a new output type as a copy of your standard output type.  Assign an access sequence containing customer. 
    u2022     Add the new type to your active output determination procedure and assign an appropriate requirements routine (if any). 
    u2022     Assign a layout set (smartform, sapscript, adobe, etc.) that meets your customeru2019s requirements. 
    u2022     Maintain the condition record.
    And away you go.
    Regards,
    zKen

  • !!!How to restrict user for making  changes in Sales order , partner level

    Hi all,
    Can anybody tell me how to restrict user for making  changes in Sales order  at partner level, is it through user exit?

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

  • Account Group of Customer representing Ordering Sales Org. in Intercmp Bill

    Hello everyone
    As a standard process, we are implementing Intercompany Billing cycle.
    1) Sales Org 1 orders goods which are shipped by plant of a different company code.
    2) Thus in the end when Delivering Plant raises an Intercompany Invoice to the Sales Org1, the Payer on the Invoice is the Customer Number tied to the Sales Org1 in IMG config.
    Now my questions is regarding the account group of that customer.
    Should that customer be of account group = 0001 (Sold to party) ...or something else ?
    Also can customer of account group ICBF be used ?
    Please share your thoughts.
    Thanks
    Vin

    Hi Vinit
    Customer account group = 0001 (Sold to party) only we have to extend the inter company customer to ordering company sales area and we have to assign this inter company customer to ordering sales organization
    I hope itu2019s helpful to you.
    Regards,
    Krishna

  • Restrict BP Master search based on Sales Org

    Dear All,
       I would like to assign different Sales Rep to different sales org. My requirement is to restrict Sales Rep from searching BP records of customers which are extended to their Sales org. How is this possible? Can I use auth object CRM_BP_SA to do the same?
    Regards,
    Vivek

    Access Control Engine?

  • Sample values needed for Customer Number And Sales Organisation in BAPI

    Hi Experts,
        I want to execute the Bapi BAPI_SALESORDER_GETLIST with mandatory parameters such as Customer Number & Sales Organisation .
        How would I come to know what values to enter for Customer Number & Sales Organisation inorder to get some Output in the form of table SALES_ORDER.
        Can you ll help me with some sample values which I can enter to get some useful output.
        And what is the logical way to go inorder to test such BAPIs in future.
    Thanks in Advance,
    Pavanmeet Singh

    Hi,
    CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
    EXPORTING
    customer_number = cust
    sales_organization = sorg
    MATERIAL =
    DOCUMENT_DATE =
    DOCUMENT_DATE_TO =
    PURCHASE_ORDER =
    TRANSACTION_GROUP = 0
    PURCHASE_ORDER_NUMBER =
    IMPORTING
    return = it_return
    TABLES
    sales_orders = salesorder_itab.
    Regards
    Sudheer

  • CRM - Automatic Return Delivery for Customer Owened Repair sales order

    Hi Guys,
    We are implementing Customer Owned Repair sales order Process in CRM and requirement is that once order gets replicated in ECC, automatic Return delivery should be created.
    We have following settings done,
    1. Order Type ZREP has automatic delivery creation set : A
    2. Item category has special stock indicator E and and Returns
    3. schedule line category IR has 653 Movement with special Stock E and availability is not flagged.
    so in this configuration, when i create Order Manually, Return delivery gets created automatically even if there is Zeor stock (Schedule line confirms the Qty) but while Order gets replicated from CRM it does not because schedule line does not confirm the qty (Zero Qty).
    Please advise on this asap as we are in verge of delivery and facing this issue.
    Regards,
    Dharmesh.

    Hello Peter,
    Regarding Posting of Goods Issue for Spare Parts in SAP R/3 Materials Management,
    The data posted depends on the logistics scenario(s) that you use. The system therefore first determines the logistics scenario defined for the combination of transaction type, item category, service organization, and other relevant information required for the scenario (for example, movement type or special stock indicator in SAP R/3).
    Availability information informs you whether the service parts are currently in stock. Each service part item generates a reservation in the back end system, which can be used to trigger an early procurement process.
    To know more about the same refer the below link:
    http://help.sap.com/search/highlightContent.jsp
    http://help.sap.com/saphelp_crm50/helpdata/en/cb/f876d513c56e4e864c15517ff67e92/frameset.htm
    Hope this helps!
    Thanks and Best Regards,
    Shanthala Kudva.

  • Stock Reserve for customer while creating sales order

    Hi Gurus,
    In our scenario,i want to reserve my stock  while saving the sales order for customer .when the next order will get placed for same article system should not be  allow to use commited stock for pending sales order which is not yet get pgi.
    _Scenario:-_
    I raised order , say N0.20091076 with quantity 100 Boxes
    I raised order , say N0.20091077 with quantity 50 boxes
    Availability check was performed and system has confirmed the quantities as above for both the orders
    Now i have gone to delivery and raised delivery for order N0. 20091077 ( OR.N0.20091076 --- 100 Boxes is still open).
    but in the delivery i changed the quantity to 80 boxes instead of 50 as raised in the order N0.20091077 , but system is allowing to do PGI for order N0. 20091077 with 80 boxes. ( This means order N0.20091076 which contains 100 boxes is having deficit now).
    Can i controll this that if i raise the oder with certain quantity and a particular batch then the system should not allow this quantity to be used by other order in the delivery/PGI irrespective of the customer .
    Thanks & Regards,
    Sunil

    Hi
    No need to do MB1B movement type 412 E
    If  include sales requirements is ticked in OVZ9 for the checking group  in MMR and checking rule A (SD sales order) you cannot increase the qty in order 2
    Example
    Material X stock is 10 units
    order A is created first for 5 and order B is created second for another 5
    Include sales requirements is ticked in OVZ9 for A (sd sales order) combination
    Now if you try to deliver order B with 6 units system will throw error as only 5 units is available
    If you try to deliver order A also with 6 units system will throw error as only 5 units is available
    So stocks are reserved as per sales orders
    I already suggested you to do this sales requirements ito be ticked in OVZ9 in my first post  but i thought it  may not be very effective for the scenario described by you
    But on testing it is found to be very effective provided backorder processing and rescheduling is not carried out
    For your account determination error you have to check OBYC settings and also in t code OMWD whether the valuation grouping code 0001 has been assigned to your plant
    If this not done in then during PGI you will face the same error
    In normal circumstances during PGI only material doc is generated and this error is expected at that time
    Since you are making a hard reservation during MB1B itself you are facing it as this transaction generates material doc
    If you have already done 412 E you can reverse the same with MB1B movement type 411E
    Regards
    Raja

  • BAPI for customer group wise sales

    Hello Experts,
    I m developing one report,in which i want customer group wise sales , collection & outstanding
    as on date.
    Is there any BAPI which helps.
    Please suggest.
    Ravi

    hi Ravi,
    try SD_CUSTOMER_MAINTAIN_ALL
    hope this helps
    regards
    Aakash Banga

  • Data Loading issue - No local currency found for plant 0001 and sales org

    Hi Guru's,
    I am trying to load data to 0PLANT_ATTR and I am getting the following error message:
    1. No local currency found for plant 0001 and sales organization 0001
    2. Plant 1010 : No sales organization found; Local currency cannot be checked
    I have also maintained the global setting for currencies in RSA1 for that particular Source System.
    Please let me know how to resolve this issue.
    Thanks in advance.

    Hi,
    Refer the lnik and the note mentioned it.
    Re: Problem when storing master data 0PLANT_ATTR-Full (i.e. Full Update)
    With rgds,
    Anil Kumar Sharma .P

  • Disable duplicate check for customer address on sales order creation

    I am using the following tables to create sales order as well as customer and addresses together. All data are coming from third party system through dblink.
    OE_HEADERS_IFACE_ALL
    OE_LINES_IFACE_ALL
    OE_CUSTOMER_INFO_IFACE_ALL
    however, whenever the address to be created already exist in OFS, the sales order import program ended with:
    Source/Order/Seq/Line    Message
    *1122/SOSHM006// Duplicate SHIP_TO ADDRESS found for SOSHM006_S. Please correct the data.*
    *1122/SOSHM006// Duplicate BILL_TO ADDRESS found for SOSHM006_B. Please correct the data.*
    how can I disable the above checking? ie: allow the address to be created even the address already exist.
    See Example below, notice that the addresses for SOSHM006_S and SOSHM005_S are identical, and addresses for SOSHM006_B and SOSHM005_S are identical, but we want them to be created as separately addresses.
    Example (first time)
    Insert into ONT.OE_HEADERS_IFACE_ALL (ORDER_SOURCE_ID, ORIG_SYS_DOCUMENT_REF, ORG_ID, ORDERED_DATE, ORDER_TYPE, PRICE_LIST, SALESREP_ID, SALES_CHANNEL_CODE, SHIP_FROM_ORG_ID, CUSTOMER_NUMBER, BOOKED_FLAG, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, OPERATION_CODE, ORIG_SHIP_ADDRESS_REF, ORIG_BILL_ADDRESS_REF) Values (1122, 'SOSHM005', 86, sysdate, 'Corporate (NOR)', 'Corporate', 1, 'CORPORATE', 90, 'SHM01', 'Y', 0, sysdate, 0, sysdate, 'INSERT', 'SOSHM005_S', 'SOSHM005_B');
    Insert into ONT.OE_LINES_IFACE_ALL (ORDER_SOURCE_ID, ORIG_SYS_DOCUMENT_REF, ORIG_SYS_LINE_REF, LINE_TYPE, INVENTORY_ITEM, ORDERED_QUANTITY, SHIP_FROM_ORG_ID, FULFILLMENT_SET_NAME, UNIT_LIST_PRICE, UNIT_SELLING_PRICE, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, OPERATION_CODE, SUBINVENTORY) Values (1122, 'SOSHM005', 'SOSHM005A_S', 'Corporate Line (NOR)', '01-09-PAC-3522-01', 1, 90, '1', 0, 0, 0, sysdate, 0, sysdate, 'INSERT', 'Mesad');
    insert into OE_CUSTOMER_INFO_IFACE_ALL(CUSTOMER_INFO_REF, CUSTOMER_INFO_TYPE_CODE, current_customer_number, org_id, COUNTRY, ADDRESS1, CITY, STATE, POSTAL_CODE, IS_SHIP_TO_ADDRESS, IS_BILL_TO_ADDRESS, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) values('SOSHM005_S', 'ADDRESS', 'SHM01', 86, 'MY', 'Ship4 479, JALAN PASIR PUTEH 31650 IPOH PERAK.', 'IPOH', 'Perak', '31650', 'Y', 'N', sysdate, 0, sysdate, 0);
    insert into OE_CUSTOMER_INFO_IFACE_ALL(
    CUSTOMER_INFO_REF, CUSTOMER_INFO_TYPE_CODE, current_customer_number, org_id, COUNTRY, ADDRESS1, CITY, STATE, POSTAL_CODE, IS_SHIP_TO_ADDRESS, IS_BILL_TO_ADDRESS, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) values('SOSHM005_B', 'ADDRESS', 'SHM01', 86, 'MY', 'Bill4 479, JALAN PASIR PUTEH 31650 IPOH PERAK.', 'IPOH', 'Perak', '31650', 'N', 'Y', sysdate, 0, sysdate, 0);
    Example (second time) - the differences are highlighted in bold.
    Insert into ONT.OE_HEADERS_IFACE_ALL (ORDER_SOURCE_ID, ORIG_SYS_DOCUMENT_REF, ORG_ID, ORDERED_DATE, ORDER_TYPE, PRICE_LIST, SALESREP_ID, SALES_CHANNEL_CODE, SHIP_FROM_ORG_ID, CUSTOMER_NUMBER, BOOKED_FLAG, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, OPERATION_CODE, ORIG_SHIP_ADDRESS_REF, ORIG_BILL_ADDRESS_REF) Values (1122, *'SOSHM006'*, 86, sysdate, 'Corporate (NOR)', 'Corporate', 1, 'CORPORATE', 90, 'SHM01', 'Y', 0, sysdate, 0, sysdate, 'INSERT', *'SOSHM006_S'*, *'SOSHM006_B'* );
    Insert into ONT.OE_LINES_IFACE_ALL (ORDER_SOURCE_ID, ORIG_SYS_DOCUMENT_REF, ORIG_SYS_LINE_REF, LINE_TYPE, INVENTORY_ITEM, ORDERED_QUANTITY, SHIP_FROM_ORG_ID, FULFILLMENT_SET_NAME, UNIT_LIST_PRICE, UNIT_SELLING_PRICE, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, OPERATION_CODE, SUBINVENTORY) Values (1122, *'SOSHM006'*, *'SOSHM006A_S'*, 'Corporate Line (NOR)', '01-09-PAC-3522-01', 1, 90, '1', 0, 0, 0, sysdate, 0, sysdate, 'INSERT', 'Mesad');
    insert into OE_CUSTOMER_INFO_IFACE_ALL(CUSTOMER_INFO_REF, CUSTOMER_INFO_TYPE_CODE, current_customer_number, org_id, COUNTRY, ADDRESS1, CITY, STATE, POSTAL_CODE, IS_SHIP_TO_ADDRESS, IS_BILL_TO_ADDRESS, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) values( *'SOSHM006_S'* , 'ADDRESS', 'SHM01', 86, 'MY', 'Ship4 479, JALAN PASIR PUTEH 31650 IPOH PERAK.', 'IPOH', 'Perak', '31650', 'Y', 'N', sysdate, 0, sysdate, 0);
    insert into OE_CUSTOMER_INFO_IFACE_ALL(
    CUSTOMER_INFO_REF, CUSTOMER_INFO_TYPE_CODE, current_customer_number, org_id, COUNTRY, ADDRESS1, CITY, STATE, POSTAL_CODE, IS_SHIP_TO_ADDRESS, IS_BILL_TO_ADDRESS, CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY) values( *'SOSHM006_B'* , 'ADDRESS', 'SHM01', 86, 'MY', 'Bill4 479, JALAN PASIR PUTEH 31650 IPOH PERAK.', 'IPOH', 'Perak', '31650', 'N', 'Y', sysdate, 0, sysdate, 0);

    Hi George Chen
    with sales order stock .. is ther a way of allocating the stock from unrestricted stock .. i understand that you have to have the stock in a "special" area to move it to the sales order?
    excuse my ignorance but what is IS-AD solution?
    thanks
    Nick

  • Data missing for info object 0 sales org

    Hi,
    I have Info object 0sales org in Free characterstics of report  and its not Navigation attribute.
    When I  drill down the 0SALES ORG the data is not coming for this 0SALESORG even if i put this info object in rows also data is not coming  and in back end multi provider data is there and in cube level also data there.
    How to resolve this error .Please advise me.

    Hi,
    I find it hard to believe.
    1. If you have data in Infocube, and if you query is based on multiprovider, then the only reason why you cannot see the data is if the characteristic is not mapped between them.
    2. Check in the infoobject properties in the query whether it's hidden. I doubt.
    When you say "data is not coming", does it means you can't see it for each record even though it's in infocube?
    -RMP

  • Sold to party field should be editable and non-Editable for diff sales org

    Hi,
        in creation of SO,i want SP field should be editable for Domestic sales org and Non Editable for Export sales org.
    please help on this.

    Dear Mohanty,
    In sales order, for domestic sles SP is editable - It is Normal process.
    Non Editable for Export sales org.
    In this how user will enter the sold to party while creating sales order.
    And did you create export customer classification in Sales org rather Distribution channel.
    Regards,
    Mani

  • Extending material master for different sales org/plant combination

    hi ,
    1 ) a material can be sold from one plant by many sales organisations. so we map this scenario in enterprise structure by the config step "assign sales org--dist channel--
    plant ". (let's say sales org A and B  selling from plant 1 and also sales org A selling from plant 2)
    when we have defined the above config step, then why we need to have material master extended for different combination of sales org and plant as in stpe 1 ?. we can just create one material master with one plant and sales org combination and based on config as in step one, we can sell material from any sales org from a plant  ?
    2) we can extend  material master for any combination of sales org/plant .....is it also possible to extend material master to different storage locations !
    regds
    pamela
    Edited by: Pamela79 on Feb 15, 2011 11:02 AM

    There are several reasons why you should extend the materails to different sales organizations and plants.
    a. The materials are normally valuated at the plant level. So, you can have different valuations at different plants.
    b. You can have different quantity stored in different plants. How do you know which plant has what quantity.
    c. You can have materail not to be sold from one plant, but you can have the same materail sold from the other, how do you block it? at the plant and materail combination, you can do it.
    d. For different sales organizations, you may want the cost and the price to be posted to different GL accounts. You can control it at sales org level of the materail.
    e. You may just want the material to be purchased but not sold, then you may not even create a sales org view for the material. But say, in future you will like to only purchase a materail from a plant and consume it for some other purpose but not sales (which u did previously), then you can block it at sales org and dbr level.
    So, these are a few reasons. But there could be many. You can have a look at the fields in the material master at sales org level and plant level and you can find it for yourself howmany parameters are there to control...
    Hope this helps...
    Regards,
    Mukund S

Maybe you are looking for

  • 24" iMac 2.8GHz "Color Profile"

    Hello,what do you think is the best Color Profile in System Preferences for your 24" Aluminum iMac?There are 14 different profiles and I do not notice much of a difference between most of them.I am using the Wide Gamut RGB Profile.I just would like s

  • Error connecing applet with oracle database

    here i m running the following code . it executes the following query "Select * from emp"; the number in the text area decides the column number to be displayed. import java.awt.*; import java.applet.*; import java.sql.*; /*<applet code=project.class

  • Help please: Refreshing a window

    Hello, I would like to refresh a window so I have try tell application "Finder" to update folder "My folder" of desktop end try It compiles but does not work, I have to do this: try tell application "Finder" to close folder "My folder" of desktop tel

  • About displaying images in web dynpro

    Hi experts, I hav a scenario..in which der's one table..whch has links for all images...and afta clickin on a lick..dat image will b displayed on side of it.. Now..where from dis links wll b comin..hw r images strd in WDABAP...where from i can get da

  • Port Forwarding Basics Help Please

    I have a WRT150N and I am running 2 desktops with XP and 1 laptop with Vista. All is working fine except I am unable to see any other computer from any given computer. Someone suggested to me the problem is I don't have any port forwarding set up on