Report on payemnt and check info

hi experts.
iam developing a report based on below requirement.
extract vendor master file and A/P transaction file for 4 fiscal years ( 2004-2008) for all company codes. include bith active and inactive vendors in vendor file and both paid and unpaid transactions in transaction file
so iam geting the closed items from BSAK . based on getting
payment and check information from PAYR and REGUP tables .  openitems iam getting from BSIK.
with above logic from from BSAK iam getting more data  (so many records for each  vendor) i dnt want to include all the records.i want just payment transaction for each invoice.
please tell me how can i filter the data.how can i write the logic for it?
thanks in advance.
regards
niru

Hi abhaas.
thanks for your info,
iam getting all required fileds from tables REGUH, REGUP,PAYR  and BSAK,BSIK
i have written the logic like this.
SELECT bukrs lifnr augdt augbl gjahr belnr buzei blart bldat xblnr wrbtr zlsch wskto xzahl
    INTO TABLE  t_bsak
    FROM  bsak
    WHERE gjahr  IN s_gjahr
      AND bukrs  IN s_bukrs
      and lifnr in s_lifnr
      and blart in s_blart.
  IF NOT ( t_bsak[] IS INITIAL ).
    SELECT laufd laufi xvorl zbukr lifnr rwbtr kunnr empfg"
           vblnr ausfd rzawe
      FROM reguh
      INTO TABLE t_reguh
      FOR ALL ENTRIES IN t_bsak
      WHERE laufd <> space
        AND laufi <> space
        AND zbukr = t_bsak_bukrs
        AND lifnr = t_bsakux-lifnr
        AND vblnr = t_bsak-augbl.
IF sy-subrc = 0.
      t_reguh_aux[] = t_reguh[].
      SORT t_reguh_aux BY laufd laufi xvorl zbukr
                          lifnr kunnr empfg vblnr.
      DELETE ADJACENT DUPLICATES FROM t_reguh_aux
                COMPARING laufd laufi xvorl zbukr
                          lifnr kunnr empfg vblnr.
      SELECT laufd laufi xvorl zbukr lifnr kunnr empfg vblnr bukrs
             belnr gjahr buzei xblnr blart bldat hkont shkzg wrbtr
             mwskz mwsts wmwst sgtxt wskto ebeln waers zterm
        INTO TABLE t_regup
        FROM regup
        FOR ALL ENTRIES IN t_reguh_aux
        WHERE laufd = t_reguh_aux-laufd
          AND laufi = t_reguh_aux-laufi
          AND xvorl = t_reguh_aux-xvorl
          AND zbukr = t_reguh_aux-zbukr
          AND lifnr = t_reguh_aux-lifnr
          AND kunnr = t_reguh_aux-kunnr
          AND empfg = t_reguh_aux-empfg
          AND vblnr = t_reguh_aux-vblnr.
with this iam getting all the records ( no of records are more)
but my user wannts asking me " Is it possible that the transaction file you are preparing contain more than just the payment transactions for each invoice"
i understand my user want less no of records? i dnt how to filter records ?
regard
niru

Similar Messages

  • Reporting Question - Detail and Summary info in the same report

    Hello All,
    I have a situation where I have to report the detail and summary information from one cube (or multiple cubes) in a single report. Following is the example cube with smaple data and the required report
    Cube - Char - 0CUSTOMER
                    0MATERIAL
                    0MATL_GRP
                    0CURRENCY
             Key Fig - 0AMOUNT
    Data
    0CUSTOMER    0MATERIAL 0MATL_GRP 0AMOUNT 0CURRENCY
    CUS1         MAT1      GRP1      1000    USD
    CUS1         MAT2      GRP1      2000    USD
    CUS1         MAT3      GRP2      3000    USD
    CUS1         MAT4      GRP2      4000    USD
    CUS2         MAT2      GRP1      2222    USD
    If I run a report to See Which Customers have bought Material MAT1, I want to produce a report like
    Material Cust Matl_Gr Amt(Matl) Amt(Cust/Mtgr) Amt(Cust)
    MAT1     CUS1 GRP1    1000 USD  3000 USD       10000 USD
    MAT1     CUS2 GRP1    2222 USD  2222 USD       2222  USD
    Any Ideas to create such a report is welcome. I am open to use multiple cubes, Multicubes, summarized data joins etc.
    Thanks in advance for the help.
    Amit Gupta

    Amit,
    You can acheive this using single cube.
    All you need to do is to define 2 restricted keyfigures the following way.
    1. Amount (Cust/Material Group)
    In the Restricted KF (either global or local), pull in the Material to the right side, right click on it and select "Constant Selection". Save it.
    2. Amount (Customer)
    Pull in both Material and Material Group and do the same step as above for both. Save it.
    Now run the query and tests it. Let us know if i worked.
    Gova

  • I am using a mac mini 2011 an 3gs i phone 2010 macbook white 2008 and a new 2013 apple tv box. When i check info on the cloud I get 'upgrade your operating system to the latest. My question is is it possible to use the icloud system without an upgrade

    I am using a mac mini 2011 an 3gs i phone 2010 macbook white 2008 and a new 2013 apple tv box. When i check info on the cloud I get 'upgrade your operating system to the latest. My question is is it possible to use the icloud system without an upgrade

    iCloud requires OS X 10.7.2.

  • Report on payment check info

    hi experts.
    iam developing a report based on below requirement.
    extract vendor master file and A/P transaction file for 4 fiscal years ( 2004-2008) for all company codes. include bith active and inactive vendors in vendor file and both paid and unpaid transactions in transaction file
    so iam geting the closed items from BSAK . based on getting
    payment and check information from PAYR and REGUP tables .  openitems iam getting from BSIK.
    with above logic from from BSAK iam getting more data  (so many records for each  vendor) i dnt want to include all the records.i want just payment transaction for each invoice.
    please tell me how can i filter the data.how can i write the logic for it?
    thanks in advance.
    regards
    niru

    Hi,
    As you are only looking for payment document from BSAK, you may filter BSAK document based on document type.. Usually, the document type for vendor payment is ZP but check in your system which document type is set up for outgoing payment document.
    Regards,
    Chirag

  • (Cisco Historical Reporting / HRC ) All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054

    Hi All,
    I am getting an error message "All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054"  when trying to log into HRC (This user has the reporting capabilities) . I checked the log files this is what i found out 
    The log file stated that there were ongoing connections of HRC with the CCX  (I am sure there isn't any active login to HRC)
    || When you tried to login the following error was being displayed because the maximum number of connections were reached for the server .  We can see that a total number of 5 connections have been configured . ||
    1: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Current number of connections (5) from historical Clients/Scheduler to 'CRA_DATABASE' database exceeded the maximum number of possible connections (5).Check with your administrator about changing this limit on server (wfengine.properties), however this might impact server performance.
    || Below we can see all 5 connections being used up . ||
    2: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:[DB Connections From Clients (count=5)]|[(#1) 'username'='uccxhrc','hostname'='3SK5FS1.ucsfmedicalcenter.org']|[(#2) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#3) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#4) 'username'='uccxhrc','hostname'='PFS-HHXDGX1.ucsfmedicalcenter.org']|[(#5) 'username'='uccxhrc','hostname'='47BMMM1.ucsfmedicalcenter.org']
    || Once the maximum number of connection was reached it threw an error . ||
    3: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Number of max connection to 'CRA_DATABASE' database was reached! Connection could not be established.
    4: 6/20/2014 9:13:49 AM %CHC-LOG_SUBFAC-3-UNK:Database connection to 'CRA_DATABASE' failed due to (All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054.)
    Current exact UCCX Version 9.0.2.11001-24
    Current CUCM Version 8.6.2.23900-10
    Business impact  Not Critical
    Exact error message  All available connections to database server are in use by other client machines. Please try again later and check the log file for error 5054
    What is the OS version of the PC you are running  and is it physical machine or virtual machine that is running the HRC client ..
    OS Version Windows 7 Home Premium  64 bit and it’s a physical machine.
    . The Max DB Connections for Report Client Sessions is set to 5 for each servers (There are two servers). The no of HR Sessions is set to 10.
    I wanted to know if there is a way to find the HRC sessions active now and terminate the one or more or all of that sessions from the server end ? 

    We have had this "PRX5" problem with Exchange 2013 since the RTM version.  We recently applied CU3, and it did not correct the problem.  We have seen this problem on every Exchange 2013 we manage.  They are all installations where all roles
    are installed on the same Windows server, and in our case, they are all Windows virtual machines using Windows 2012 Hyper-V.
    We have tried all the "this fixed it for me" solutions regarding DNS, network cards, host file entries and so forth.  None of those "solutions" made any difference whatsoever.  The occurrence of the temporary error PRX5 seems totally random. 
    About 2 out of 20 incoming mail test by Microsoft Connectivity Analyzer fail with this PRX5 error.
    Most people don't ever notice the issue because remote mail servers retry the connection later.  However, telephone voice mail systems that forward voice message files to email, or other such applications such as your scanner, often don't retry and
    simply fail.  Our phone system actually disables all further attempts to send voice mail to a particular user if the PRX5 error is returned when the email is sent by the phone system.
    Is Microsoft totally oblivious to this problem?
    PRX5 is a serious issue that needs an Exchange team resolution, or at least an acknowledgement that the problem actually does exist and has negative consequences for proper mail flow.
    JSB

  • Error Message: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. The request failed with HTTP status 404: Not Found.

    I have a web page that contains a ReportViewer control.  I am trying to display a report, which is an .rdl file located on the SSRS server, in this ReportViewer control.  I have set the ReportPath and ReportServerUrl correctly.  I am
    getting an error message.
    Am I suppose to use an .rdlc file rather than a .rdl file?  Does the web server configuration need to use a certain account?
     I am getting the following error message:
    The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
    The request failed with HTTP status 404: Not Found.

    Hi bucaroov,
    The error "The request failed with HTTP status 404: Not Found." means the ReportServerURL configured in the ReportViewer control is invalid.
    Please follow these steps to solve the issue:
    Logon the Report Server machine.
    Open the Reporting Services Configuration Manager.
    Copy the Report Server URL from 'Web Services URL'.
    Logon the application server(in this case, it is the server that host the web page), check if we can use the URL we got from step 3 to access the Report Server. If so, please replace the ReportServerURL in the ReportViewer control with this URL. If it is
    not available, could you please post the error message.
    Additionaly, we don't need to provide the extension for a server report. The ReportPath should be like: /<reports folder>/<report name>
    For more information, please see:
    Walkthrough: Using the ReportViewer Control in Remote Mode:
    http://msdn.microsoft.com/en-us/library/ms251669(VS.80).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

  • When I check my boot SSD drive using Disk Utility under Mavericks, I often get "Incorrect number of extended attributes" errors.  But if I boot off an external drive and check the same SSD, no errors are reported.  Is this a bug in Mavericks?

    When I check my boot SSD drive using Disk Utility under Mavericks, I often get "Incorrect number of extended attributes" errors.  But if I boot off an external drive and check the same SSD, no errors are reported. 
    This happens not just with the SSD in my Mac Mini, but with another SSD in my MacBook (both now running Mavericks).  So far as I know, all of the kit I am using is in good order (despite the file corruption reports).  So I am beginning to wonder if it could be due to a bug in Mavericks?  Both SSD drives have been formatted to MacOS Extended (journaled) format.  Should I have used a different format, I wonder?
    Has anyone else encountered this issue?
    Does anyone have a solution?
    Or an explanation that might help my investigation of the issue?
    Thanks guys,

    I understand that the Corsair Force 3 is not one of the SSD drives that are supported on Apple Macs. 
    I did try downloading and using Trim Enabler, but the error message came up both when it was off and when it was on.
    I understand that not everyone thinks Trim Enabler is a good program, though there is a new version out now, so I may give it another try.

  • Icons and check boxes in report output ?

    i want to display output with icons, and symbols (like Telephone) and check boxes in output of a report ?
    how pzzz anybody send the example ?

    Hi,
    We can use in alv output icons and check boxes
             ICON(1)        TYPE C,        " as icon
             SYMBOL(1)      TYPE C,        " as symbol
             CHECKBOX(1)    TYPE C,        " as checkbox
    in field catolog we can use these fields and you have to assign like remaing fields how you are using like that only.  If you know Icon function code or symbol you put there,  I think it may works.  
    Thanks
    Ganesh

  • Getting database and server info onto Crystal Reports

    Hi There
    I ran this query in Query Builder to show me all Crystal Report
    SELECT * FROM CI_INFOOBJECTS WHERE SI_KIND = 'CrystalReport'
    and found the information I need is held by SI_USER, SI_SERVER and SI_DB properties.  Any idea on how to extract just these 3 properties?
    I tried selecting these 3 properties but I get no data back.
    Please advise.
    Many Thanks
    Bola

    Hi Joe,
    Back in Septenber, I got this from one of the SAP engineers. Note that I haven't tried this solution so not sure if it works.  Let us know how it goes.
    Hi Bola,
    Try using below formula and check if it helps:
    =Connection("query_name")
    OR
    =Connection(DataProvider(<obj>))
    <obj> could be any object from the query. DataProvider(<obj>) will provide the query name to Connection function.
    This will give detail on middleware and Database used.
    Hope it will help.
    Regards,
    Yuvraj

  • DB02 Analysis and DB Check Info warnings BR0970W

    Dear All,
    Let me know followings:
    1.
    Run DB02
    Tablespace->Overview
    There is Used(%) and Total Used(%). What does it mean?
    2.
    In my system DB13 Shows
    Used(97%) and Total Used(20%)
    At OS level bdf shows
    sapdata4->82%
    sapdata3->80%
    sapdata2->81%
    sapdata1->45%
    3.
    DB Check Info Problems:
    BR0970W Database administration alert - level: WARNING, type: CRITICAL_FILE
    BR0970W Database administration alert - level: WARNING, type: CRITICAL_TABLESPACE object: PSAPSR3
    BR0970W Database administration alert - level: WARNING, type: CRITICAL_TABLESPACE object: PSAPSR3701X
    Please let me know what should I do?
    Regards
    Dharmendra

    Dear Sir(Bhavik G. Shroff ),
    I am almost clear.
    Please let me clear one more thing.
    In my case            used%            totalUsed%
    PSAPSR3               97%                    20
    PSAPSR3701X       97%                    40
    PSAPSR3USR        07%                    00
    PSAPTEMP             00%                    00
    PSAPUNDO            03%                    02
    SYSAUX                86%                    02
    SYSTEM                 51%                    07
    While, filesystem is 82% Occupied, Each sapdata<n> is of 50GB.
    Is it possible that table space maxsize is given more than my available space on filesystem?? So, filesystem is 82% occupied and tablespace is 97% Used.   But, Due to maxsize is more than available space, Total used % of tablespace is 20% only?
    or
    As per maxsize filesystem is occupied? I need not be worry. Whenever used% will reach 100% automatically extend datafile within maxsize that already occupied filesystem????
    **Your Response really helpful for me.**********
    Regards
    Dharmendra
    Edited by: Dharmendra Kumar on Mar 9, 2010 10:24 AM

  • I can't download Ikea 3D kitchen planner.  It's really frustrating - a message is appearing on my mac book pro that I ned to get info and check that various files are unlocked.  I've checked that all other requirements are fulfilled, still won't download

    I can't download Ikea 3D kitchen planner.  It's really frustrating - a message is appearing on my mac book pro that I ned to get info and check that various files are unlocked.  I've checked that all other requirements are fulfilled, still won't download.  Any help very gratefully received.  Thank you.

    Hi, I'm not really very good with computers and am having the same problems when trying to install the Ikea 3D kitchen planner, please could you take me through the steps?
    1. Download (save) the disk image file 2020PluginInstaller.dmg
    I double click on the link which says "Install 3D Planner"
    I agree to the t&cs
    A file downloads to my download folder called 2020PluginInstaller_IKEA.dmg
    2. Mount the disk image (open/run the downloaded file) if not mounted automatically
    I double click on the downloaded file
    3. Find the 2020PluginInstaller window (might be behind the window on top)
    A small window opens up with a lego brick called 2020PluginInstaller_IKEA.dmg and a folder called Internet plug ins.  I highlight the lego brick and do File, Get info and unlock it
    4. Drag the lego piece to the folder (if you do not have admin privileges you will be prompted to authenticate)
    I do this and put in a password to authenticate
    5. Restart the browser (it is not enough to close the browser window, you need to restart the browser
    application)
    I've tried restarting Safari, I've tried re-starting the computer
    6. Access the same link and you will now see the Start button and be able to start planning your room!"
    When I go back to the IKEA kitchen planner I don't see a start button, I just see the exact same screen as before prompting me to install the 3D planner
    Please can you help?

  • App store reports Pinball HD and 11 other apps cannot be purchased at this time.....

    App store reports "Pinball HD and 11 other apps cannot be purchased at this time"..... This occurs whenever I log into the app store. I have already purchased this app (and presumably the 11 others as well).  I believe this started when it showed up as an app I should update (for free).
    My wife and I share this iPad and we have apps purchased under two different store accounts on this machine. I have tried to log off and sign in with her account and then check updates but with either account I am told that all apps are up to date. All of our credit card info is current. Any clues?

    Already on Automatic..... :(
    This is an iPad 1 - I've had it since it first came out (ordered directly from Apple). Lots of apps and purchases over the years. My wife got her own WiFi only iPad shortly after mine as she fell in love with it and I don't share well. ;) This only started about 7-10 days ago. I did not update to iOs 5.1 until last night so this predates that. My concern is that when the iPad 3 arrives next Friday that this will transfer over.
    Ever since my wife received her own iPad our purchases are pretty much separate.

  • Custom Report for slow and fast moving items

    Dear Xperts,
    My client wants to develop a new report for slow and fast moving items, I checked the std report MC46 however as per std SAP design this report does not consider the special stock like project stock (Q)...could you please help me to know how can develop this new report with following input and output fields?
    Input fields:
    Plant
    Material
    Material Group
    MRP Area
    Special Stock Indicator
    Special Stock (Type)
    Output Fields:
    Material
    Material type
    Material group
    MRP Controller
    MRP Area
    ABC indicator
    Material price
    Category field – Slow, Fast, Non-moving
    Current Stock
    Last Issue Date
    Thanks in Advance
    Regards
    Rahul

    Dear Rahul,
    If you required  project stock and consignment stock with valuated stock report in same place you need to generate new info structure as given below link. Or you can go with customized report with abaper.
    Info structure validation
    Regards
    Sanjeet Kumar

  • Is there any ECC report with PurchOrder and Purchase Requisition Selection

    Hi there,
    for one of my BI report reconciliation with ECC requirement, I would like to know how many POs are there without Purchase requisitions, same way want to know how many POs are there with Purchase requisition.
    I know some tables where we can find this info, unfortunately I cannot ask my user to go and check in Tables for Acceptance testing. So I am looking for any standard ECC report with POs and PRs as Columns
    Due to time constraints, I cannot go build any ABAP queries in ECC at the moment,
    Any insights are greatly appreciated.
    Thanks

    Hi Curious ,
    Check if the following link is helpful. The link is from the SDN Wiki for creating a Z Report in R/3 for Purchase Requisition.
    http://wiki.sdn.sap.com/wiki/display/ABAP/PurchaseRequisitionDetail+Report
    Or try the following transactions:
    ME5A - Purchase Requisitions: List Display
    ME53  - Display Purchase Requisition
    ME53N - Display Purchase Requisition
    Hope this helps your cause.
    Regards,
    Kush Kashyap

  • Content migrated with ICE, Name property and Check In

    I have pulled in a new portal server several KM folders, originally located in another portal, with <i>Content Exchange</i> (online ICE protocol).
    When I edit locally one of these migrated files, save, and check it in, I get a message complaining that the resource has no name.
    Three curious things:
    1) If I open the <i>Details</i> view for that file, I can see that the resource's name property is indeed correctly set.
    2) After choosing <i>Edit locally</i>, the message reports the correct name of the resource!
    <i>You are currently editing the document "REAL_NAME_OF_THE_FILE.doc"...</i>
    3) From this page, if I choose <i>Show Properties</i> (showing me again the correct resource's name) and subsequently <i>Hide Properties</i>, no problem arises when checking the file in.
    Please notice that:
    1) This problem involves <b>only the resources migrated with ICE</b>.
    2) If I change either the resource ID or its name from the Details view, no problem arises anymore.
    We're using the ActiveX control to edit locally. Our portal version is:
    J2EE Engine 6.40 PatchLevel 87289.311
    Portal 6.0.9.0.0
    KnowledgeManagementCollaboration 6.0.9.3.0 (NW04 SPS09 Patch3)
    Have you gurus any idea?
    Thanks all, Davide

    I can't find any SAP note about such a problem. Has anyone any info about it?
    Thanks, Davide

Maybe you are looking for

  • Problem editing scanned PDFs

    I'm working with a lot of scanned old books. Sometimes I download one from Google Books or another site and want to get rid of the first and last couple of empty pages. The weird thing that happens in Preview is that the new file after extracting the

  • SunMC Webconsole - not display correctly - accordian-tasks.zul panel blank?

    Hi, I have recently installed Sun MC 4 onto a Solaris 10u4 environment, patched to late '08. Currently experience problems with the display of the web console environment. We can launch a browser, login to the web console, click on the app "sun manag

  • Movement of the screen/top when closed

    Noticed something while wiping the top of the MB. When closed, there is some give/movement of the "lid" of the MB. When pressing left and right at the front corners of the computer the lid seems to move slightly. When I open the computer slightly how

  • IPad Safari opening possible for mid-2013 MBP

    Is it possible to have/get the iPad opening Safari screen on the mid -2013MBP?  Thanks,

  • Access-list problem ?

    Hello, I/m having problems getting an access-list to work.With the access-group 104 in i lose my internet connectivity. Here's the config. If i remove the access-group 104 in from the gigabitinterface0/0 all works but I want to have the settings on t