Report at line item level but also for document total for once only

Dear all,
seek for your help for the following issue
There is a A/R invoice with 3 items
There is a report for retrieving the line item level data from inv1, user would also like to add a column to display the Document total , but the problem is, each line item will also display the Document total, any method to only display the corresponding Document total for once only?
Example, for AR invoice number 1234567:
Currently:
No.                ItemCode        Price      Qty    LineItemTotal      DocumentTotal
1234567       Item-A            10           1       10                       100
1234567       Item-B             50          1       50                       100
1234567       Item-B             20          2       40                       100
Requested to be presented as:
No.                ItemCode        Price      Qty    LineItemTotal      DocumentTotal
1234567       Item-A            10           1       10                       100
1234567       Item-B             50          1       50                      
1234567       Item-B             20          2       40                      
Thank you very much!!!

Hi,
Try This.....
select T0.DocNum ,T1.ItemCode ,T1.Price ,T1.Quantity ,T1.LineNum ,case  when T1.LineNum ='0' then T0.DocTotal else 0 end    from oinv T0 inner join INV1 T1 on T0.DocEntry =T1.DocEntry where T0.DocNum=[%0]
Thanks
Shafi
Edited by: shafi_sunshine on Oct 19, 2011 12:50 PM

Similar Messages

  • FI Posting of Invoice at the Line Item Level.

    Hi All
    Client has requirement of posting at the invoice line item level.But standard FI-AR posts at the Invoice Header level.
    E.g If invoice has two line items of $20 and $30 respectively.
    On the standard FI-AR side,one accounting document of $50 will be generated.It will not be posted for each invoice line level.
    In order to post at the invoice line item level,i am looking for a posting user exit from SD side that will two individual account document each having invoice line item amount.Or we can have one FI accountng doc having two invoice line items in that.
    Is there any way we can do this unique type of enhancement in ABAP? and also what is the exact user exit we can use from SD invoice side.
    Regards
    Manjinder

    This is not entirely accurate - if the items are pointing to, say, different profit centers then there will be one posting per profit center. If this cannot be resolved by the standard SD/FI configuration, then the users might need to change their business process. I personally don't see any need to create postings on line item level. Just imagine what it will do to your database size.
    Anyways, you'll find all the user exits here:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/sdUserexits
    But, again, this sounds like a very bad idea.

  • Switch to Open Item Management at a Line Item Level

    Hi Guru's,
    I want to change a non Open Item G/L account to an Open Item  at Line Item level, we are on version 6.4
    We have activated New G/L and I checked OSS note 175960, it says its not applicable if New G/L activated.
    I tried program FAGL_SWITCH_TO_OPEN_ITEM , it switched the account to Open Item but the problem here is it did't switch at line item level it is just showing total balance. My requirement is to switch at Line Item level.
    Is there any solution other than creating a new A/c with Open Item checked and transfering balances from old A/c to new A/c.
    Please suggest
    Thank You

    Hi,
    There are 3 ways to realize it.
    1. create a new account with XOPVW, then transfer the balance from old account to the new one. this is recommended by SAP.
    2. if you want to change  flag of XOPVW in this account, then make the balance to zero, then change this flag in FS00, at last trasnfer the balance back to this account-> Not recommended by SAP, because it is easy to cause data inconsistency.
    3. method in note:175960-> but report :RFSEPA02 and RFSEPA03 are not support since release 4.5A.
    So if possible, suggest you to use 1.
    Best Regards,
    Gladys

  • In report painter report, line item level drilldown report requirment

    Dear All,
    I created one report in GRR1, when I execute the report i am not getting line item wise drilldown option. For example one cost center no of line itemwise posting ( g/ls wise)posting is there. By double clicking on that specific line item we will go that ledger and see the data available in that ledger.In standard reports that option available but my own reports I unable to go drilldown at ledger level cost reports.
    Please sugget anyone, where I am doing mistake in report creation level.
    Thanks
    M Srinivasa reddy
    Ph : 9637399076

    Thank you,
    I attached reports to Library based on that I am able to drilldown line item level of the report.Is it corret or any other way for line item level drilldown option for report painter reports
    Thanks
    M Srinivasa reddy

  • Asset field blank in FS10N (Drilldown to line item level) report layout

    Hi all,
    i ahve posted a Retirement transaction to an asset and when i went to see the line item on the GL using/executing report FS10N for asset transactions GL and drill down to the line item level by double clicking on the period balances and I choose field "Asset" to be displayed in the layout, it is blank. How can I get report FS10N to display the asset number from the transaction?
    the field is available in the layout but when i pull it into the report it is Blank in the report.
    Any help would be appreciated. Thanks
    Jay

    Hello,
    FS10N shows only balance, FBL3N shows the line details.
    Add the asset as a special field via OBVU  (Table:  BSEG, Field: ANLN1).
    Regards
    Waza

  • Customized drill-down report cannot go to line item level (FGI4 and FGI1)

    Hi Expert,
    I created a customized drill-down report using New GL features, as follows:
    FGI4 create form, with reference to form: 0SAPBLNCE-01
    FGI1 create report for the form created.
    After that I set some things like characteristic, variables, and output type.
    When I execute the report, the data shown cannot be drill-down to line item level:
    Goto > Line Item (this function is disabled).
    Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
    Thanks
    sbmel

    Hi sbmel,
    For calling up a line item report in a drill down report you need to make the below settins:-
    - You first have to generate the line item report with program RGRGENSI for your summary table.
    - Then assign the generated line item report to the summary report.
               Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
                In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
    Regards,
    Gaurav
    Edited by: gka2707 on Jul 19, 2010 8:07 AM

  • Line Item Level Approval For SC-SRM7.02

    Hi Experts,
    I am working on the line item level approval based on cost center. can some one help me in achieving this?
    i have few doubts regarding this
    1) we are using application controlled workflow is it feasible to achieve this functionality ?
    2) will separate PO will be created for each line item?.
    some pointer would be really helpful.

    Hi Mano,
    1. Yes, but would suggest to use new process controlled workflow.
    2. No, Cost center is not a split criteria for PO creation. Of course you can overwrite it with ABAP.
    Regards
    Konstantin

  • Correspondence at line item level for Residual customer document

    HI All,
    I want to store corresponence letter for residual documents. The document containts some 20 line items and i want to store different correspondence letters for each & every line item.But system stores at header level and not in line item level.
    I am able to do, when i ran F.61 for each & every line items. Whether its possible to type correspondence for all line items at a single shot and possible to run F.61.
    Thanks
    Hari

    Hi Liz,
    I´ve got the similar problem like you wrote. 
    My client had a reorg project behind and locked the old profit centers. For the reason of clearing open items and FX valuation those locked profit centers need either to be  re-locked or the posting need to be posted to the new profit centers by using substition. Could you please kindly advicehow did you solved this problem?
    OR maybe someone else can help?
    Many thanks in advance.

  • Line Item Level Approval For SC-SRM7.02-WS14500015

    Hi Expert,
    I am using workflow template WS14500015 for line item level approval.i have few doubts on this
    i am using cost center based approval, so if the 1st line item is approved will it generate a PO or will it wait for the entire shopping cart to be approved.

    Hi Mano,
    Are you using application controlled workflow or process controlled workflow?
    For process controlled workflow you can refer to the SRM 7.0 Workflow guide:
    https://websmp108.sap-ag.de/instguides > sap business suite and applications> SRM 7.0 > Workflow Guide - SAP SRM 7.0 and Configuration guide.
    Page 16, Approval Processes in SAP SRM; you will understand possibilities of SRM 7.0 process controlled workflow and then decide which one you need.
    Also refer to 7 Appendix B: Approver Determination Strategies in the Standard
    This has few example classes/BADI implementation for agent determination which you can refer to.
    Regards,
    Ashish

  • Line Item level Approval for Shopping cart

    Hi Expert,
    I am using workflow template WS14500015 for line item level approval.i have few doubts on this
    i am using cost center based approval, so if the 1st line item is approved will it generate a PO or will it wait for all the line items approval.

    Hi Mano,
    if you use approval. It will be approved by steps. Next step will not be started until previous completely done. In your case 1st Item should wait until all other items processed.
    Regards
    Konstantin

  • Screen exit for Service entry sheet at line item level

    Hi,
    We would like to add some custom fields at service entry sheet at line item.
    A new tab to be introduced with custom fields at serive entry line item level.
    Any idea which screen exit can be use? or
    what is the way to find the screen exit?
    Regards,
    Sandeep

    Hi Sandeep,
    You can try to use the user defined fields in table ESLL                                                                               
    ESLL-USERF1_NUM   User-Defined Field                                   
      ESLL-USERF2_NUM   User-Defined Field                                   
      ESLL-USERF1_TXT   User-Defined Field                                   
      ESLL-USERF2_TXT   User-Defined Field                                                                               
    or develop a custom solution with the help of customer enhancement         
    SRVDET (transactions SMOD, CMOD).
    You should use EXIT_SAPLMLSP_030 to transfer values. 
    Regards,
    Edit

  • Header data not getting updated in line item level

    Hi,
    We are trying to update Pricing date at header level but it is not gettting copied to item level.
    getting an message "The header business data does not apply to item xxxx"
    i have checked the item category and "business item" field is checked. and for the same sales order previously we were able to change the pricing date at header level and it got applied to item level but this time is is not getting applied.
    kindly suggest.

    If there are multiple line items which are having different data; in your case, Pricing Date, then in that case, when you try to change at header level, system will pop up this message.
    You can also have a look at the following note:-
    Note 336660 - Message V1403 in sales order with article order no
    G. Lakshmipathi

  • Line Item Level Coupons

    Hello Everyone,
    Are line item level coupons available where you tie a promotion to a particular item?  I know you can set it up where if you buy A01 you get A02 free, but is there a way to set that up as a 1-to-1 ratio?  Let me explain a little further...  Our client has end users placing orders through distributors, so the distributor is actually placing the order.  The end users apply and receive a promotion code when they sign up and place their first order (which must be done through a distributor).  The distributor may combine these orders from end users into one large order, therefore for each A01 that is on order, they give away a bag of items free (let's say A02), to that customer but they want to capture a note with that promotion that it is for a particular end user.  So, the question is, is it possible to track that only one promotion is given per one item (for each A01 on the order only allow the same number of free A02).  Also, is it possible for each promotion to add a note that will designate which end user it goes to?  Any thoughts would be greatly appreciated.
    Thank you in advance for your time!
    Kristen

    Hi Kristen,
    Do you still need help on this one?
    I am no completely clear on what you are after.
    When you set up a discount(coupon) you can limit the number of times it can be redeemed per user.  Is that what you are after?  Or is there more to it?
    There is no "note" associated with this.  Not sure what you mean by that.

  • Fixed Value Date at line item level is not in changable mode when copied

    Dear SDN Team,
    Hi i have a problem in the Fixed Value date at the line item level in the Return sales order.
    The Problem is When creating the return order with reference to the scheduling agreement (10.03.2010).  In the Return sales Order at the line item level the fixed value date is coping from scheduling agreement item (fixed value date eg: 31.12.2009)
    But i would like to have the fixed value date in the return order as 10.03.2010  but the field is greyed out.
    But normally when the sales document is created with reference to the preceding document the same will be copied.  But field is greyed out and it is not in changable mode.
    Can any one help how to solve this.
    I have checked also SAP Note where i did not find any messages.
    In normal scenario - when the order is created without any reference the fixed value date is in changable mode until the document is in open.
    Pleas help me to resolve this.
    With Regards,
    Jai

    Hi Lakshmipathi,
    I am sharing the resolution which was done to this requirement.
    We have a specific condition type with statisticaly used and with routine to have KWERT with zero value,
    Based on the different key combination. We have a specific key combination for the SA and SDoc and for this we need to maintain a condition record for the condition type with fixed value date and which will be linked to only the specific document.  Once this is done.
    We need to do update pricing in the sales order for the particular line item. by doing this the Fixed value date will be changed in the particular line item.
    Thanks and Regards,
    Jana

  • Not to seen reversal doc in fbl3n line item level

    Hi ,
    We have posted doc and reversed it ,but we are not able seen reversal doc in fbl3n but at the same time we can able see orginal doc .
    line item also activated for that GL account.
    Your intime responce is highly apprecated
    Thanks
    Seshu

    Hi ,
    we can able see reversal doc in fb03 and also this is there in FS10N also but it's not there in FBL3N and when we select in line item level in fs10n it's saying no line item possible for this doc .
    we can able see original doc but not reversal doc in FBL3N
    More over this gl also activated line item disply
    Thanks
    Seshu
    Edited by: vyshnava_sesh on Jun 1, 2011 4:52 PM

Maybe you are looking for

  • My sleep buttom doesn't work how can i fix it?

    i have a ipod touch and the sleep buttom doesn't work how can i fix it? thank you

  • How do i stop new tabs that are loading from automatically switching from current tab

    how do i stop safari from loading a tab i've clicked on previously from automatically switching to it when i'm busy on another one? i want to stay on the other tab until new tab is finished loading..

  • IDOC conevrsion through ABAP mapping

    Hi, I am trying to map to an IDOC MATMAS05 with an extension ZMATMAS05, using ABAP mapping. The source and target structures are external definition formats(xsd) of the IDOC.(I did this because I am using a BPM and used the xsds as abstract interface

  • Battery does not charge after rescue & recovery

    Hi, Yesterday I set up my computer fresh from the preload on the harddrive due to slowness, instabilities, inability to use VPN etc. After the reinstallation of OS and securiy updates, my battery does not charge anymore. The battery indicator on the

  • Panic with Disk Utility

    On my macbook 1.83 GHz c2d under both system 10.4.9 and also 10.4.10 I have the following panic situation: Launch disk utility. Click on "Macintosh HD" at left. Click lower left "verify disk" button. Result: beachball and after a short wait nothing w