Change the condition type based on sales document type

Dear ALL,
I have created a condition Zxxx which is a fixed calculation type for the documents created by the upload from external tool to SAP.  I created this condition because external tool is using a 15 place decimal which SAP doesn't allow and if the normal condition type Zyyy is used SAP calculates once in SAP and there are rounding issues.  What the Zxxx condition type does is accept whatever value is sent up from external tool to SAP, regardless of the quantity.  The problem is that whenever they create a credit with reference, in SAP and they want to do a partial credit, the Zxxx doesn't take the partial quantity into consideration and doesn't change the value. 
Is there a way to force SAP to change the condition type from Zxxx to Zyyy based on sales document type without recalculating the whole document because that would again, cause rounding issues.  We would need to have the calculation done only on quantities changed in the credit memo request .
please advice me. your inputs are highly appreciated.
TIA
KOGI

Dear ALL,
someone please help me with this issue. your inputs are higly helpful.
TIA
KOGI

Similar Messages

  • Two different billing document types for 1 sales document type.

    Hi Gurus,
    I have a requirement , wherein our client is having counter  sale.
    He is using one sales doc type , and while creating a order , he is manually adding payment terms.
    Requirement is , if the payment terms are cash, billing doc type created later on should be one , else during credit sales , billing document type should be different.
    As per my understanding this is not possible.
    Want to know if anyone has some different thought on this.
    Thanks in advance
    Nilesh.

    Dear Nilesh,
    There two options you can look in to
    One option is
    1.You can define different sales document types for cash and credit.
    2. You can define two different billing documents.
    3.Do the copy control settings for each combination
    Cash sales order >Delivery>Cash invoice
    Credit sales order >Delivery>Credit invoice
    Second option is
    1. You can maintain single sales document for both the processes.
    2.Define two different billing types then do the copy control settings for both billing types.
    But in this option user need to select the billing type manually based on the process while creating billing document.
    I hope this will help you,
    Regards,
    Murali.

  • Checking rule for sales document types

    Hi,
    Can I change the cheking rule for a sales document type? Where could I change it? or should I build Z table?
    Thanks!

    7,
    Checking rule is hard-coded into standard SAP sales doc maintenance programs.  For SOs, it is A or A* (depending on the stock type).  For Deliveries, it is B or B*.  There is no way to use standard configuration to alter the rule within SD.
    Best Regards,
    DB49

  • Issue With Sales Document Type in BW.

    Dear Experts,
    I am facing an Issue with Sales Document Type(Object name is 0DOC_TYPE).
    when i am loading data from R/3 to BW It is converting Sales Document type as follow
    Sales Document Type in R/3                         Sales Document Type in BW
    OR                                                                        TA
    CR                                                                        G2
    DR                                                                        L2
    I check with an ABAPer and he told that there is conversion exit for this Object so that's why it is converting when sending to BW. But the user wants to see in Report same as it is in R/3 like OR, CR DR ... etc.
    I have done some investigation and found that the conversion exit (CONVERSION_EXIT_AUART_INPUT and CONVERSION_EXIT_AUART_OUTPUT) are converting the values based in the table TAUUM
    The staructure of TAUUM is
    MANDT(Client)  SPRAS(Language) AUART(Sales document type (not converted)   AUART_SPR(Language key for sales document type)
    and values are
    100 E TA OR
    100 E G2 CR
    etc....
    The same Conversion exits(CONVERSION_EXIT_AUART_INPUT and CONVERSION_EXIT_AUART_OUTPUT) and table TAUUM are available in BW as well. So i thought I can Use InfoObject 0DOC_TYPE by changing it's conversion Routine as AUART(which runs based on the above mentioned conversion exits).
    but the the problem is table TAUUM(Pool Table) does't have any data in BW.
    So can anyone tell me is there any option to load data into table TAUUM from R/3 or any other option to solve this issue.
    Your ideas will really help's me.
    Thanks in advance,
    Dara.

    Hi Venkat,
    Thanks a lot for your immediate response.
    The InfoObject 0DOC_TYPE was without conversion exit by default. but when data coming from R/3 it is converting and sending to BW So that's why i am planning to use conversion exit "AUART" in the info Object.
    I checked data in R/3 using RSA3 it is showing sales document type as "OR" and for the same transaction data when i checked in PSA it is showing as "TA".
    Could you please let me know if there any other options.
    Thanks in advance,
    Dara.

  • XL Reporter: Report Designer -  Sales Document Type as Column

    Hi Everyone,
    I have a question regarding report layout in XL Reporter - Report Designer. Here's the scenario:
    I have created a Sales Volume Report wherein the report should be able to display the quantity per material per sales document type (Sales Order, Invoice, Credit Memo). The Sales Document type is expanded as Column so that the user can view the total per Sales Document. My problem is, can i re-arrange the order of display of the 3 sales document selected. The current (and I think the default order is alphabethical) which is A/R Credit Memo, A/R Invoice, Sales Order. Can I re - arrange it in my Report Designer so that Sales Order will be the 1st column, followed by the A/R Invoice then lastly the A/R Credit Memo?
    Another question, can I change the Display Name of the 3 Sales Document Type? By default, the Sales Document Name is being retrieved by the system. For other fields which where not expanded as column, I can easily change the Display name of the field, but for the sales document, I don't have an idea. Hope anyone can help me.
    Thanks in advance.
    Malu

    If you want the document types in a specific order, don't add as an expansion, but as individual summary comuns, then you can add them in the order you want.
    You can use simple Excel formula to rename the columns - hide the row with the column names & add a new row with if statements based on the value in the cell e.g. if (cell = 'Invoice" , "Inv-AR",'')

  • Automatic Batch determination based of sales order type

    I want to do automatic batch determination on basis of sales document type.
    1) I have made a condition table and added sales document type field in it.
    2) defined Access Sequence and added that field in that sequence.
    3) defined the strategy type, assigned the class "FEFO - First Expiry first out".
    4) Added by condition type in the standard search procedure "SD0001".
    5) added the order type in VCH1
    If, i define the search strategy on material base in vch1 "SD01" then it works fine in sales order & delivery order...
    but if i define it on order type then automatic batch determination  doesnt works fine.
    any guidance please?

    solved...there was issue of expiry date field.

  • Immediate Transfer Order Creation not occuring for Sales Document Type

    Hello gurus,
    I have a situation where a transfer order is not being created immediately for a specific sales document type.
    Here is an example document flow of a desired scenario where the system is working:
    Sales document type:  ZOR
    >  Delivery type:  LF
    >  WMS transfer order
    The Item Category in this scenario is TAN.
    Here is an example of the document flow in the current scenario where the system is not working:
    Sales document type:  ZPRD
    > Delivery type:  LF
    The Item Category is also TAN in this scenario.  The only identifiable difference in these scenarios is the sales document type.  For the ZOR SaTY, a Transfer Order prints immediately once the delivery is created.  For the ZPRD SaTY, a Transfer Order needs to be manually created after delivery creation.
    Is there a configuration setting that is controlling this?  Any help would be greatly appreciated.

    Thank you very much for the link.  When I insert the WMTA output type in the delivery output header, the Transfer Order is automatically created.
    The problem I'm running into now is the configuration setting that controls this.  I thought I figured it out when going to this IMG path:
    SAP Customizing Implementation Guide  -->  Logistics Execution -->  Shipping -->  Basic Shipping Functions  -->  Output Control -->  Define Print Parameters Shipping
    When selecting the Delivery Note, the shipping point I was using was not configured in this location.  I added the shipping point into this transaction, saved, and created a new order & delivery.  However, the WMTA output type still was not automatically inserted into the delivery when saving.  Is there another location I should be looking to fix this so that when I enter an order with a particular Shipping Point, the WMTA output type automatically appears in the delivery?

  • Sales document type restriction to create sales order

    Hi Frinds,
    My client has one requirement ...they have different sales document type. For sales document type  free of charge delivery they want only some authorised person should be able to create sales order. Is it possible to set the authorisation to create sales order according to sales document type.
    Regards
    SV

    Yes, 
           As already suggested, it is very well possible to restrict the user for the use of certain sales document type from basis.
    & to add to the above,
    Create Z* table with Sales Org + Doc type = UserID.
    call this table in VA01 transaction & write piece of coding , if current USerID have entry in this table with the said combination - should not allow to proceed further.
    without any basis involvement also you can ahieve your requirement.
    Note: Sales Org is used for validation purpose only.
    Regards,
    Reazuddin MD

  • Find Item number based on Sales document and material in GTS system

    Dear experts,
    I have a situation where in I created a Sales order in ECC system and transmitted the document to GTS for compliance check.
    Now, during my subsequent processing in ECC side, there is a situation where in I need to check if the document (at every item level) is blocked for any reason or is it good to go. But I do not have the item number in ECC side (at the point where I'm calling RFC to GTS to check). I only have sales order number and the material number.
    So, can some one point me table level information in GTS side on how I could find the item number based on Sales document and the material (In our scenario all our materials in a sales order will be distinct).
    Please provide me table information on where the sales document number, item number, material info are stored in GTS.
    Thanks for your time
    -Amit

    Use these tables
    /SAPSLL/CORREF
    /SAPSLL/PNTPR
    /SAPSLL/CUIT

  • Block Sales Document type for a set of customers

    Hi,
    I have to block the processing of particular sales document type, say XX or a scheduling agreement for a specific set of customers. Can anyone suggest me some inputs on this.
    Thanks in advance
    Suresh

    Thanks all for quick response.
    1. By blocking the sales document type by setting the block in VOV8 will not allow u to process that particular sales document type at all.. ie for all customers..But my problem is to block, say ZCAL for particular set of customers only..say customer 1234 of sales org 0001, customer 2132 of sales org 0001, customer 1315 of sales org 0002 etc..Apart from these setof customers, it should be able to process the document type for other customers.
    2. By blocking the customer in VD05, it will block the customer for all sales operations. But i dont want to block the same customer for other sales document types.. Say, it should be blocked for ZCAL but not for all document types.
    My requirement:
    When we create an scheduling agreement, we give the sales area in the initial screen and enter. Then we give the Sold to party.Here it should check whether the customer entered is in the list of customers blocked for scheduling agreement. If so, it should pop up an error message stating" you cannot process scheduling agreement for customer X" If not, it should allow further processing.
    I will try with the suggested User exit.
    Please suggest if u have got any more ideas.
    Thanks
    Suresh

  • Change the order type for a sales document already created

    Hi gurus,
    please let me know if there is any possibility for changing the order type for sales document (sales order) already created,
    thank you

    Hi,
    Rambabu is correct. Check the  alternate sales document types which your current sales document type is having in VOV8 transaction. You can have the current sales document type replaced with the assigned alternate sales document type 1 or alternate sales document type 2 during run time in the during creation  or change mode  subject to the current sales order is not having any subsequent document. Re-pricing will happen accordingly and all the things of order will get redetermined.
    Hope this explains.

  • What are the img setting to be fullfilled while copy the Sales document typ

    Hi What are the setting to be fullfilled while copy the sales document type and item category.
    Note:  I have already copied, but unable do the PGI(Post goods issue),  and Billing.
    Thanks
    Prasanna

    Hi
    Answer for this Question.
    we have set the copy control for sales order type and delivery and billing
    Regards
    Prasanna R

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • Reading the description of Sales document type and Profit centre from table

    Hi
    I want to print the description of Sales document type and Profit center on output
    I have checked in table TVAK and CEPC  but i am unable to pick description against the code
    Can anyone please suggest from where can i capture the description of sales document type and profit centre
    Thanks and Regards
    Sunil Srinivasan

    Hi
    If you have the sales document number VBELN then pass this VBELN in to table VBAK and you can get the sales document type VBAK-AUART.
    Now pass the same VBELN to VBAP table here you can get the Profit Center VBAP-PRCTR
    For sales Document type description you pass the VBAK-AUART values into table TVAKT  table and get the values for TVAKT-BEZEI is you sales document type description
    For Profit center description goto table CEPCT and enter the profit center you will get the
    KTEXT
    LTEXT
    MCTXT
    regards
    Prashanth
    Edited by: Prashanth@SD on Oct 25, 2010 12:29 PM

  • Change the Condition base value in a Condition type.

    Hi Experts,
    I have a problem because I need to change the condition base value for a condition type. This condition base is calculated as a result of other condition types in the list of pricing Elements. I would need to change the base in order to solve the problem.
    Thank you and best regards.

    Hi Alberto
    if i get it correctly , this is your scenario
    condition 1--- price x
    condition 1--- price Y
    condition 1--- price z
    now you want a fourth conddition with base value total of the above 3
    if so , you maybe define all the above 3 as statistical ,
    in another row , create a total of the above 3,
    assign a sub total this ,
    create new conditon type and in its alt base value , give the formalue for the sub total
    for eg 5 for sub toal 1, 6 for sub total 2
    and then you would get the right base value
    Hope this helps
    Thanks
    Akasha

Maybe you are looking for