Division problem in sales order

Hi all,
In my company there are at present 6 different divisions. Also I have created a common division as the end user was facing problems of customer extension.
1. The excise duty rates are different for all divisions.
2. When I create the sales order and if i select suppose 2 different divisions then the system is accepting. This will definitely pose a problem for me when the I create the inoice as the duty rates will be different.
Please guide me as to how to prevent the different divisions being entered at the same time in the sales order.
<b>Settings in VOV8:</b>
Check division - no dialogue
Item division - No tick
Regards,
Allabaqsh G. Patil

Hi Patil,
You can use the check division option to make sure the division of the materials entered in the sales order is the same as the one entered in the first screen of order entry. This way you can avoid materials of two different division entered in the same sales order and hence one excise duty rate would be applicable. The drawback here is you might have to extend the customers to all sales areas apart from the existing reference ones.
<b>Alternative</b>
If the excise duty is applied using a condition type with an access sequence then maybe you could include the material division as one field and apply the excise duty accordingly. I'm not with the SAP system hence not in a position to give you the field name for the material division in the sales order document. Just check the item level data you would find a field with the material division.
Regards
Nadarajah Pratheb

Similar Messages

  • BAPI - Problem in Sales order creation

    Hi Friends,
    I have problem in Sales order creation using BAPI ,I am getting a messsage - Error in creating document ,I have sent the code along with this mail ,can you help it out.
    Code:
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text FOR FIELD p_auart.
    PARAMETERS: p_auart TYPE auart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Sales organization
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text1 FOR FIELD p_vkorg.
    PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Distribution channel
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text2 FOR FIELD p_vtweg.
    PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Division.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text3 FOR FIELD p_spart.
    PARAMETERS: p_spart TYPE spart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Sold-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text4 FOR FIELD p_sold.
    PARAMETERS: p_sold  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Ship-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text5 FOR FIELD p_ship.
    PARAMETERS: p_ship  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Material
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text6 FOR FIELD p_matnr.
    PARAMETERS: p_matnr TYPE matnr   OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Quantity.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text7 FOR FIELD p_menge.
    PARAMETERS: p_menge TYPE kwmeng  OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Plant
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text9 FOR FIELD p_plant.
    PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Data declarations.
    DATA: v_vbeln            LIKE vbak-vbeln.
    DATA: header             LIKE bapisdhead1.
    DATA: headerx            LIKE bapisdhead1x.
    DATA: item               LIKE bapisditem  OCCURS 0 WITH HEADER LINE.
    DATA: itemx              LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner            LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return             LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    Initialization.
    INITIALIZATION.
    v_text   = 'Order type'.
    v_text1  = 'Sales Org'.
    v_text2  = 'Distribution channel'.
    v_text3  = 'Division'.
    v_text4  = 'Sold-to'.
    v_text5  = 'Ship-to'.
    v_text6  = 'Material'.
    v_text7  = 'Quantity'.
    v_text9  = 'Plant'.
    Start-of-selection.
    START-OF-SELECTION.
    Header data
    Sales document type
      header-doc_type = p_auart.
      headerx-doc_type = 'X'.
    Sales organization
      header-sales_org = p_vkorg.
      headerx-sales_org = 'X'.
    Distribution channel
      header-distr_chan  = p_vtweg.
      headerx-distr_chan = 'X'.
    Division
      header-division = p_spart.
      headerx-division = 'X'.
      headerx-updateflag = 'I'.
    Partner data
    Sold to
      partner-partn_role = 'AG'.
      partner-partn_numb = p_sold.
      APPEND partner.
    Ship to
      partner-partn_role = 'WE'.
      partner-partn_numb = p_ship.
      APPEND partner.
    ITEM DATA
      itemx-updateflag = 'I'.
    Line item number.
      item-itm_number = '000010'.
      itemx-itm_number = 'X'.
    Material
      item-material = p_matnr.
      itemx-material = 'X'.
    Plant
      item-plant    = p_plant.
      itemx-plant   = 'X'.
    Quantity
      item-target_qty = p_menge.
      itemx-target_qty = 'X'.
      APPEND item.
      APPEND itemx.
      Fill schedule lines
      lt_schedules_in-itm_number = '000010'.
      lt_schedules_in-sched_line = '0001'.
      lt_schedules_in-req_qty    = p_menge.
      APPEND lt_schedules_in.
      Fill schedule line flags
      lt_schedules_inx-itm_number  = '000010'.
      lt_schedules_inx-sched_line  = '0001'.
      lt_schedules_inx-updateflag  = 'X'.
      lt_schedules_inx-req_qty     = 'X'.
      APPEND lt_schedules_inx.
    Call the BAPI to create the sales order.
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
           EXPORTING
                sales_header_in     = header
                sales_header_inx    = headerx
           IMPORTING
                salesdocument_ex    = v_vbeln
           TABLES
                return              = return
                sales_items_in      = item
                sales_items_inx     = itemx
                sales_schedules_in  = lt_schedules_in
                sales_schedules_inx = lt_schedules_inx
                sales_partners      = partner.
    Check the return table.
      LOOP AT return WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error in creating document'.
      ELSE.
    Commit the work.
        COMMIT WORK AND WAIT.
        WRITE: / 'Document ', v_vbeln, ' created'.
      ENDIF.
    Regards,
    Dinesh

    what messages u are gettting in RETURN ? Please check the RETURN tables data.
    [code]CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
    EXPORTING
    sales_header_in = header
    sales_header_inx = headerx
    IMPORTING
    salesdocument_ex = v_vbeln
    TABLES
    return = return
    sales_items_in = item
    sales_items_inx = itemx
    sales_schedules_in = lt_schedules_in
    sales_schedules_inx = lt_schedules_inx
    sales_partners = partner.
    Regards
    Prabhu

  • I have a problem regarding sales order line item with confimed quanity

    Hi Experts,
    I have a problem regarding sales order line item with confimed quanity with '0'  with delivery block but confirming the sales order quantity once the order is released from credit check.
    The situation arises as per the below scenarios.
    Scenario - 1 -  When the sales order has two line item - one line item with confirmed qunaity in the schedule line and for the 2nd line item there is no available stock for the Material xxxxxx.
    Initially the sales order is created for the line item 2 with confirmed quantity = 0, and having the delivery block = 01 for the Material xxxxxx  and the order is set with credit check.  Once the order is relased from the credit check.  The quanity for the item 2 where the confirmed quantity will be = 0 ( Where it is not changing the confirmed quantity)
    Scenario -2-  Updating the order qunaity for the line item 2 as (9Pcs) it will goes to credit check and save the order.
    Maintain the stock for the line item 2 ( 5 Pcs).
    Once the order is released from the credit check.  Then  for the line item 2 the confirm quanity will be seting to 5 Pcs with Delivery blcok 01.
    This should not happen, When the credit check is released even though if it has stock based on the delivery blockl it should set the confirmed quanity to Zero.
    Can you please help me how to solve this issue.
    Looking forward for your reply.
    Thanks and Regards,

    Hi,
    I agree with your point.  In the sales order When the complete delivery check box is enabled where the confimed qty is set to zero, it is fine but when we save the orderr it goes to credit check.  Once we release the order using VKM3 where in the sales order the confimed quantity is setting to 5,  But it should set to Zero quantity.  Quatity should not be get confirmed it should be Zero Quantity. 
    Further in SPRO - customizing in the deliveries blocking reasons - It has a tick mark in the confirmation blcok.  But we dont want to remove the - Confirmation Block tick mark
    Please any one can help me if you have any solution to solve this problem.
    Thanks and Regards.

  • Condition Period Problem in Sales order -  Need help

    Hi Gurus
    I am testing Sales Order back dated
    Condition period Problem in Sales order
    example for you to understand
    Sales Order where PO date is 17.12.2007
    Del Date & Price date is 13.02.2008
    Then it is not calculating IN: A/R BED %IN A/R BED totalN A/R CESS [1621]
    But if i do it after 14 feb 2008 then it is calculating IN: A/R BED %IN A/R BED totalN A/R CESS [1621]
    When I do it with current date it is calculating IN: A/R BED %IN A/R BED totalN A/R CESS [1621] say date is 9-5-2008
    I am not able to trace out problem, kindly help me from where I do I check and why this is happening.
    Rajesh Chalke

    Hi,
    I am not sure if this solves your problem, but I am suspecting that this might be due to the 'valid on date' of the condition records created for the relevant duty condition types.
    Since it was a recent regulation and VK11 usually defaults current date as the valid date, that condition record may have been valid only from the recent date on which it was created.
    Check the date in VK12 (To find the exact selection parameters, check the pricing analysis in the sales order which will display the exact condition record which is being selected as of current date.) Check for the same parameters; change the date to relevant date in the past and recreate the sales order. Hopefully this should solve the issue.
    Cheers,
    KC

  • Problem in Sales Order with specific condition type.

    Hello Experts,
    I'm facing a problem in sales order creation for a specific condition type.
    the actual scenario is as below,
    We have created a new condition type for special discount.This condtion type is applicable only for specific sales channels.Also the discount percentage has to fetched from a custom table.
    To achieve this I've written a user exit "RV64A999"
    In the FM, i've calculated the subtotal and fetched the discount percentage and calculated the discount amount. After implementing this, the SO were been created properly. for all the line items the discount amount was getting calculated properly.
    But then I added a condition at the top of code in exit that the calculation for the new condition type should happen only for selected sales channels.
    But after adding this condition in code, i'm facing problem. Now when I create/ change any SO, the discount amounts are getting calculated incorrectly. I'm getting discount amount even if the line item subtotal amount is zero (0).
    Any help or pointers reagrding this issue will be very helpful and highly appreciated.

    Hi ..
    Check your config. again or debug the routine code with your ABAPer and find the problem area.
    -Maharshi

  • Rounding off value problem in sales order

    Hi All,
    This is related to a rounding off value problem in sales order.
    The problem is described by an example which is as follows -
    Selling Price of Material A = Rs. 176.76
    Excise charged = Rs. 21.80
    Total Price = Rs.176.76 + Rs.21.80 = Rs. 198.56
    On this total Trade Discount (ZDTD) having access sequence,is calculated  at the rate of 4% = Rs. 7.94
    But the condition base value after the discount is showing Rs.198.60 instead of Rs.198.56
    I want the system to reflect the value as Rs.198.56 intact and it should not round up to the nearest value i.e. Rs. 198.60
    Why is this happening? Is it possible to reflect the exact value? If yes what is needed to be done?
    The commercial round off is activated for the DIFF Condition Type.
    Looking forward to some valuable suggestions.
    Thanks & Regards
    Priyanka Mitra

    Hi Ramesh,
    Thanks for your suggestion but the problem has been solved by me.
    Regards
    Priyanka Mitra

  • Problem about sales order stock stock transfer and batch determination

    Hi, experts, I get a problem about sales order stock stock transfer and batch determination.The following is the current situation of my system:
      In OMCG I assigned search procedure ME0001 to both 311 and 311 E and ticked check batch. After that, I found  that if iI need to tranfer unrestricted-use material from storage location 1000 to 2000 with movement type 311, I just need to input * at the field batch, then the system will display all of the available batches. But for the transferring of sales order stock with movement type 311 E, after I input * at the batch field, no batch is displayed and there is also no message from the system.
      Can anybody help me? Is there anything else I need to do? Thanks very much.

    I think my question is not clear, actually I tried 562 E , 411 E and 413 already. all the transaction looking for the sales order but unfortunatly the sales order is deleted  from SAP.

  • Problem with sales order and Service order

    Dear Guru's
    We have a real problem with sales orders and service orders and how we treat these. For a project that uses a WBS, it's not a problem to manipulate SAP to give us a list of shortages (orders with no or limited supply) for each order, but for some reason our after sales orders and our service orders do not work this way.
    Thanks and Regards,
    Deethya.

    CLOSED

  • The problem for sales order ra settlement

    dear friends
    i encounter a problem in sales order settlement
    1 we use rev based result analyse ,and with profit realization
    2 when the so status is rel ,the valuation base is Q,when the status is TECO and finl ,the valuation base is J
    3 when we partially do the billing and run the ra settlement ,the poc = cumulate act rev/plan rev * actual cost in current period(i think this should be the cumulate actual cost ),and it lead to the error calcuation of the COGS,i do not know where the confirguation is error ,is in valuation base ?
    can you help me
    thank you

    dear friends
    i encounter a problem in sales order settlement
    1 we use rev based result analyse ,and with profit realization
    2 when the so status is rel ,the valuation base is Q,when the status is TECO and finl ,the valuation base is J
    3 when we partially do the billing and run the ra settlement ,the poc = cumulate act rev/plan rev * actual cost in current period(i think this should be the cumulate actual cost ),and it lead to the error calcuation of the COGS,i do not know where the confirguation is error ,is in valuation base ?
    can you help me
    thank you

  • Error in the division to create sales order

    Hello,
    I need a help....
    I am creating a sales order and put the material the system returns me the following error -
    Message V1599
    Is not impossible determinated division for the item 00010. The item has the plant BD01, and assigned to this company BDBR. Put the division is mandatory for this company, The problem is that customizing is incomplete.
    I looked at all possible points in customizing and could not identify where the missing input....
    I look forward to your help....
    Thanks,
    Tatiane

    Hello Lakshmipathi,
    If I remove the fleg the company's balance sheet will not be done by business area. Fix my problem, but it is not the correct the balance would be incomplete contabil.
    I already checked in customizing the possible failures, I looked at the transaction OMJ7 was assigned Plant / Division and Business area. In the material master its ok com division correct.
    I no longer know where to look...
    Thanks,
    Tatiane

  • Problem migrating sales orders

    Hi all,
    I have a problem with the migration of sales orders from one SAP system to other.
    Scenario: A SAP system with sales orders and with its own condition types (prices and discounts). The data of sales orders pending for billing have been extracted to excel files and it's going to be transfer to the new system using a custom batch-input.  In the new system, I have created a manual condition type ZP99 which it'´ll contain the net value for prices (in KOMV-KWERT) because it has different condition types.
    The problem is that I need to keep the unit value (conditional amount) in the field KOMV-KBETR, but when I execute the batch-input, because rounding issues, the value loaded in KOMV-KWERT is modified in the sales order.
    E.g.:
    Initial values in excel file:
    Target quantity = 439
    Conditional value = 950,46
    Conditional amount  is calculated = 950,46/439 = 2,1650569476082004555808656036446 (rounding problem)
    After executing batch-input:
    Conditional value is modified to = 952,63
    Conditional amount will be rounded = 2,17
    Please, could you give me some advice to keep initial values?
    Thanks in advance.
    Edited by: Eduardo Hernandez Nieves on Aug 5, 2009 6:45 PM

    Hi,
    I have found a solution to my problem: I changed ZP99 to fixed amount (calc type), and I removed the division to obtain the unit price in the batch input. This unit price will be put in a subtotal position.
    Thanks.

  • Sales order division change after sales order is saved.

    Q1.
    on sales order  XXX it has been noted that the division is incorrect.  Can this be changed to reflect the correct division on sales order without causing any issues to the milestone billing / invoicing
    already raised.
    Q2.
    on sales order XXXa the same issue has occurred. Please advise the best solution to this without
    affecting the sales order, ie. does the customer require to be extended
    Your assistance is greatly appreciated.
    Thanks in Advance.

    Hi
    For Qn 1 Which division you are talking about is it header or item?
    1000,10,00 sales area and customer belongs to this sales area 1000,10,00 but the material belongs to division 02 in MMR
    In this case header division is 00 and item division is 02
    If the mistake which you are mentioning about is item division there is no problem
    Untick the item division in VOV8 and keep check division as blank and try
    If the mistake which you are mentioning about is header division then nothing can be done you need to reverse the bill nad reverse pgi and delete delivery and reject the sales order
    Once the document(sales order is created that is assigned to particular area under no circumstances the sales will be changed) that means changing the assignment is not possible
    Qn no 2
    You can extend the customer to the new sales area but that will not impact the already created order and hence that needs to be closed and created fresh
    Once the customer is extended to a new sales area the already created orders cant be assigned to your liking to the new sales area
    Regards
    Raja

  • Free Goods Problem in Sales Order

    Hello All,
    The problem is related to Free Goods in Sales Order which is given with an example -
    We have maintained Free Goods ( T Code - VBN1) in inclusive scenario which is as follows -
    For 210 PAC (Pack) of Material A 18 PAC  Free.
    Where 1 PAC = 20 BT (Bottle) and 20 PAC = 1 CV (Case Pack)
    In the material master of Material A the Base Unit Of Measurement (UOM)  = PAC and Sales UOM  = Blank so that we can use any conversion factor maintained for the material.
    The conversion factors maintained for Material A are as follows -
    1 BT = 1BT
    1 PAC = 20 BT
    1 CV = 20 PAC
    Now when we are raising sales order for 11 CV  the free goods are not generated in the Sale Order.
    Again if we maintain the Sales UOM in CV  and raise the sales order it is showing :
    10 CV as main item and 1 CV as Free which is wrong because in the conversion factor we have already maintained 1CV = 20 PAC ,  Whereas in the inclusive scenario it is given 11CV = 210 PAC and 210 PAC = 18 PAC is free.So in any case it is taking into account 2 more PACs.
    Please suggest what need to be done in this case in respect of SD  /  ABAP(if needed).
    Thanks & Regards
    Priyanka Mitra

    Yes Priyanka
    This is a very interesting  and a challenging issue or question
    I think because of the prorata calculation type the extra 2 units  is coming
    This logical  error has happened to me too
    Inclusive 210 units  means we have defined as 192 + 18 in VBN1
    But the system determines the free goods in sales order as 190 + 20 that means there are 2 units which are going free than what has been maintained as condition record
    But system converts our logic into its own thro that calcultion type PRO  RATA which is the main culprit here
    So it requires ABAP help
    This qn should be awarded points (unfortunately i am not able to do so)
    Regards
    Raja

  • Assorted Free Goods Problems in Sales Order

    Hello All,
    The problem is related to Assorted Free Goods Pricing in Sales Order.I have two queries which are provided below with example:-
    In the sales order I am giving 2 Line Items. -
    Material A & Material B of total quantity 10PC Then 1 PC of the Material C as 3rd line item
    in the sales order is populated which is maintained as an assorted free good having Manual Free Item Category for eg. ZFV5.
    Similarly line items A & B combined of 10 PC = 1 PC of Material C having Manual Free Item Category for eg. ZFV5.
    Again if 10 PC of Material A or B are chosen respectively =  1 PC of Material C having Manual Free Item Category for eg. ZFV5 .
    _Now I want to configure the following**_ -
    1) The system will include the cost of the Assorted Free Good Item within the Main Item.
    2) While raising a Sales Return Order for the above mentioned Sales Order it is observed that the manual free item category ZFV5 is changed to the Return Main Item Category whereas I want the item category to be picked up is Return Free Item Category against the Manual Item category .
    Now considering the above scenarios please suggest solutions to attain my requirement.
    Looking forward to some valuable suggestions.
    Thanks & Regards
    Priyanka

    Hi Priyanka
    As far as what i understood from your post your requirement doesnt seem to be possible in standards
    If you want the cost to be transferred to the main item then in VTFL at item level there is a check box of cumulative cost
    That has to be ticked
    Constraintsin free goods in R3
    Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
    Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    Free goods are only supported for sales orders with document category C (for example, not quotations).
    Free goods are not supported for deliveries without reference to a sales order.
    Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    If you defined a free goods for variants in a generic article (only SAP Retail), you can only process the variants in the purchase order and goods receipt individually (as single articles). In other words, you cannot process them using the generic article matrix.
    Regards
    Raja

  • Quantity problem in sale order

    Dear Friends,
    I had a problem in sales return order. The problem was when i take sales return with the reference to invoice it coping all the data from invoice, up to this point ti is fine, If i changed in line item material quantity 10 insted of 100. In condition it is not reflecting the value, it is capturing hole invoice value insted of picking 10 quantity.I need to solve this problem as a priority 1 so help in this issue.
    Regards
    Eswar

    Dear eashwar
    Check the copy control in VTFA whether these are maintained for your item category.
    Copying requirements    002
    Data VBRK/VBRP         002
    Billing Quantity              A
    Pos/neg.quantity           +
    Pricing Type                  D
    I think in either of the above, your settings differs and hence the problem.  If it differs, please maintain the above and retry.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Images do not display in Acmevideo sample application WebApp_8i.jws

    Hello, The JDeveloper 3 Acmevideo web application for Oracle8i is a nice-looking web application. There is a syntax fault in the Java source files WebAppReports.java, WebApp.java of the JDeveloper 3 workspace WebApp_8i.jws In the file acmevideo_deplo

  • ICal subscriptions won't update in iOS7

    Since updating to iOS7, some iCal subscriptions don't update, TripCase, particularly.  Suggestions?

  • Problem in Workflow. GR n Step Workflow

    Hi, i am modelling an n step workflow for GR approval. i have created one task as a background task. in this task i am callinga a zmethod of BOB BUS2203. which in turns calls a FM which fills the approval table and returns to workflow. i tried to exe

  • Code Inspector Development

    Hi all,         We have been assigned to make our own code inspector  in 4.6 right from scratch , at this point of time we are not able to understand how to proceed.Kindly help with the flow. Regards Gaurav Mehrotra

  • Flash Builder 4.5 and Native Video for Android

    I am currently trying to reproduce an application created in XCode for the apple app store that's main function is to play videos. Is it possible to access the Native Android video player to play videos that have been stored locally inside the app us