Cash Discount Calculated for One Line Item and not for Other

Hi All,
We have devloped a Z program which is used to Write of InterCompany AR and AP recon Account to another GL Account. In this program to clear line item we have created a BDC which calls t-code FB05. Thsi program is running perfectly fine for all company codes.
There is new company code SG20 for which it is not clearing the line items. It has created a Session in SM35, when we analysed the seesin we found that for some line items system is calculating Cash Discount and for some other line items it is not but the payment Term is same for all the douments with 3% 14days.
I need your help in understanding that why for some line items system calculates the Cash Discout where as for others it is not calculation..also the Posting Date is same for all the documents.
Please advise what could be the reson for this.
Thanks!
Regards,
VIvek Srivastava

Hi
Cash discount is calculated based on the combination of baseline date and payment term conditions.
Hence please check the baseline date for all the documents, in which the cash discount is not appearing.
In your case, the possible reasons could be that 1) baseline date is different between these documents or 2) payment terms cash % is manually modified in the line item of the documents.
Regards

Similar Messages

  • Why an insert journal concurrent works for one app user and not for other?

    We have two app users. User A and User B. They have same responsibilities and grants over same functions and menus. When they run  a custom insert journal concurrent, only user A can execute it successfully.
    User B uses same parameters and data  as User A, but when User B  runs concurrent, it  always  fails
    What is the difference between this users?
    How we can check this difference?

    Hi,
    did you check user specific profile option settings as well?
    In addition, it would be helpful to have some more input
    regarding the error which is raised when user B runs the
    concurrent (concurrent log file output).
    Regards

  • Difference in amount in sales order and billing for one line item

    Hi experts,
    User created one sales order with three line items say line item10, line item20
    Line item 30.Line item 10 value is 5024.26 EUR in sales order. He did delivery for three line item and invoiced. But the problem is that the line item 10 value is changed i.e. 5024.28 EUR in Billing and the remaining line item values are correct. All the line items having same item category.
    I asked the user to cancel the invoice and PGI. He did that. And again he created the PGI and Invoice. But the value of line item 10 become 5024.27 EUR and again he cancels the invoice and the PGI. and again he created the PGI and Invoice. Now the value of line item 10 is correct i.e. 5024.26EUR in invoice.
    Note: No changes are carried out from sales order to billing and even in material also.
              I checked copy control settings also all are correct.

    Is the Item Category of that item different from the rest. If yes for that item probably pricing is redetermined. However if its the same somebody might have changed it manually.
    If all the item have same category then it is possible that repricing is carried out for all the items however it found new condition record only for that perticular item.
    Rings a bell ?
    Regars

  • Amount Difference in sales order and billing for one line item

    Hi experts,
    User created one sales order with three line items say line item10, line item20
    Line item 30.Line item 10 value is 5024.26 EUR in sales order. He did delivery for three line item and invoiced. But the problem is that the line item 10 value is changed i.e. 5024.28 EUR in Billing and the remaining line item values are correct. All the line items having same item category.
    I asked the user to cancel the invoice and PGI. He did that. And again he created the PGI and Invoice. But the value of line item 10 become 5024.27 EUR and again he cancels the invoice and the PGI. and again he created the PGI and Invoice. Now the value of line item 10 is correct i.e. 5024.26EUR in invoice.
    Note: No changes are carried out from sales order to billing and even in material also.
              I checked copy control settings also all are correct.

    Hi
    I think this is standard SAP issue of rounding the condition records at item level. Can you please share the netvalue for all the three items and the header net value at sales order and invoice level.
    kind regards
    sandeep

  • One PR for one line item in third party sales

    Hi all,
    When we create and save a third pary sales order, the system will create a Purchase Requesition.
    If there are 5 line items in the Sales Order, the system will create only one PR for all the line items.
    I will create only one sales order, and  I want one PR for one  line item of the sales order.
    How to Configure this.
    Regards
    VASU

    Vasu,
    PR in the sales order is generated by the settings in Schedule line and Item category. In a particular sales order, if there are 5 line items and of same item category and schedule line then system will give only one PR number. Again if the item category ans schedule line is different then there will be multiple PRs.
    Can you please elaborate more on your requirement. Again from one PR you can generate multiple PO
    Thanks,
    Raja

  • Can a CR work only for one aggregation level and not other ?

    Hi Experts,
    I have a real time infocube (RTIC) over which there is a multiprovider, on top of which I have built 2 aggregation levels.
    There are sequence of 2 characteristic relationships (CR's based on exit class) defined for the same RTIC.
    Is it possible that the CR's be functional for one aggregation level and not in case of second aggregation level ?
    Thanks and Regards,
    Pankaj

    Additionally let me explain the scenario in more detail:
    The difference between 2 mentioned aggr levels is that of 0CALMONTH which is checked in second aggr level.
    0CALMONTH is assigned as target char in first CR, hence both the CRu2019s work for input ready report built on first aggregation level and do not function with input ready report built over second aggregation level.
    Therefore I wish to skip the complete execution of CRu2019s for I-R reports based on 2nd aggregation level.
    As CR of type with derivation is functional only if the target char selected is not present in the aggregation level.
    Please let me know if any more details are required.
    Thanks,
    Pankaj

  • How could I set the proxy settings for just some URLs and not for all?

    Hello,
    I am using HttpURLConnection to establish a HTTP connection . The connection pass through a proxy, and it requires security.
    I know that I can set the proxy settings in the system properties, and this works perfect.
    But I don't want to set the proxy settings in the system properties, because this proxy settings will be for ALL the URLs, and I just want for a few URLs.
    How could I set the proxy settings for just some URLs and not for all?
    Thanks

    java.net.URL.openConnection(java.net.Proxy proxy)
    @since 1.5

  • Difference amount in sales order and billing document (For one line item)

    Hi Experts,
    User created sales order with 3 line items and billing document. but problem is that there is difference in value of sale order and billing only for line item 10. The remaining items values are same in sales order & billing doc.if I check in sales order condition I found that VPRS condition is used and the value is 692.13and the amount is 3245.26in sales order. But if suppose I check the same value in billing doc the value is 0.69 and the amount is 3245.28. Can u suggest me which configuration I have to check for this.
    I also checked change lock but there is no change in sales and billing document & Material
    Regards
    Sunina agarwal

    Morning Sunina
    Now consider this scenario
    Item a - 10
    Item b - 20
    Item c - 30
    and the validity of condition rec for item C is 31st of Jan
    after 31st JAN the record changes or there isn't any.
    In Copy control the pricing type is 'B' i.e., carry out new pricing.
    Now if the document is created in January it will take all the above prices. and this document is then billed in Feb. Now the copycontrol, whilst copying the prices, will predetermine the same.
    Now your task is to check if there was user intervention, check the pricing in order and check what condition types got affected in order and in billing.
    If your scenario is still not amongst the above cases...
    I don't know what to do, if you figure out please let us also know, god know when we would face the same scenario....
    Take care

  • How to trigger Condition Access sequence multiple times for one line item?

    Hi,
    We have a situation that, User will enter a Promo code (custom Field) in Sales order Header Additional data B tab to apply discount for line items.
    Logic goes like this:
    1. For each Promo code .. there may be multiple sale deals (Max 3 at this point).
    2. For each line item (refering to tkomp table) we have to apply the sale deals (found above) the Condition access sequence will pick the right sale deal to apply the line item.
    3.we have enhanced the tkomp structure to hold the sale deal.
    Challenge:
    As we have the standard logic to trigger the condition access sequence once for each line item, how we can apply 3 sale deals for single line item. Is there any logic or way to trigger the condition access sequence multiple times for single line item with diffrent sale deals. ~ There may be one valid sale deal for one line.
    Functional team maintained diffrent access tables in the access sequence!!!
    Fnds, please help me to get some clue
    Thanks,
    Sunil Y

    Hi Eduardo , Thanks for the response.
    I am trying to explain again, this is the requirment given by the functional guys.
    we have Promo code in Hearder Addtional data B tab --> Have to retrieve Sale Deals -->
    At this point of time we may have at max 3 Sale Deals. we don't know which sale deal is vallied for which item we have in TKOMP.  We have enhanced the TKOMP structure to hold one sale deal only (ZZPROMO).
    We have enhanced USEREXIT_PRICING_PREPARE_TKOMP in RV60AFZZ to populate the value in TKOMP. Then it will go for diffrent access sequence to find the proper condition.
    Our challenge is that, for each line item we have 3 sale deals, we don't know which one is valid for which line. but we have to apply the vallied sale Deal to the line items.  Line item 10  may have Sale Deal 2 , item 20 may have Sale Deal3 and 30 may have sale deal 1.
    We may have solution, by fixing some thing in the code or through config. But i am confused that is it a valid requirment?
    Please help me ...
    Thanks,
    Sunil Y

  • How to update PO Price only for a single line item and not other Line Item

    Hi
    My requirement is not to update Price of PO from PIR if the Final Invoice Indiactor is not set and it is not a return PO. I am trying to do this using
    BAPI_PO_CHANGE to update price automatically from Pricing record using
    POITEM-PO_ITEM = '00001'
    POITEM-CALCTYPE = 'B'.
    POITEMX-PO_ITEM = '00001'
    POITEMX-CALCTYPE = 'X'.
    The price gets updated for the line item 1 as well as other line item which I do not want. Please can you tell how to restrict that.
    Is it possible to restrict through configuration if this indicator is set there should be no price update. I tried to check in ME22n and if I update the condition item by pressing the update button the other item price also gets updated.
    Thanks
    Arghadip

    Timestamp is date and time together in one field..
    Search for data element TIMESTAMP.
    If you are getting this in your table.
    If you are getting time and date in different fields then you can use the function module
    given below....
    CALL FUNCTION 'DELTA_TIME_DAY_HOUR'
      EXPORTING
        t1            =
        t2            =
        d1            =
        d2            =
    IMPORTING
       MINUTES       =
    Then you can convert minutes into seconds..
    Function module credit to BrightSide it works....but only it will give difference in minutes
    Regards,
    Lalit Mohan Gupta.

  • STO or PO for multiple line items and multiple destinations

    I am working in retail enviornment and I have folloowing two questions:
    1- we need to push articles( materials) to approx 1400store- we need to create STO with approx 10 line items and send materails to 1400 stores- this happens several times a year.
    what is the easiest way to create this document without having to create either 1400 documents or create one  document for all stores and enter 14000 lines? (Sames items/ and qty going to all stores)
    2- We also have to send approx 600 items to one or two stores at a time ( when a new store is opened)- these items are same.
    Is there a way to create this STO/ PO and keep reusing this document again and again withoiut entering 600 line items everytime this requirement comes up ( this requirements comes up anywhere from 10 times per year to 50 times/yr
    Does anyone have any idea on how to simplyfy this process. Any help/ idea would be of great help.
    Thanks
    Raj

    A PO once entered can be copied in ME21N, by drag-n-drop into the shopping cart.  The problem might be changing delivery dates and delivery plants.
    Another option is to use BOMs.

  • SD / Third Party Sales / 2 line items in PR for one line item in Sales orde

    Hi
    In a third party scenario, I have item category TAS .When I create a sales order, there are 2 Schedule lines for the item. The first SL has confirmed qnty as 0 and the second SL has confirmed qnty as full quantity ( say50). When I save the sales order, it creates a PR as expected. However the PR has 2 line items for this single line item of SO. Each PR line items have the same quantity, in this case 50. Why is this happening. Is it due to some configuration.
    All my SD configurations are fine for third party process. Please let me know if somebody faced this situation and solved it.
    In crux, one line item in third party process leads to 2line items in PR , each with the quantity as mentioned in teh confirmed schedule line.

    Yes interesting to see multiple scheudle lines during TAS processing.
    Also please check the scehdule line category. Should be CS. Also check the MRP type in your material.
    CS should have Order Type = NB , Item category = 5, Acct Assign Category = 5, incompletion = 31. Rest all fields should be blank or unchecked.
    Pur Requisition will be based on the scehdule lines. Since there are 2 schedule lines, you have two line items in the purchase requisition. If you can fix the multiple schedule lines problem in your order, then your requisition looks good.
    Please check note 210417 reg av chk for TAS.
    Regards
    Sai

  • Change in one line item should Populate for all line items

    Hi ,
    We have added one custom field Prefereed Vendor at line item level.
    We have requirement that if Prefereed Vendor at one line item level is changed,
    then it should populate for all the line items.
    Can any one tell me how it can be implemented?
    Thanks in Advance.
    Snehal

    Hello,
    I assume you are referring to SC. In standard SRM Preferred Vendor is a partner to an Item. But based on your post, have you added the Preferred vendor as a CUF field?
    Anyway we can achive your requirement in DOC_CHANGE_BADI. This BADI has importing parameter IT_ITEM and exporting as ET_ITEM.
    1. Get the SC from PD buffer using BBP_PD_SC_GETdETAIL into LT_ITEM
    2. Compare the preferred vendor for every item in IT_ITEM with corresponding item in PD buffer
    3. If for some item, the preferred vendor for IT_ITEM is diferrent from that of LT_ITEM --> means we found the item for which preferred vendor was chaged
    4. Now populate ET_ITEM based on IT_ITEM along with copying the preferred vendor from changed item to all items.
    Rgds,
    Prasanna

  • Multiple account assignment category for one line item in PO

    Dear Experts,
    We are on SRM 5.0 ECS
    One line item of a PO has multiple account assignment category with the cost distribution for
    1. Cost Center - 50%
    2. Order          - 50%
    Is it possible?
    As per my understanding one line item in a PO can have only one account assignment category
    Regards
    Mick

    Hi,
    Yes it is possible by Po line item.
    Just go to transaction bbp_poc through the web interface.
    Select your PO
    Select your line item PO.
    goto the account assignment tab (item overview)
    you get a cost distribution field in percentage
    then you get a cost distribution button : click it and you get several lines where now you can split your 100% in as many lines as you want.
    BR,
    Disha.
    Pls reward points for useful answers.

  • Multiple Account Assignment at the time of Good Receipt for one line item

    Sap Members.     
      We have some contracts with cost center distributions that the exact amount is not known.  These Blanket Orders require a receiving confirmation.then only we can conclude the cost center, If we create one line item with total amount of contract to one cost center, is there a way can we distribute this cost to the different cost centers at the moment receiving the goods
    Any help will be highly appreciated.
    Thanks
    Nick

    Please Check SAP Notes - Oss Notes
    With multiple acct. assignment, enter GR non-val. or cancel GR
    Message no. 06417
    Diagnosis
    In the case of PO items assigned to more than one account, instead of valuation being carried out at the time of goods receipt, the relevant materials are not valuated until the invoice data is entered into the system.
    Procedure
    •     Set the indicator for non-valuated goods receipts
    or
    •     Cancel the GR indicator.
    OSS-Notes.                              -
    Version: 5        -
    Validity: valid since 12.04.2007
    Note 204252 - Valuated goods receipt for multiple account assignment
    Summary
    Symptom
    You cannot use the valuated goods receipt function in combination with multiple account assignment.
    Other terms
    EKPO-WEUNB, screen 0113, ME21, purchase order, 06417, 06 417
    Reason and Prerequisites
    We have not implemented this function since users who post goods receipts would have to determine the distribution to individual account assignment items during  partial deliveries. Generally, users cannot or should not determine this.
    An automatic distribution also causes problems and is also not implemented due to technical reasons

Maybe you are looking for