Billing line items with discount

Hi SAP gurus,
I have situation going on here at my current project.  Our client is wants to add a discount line with billing line item (In billng document) ?  Can you pls. suggest me the best path ?

Hi Laxmipathi,
I haven't found answers to my questions so far.  I tried to lookup for these questions online and on sdn as well...
I just want to make sure that I don't make any mistake during my current project.  Can you pls. help?
Thanks.

Similar Messages

  • Determine grouping for bill line item

    Hi,
    I am doing some reporting on bills that have been issued (CC&B).
    I can get bill line items from the following query;
    SELECT B.BILL_ID, B.ACCT_ID, B.BILL_DT, B.DUE_DT,
    S.BSEG_ID, S.SA_ID, S.PREM_ID,
    L.*
    FROM CI_BSEG S
    INNER JOIN CI_BILL B
    ON S.BILL_ID = B.BILL_ID
    INNER JOIN CI_BSEG_CALC_LN L
    ON L.BSEG_ID = S.BSEG_ID
    --SELECT A PARTICULAR BILL, FOR EXAMPLE
    WHERE B.BILL_ID = '927321294079'
    --ONLY RETURN THOSE ITEMS THAT APPEAR
    --IN THE SUMMARY SECTION ON THE BILL
    --SPECIFIED
    AND L.APP_IN_SUMM_SW = 'Y'
    However, I am stuck in trying to figure out the grouping area that the line item appeared in in the bill. CI_BSEG_CL_CHAR tells me whether or not the item appeared on the bill, but not the grouping. The information that I need seems to be in the CI_RC_CHAR table, so the problem I am then faced with is how to link together bill line items with the rate component that is the source of the line item.
    Any assistance would be much appreciated.
    ec
    Edited by: 866928 on 12/07/2011 21:49

    I seem to have figured out the join...
    --THE FOLLOWING QUERY GETS FROM BSEG_CALC_LINE
    --TO THE RATE COMPONENT CHARACTERISTIC TABLE
    SELECT * FROM CI_BSEG S
    INNER JOIN CI_BSEG_CALC_LN L ON S.BSEG_ID = L.BSEG_ID
    INNER JOIN CI_SA SA ON SA.SA_ID = S.SA_ID
    INNER JOIN CI_SA_RS_HIST H ON SA.SA_ID = H.SA_ID
    INNER JOIN CI_RS RS ON H.RS_CD = RS.RS_CD
    INNER JOIN CI_RC RC ON RC.RS_CD = RS.RS_CD
    INNER JOIN CI_RC_CHAR RC_CH
    ON RC.RS_CD = RC_CH.RS_CD
    AND RC.EFFDT = RC_CH.EFFDT
    AND RC.RC_SEQ = RC_CH.RC_SEQ
    Thanks,
    ec

  • Unable to delete line item with 0 quantity in Invoice.

    Hi Experts,
    I came across a Invoice which reflects in VF04 as pending Billing due list. When i checked at the inter company Invoice i came across a line item with "0" quantity and price as zero, interestingly the replinishment cross company delivery document  for the same line item for "0" quantity had a Batch assigned to it.
    Now the issue is cusotmer has selected the line item with XX quantity and have selected the accounting document to be generated but the line item with "0 was left over and now still reflects in VF04.
    Customer does not want to reverse the full cycle to resolve the issue since the document was created a year back.My Question  is can we get the line item with "0" quantity to clear accounting so that it will not reflect in VF04.If so what will be process to do that.
    Thanks in Advance to advice.
    Regards,
    Sridhar.R

    Hi,
    It is  not possible to delete this line item, you can discuss with your client and delete it from the table.
    And now coming to the reasons why it has come into the invoice & Delivery
    1. The Batch Item category must have been configured as relevant for billing...check this and make it irrelevant if the client does not do batch specific billing. --- This will stop the batches from coming into the invoice.
    2.  Check for the batch item category in delivery if Zero quanity is allowed...if it is allowed make it not allowed and make it an Error message, whenever there is a zero quantity system will give a message.

  • Billed line items appearing again

    Dear Expert,
    We are using SAP 4.6 Version, Delivery has been created with four line items and two line item has been billed and accounting document also partially cleared, when we go for the invoice for rest of the line items in the delivery document, system has given all the 4 line items once again in VF01. that is Already billed line item also coming again for billing, Please clarify the same for sort out this issue,
    Billed two line item status shows completly billed, and how does those line items coming for again billing in VF01
    Please help us the same
    Thanks and Best Regards,
    Muralidharan S

    Hi Murali,
    Please check does anybody cancelled the invoice which created by you before?
    and also check what is the status in order for those two item which already billed in the previous invoice.
    Regards,
    MT

  • Generate 2 line items with posting keys in same table while using  FM .

    Dear Expert ,
    For T-code f-65 ,I have to park a FI Document  .i tried with PRELIMINARY_POSTING_FB01 for parked Document . But  i am not  successfully park the document .
    with the help of F-65 the data Segregate between Tables VBSEGS and VBSEGD with respecting Posting key . but with this Fm entire entry is displaying in table VBSEGS .For example it generated two line items with posting keys '15' and '40' and these both are displayed in VBSEGS whereas posting key '15' has to be displayed in VBSEGD.
    when i check this Document in FBV0 Error reflect " G/L Account 0012000 1001 Does not Exist ".
    Here my code -
    DATA:   XT_BKPF LIKE  BKPF OCCURS 0 WITH HEADER LINE ,
            XT_BSEG LIKE  BSEG OCCURS 0 WITH HEADER LINE ,
            XT_BSEG1 LIKE  BSEG OCCURS 0 WITH HEADER LINE ,
            XT_BSEC LIKE  BSEC OCCURS 0 WITH HEADER LINE ,
            XT_BSET LIKE  BSET OCCURS 0 WITH HEADER LINE ,
            XT_BSEZ LIKE  BSEZ  OCCURS 0 WITH HEADER LINE ,
            XT_BKORM  LIKE  BKORM OCCURS 0 WITH HEADER LINE ,
            XT_THEAD  LIKE  THEAD OCCURS 0 WITH HEADER LINE ,
            XT_SPLTTAB  LIKE  ACSPLT  OCCURS 0 WITH HEADER LINE ,
            XT_SPLTWT LIKE  WITH_ITEMX  OCCURS 0 WITH HEADER LINE .
    DATA :    XTEXT_UPDATE  LIKE  BOOLE-BOOLE VALUE SPACE,
              XTEXT_ITEM_UPDATE LIKE  BOOLE-BOOLE VALUE SPACE,
              XI_UF05A  LIKE  UF05A,
              XI_XCMPL  TYPE  XFELD VALUE 'X',
              XFS006_FB01 LIKE  FS006 ,
              XI_TCODE  LIKE  T020-TCODE  VALUE 'F-65',
              XI_PARGB  LIKE  RF05A-PARGB        ,
              XI_TCODE_INT  TYPE  TCODE           .
    DATA P_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    XT_BKPF-BUKRS     =     'CP01'.
    XT_BKPF-GJAHR     =     2011.
    XT_BKPF-BLART     =     'DZ'.
    XT_BKPF-BLDAT     =     SY-DATUM.
    XT_BKPF-BUDAT     =     SY-DATUM.
    XT_BKPF-MONAT     =     '06'.
    XT_BKPF-CPUDT     =     SY-DATUM.
    XT_BKPF-WWERT     = SY-DATUM.
    XT_BKPF-USNAM     =     'ABAPER'.
    XT_BKPF-TCODE     =     'F-65'.
    APPEND XT_BKPF.
    XT_BSEG-BUKRS     =     'CP01'.
    XT_BSEG-GJAHR     =     '2011'.
    XT_BSEG-BUZEI = '001'.
    XT_BSEG-BSCHL = '40'.
    XT_BSEG-KOART = 'S'.
    XT_BSEG-SHKZG = 'S' .
    XT_BSEG-GSBER     =     'CPLN'.
    XT_BSEG-BUPLA = 'CP01'.
    XT_BSEG-WRBTR     =     10000.
    XT_BSEG-PSWSL = 'INR'.
    XT_BSEG-ZUONR = 'CH. 123456'.
    XT_BSEG-HKONT = '241000'.
    APPEND XT_BSEG .
    CLEAR  XT_BSEG.
    Vendor line item - required even for header only - BSEG table
    XT_BSEG-BUKRS     =     'CP01'.
    XT_BSEG-GJAHR     =     '2011'.
    XT_BSEG-BUZEI = '002'.
    XT_BSEG-BSCHL = '15'.
    XT_BSEG-KOART = 'S'.
    XT_BSEG-SHKZG = 'H' .
    XT_BSEG-GSBER     =     'CPLN'.
    XT_BSEG-BUPLA = 'CP01'.
    XT_BSEG-WRBTR     =     10000.
    XT_BSEG-PSWSL = 'INR'.
    XT_BSEG-ZUONR = 'CH. 123456'.
    XT_BSEG-HKONT = 'PC04000001'.
    APPEND XT_BSEG .
    CLEAR  XT_BSEG.
      CALL FUNCTION 'PRELIMINARY_POSTING_FB01'
       EXPORTING
         TEXT_UPDATE            = XTEXT_UPDATE
         TEXT_ITEM_UPDATE       = XTEXT_ITEM_UPDATE
      I_UF05A                =
         I_XCMPL                = XI_XCMPL
      FS006_FB01             =
          I_TCODE                = XI_TCODE
      I_PARGB                =
      I_TCODE_INT            =
      IMPORTING
        XEPBBP                 = CHECK_A
        TABLES
          T_BKPF                 = XT_BKPF
          T_BSEG                 = XT_BSEG
          T_BSEC                 = XT_BSEC
          T_BSET                 = XT_BSET
          T_BSEZ                 = XT_BSEZ
      T_BKORM                =
      T_THEAD                =
      T_SPLTTAB              =
      T_SPLTWT               =
              EXCEPTIONS
                ERROR_MESSAGE = 1.
      P_RETURN-ID         = SY-MSGID.
      P_RETURN-TYPE       = SY-MSGTY.
      P_RETURN-NUMBER     = SY-MSGNO.
      APPEND P_RETURN.
         p_return-MESSAGE_V1 = XSYMSGV.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            WAIT = 'X'.
      ENDIF.
      WRITE :/ sy-subrc , sy-MSGV1 .
    Thanks ,
    Ashish Gupta

    Hi Raghuram,
    I found a very important SAP Note 103051, details are below.
    An IDoc processed by function module IDOC_INPUT_INVOIC_MM (of category INVOIC01) must not refer to the same purchase order item in several invoice items. This is also valid if for a goods receipt-related invoice verification several delivery notes belong to the same purchase order item.
    Depending on the system settings and the situation, various error messages can occur (for example, FD240 'Order item ... selected more than once' or M8050 'Balance not zero: & debits: & credits: &').
    In this situation module IDOC_INPUT_INVOIC_MRM generates error message M8321 'Document contains same order item more than once'.
    For example, this situation occurs if you work with individual batch valuation and the SD billing document executes a batch split for different batches which belong to the same purchase order item and delivery.
    Other terms
    INVOIC, SAPLIEDI,  M8047, M8, 321
    Reason and Prerequisites
    This is because of the program design.
    Solution
    There is no solution for IDOC_INPUT_INVOIC_MM.
    Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active.
    Owing to this symptom, billing documents for single batch valuation with batch split cannot be settled in MM-EDI inbound processing. The settlement generates exactly the situation described (several invoice items for the same purchase order item). In this case, the only solution is to deactivate the billing of the batch sub-items in SD Customizing and to calculate the main item only.
    Hope this helps.
    Reward if helpful.
    Thanks

  • Display conditions as billing line items

    Hello,
    I have a sales order with one line item.  This line item is mapped to 2 conditions.  Everything works fine.
    When I generate a billing document, I get only 1 line item (also expected).
    But I would like my billing document to show the conditions.  This is because I'd like my customer to see a complete breakdown of all the prices that were used.
    Is this possible in SD? If so, how?  Thanks!

    If I understood correctly , you have a sales order one line item with 2 conditions , the same order if you do the billing only one condition is appearing.. ?
    If yes then check the pricing analasys in Billing , then check in pricing procedure if Requirement-24 has been assigned againes missing condition type.

  • Relationship accounting and billing line item

    Hello,
    I have a fairly simple question. Is there a way to exactly determine from which billing line item an accounting line item was derived?
    In other words, I have an accounting line item and want to know to which billing line item it belongs.
    My question is purely focusing on line item level.
    Thanks in advance
    Stephan

    Hello,
    I think thats because the invoices have not hit FI yet.
    I feel this is more of a configuration issue and not any development or ABAP issue.
    Check with your SD/FI functional consultant. But usually these fields should be populated.
    We had lot of reports based on this logic in my previous assignments.
    cheers,
    Sushil Joshi

  • Vendor Line item with Opening and Closing Balances report regarding

    Dear All,
    I need a report for vendor line items with Opening and Closing balances.
    Thanks in advance
    Sateesh

    Hi
    Try S_ALR_87012082 - Vendor Balances in Local Currency
    Regards
    Sanil Bhandari

  • Customer line items with balance carry forward no opening balance

    Hello FI Experts,
    We have ticket where the user is using a Z* Report for Customer line items with balance carry forward. In 31.01.2007 user has posted some legacy data, latter he was executing this Z* report then user can see the values posted on the same day (31.01.2007) as line items. But he was executing the report on 01.02.2007 then he was not able to see the line item as well as the values posted on 31.01.2007 as opening balance as on 01.02.2007. But if we run the report as on 01.01.2008 then we are able to see the values which are carry forwarded as opening balances. Did anyone have worked on this type of scenario?
    Requirement Here Is:  The values that have been posted on 31.03.2007 which are still open line items should get displayed as opening balance as on 01.02.2007.
    Thanks for helping on this issue.

    Hi,
      Any report will get data from Tables. Please check whether the table you have used to develop this report has opening balance.
    Balance will be carry forwarded only when you run the balance carry forward program. Check whether this was run for the date you have specified. This can be done in the year end.
    If you are checking in the middle of the year, then the balance will not be carry forwarded.
    Regards,
    B. Radhika.

  • Report for G/L line items with both debit & credit posting accounts

    Hi,
       My client requires a G/L line items report. It can be possible thru fs10n or fbl3n etc. But he wants to see both the credit and debit accounts in the same line.
    for ex: if I open a expense account and show the report of individual documents, he wants to see the corresponding credit item to which bank/cash account it got credited to.
    we showed them to double click on that document and goto document overview. but they dont want in that way.
    they want to see all the line items with both postings in the same sheet for all line items.
    valuable replies will be fairly rewarded.
    thanks,
    chaitanya

    Hi,
    U can use the following TCodes...
    - S_ALR_87012287
    - S_ALR_87012289
    - S_ALR_87012291
    But i am not sure if your client will be happy...
    This is a very common req and the only solution possible is to have a customized report for the client..
    Hope its clear..
    Cheers
    Raghu

  • PO Line Item with Open Quantity

    HI all,
    How should i select a PO line item with Open Quantity? Is it possible to post GR for a PO which is set for Delivery Complition but still has Open Quantity ..
    please help me how to check for OPEN QUANTITY.
    Thanks,
    Ravi.

    Hi all,
    Thanks for your answer, but can you be some more specific on what calculations need to be done.
    I need to Post a GR for all PO where PO line items have Open Quantity.
    Thanks
    ravi.

  • How to pull PO line item with "Block" indicator

    Hi all
    In ME2N, how do I pull all the PO line items with the "block" indicator set?
    I couldn't find a field in dynamic selection.
    Thanks in advance!

    HI,
    1. In ME2N -
    >Go to EDIT menu and then select Dynamic Selections (Shift+F4).
    Next select Purchasing Document item and double click on deletion indicator.
    Select the indicator and excute.
    Hope it helps..
    regards

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

  • PO Release Strategy not changed after deletion of few line items with less

    Subject : PO Release Strategy not changed after deletion of few line items with less Total PO
    Dear Friends
    We have issue with PO Release strategy. We have created the PO. with release strategy  with multiple approvers.  After approval of first approval manager , one of the PO line item got deleted and Total PO value is reduced . The new PO value should have changed the PO release strategy. But it is not changed. Old release strategy only showing in the PO which is wrong. 
    Details of the PO
    PO no 4500000123 with 5 line items Total PO value : 100,000 USD Release strategy : AB
    PO line item 5 deleted. Now total PO value changed to 50,000 USD and the PO release strategy should have been changed to AA but not changed. Still showing PO release strategy AB only.
    Are there any OSS notes available to correct his bug.
    Please let me know if you need more details
    Thanks in Advance
    Thanks
    MVS

    Hi,
    release indicators  change it to 4.It may works. Please explore to all 6 indicators..........
    i.e,
    1-cannot be changed
    2-changable,no new determination of strategy
    3-changable,new release in case of strategy
    4-changable,new release in case of strategy or value change
    5-changable,new release if new strategy/outputted
    6-changable,new release if new strategy or value changed/ outputted......
    And check   Characteristic description and value in Classification  of Release strategies ........
    I hope this will help you. Thanking you.
    Regards,
    Venkat.

  • Repair request for Delta load? Orders missing in Billing line Items

    Hi
    I am using BW 3.5; Some Orders are missing in BW for Billing line item reports (2LIS_13_VDITM) according to the users.
    The report is based on Cube directly, ODS is not used. I planned to do a repair full request for this month's data so as to get the missing orders.
    Could you please advice me on correct procedure to do that? Delta loads runs every day and todays delta is completed.
    Thanks and BR
    P.B

    While it's usually recommended to execute setups during "quiet time", it's not required. Especially in this case. Since you're going to be restricting the setup to only extract a range of Billing Documents that are representative of the dates of data missing (or purely the identified missing documents), there is no need to wait for "quiet time" because you'll pick up the data either in your Full Repair extract or in the delta extract. Depending on how the target InfoProvider for this data is setup (cumulative v. non-cumulative), you may have to look out for duplicate data.
    My recommendation would be to run your setup for only those documents that have been identified as missing. That way, you're limiting the amount of data that's required to be extracted to the setup table and then into BW, but also will remove any risk of duplicate data in your target InfoProviders.

Maybe you are looking for

  • Calendar: weekly view

    Hi, I'm wondering if it is possible to view my Calendar weekly or if that option is planned in OS3.0. I don't have enough appointments for a day but way too many for a month Thanks!

  • Reports Development in 12.1.3

    Hey guys I want to develop customize reports in oracle EBS 12.1.3, which developer suite is better to you ?? my database version is 11g Regards Hussain

  • HP Deskjet 3050A

    With Windows 8 the high resolution printing is poor of quality compared to the printing with Windows XP. Who has a solution?

  • Field validation under condition

    Hi, I need to perform the following task: I have a selectOneMenu by which I can select the role of a user. If the selected role is A, then other fields F1, F2 and so on are mandatory; if the selected role is B instead, then the above fields F1, F2,..

  • Edited RAW photos not appearing in Lightoom V2 automatically

    I have just upgrade to Lightroom 2 and I now find that if I edit my Canon CR2 RAW images in Photoshop CS3 directly i.e. CTRL +E (not CTRL+ALT+E) and then use SAVE, the image which is now a TIFF file does not automatically appear in the Lightroom cata