Assign sales quantities for each customer.

Dear Gurus,
i have a limited production of a material and there are many buyers for it.
so i need to set a solution in order to assing to each customer a determinated quantity of this producto for each month.
ie:
Production of material A by month: 100 units.
                       Quantity asign     Month
Customer A       25                     July
Customer B       25                     July
Customer C      40                      July
Customer D      10                      July
I would like to know if there are any standar solution to solve it.
Thanks ind advance.
Best regards.
Juan.

HI
if the quantities are allocated for particular customer then you can control by using under deliverance tolerance in CMR 
ex if you want to give 25pcs out of 100pcs for customer A then mention 4%
use VD51 for minimum delivery quantity in shipping section
check in MMR :sales:Sales org2 Tab minimum order and delivery quantities
maintain  0VLP check over delivery quantity
with this you can control
Regards,
Krishna.

Similar Messages

  • How to get Sales rep information for each customer

    Hi
    For each record in ra_customers, I want to find associated Sales rep for each customer.
    Can some one please tell me what table stores this information?
    Thanks
    Aali

    Try
    SELECT rc.customer_name, rc.customer_number, jrs.NAME
      FROM jtf_rs_salesreps jrs, ra_customers rc
    WHERE rc.primary_salesrep_id = jrs.salesrep_idHope this helps,
    Sandeep Gandhi

  • MDX Query for Average customer first sale amount for each year

    Hello,
    I new to MDX, and I am looking to build a query that would get all the first sale amount for the customes and average that.  The intent is to use find an average each year.   I am looking to use this against the adventure works database.   
    I am not sure exatcly how to start this .  Any help is much appreciated.
    J

    Hi,
    I'll do it in several stages.
    let's first define an ordered set of date/sale to one customer over all periods:
    SELECT
    {[Measures].[Internet Sales Amount]} ON 0
    NonEmpty
    [Date].[Calendar].[Date]
    [Customer].[Customer].&[15561]
    ,[Measures].[Internet Sales Amount]
    ,[Customer].[Customter].&[15561]
    ) ON 1
    FROM [Adventure Works];
    we retain the first line of the result set  with item(0):
    SELECT
    {[Measures].[Internet Sales Amount]} ON 0
    NonEmpty
    [Date].[Calendar].[Date]
    [Customer].[Customer].&[15561]
    ,[Measures].[Internet Sales Amount]
    ,[Customer].[Customer].&[15561]
    ).Item(0) ON 1
    FROM [Adventure Works];
    next, for each year we define a measure that will retain the first sale for each customer
    (I  limit the customer set to the first 2000)
    WITH
    MEMBER [Measures].[Mymeasure 2006] AS
    NonEmpty
    Exists
    [Date].[Calendar].[Date].MEMBERS
    ,[Date].[Calendar].[Calendar Year].&[2006]
    [Customer].[Customer].CurrentMember
    ,[Measures].[Internet Sales Amount]
    ,[Customer].[Customer].CurrentMember
    ).Item(0)
    ,[Measures].[Internet Sales Amount]
    MEMBER [Measures].[Mymeasure 2007] AS
    NonEmpty
    Exists
    [Date].[Calendar].[Date].MEMBERS
    ,[Date].[Calendar].[Calendar Year].&[2007]
    [Customer].[Customer].CurrentMember
    ,[Measures].[Internet Sales Amount]
    ,[Customer].[Customer].CurrentMember
    ).Item(0)
    ,[Measures].[Internet Sales Amount]
    SELECT
    [Measures].[Mymeasure 2006]
    ,[Measures].[Mymeasure 2007]
    } ON 0
    ,NON EMPTY
    Head
    [Customer].[Customer].[Customer]
    ,2000
    ) ON 1
    FROM [Adventure Works];
    We then take the average for each year:
    WITH
    MEMBER [Measures].[AVG cust first sale 2006] AS
    Avg
    Head
    [Customer].[Customer].[Customer]
    ,2000
    NonEmpty
    Exists
    [Date].[Calendar].[Date].MEMBERS
    ,[Date].[Calendar].[Calendar Year].&[2006]
    [Customer].[Customer].CurrentMember
    ,[Measures].[Internet Sales Amount]
    ,[Customer].[Customer].CurrentMember
    ).Item(0)
    ,[Measures].[Internet Sales Amount]
    MEMBER [Measures].[AVG cust first sale 2007] AS
    Avg
    Head
    [Customer].[Customer].[Customer]
    ,2000
    NonEmpty
    Exists
    [Date].[Calendar].[Date].MEMBERS
    ,[Date].[Calendar].[Calendar Year].&[2007]
    [Customer].[Customer].CurrentMember
    ,[Measures].[Internet Sales Amount]
    ,[Customer].[Customer].CurrentMember
    ).Item(0)
    ,[Measures].[Internet Sales Amount]
    SELECT
    [Measures].[AVG cust first sale 2006]
    ,[Measures].[AVG cust first sale 2007]
    } ON 0
    FROM [Adventure Works];
    Philip,

  • Maintain Sales area for a customer...if this is through VOR1 & VOR2..HOW?

    Hi All,
    i forgot to add the sales area for a customer. now how can i maintain the sales area .  sales org,, dist. channel., and division.
    if you suggest to check thjrough VOR1 and VOR2. please let me know how to proceed through this. what are the parametres i choose.
    i go through the other forms on this subject, let me know more.
    Thanks in advance.
    sachin.s

    Dear, Sachin
    Your question is not directly clear but let me answer your question from 2 angles.
    If you mean to say that your customer does not have the needed sales area then please enter the sales area when you do XD01 and enter the customer number this will extend him.
    If you mean to say that the Sales Area is not in configuration period then please go to SPRO, Enterprise Structure Sales n Distribution Define all the needed Sales Organization, distribution channel, and division. Then assign your Divisions to your distribution channels, and do all relevant needed assignments. Then make sure your sales order document is allowed to do business on that particular Sales Area.
    good luck

  • DIFF SALES GROUP FOR ONE CUSTOMER

    Hi All,
    i want to know in CMR v can maintain only one sales group for one customer then how can v possibly maintain 3types of sales group for one customer, for its condition records to be differentiated for pricing.
    Thanx for reading

    hello again.
    actually, you can.
    let's say you have 3 sales areas...(sales org + dist chnl + div)
    1000 + 01 + 01
    1000 + 02 + 01
    1000 + 03 + 01
    you use VD01 or XD01 to create CMR for customer nr A1001, in sales area 1000 + 01 + 01.  you use the same t-codes to extend the customer A1001 in 1000 + 02 + 01 and 1000 + 03 + 01.  so 3 CMRs using only 1 customer nr.
    let's say further you have 3 sales groups (which you assign to sales office and sales area).  these are:
    A01
    B01
    C01
    you can then have the possible arrangement below:
    1000 + 01 + 01  =  A01
    1000 + 02 + 01  =  B01
    1000 + 03 + 01  =  C01
    regards.

  • How to print the out put for each customer in table

    Dear SDN Team Members!
    I've created a report and the output is displayed on the smartform for the same.
    In this report, I've selected a list of  customers and the report has to print the list of transactions being made by each customer in Smartform. 
    These details must be printed seperately for each customer. 
    I'm thinking of control statement AT NEW & AT END.  But i don't know how to use them exactly so that the output is displayed seperately for each customer in the Smartform.
    Please provide syntax and points will be awarded for.
    Best Regards!

    Hi Krsihna,
      Its simple.
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting formname = '<form name>'
    importing FM_NAME = lv_func_name.
    loop at itab.
    at new customer.  "customer must be the fisrt field in the itab and itab mus be sorted by customer.
    call function lv_func_name
    endat.
    endloop.
    Regards,
    Ravi

  • 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?

  • A report which displaies Bank Incoming payments for each Customer

    Hi All,
    could anyone show me a report which displaies the Bank Incoming payments for each Customer?
    Thanks
    Gandalf

    Yes u can very well see the Off setting account ( Bank account number ) in the line item report.
    For that small customization is requiered so as to activate the off setting account display in all line item report.
    Just implement the below changes
    NodeFinancial Accounting
    PathIMG u2192 Financial Accounting u2192 Financial Accounting Global Settings u2192 Business Transaction Events
    1                    Active Settings
    Setttings u2192 Products u2192 u2026 of a customer
    Following new product added and activated:
    Product                        -            OFF
    Text                 -            Offsetting account
    Active               -            Yes
    Setttings u2192 P/S Function Modules u2192 u2026 of a customer
    Following new event added:
    Event                      -           00001650
    Product                                    -            OFF
    Ctr                               -            (Leave Blank)
    Appl.                            -            (Leave Blank)
    Function Module -            LINE_ITEMS_GET_GKONT
    The above settings enable the function module for displaying the offsetting account in line item display.
    Ritesh

  • How to delete sales area for a customer?

    Hi Experts,
    Are there any BAPIs or Fucntion modules that can delete sales area for a customer? What are the correct parameters should I fill in?
    If there's no BAPI or Function module... Kindly please assist me on how to execute the correct transaction to delete it.
    Thanks in advance!

    Hi Prasanna,
    I checked transaction VD06, indeed that it shows details for the sales area of a customer... but how can I delete the sales area data? There is a deletion flag for it? I tried to flagged it to deletion but when I tried to display it again through transaction XD03, it just give me the warning message 'Customer 20000702 is marked for deletion in the sales area selected' then it displayed the sales area...
    I checked the KNVV table and the data still exists however the field for deletion flag is raised to 'X'.
    I'm not sure if this is the proper way to delete a sales area. Can you please confirm?
    Thanks in advance!

  • 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

  • How to find the sales organization for the customer (VKORG)

    Hi all,
           I have the customer number(KUNNR) and company code(BUKRS),
           Now i want the sales organization for that customer(VKORG).
           Please give me logic to find the sales org for that customer.
    Thanks,
    Ravi

    REPORT ZTEST3.
    parameters:
    p_kunnr like knb1-kunnr,
    p_bukrs like knb1-bukrs.
    data:
    w_kunnr like knb1-kunnr,
    w_vkorg like knvv-vkorg.
    select kunnr from knb1
    into w_kunnr
    where
    kunnr eq p_kunnr and
    bukrs eq p_bukrs.
    select vkorg into w_vkorg
    from knvv
    where kunnr eq w_kunnr.
    write:/ w_kunnr,p_bukrs,w_vkorg.
    endselect.
    endselect.

  • Finding 5 most recent records for each customer with abnormal order amounts

    The database consists of the following tables:
    create table dbo.customer (
    customer_id int identity primary key clustered,
    customer_name nvarchar(256) not null
    create table dbo.purchase_order (
    purchase_order_id int identity primary key clustered
    customer_id int not null,
    amount money not null,
    order_date date not null
    Implement a query for the report that will provide the following information: for each customer output at most 5 different dates which contain
    abnormally high or low amounts (bigger or less than 3 times SDTDEV from AVG), for each of these dates output minimum and maximum amounts as well.
    Possible result: http://triontp.pop3.ru/333.gif

    amount Not Between stdev_amt - 3 * avg_amt And stdev_amt + 3 * avg_amt
    vice versa. 
     amount Not Between avg_amt - 3 * stdev_amt And avg_amt + 3 * stdev_amt)

  • How  Assign a Buyer for Each Material

    Dear experts ,
                        How  Assign a Buyer for Each Material ,  for example,This person is going to buy this material in purchase dept. is there any  possiblities
    regards,
    Raja

    hello,
    u can achieve same results by following simple way
    create purchase document types for example for raw material purchase,consumable purchase etc
    then assign buyer from personal setting from each buyers computer.
    regards
    kedar

  • Assigning sales manager for a sales org

    hi experts
      where to assign the sales manager for a particular sales org. (sales area)???

    Hi
    You need to first create a partner function by that name sales manager in partner determination in customizing. You then need to create a sales manager in XD01/VD01 and assign this in the partner functions tab to your customer (sold to party) for which you want to create sales transactions.
    Hope this helps
    Chandra Kiran

  • 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

Maybe you are looking for