How to get all the invoices that were cleared by a customer payment

Dears,
I am having trouble using tables bsad and bsid to list all the invoices paid by a customer payment.
Imagine I have a DZ document which pays partially or completelly, several customer invoices (RV documents).
My requirement is to build a report able of showing all the invoices paid in an acounting document, regardless they are paid partially or competelly.
More than that, the payment of an invoice, can have several iterations.
For example:
Invoice RV 10000000 - amount 100.000u20AC
On first payment, I pay 25.000u20AC -> accounting document DZ 21000001
Second payment, I pay 25.000u20AC-> accounting document DZ 21000002
Third payment, I pay 50.000u20AC -> accounting document DZ 21000003
Something like the following is expected for document 21000001:
Invoice 10000000
Original amount 100.000 u20AC
Open amount 100.000u20AC
Paid amount 25.000u20AC
Something like the following is expected for document 21000002:
Invoice 10000000
Original amount 100.000 u20AC
Open amount 75.000u20AC
Paid amount 25.000u20AC
Something like the following is expected for document 21000003:
Invoice 10000000
Original amount 100.000 u20AC
Open amount 50.000u20AC
Paid amount 50.000u20AC
I noticed that table BSE_CLR has a the clearing information but I am not able to create the iterations needed.
Another thing I noticed is that, when I make Payment Usage on FB03 for a payment that was not not completelly cleared on that document, I cannot see the full payment usage. I have to go through FBL5N with the customer account number and find out the full payment information.
Has anyone built a similar logic and can share it with me?
Any standard function modules? Any standard transactions that show the full payment information?
Thank you very much,
Kind Regards,
João Cabrita
Edited by: João Pedro Cabrita on Aug 1, 2011 5:59 PM

Hi:
            Clearing document (AUGBL) generated against invoice with document type AB will be an option to use for reporting purpose. No matter invoice is partially cleared or fully exhausted system generates a clearing document against it. It stores the payment usage. System should check in BSID table with reference to AUGBL if there is anything left against invoice that is to be paid or if it is fully exhausted it will be present it BSAD along with it payment usage data. I hope this will help you in developing your report.
Regards

Similar Messages

  • How can I get Safari 5.1 to open without opening all the tabs that were open when i last quit safari?

    When I lauch Safari (5.1 in 10.7) I want it to open to either an empty page or a designated homepage - but istead it opens all the tabs that were open when I quit Safari.  How do i stop this, I cant find any preference to achieve this and see nothing in help.  Any help?

    Hi James - Thanks for the info!  This has been bugging me, too.  I'm going to uncheck the Restore Windows box.  Agree with you that it should be app specific, tho.  I like opening to the last page I was working on in pages and numbers.  Hope it doesn't change that!

  • HT4796 How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users?

    How can I take the files that were migrated from my PC to my Mac and add all those files to my current user instead of having 2 users? Having to log out just to sign in on a different user to access the files is absurd.
    Do I make all the files sharable to all the NOW users on the mac then just delete the files? Or can i erase my account that I made when starting up my new mac and then just use the one with the transferred files?
    I just dont want to have to og in and out of 2 different accounts .. Help please.         
    -Nina

    Sorry. /Users is a folder path. It would be similar to C:\Users (if that exists on Windows).
    So, in the Finder, select Computer from the Go menu.
    You'll see Macintosh HD, double-click that to open it.
    In there you'll see several folders. One is Users. That is where all the user Home folders exist. Select the other account's home folder and go to step 3.
    If you have any more confusion, please stop and ask. We'll get there.
    If you feel more comfortable, you can just log into that other account and move the files into /Users/Shared.
    Then, log into the account you wish to use and copy the files from the Shared folder and paste them into your Home folder, wherever they belong, Documents, Music, Pictures, etc.  That just takes a little more work. Transferring them into Shared, and then copying into your home sets the permissions on the files so that you won't have a problem accessing them later. The steps I provided just prevent you from having to do the double move, since you are not going to use the old account once you are done.
    Quick unix shorthand. If someone gives you a file path that begins with a /, that means the root of the hard drive, ie Macintosh HD (if you haven't renamed it). The path separator in unix is /, not \.
    A path that starts with ~/ means your Home folder, the one inside /Users named with your account name.

  • HT1937 Hi i have an ipod apple shuffle it was stollen and i recovered it now i cant acces my old music,and all the details that were inside it,these person deleted my stuff and instored his how can i recover my documents please help

    Hi i have an ipod apple shuffle it was stollen and i recovered it now i cant acces my old music,and all the details that were inside it,these person deleted my stuff and installed his please help

    This is an Enterprise iPhone forum.  You will  get more imediate assistance by going to the correct forum.

  • How do i get all the apps that i had before upgrading my ipad

    how do i get all the apps that i had before upgrading my ipad

    Normally they're restored to your iPad right after the upgrade.
    If that didn't happen, you should find them in the App Store under Purchases.  Restore them, but do that one at a time.
    Or you can sync with iTunes on your computer, and they should be there.

  • How do i get all the music that i purchased back on my ipod touch 3rd generation?

    how do i get all the music that i purchased back on my ipod touch 3rd generation?

    Back from where?
    Where did it go?
    It should all be on your computer and included in your regular backup copy of your computer.
    Sync it back.

  • How to get all the values from the dropdown menu

    How to get all the values from the dropdown menu
    I need to be able to extract all values from the dropdown menu; I know how to get all those values as a string, but I need to be able to access each item; (the value in a dropdown menu will change dynamically)
    How do I get number of item is selection dropdown?
    How do I extract a ?name? for each value, one by one?
    How do I change a selection by referring to particular index of the item in a dropdown menu?
    Here is the Path to dropdown menu that I'm trying to access (form contains number of similar dropdowns)
    RSWApp.om.GetElementByPath "window(index=0).form(id=""aspnetForm"" | action=""advancedsearch.aspx"" | index=0).formelement[SELECT](name=""ctl00$MainContent$hardwareBrand"" | id=""ctl00_MainContent_hardwareBrand"" | index=16)", element
    Message was edited by: testtest

    The findElement method allows various attributes to be used to search. Take the following two examples for the element below:
    <Select Name=ProdType ID=testProd>
    </Select>
    I can find the element based on its name or any other attribute, I just need to specify what I am looking for. To find it by name I would do the following:
    Set x = RSWApp.om.FindElement("ProdType","SELECT","Name")
    If I want to search by id I could do the following:
    Set x = RSWApp.om.FindElement("testProd","SELECT","ID")
    Usually you will use whatever is available. Since the select element has no name or ID on the Empirix home page, I used the onChange attribute. You can use any attribute as long as you specify which one you are using (last argument in these examples)
    You can use the FindElement to grab links, text boxes, etc.
    The next example grabs from a link on a page
    Home
    Set x = RSWApp.om.FindElement("Home","A","innerText")
    I hope this helps clear it up.

  • How to get all the values in one column of a JTable

    How to get all the values in one column of a JTable as a Collection of String.
    I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column.

    I don;t want to write a for loop to say getValueAt(row, 1) eg for 2nd column. You could always write a custom TableModel that stores the data in the format you want it. It would probably be about 50 lines of code. Or you could write a loop in 3 lines of code. I'll let you decide which approach you want to take.

  • How to get all the values of a variable with F4 with checkboxes to select

    Dear Experts,
    After Executing a query by giving let 3 values(Out of 10 Values) to a variable.
    To give 2 more input values to the same variable(i.e.,total I wanted to give 5 inputs this time ),after refreshing the query,for that variable if I click F4, I am seeing the historical values(i.e.,3) and remaining 7 values also But with out any Check Boxes besides them to select the 2 inputs.
    In the same F4 Screen, If I click all values(an Icon at The bottom),then also Im seeing but no check Box.
    I hve tried by deleting the Delete Personalization also,but no use.
    Please tell me How to get all the values with F4 with check boxes to select ,whatever I want??
    Thanks in advance

    Take a look at the InfoObject and go to the Business Explorer tab. If the 'Query Def. Filter Value Selection' is set to 'Only Values in InfoProvider', you're only going to get the values in F4 that exist in the InfoProvider, not everything in the Master Data. This would need to be changed to the value of 'Values in Master Data Table' if you want it to show everything possible when F4 is chosen.
    Likewise, you're going to need to look at the query and go to the Advanced tab for the InfoObject. Make sure that the radio button for 'Values in Master Data Table' is selected. If not, then you should change that selection.

  • I never used this program before. I tapped on the "budget form" and decided I'd rather use the "expense form".  I can't figure out how to get to the page that you choose which form you want

    I never used this program before. I tapped on the "budget form" and decided I'd rather use the "expense form".  I can't figure out how to get to the page that you choose which form you want. How would I do that?

    Pct,
    In the Numbers spreadsheets window where all your documents are shown as icons, tap the Plus Sign.
    Choose Create Spreadsheet
    Select the template you want to use
    Jerry

  • How can I view the iMessages that were sent to me while I was out of the country?

    How can I view the iMessages that were sent to me while I was out of the country? They never loaded, but people have told me that they sent me many iMessages while I was gone.
    I figured they would load when I turned on my cellular data, but only my text messages loaded. I would like to see the iMessages I missed because I believe some of them were fairly important.
    I would really appreciate somebody's help!

    As far as I understand with this, iMessage works the same as regular txts.The iMessages are held on the messaging server for 72hrs if it's not picked up by then it expires. So those that you didn't get you will never get. Sorry.

  • OMB Plus : how to get all the generated messages into a text file ?

    Hello,
    I wrote an OMB TCL script and I would like to know how to get all the messages generated during the exécution into a text file.
    I tried this, but it works only for a puts command :
    set DesProjet ACT_1
    set filename [ open "c:\\temp\\INFDE_010_IMPORT_REPOSITORY_$DesProjet.log" w]
    puts "test"
    Thank you for your help

    Hello Alain, you should try the OMBLOG variable. If you set it inside OMBPlus:
    set OMBLOG c:/temp/mylog.txtthen all the OWB specific commands are logged with their output. By OWB specific I mean all those that start with OMB.
    This is more than what you see in the interface, because:
    - messages inside procedures are logged; you wouldn't see them on std.output when you call a proc
    - variables are resolved, so if you issue the command
    set my_var VERY_IMPORTANT_TABLE
    OMBDROP TABLE '$v_myvar'the log will show:
    OMBDROP TABLE 'VERY_IMPORTANT_TABLE'
    Table dropped
    and you know something is wrong... so OMBLOG is very useful to intercept all manipulations on you repository.
    If what you want instead is a dump of the screen output when you execute a script, I suggest you redirect standard output from the operating system command line. Unfortunately OMBPlus doesn't support all advanced redirection and tracing features of the TCL language.
    Hope this helps, Antonio

  • How to get all the values from a HashMap? thanks

    hi
    can anyone tell me how to get all the keys and their values contained in a HashMap? thanks

    thanks to u all for ur response, i gues if i need to get both keys and values, i need to use keySet() to get a set of keys first and then using each key to get value. is there any other faster way to get both of them (key and value)? thanks again

  • How to select all the people that are not in any equipe  ?

    Hi,
    I have a nice SQL expression that gives me as a result all the "AGENTS" (people) that are working in an EQUIPE (a team)
    select a."AGENT_ID",
    a."NOM" || ' ' || a."PRENOM" "Nom",
    c.libelle "Equipe",
    a."DATE_EMBAUCHE" "Date embauche",
    a."DATE_DEBAUCHE" "Date débauche"
    from OBSERVATOIRE."AGENT" a,
    observatoire.equipe_agents b,
    observatoire.equipe c
    where a.agent_id = b.agent_id
    and b.equipe_id = c.equipe_id
    order by nom
    Now, how to select all the agents that are NOT working in any "EQUIPE" (team) ?
    I have tried but could not succeed !
    Thank you for your kind help.
    Christian

    Christian from France wrote:
    It is not working because the table EQUIPE_AGENTS does not contains a row if the agent is not into any equipe.
    CREATE TABLE "OBSERVATOIRE"."EQUIPE_AGENTS"
    (     "EQUIPE_AGENTS_ID" NUMBER NOT NULL ENABLE,
         "EQUIPE_ID" NUMBER NOT NULL ENABLE,
         "AGENT_ID" NUMBER NOT NULL ENABLE)
    CREATE TABLE "OBSERVATOIRE"."AGENT"
    (     "AGENT_ID" NUMBER NOT NULL ENABLE,
         "GRADES_ID" NUMBER NOT NULL ENABLE,
         "NOM" VARCHAR2(50 BYTE) NOT NULL ENABLE,
         "PRENOM" VARCHAR2(50 BYTE),
         "DATE_EMBAUCHE" DATE NOT NULL ENABLE,
         "DATE_DEBAUCHE" DATE)
    The only way to "know" if an agent is not into any equipe (team) is to search into the EQUIPE_AGENTS table, and if we do not find the ID of the agent into this table, then we know that this agent is not into any EQUIPE (team).
    I don't know ho to translate this into SQL.And that's what my query does. It uses an OUTER JOIN so that a result record is returned whether or not there is a record in EQUIPE_AGENTS. And the check for EQUIPE_ID is NULL restricts the result set to those where there IS NOT a record in EQUIPE_AGENTS.
    A more traditional way would be to use NOT IN or NOT EXISTS clauses, but they can prove inefficient.

  • To get all the objects that are used inside the class

    Hi All,
    All i wanna know is to get all the objects that are used inside the class.
    Ex :
    Class A{
    Emp e;
    public add(Dept d){
    e.deptid = d.deptId;
    in this class i have two objects, one Emp obj and another Dept object.
    I wanna get the details abt this class Emp and Dept by simply parsing the file and by not loading this class in JVM.
    Could any pls hel me out.??
    thx.

    I wanna get the details abt this class Emp and Dept
    by simply parsing the file and by not loading this
    class in JVM.Your problem statement is vague and the constraint is IMO hypothetical.

Maybe you are looking for

  • No possibility to activate iMessages with my iPhone 4

    Hi everibody ! I have an iPhone 4 ! I can't activate iMessages on it !! When I'm trying I get a message that told me to verify my connection but I'm connected in 3G and Wi-fi. I arrived to activate once but only with my email address. When I go on th

  • Pushbutton Text does not display in portal but display in development

    Hi Experts, I ceated Pushbutton in  selection screen block . Pushbutton text is does't display in portal view but display in development . i attached my coding , could you suggest anyother coding to diplay the pushbutton text. SELECTION-SCREEN BEGIN

  • ENVY 7640 - Power Button doesn't work after going to sleep

    We print about once a day. It printed the first day without problems.The second day, we were unable to print and went to the printer and pushed the touchscreen - nothing happened.Then we pushed the power button - nothing happened,Then we unplugged an

  • Not able to go right on exchange rate screen

    Hello All, I have trouble while viewing exchange rate screen using (OB08). I am not able to move right and view right hand side column. Any solution. Thanks, Sagar

  • Is There A Simple Way Of Deleting Invisible Files?

    There's an invisible file/folder that I need to delete but don't know how. Instructions about how to do it that I've come across seem rather unclear. Is there a rather simple way of deleting Invisible files?