Link BSAD items

Hi.
I'm trying to create a report in FI/AR which shows me cleared amounts and the invoices which are cleared.
Layout something like this :
Clearing document 10 , Customer A , amount 1500 Euro is cleared for these invoices :
Clearing document 10 , document 1 amount of 500 E
Clearing document 10 , document 2 amount of 500 E
Clearing document 10 , document 3 amount of 500 E
Clearing document 10 , Customer A, amount 1000 is cleared for these invoices : 
Clearing document 10 , document 4 amount of 500
Clearing document 10 , document 5 amount of 500
The problem which I'm facing now is how to link the   invoices to the correct cleared amount.
Is there link avaibable from document 1 to the amount of 1500 ??
Can anyone help ??

Yes, the connection is the field augbl (Document Number of the Clearing Document).
e.g:
PARAMETERS:belnr LIKE bsad-augbl,
           bukrs LIKE bsad-bukrs,
           gjahr LIKE bsad-gjahr,
           buzei LIKE bsad-buzei.
DATA itab LIKE bseg.
DATA inv  LIKE bsad OCCURS 0 WITH HEADER LINE.
SELECT SINGLE * FROM  bseg CLIENT SPECIFIED INTO itab
       WHERE  mandt  = sy-mandt
       AND    bukrs  = bukrs
       AND    belnr  = belnr
       AND    gjahr  = gjahr
       AND    buzei  = buzei.
SELECT        * FROM  bsad INTO TABLE inv
       WHERE  bukrs  = itab-bukrs
       AND    kunnr  = itab-kunnr
       AND    augdt  = itab-augdt
       AND    augbl  = itab-augbl.
       AND    belnr  <> itab-augbl.
regards Andreas

Similar Messages

  • Link between Item and delivery

    Hi ,
    I want to know the link between item and deliveyr. Like for example, an sales order item ( no. 10) containing 10 quantities can be delviered 5 times( each containing 2 quantities) and line item ( no. 20) can contain one single delivery. I am working on a report where i have to link all the line item to its delivery number. I am trying to achieve this through GENIl but i am not able to indetify as to how to differentiate the different deliveyr numbers. In other words, can some one help me as to how to link the delivery number to its corresponding items?

    Document flow is stored in the table VBFA in ECC.
    VBELV fied is the sales order number and in POSNV specify the line item number and speicfy VBTYP_N = J (Delivery).
    Regards,
    Bhanu

  • Creating a report for linked work items...

    We are using TFS 2012 and need to create a report (either excel or SSRS) that shows all the user stories under the current sprint and any linked child items across two projects. I can do this easily per project in VS and open it in excel but excel won't
    let me copy/paste two projects work items in one spreadsheet. I tried searching and found a few suggestions but they don't seem to work.
    TIA,
    Vik

    Hi Vik,  
    Thanks for your post.
    We suggest you create a such report using TFS API. Please refer to below code snippet:
                TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(new Uri("UrI"));
                tfs.EnsureAuthenticated();
                WorkItemStore workitemstore = tfs.GetService<WorkItemStore>();
                string wiql ="SELECT * FROM WorkItems WHERE [System.TeamProject] = 'TeamProject' ORDER BY [System.Id] ";
                WorkItemCollection wic = workitemstore.Query(wiql);
                foreach(WorkItem workitem in wic)
                if(workitem.Links.Count!=0)
                    foreach (Link link in workitem.Links)
                        RelatedLink relatedLink = link as RelatedLink;
                        if (relatedLink != null)
                            Console.WriteLine(relatedLink.RelatedWorkItemId);
    You can create your custom work item query to return all the parent work items, then save this query as a .wiq file in local path, then open this .wiq file and you will find the wiql string in it.
    For more information about work item query TFS API, please refer to:
    https://msdn.microsoft.com/en-us/library/bb130306.aspx.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Open Sharepoint Link List items in new tab?

    I have a sharepoint list which is Link List.Actually When I click on item in that link list it should be open in the new tab/window

    Hi,
    According to your description, you might want to open Link list items in a new tab/windows.
    If it is not a must behavior to use the “URL” column to hold the hyperlink, I would suggest you use “Hyperlink with formatting and constraints for publishing” column
    instead which can let users decide to open the hyperlink in a new tab or not.
    It is required to activate the “SharePoint Server Publishing Infrastructure” in the “site collection features”, create a column of this type in “Site Settings ->
    Web Designer Galleries -> Site Columns”, then you can add it into your list.
    Here is a link about how to add publishing columns to content types, lists, or libraries, you could use it as a reference:
    https://support.office.com/en-ie/article/Add-publishing-columns-to-content-types-lists-or-libraries-4e268d2e-4822-4bc6-a992-88287119a052#__toc337727282
    Best regards
    Patrick Liang
    TechNet Community Support

  • Display Employee Name linked in Item Master in Order Recommendation Report

    Dear Experts,
          My requirement is that the "Employee Name" linked in Item master have to be displayed next to the item in MRP Order Recommendation Report.
    I have created a header level UDF "Employee Name" in Item master and have selected an employee in this field. I have also created another UDF in Order Recommendation Report as "Internal Buyer" as a column. But the employee linked to the Item is not getting displayed in the Order Recommendation Report.
    FMS query used in "Internal Buyer" is
    SELECT T0.U_Employee FROM OITM T0 where T0.ItemCode=$[oitm.Itemcode]
    Regards,
    G.Shankar Ganesh

    Hi Shankar,
    Could you try with this query
    SELECT T1.[U_Employee ] FROM [dbo].[OITM]  T1 WHERE T1.[ItemCode] =$ ORCM.ItemCode
    Regards,
    Vijay kumar

  • Link Line Items AUAS with ANEP

    Greeting,
    How to link line items of table AUAS with ANEP if there is more than one line for a document number in both tables with different amounts. The scenario is that I am reading lines of table AUAS and need to get the transaction type from table ANEKPV. Using only the document number may return transaction type of the other line item.
    I would highly appreciate your help.
    Regards,
    Mohammed Al-Saad

    Hi All,
    Got the solution.
    The Field POSNR of the table ACCTIT contains the line item number of the FI document and the field URZEILE contains the corresponding line item number of the material document. Hence we can make use of this table to relate the FI doc and mat doc line items.
    Thanks
    Sreeraj

  • Changing name on a column that is (linked to item)

    Hi all-
    I have a list in SP 2010 that has a column titled "Issue ID" (linked to item).  It shows up as the first column when I view my list.  I am trying to change the name from Issue ID to Risk ID.  When I go into List Settings, the column
    does not show up at all.  If I go into "Edit View" for the main view, the column displays (I can check and uncheck it to determine if I want it to show up in my list) but I cannot find a way to change the name.  What am I missing??
    Thanks.

    Amy Hi,
    If you just want to change the column heading in your view. It would easier to do it in sharepoint designer by opening the view and edit the heading.
    Other way to do is to create a Risk ID column and create a workflow to populate the column from ID column.
    I think Issue ID column linked to the item identity field column name ID.
    Hope this helps!
    Thanks,

  • Link between item line to its tax line

    Please, kindly tell me how one can find out which tax line is linked to a specific item line in payables. In AR, we have ra_customer_trx_lines.LINK_TO_CUST_TRX_LINE_ID to link line item to its tax.

    Thanks Octovio & Nagamohan,
    Maybe I should explain better what it is I'm trying to do...
    Basically, I need to produce a VAT report.
    This report would list every item line in AP (ap_invoice_distributions with line_type_lookup_code = 'ITEM') in addition to this report, I need to also have another column showing the TAX for each inidividual item.
    Now this is where it starts to get confused & complicated (though it shouldn't). I can see other lines in ap_invoice_distributions of same invoice_id but cant figure out which 'TAX' line is for which 'ITEM' line.
    This is what am hoping to derive. If its not possible, then at least I know.
    Nagamohan said to use distribution sets, I looked around for this but nothing to indicate what is distribution sets.
    Thanks alot,
    Femi

  • Object links to items

    hi,
    can i configure to object link an item to a order group(which is created through KOH1 transaction grouping different  IO's in CO).
    Pls suggest.

    You can link it and if there is a posting on this order(which will not be the case) then it will be transferred to PPM. The cost of child order will not be transferred.
    Regards,
    Alok.

  • Linking Delivery Items with Delivery Items having batch

    Hello Fellow ABAPers,
    Does any one of you know how SAP links items in Delivery table (LIPS) without batches with their respective items having batch.
    For e.g. in Delivery Item we have delivery no. , item and batch. Assume we have delivery no 801xx and item 10 for this record there is batch with delivery no. 801xxx and item 90001. Likewise for delivery no 801xx and item 20 there is batch with delivery no. 801xxx and item 90002.
    How does SAP link line item 10 to 90001 and line item 20 to 90002. Batch no. could be different. If there are multiple batches for the same line item, how can we identify them programmatically?
    Is there any separate table in SAP or is it maintained in LIPS only?
    If you any of you have worked on this please let me know.
    Thanks and Regards,
    Huzefa Vasi

    Hi,
    In LIPS table itself, there is a field called UECHA. (Higher-level item of batch split item)
    This field contains the higher level item number
    for eg. consided line item 10 in 2 batches called 90001 and 90002
    VBELN             POSNR              UECHA
    801xx                 00010                   0000
    801xx                 90001                   0010
    801xx                 90002                   0010
    801xx                 00020                   0000
    if UECHA is 0, then it is the higher level item
    Hope this will be useful

  • Hide or delete column (linked to item with edit menu) in power shell

    Hi;
    How in powerShell can I change the column in a SharePoint list that has the link to the item and the link to the item with edit menu.
    For examlpe :
    Title (linked to item) and Title (linked to item with edit menu)
    I want to add into my view only the Title (linked to item) : ViewFields.Add("Title(linked to item)")
    Thanks

    The name of the field which needs to be deleted is LinkTitle. Here is a sample PowerShell code:
    $web = Get-SPWeb "http://aissp2013/sites/TestSite"
    $list = $web.Lists["XYZ"]
    $view = $list.Views["All Items"]
    $view.ViewFields.Delete("LinkTitle")
    $view.Update()
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • Mistake in linking multiple items,

    Hi I made a mistake in linking multiple items and now have entire library under one album name and one artist
    Is there anyway I can undo this?

    OP does not mean tracks but items (clips, titles etc).
    OK. Fair enough. I wrote it wrong. Sorry about that. And I have no idea why I wrote "three" instead of multiple.
    Select just the multiple clips, then right click and select "Nest". Then you can apply the opacity keyframes or transitions to the nest.

  • Link work items across collections, TFS 2012

    Hello,
    Is it possible to link work items across collections?  We have items reported in one collection which are triaged, routed to the correct department where a new bug is opened in the corresponding collection, then closed in the original collection.  We
    would like to have a direct link between the 2 items.  Is there an existing way to do this?
    Thanks 

    Hi Ajn,ny,  
    Thanks for your post.
    As EIKort said, TFS not support link work items in different collections. You need create new bug in the same collection, then create link between work items.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • De-link PPM Item with SAP Project

    Hello,
    Can somebdoy throw a light on what to do in case I want to de-link a PPM-item with SAP project.This situation may rise if I want to change the project actuals going to bucket A to bucket B.As I can not change the relationship of an item with the bucket, I am looking for alternate solution where I can de-link SAP Project with SAP PPM item.
    thank you!
    Regards,
    Mahendra

    Hi Mahendra
    If you are meaning to de-link a PS Project from a PPM Item, you can from the Item navigate to the 'Relationships' tab and then on the 'object links'sub-tab select and delete the assignment:
    You can also remove a cProject relationship by clicking the 'Related Objects' sub-tab
    Your comment that you cannot move an Item to a new Bucket - is this because your business process does not allow you to do so? Because this is definitely possible in the system.
    Let me know if you have any further questions as I am not sure I have addressed your question
    Regards
    C

  • Rate it Link for items in a content Area

    Hi,
    How do I add a rate it link for all items in a content area and track the rating for items by all the users. This is urgent and any help is appreciated
    Thanks
    Makario

    You need to create a custom item type, with a procedure that displays a link to do the rating.
    For an example of a custom item type procedure, see Re: personal oracle 9i
    Note that the primary key for an item is (masterid, id, caid, language).

Maybe you are looking for

  • Personal HotSpot field is missing

    I recently bought iPad Air 32GM with 4G. There is no Personal HotSpot button to set up Personal Hot Spot. Does any one knows a solution for this?

  • CSS to control image size?

    Had a quick question about using CSS to contorl the image size. I have 50 or 60 images that will show up throughout the site (project portfolio); however, I also need about 30 of these images to appear as thumbnails in various parts of the site... I

  • IWorks File Format Documentation?

    I've been hunting around the iWorks resources section (http://www.apple.com/iwork/resources/), but I can't seem to find any details anywhere on documenting the iWorks file formats. Does anyone know where I can find this? (I'm trying to write somethin

  • Time Machine single handedly destroys all of my files. HELP!

    After transferring my entire 60GB hard drive to my new Lacie 500GB external drive, and performing a clean reinstallment of osx (since nobody answered my last question) on my p.o.s. emac, I went to work on setting up Time Machine (before transferring

  • I Tunes loads new bought songs to My nano but Nano sees but wont play them

    WHat am I doing wrong- I have many songs on my nano - it works fine- but I have bought three new songs over the past couple of weeks, the Nano sees them after I copy them over and even loads the album art but then skips forward past them and wont pla