Partner Determination Problem in Sale Order..

Dear Gurus,
Sold-to Party : 6
Shipt-to Party  : 7,8
When creating a sales order when I go for selecting a ship to party , in my case the Sold-to party has multiple ship to parties, then the system gives me this message
Top node 6 for ship to 7 not maintained / ship to is not
valid
Message no. 8W 321
Diagnosis
The top node check is activated in Customizing.
Note:
SP is created by using the account group : 0001
SH is created by using the account group : 0002
I couldn't be able to find where i made a mistake.
Thanks & Regards,
Venkatesh.S.P.

Dear Venkatesh,
Please go to Partner determination in the IMG >Sales and Distribution>Basic functions then go to Set Up Partner Determination for Customer here again you select your partner determination procedure then click on partner functions in procedure now system will Change view of the "Partner functions in procedure " screen here you remove the check in the Not modifiable check box for the Ship to party,Bill to party and payer partner functions.
Not modifiable check mark keep only for SP partner function.
Do the same process at all levels
Set Up Partner Determination for Sales Document
Set Up Partner Determination for Sales Document
Set Up Partner Determination for Delivery      
Set Up Partner Determination for Billing Header
Set Up Partner Determination for Billing Item  
I hope this will help you,
Regards,
Murali.

Similar Messages

  • Customer Hierarchy Partner determination in a Sales Order using Payer ?

    Dear SD Experts/Gurus
    We use Customer Hierarchies extensively in Sales Orders for Pricing & Rebates and it all works fine.
    The Hierarchy structure consists at the bottom level of a SoldTo linked to a Hierarchy Customer and many SoldTos can have the same Hierarchy Customer.
    We set price conditions at the Hierarchy Customer and that all works fine.
    We would like to change our Customer Hierarchy to link the Hierarchy Customer to the Payer rather than to all the individual SoldTos.
    This is because we have many SoldTos linked to 1 Payer and this will allow us to have simpler Customer Hierarchy structures making it easier to setup and maintain.
    I have changed the SAP configuration to do this and I can certainly maintain the Customer Hierarchy without any problem using transaction VDH1N.
    But when I create a Sales Order, the Hierarchy Customer does not get pulled through to the Sales Order Header Partners based on the Order Payer and hence no Hierarchy Customer price conditions are pulled through.
    Is what I'm trying to do possible in SAP ?
    If so please advise how this can be achieved.
    Thanks David
    Edited by: David Steele on Apr 15, 2008 1:57 PM

    Hello,
    I have a similar requirement, although we are building the hierarchies directly in CRM (as we are with BP's in general), and I am using hierarchy category 01 - PRICING.
    What I have found is that a sold-to BP must:
    1. be assigned to a hierarchy node
    2. appear TWICE (!!!) in the document part.det.procedure, once in partner function 000001 (sold to) and again in partner function 00000121 (Authorized partner: sold to).
    When the sold to customer exists in both functions within the document, I am able to determine the hierarchy node properly.
    Now, my question is, can anyone guess why the main partner (sold to) must appear twice??? or, is this an error in my customizing?
    Thank you in advance for your help, and I do hope my observation can help others find a solution.
    Regards,
    Allon
    PS in terms of customizing, I used the following:
    partner function 00000001 - sold to
    partner function 00000121 - Auth. Partner: Sold-to Party
    access for Auth. Partner: 0017 - current partner: sold to *this copies the sold to partner into this partner*
    partner function 00000076 - Hierarchy Node Partner
    access for hier.node partner: CRM_PARTNER_G Pricing hierarchy
    The last bit presupposes that the hierarchy is set up using hierarchy category '01 - pricing'.
    Message was edited by:
            Allon Riczker - Added configuration steps

  • Bill-to-Party and Payer Partner Determination in CRM Sales Order

    Hi,
    In ECC, the sold-to-party has different bill-to-party and payer for each sales areas .For example:
    Sold-to-party:2001826
    For 8000 sales org/72 distribution channel:
    Payer: 2004818
    Bill-to-party: 2004818
    For 2000 sales org/ 02 distribution channel:
    Payer:2001826
    Bill-to-party: 2001826
    These business partners are in CRM system and the relationship data based on sales organization exists in CRMM_BUT_FRG0081 database table.
    I customize access sequence for bill-to-party and payer in CRM system which uses CRM_PARTNER_A by using Sold-to-Party as source. However it does not determine via this access sequence. Do you have any idea why the system does not use this relationship info?
    Best,
    Damlanur

    Hi there,
    Please use note 493947 to ensure all the manual configuration is in place. Also the item category for the plant item must be ATP relevant, the following code check this:
    FILL_BTM_PARTNER_PLANT SAPLCRM_DOWNLOAD_MAP
      check if item type is relevant for ATP
        check not ls_item_type-atp_profile is initial.
      map plant to business partner
        lv_loc_number = <ls_bapisdit>-plant.
        lv_loc_type   = gc_atploctype-plant.
        call function 'CRM_CONFIRM_MAP_LOC_TO_BP'
          exporting
            iv_loc_number    = lv_loc_number
            iv_loc_type      = lv_loc_type
          importing
            ev_partner       = lv_partner_no
          exceptions
            no_mapping_found = 1
            others           = 2.
        check sy-subrc = 0.
    If this still doesnt resolve the issue then you will have to debug the transfer queue stopping at function CRM_SALESDOC_MAP_BAPI2MBDOC to see why the data is not mapped.
    I hope this helps,
    Kind regards,
    Vanessa.

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

  • Partner function SP determine in the sales order

    Dear SD Gurus,
    I want to determine the partner function SP in the sales order, when not entered anyvalue, the sales should give incopleteness check.
    But what the client here wants is that, sometimes the client wont enter any value on the sales order,so he will deleted the automatcally determined part function on the partner tab of the sales order header.
    Here the partner function should be not mandatory (because when the client wants to deleted the line ofn the header tab,system doesnt allow to do it). Also the partner function should not be not modifiable, because he may want to change it when sth wrong has been entered.
    So to automatically determined the partner function on the sales order,either modifiable or mandatory should be selected as I know.But when both are selected, this is not a good way for usage.
    Do you have any suggeston to make this partner functon automatically determine on the sales order and when wanted, deleted?
    Thanks
    Jack

    Hi,
    Try this way and see whether it's what is require by the customer.
    First of all what is this Partner function your talking about?
    Can you maintain this Partner function for each customer? If possible you can try this method.
    Go to below IMG path:
    Sales and Distribution / Basic Functions / Partner Determination / Set Up Partner Determination / Set Up Partner Determination for Customer Master
    Then highlight the "Partner Determination Procedure"
    Double click on "Partner Functions in Procedure" node
    If you haven't maintained your partner function there, add it
    Set it Mandatory if you want it to be set mandatory for each customer.
    Save
    Then go to below IMG path:
    Sales and Distribution / Basic Functions / Partner Determination / Set Up Partner Determination / Set Up Partner Determination for Sales Document Header
    Highlight the relevant Partner Determination Procedure for Order Header
    Double click on "Partner Functions in Procedure" node
    Add If you haven't maintained your partner function there, add it
    Don't Mark it as mandatory or not modifiable
    Save
    Now go to you customer master from XD02 transaction.
    System will ask you to add new partner function as it is Mandatory.
    Now create a Sales order from that customer.
    System will automatically copy that Partner function to you Order Header.
    If user wants to delete it, he can delete it from there.
    If user want to change it, he can change it from there.
    Hope this helps !
    Best regards,
    Anupa

  • Partner function change in sales order

    Hi,
    I have partner function ZR (sales employee) defined for customer master. I enter a particular employee no 100 in the customer master. and subsequnetly the partner function ZR gets copied into a contract with value 100.
    now another user is trying to change the value to 200 from 100, but the system is giving a message that partner function ZR not defned for partner procedure.
    If i go to partner determination for  sales order , then i see that there is no partner function ZR assigned for a patner procedure.
    my question is that the above is happening due to lack of master data for emploee id 200 from HR module or is it that we have to maitain partner function ZR for sales order (I have seen that ZR is not maintained for sales order. ).Iam assuming that for contracts aslo, the config needs to be done in parnter determination for sales order.
    regards
    sachin

    Hi Sachin,
    I assume that you have configured the partner functions for Customer master including ZR, also enabled ZR for the partner procedure applicable for the sales document type.
    If this is done, then the partner function ZR should be available for entry in the sales order.
    Now the problem is that
    You shoudl have assigned the partner function ZR to some account group, while creating this partner function, and customer 100 shoudl have belonged to this account group.
    However the customer 200 whom you want to update as the new ZR doesnt belong to this account group.
    You can use only those customers belonging to the account group which is linked to the partner function ZR as sales employees.
    So find out the customers belonging to the account group, which is linked to the partner function ZR. Make sure their masterdata is correct for the sales area which you wnat to use. If all the things satisfy, then you should be able to use them as ZR partner in your sales document.
    This should solve your problem.
    Pls reward if this helps you to solve the problem

  • 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

  • Account Determination Procedure in Sales Order

    Hi All,
    I have a problem regarding account determination procedure in sales order.
    When I create a new sales document, and go to menu Environment --> Analysis --> Account Determination, the information about the procedure is blank.
    For your information, I already assign this sales document type to a billing type.
    This billing type also already has an account determination procedure, which is KOFI00.
    The G/L Account in VKOA also already been set up for the combination of Condition Type - Chart of Acct - Sales Org - Account Assignment Category in Customer and Material - Account Key.
    But every time I create a new sales order, I cannot get the account determination procedure.
    Anyone can please help me to solve this problem?
    Thank you in advance

    Hi Surya,
    Have you assigned Billing type For Ex: F2 or F1 to respective Sales Order Type in Sales Document Type controls VOV8.
    Assign these F2 against Delivery Related billing and F1 is for Order Related billing.
    Assign KOFI0000 to respective Billing Types F2 and F1.
    And check, hope issue may resolve.
    Revert if u have any query.
    Regards
    Durga sana.

  • Account determination analysis in sales order

    Hi there,
    in a sales order processing (VA02/VA03) I'd like to know which accounts will be determined prior to invoincing it.
    I find the "account determination analysis" tool through the menù path: "Environment" -> "Analysis" -> "Account Determination" (FCODE = 'KTPR'), but it shows an empty screen
    The same tool shows the desired data during an invoice processing (VF02/VF03).
    How can do to see the account determination analysis in sales order processing, and not in invoice processing ?
    This tool shows an empty screen even if the order is invoiced, or not.
    So I'm asking: which is the meaning of this tool inside sales order processing ?
    Hope I've explained correctly my problem.
    Thanks in advance.
    Andrea

    Hi Nagaraj,
    the sales order amount is > 0, but the account determination analysis tool still show me an empty screen
    It seems this tool runs only into invoice processing.
    I try to follow the ABAP debugger and at a certain point it uses the "account determination procedure" (KOFI00), that in the sales order is missing ... maybe this is the problem ...
    Best regards
    Andrea

  • Account determination error in sales order

    Dear all,
    Please help. Trying to release a billing document to accounting. Getting the error:
    Document 90000004 saved (error in account determination)
    Message no. VF051
    While analysing: going to Environment - Accnt determination analysis - Revenue accounts :- no condition types are coming under the procedure KOFI000. Checked settings in vkoa. All G/L accounts are mapped. There are invoices of the same document type, with the same condition types in production with correct account determination.
    On further analysis, found that  no condition types are coming  not determined in the sales orders. Yet there is no incompletion log. Quite baffled. The users are punching in cut over sales orders into production. Please help me rectify the situation.
    Thanks,
    Kasturi

    I hope you have incompletion log (OVA2) maintain for WBS element in your sales order.
    Like
    Table
    Fld Name
    Desc
    Screen
    Status
    VBAK
    PS_PSP_PNR
    WBS Element
    KKNT
    Based your requirement , say, 01
    VBAP
    PS_PSP_PNR
    WBS Element
    PKNT
    Based your requirement , say, 06
    Regards
    JP

  • 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

  • Packing Problem in Sales order - AFS

    Hi Gurus,
    I have maintained the Packing Determination records at the Grid level (POF1) and the record is getting determined in the sales order.
    The material to be packed is appearing in the 'Material to Packed' section in the packing proposal screen of the sales order.
    But the Automatic Packing function is not working and system is throwing as error - 'No items to be packed' .
    Please tell me how to overcome this.
    Thanks in advance.
    Naren Dev

    Roopvathy,
    1. Did not understand the Packing status in Packing control?
    2. I have maintained the Packing instruction in POP1. Only after this I maintained the determination record at the grid level in POF1.
    3. I am trying the Automatic packing function in sales order. The profile for sales order(0012) is having the "Start Automatically" ticked and the Determination Procedure for Instruction is also there.
    Please reply.
    Regards,
    Naren Dev

  • Problem in sales order Item availability

    User created sales order with 5 materials, out of this 5 material first one material X not appear in MD04 transaction.
    I try to re activate the item availability in sales order,but system not showing the availability control screen.
    but in schedule line tab system show the order qty and confirmed qty on request dalivery date.
    If I enter same material X in new sales order or same sales order once again it’s working properly.
    Like to know the root cause for this issue and any solution to avoid this issue in future.
    Thanks,
    Karthikeyan R 

    Karthikeyan,
    This is why the SO item does not appear in MD04.
    You can manually enter KSV in VA02, if you are sure this is the proper RqTy.
    The most likely reason this field is blank is that a user manually removed it.  In general, this field is 'determined' automatically during Sales order processing in one of several ways.  However, in most implementations, a user can remove this entry, and the system will not repopulate unless the sales item category is somehow altered (which can also happen in a number of ways).
    If a user did this manually, you can probably see this in the change log.  VA03 > Environment > changes.
    Beyond this attempt at finding a root cause, it is not usually time well spent to troubleshoot something that has only happened once.  If it happens 'often', you may have to revisit.  Unfortunately, the NEXT most common root cause that I have seen is 'enhancements', which can be a bear to troubleshoot.
    Best Regards,
    DB49

  • 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

Maybe you are looking for