Report from SAP Quickviewer code

Hi,
I have been given a code generated by SAP Quickviewer (transaction SQVI). The client expects me to design an ABAP Report using this code as a guideline. Is this practically possible. I don't even have access to the name of the quickview. No tech spec too.
Some lines of the code: Just to give you guys the feel of it...
REPORT AQL3SYSTQV000116ORDERS_CPR====
   LINE-SIZE 253 NO STANDARD PAGE HEADING LINE-COUNT 000(001).
INCLUDE <SYMBOL>.
INCLUDE <ICON>.
SELECTION-SCREEN: BEGIN OF BLOCK PROG
                           WITH FRAME TITLE TEXT-F58.
%FA00000 /BAY0/AXCMR_AUT2-SUBSTITUTE
TABLES /BAY0/AXCMR_AUT2.
TABLES VBAP.
TABLES VBPA.
TABLES /BAY0/AXCMR_CPR.
*TABLES KNA1.
DATA AVBEGKNA1 LIKE KNA1.
TABLES KNA1.
TABLES VBAK.
DATA %COUNT-VBAK(4) TYPE X.
DATA %LINR-VBAK(2).
SELECT VBAKANGDT VBAKAUART VBAKBNDDT VBAKERDAT VBAK~ERNAM
       VBAKERZET VBAKKUNNR VBAKVBELN VBAKVKORG VBAP~ABGRU
       VBAPARKTX VBAPMATNR VBAPPOSNR VBAPPRODH VBAP~VBELN
       /BAY0/AXCMR_CPRKUNAG /BAY0/AXCMR_CPRKUNWE
       /BAY0/AXCMR_CPRMATNR /BAY0/AXCMR_CPRPRICE
       /BAY0/AXCMR_CPRVKORG VBPAKUNNR VBPAPARVW VBPAVBELN
       AVBEGKNA1KUNNR AVBEGKNA1LAND1 AVBEGKNA1NAME1 AVBEGKNA1ORT01
       /BAY0/AXCMR_AUT2ML1 /BAY0/AXCMR_AUT2ML2 /BAY0/AXCMR_AUT2~ML3
       /BAY0/AXCMR_AUT2ML4 /BAY0/AXCMR_AUT2OBJID
       /BAY0/AXCMR_AUT2PRICE /BAY0/AXCMR_AUT2SUBSTITUTE
       /BAY0/AXCMR_AUT2VKORG KNA1KUNNR KNA1LAND1 KNA1NAME1
       KNA1~ORT01
INTO (VBAK-ANGDT , VBAK-AUART , VBAK-BNDDT , VBAK-ERDAT , VBAK-ERNAM
     , VBAK-ERZET , VBAK-KUNNR , VBAK-VBELN , VBAK-VKORG , VBAP-ABGRU
     , VBAP-ARKTX , VBAP-MATNR , VBAP-POSNR , VBAP-PRODH , VBAP-VBELN
     , /BAY0/AXCMR_CPR-KUNAG , /BAY0/AXCMR_CPR-KUNWE
     , /BAY0/AXCMR_CPR-MATNR , /BAY0/AXCMR_CPR-PRICE
     , /BAY0/AXCMR_CPR-VKORG , VBPA-KUNNR , VBPA-PARVW , VBPA-VBELN
     , AVBEGKNA1-KUNNR , AVBEGKNA1-LAND1 , AVBEGKNA1-NAME1
     , AVBEGKNA1-ORT01 , /BAY0/AXCMR_AUT2-ML1 , /BAY0/AXCMR_AUT2-ML2
     , /BAY0/AXCMR_AUT2-ML3 , /BAY0/AXCMR_AUT2-ML4
     , /BAY0/AXCMR_AUT2-OBJID , /BAY0/AXCMR_AUT2-PRICE
     , /BAY0/AXCMR_AUT2-SUBSTITUTE , /BAY0/AXCMR_AUT2-VKORG
     , KNA1-KUNNR , KNA1-LAND1 , KNA1-NAME1 , KNA1-ORT01 )
FROM ( VBAK
       INNER JOIN VBAP
       ON VBAPVBELN = VBAKVBELN
       INNER JOIN /BAY0/AXCMR_CPR
       ON /BAY0/AXCMR_CPRKUNAG = VBAKKUNNR
       AND /BAY0/AXCMR_CPRVKORG = VBAKVKORG
       AND /BAY0/AXCMR_CPRMATNR = VBAPMATNR
       INNER JOIN VBPA
       ON VBPAKUNNR = /BAY0/AXCMR_CPRKUNWE
       AND VBPAVBELN = VBAPVBELN
       INNER JOIN KNA1  AS AVBEGKNA1
       ON AVBEGKNA1KUNNR = /BAY0/AXCMR_CPRKUNWE
       INNER JOIN /BAY0/AXCMR_AUT2
       ON /BAY0/AXCMR_AUT2PRICE = /BAY0/AXCMR_CPRPRICE
       AND /BAY0/AXCMR_AUT2VKORG = /BAY0/AXCMR_CPRVKORG
       INNER JOIN KNA1
       ON KNA1KUNNR = /BAY0/AXCMR_CPRKUNAG )
       WHERE VBAK~ANGDT IN SP$00003
         AND VBAK~AUART IN SP$00001
         AND VBAK~BNDDT IN SP$00002
         AND VBAK~ERDAT IN SP$00004
         AND VBAK~ERNAM IN SP$00005
         AND VBAP~ABGRU IN SP$00010
         AND VBAP~MATNR IN SP$00006
         AND VBAP~POSNR IN SP$00007
         AND VBAP~PRODH IN SP$00009
         AND VBAP~VBELN IN SP$00008
         AND /BAY0/AXCMR_CPR~KUNAG IN SP$00016
         AND /BAY0/AXCMR_CPR~KUNWE IN SP$00015
         AND /BAY0/AXCMR_CPR~MATNR IN SP$00014
         AND /BAY0/AXCMR_CPR~PRICE IN SP$00013
         AND VBPA~KUNNR IN SP$00011
         AND VBPA~PARVW IN SP$00012
         AND /BAY0/AXCMR_AUT2~ML1 IN SP$00022
         AND /BAY0/AXCMR_AUT2~ML2 IN SP$00021
         AND /BAY0/AXCMR_AUT2~ML3 IN SP$00020
         AND /BAY0/AXCMR_AUT2~ML4 IN SP$00019
         AND /BAY0/AXCMR_AUT2~OBJID IN SP$00018
         AND /BAY0/AXCMR_AUT2~SUBSTITUTE IN SP$00017.
  %DBACC = %DBACC - 1.
Please help with this.
thanks,
Vishal.

My advice would be to make sure the client tells you what they want the new ABAP Report to do that is <u>different</u> from the Quickviewer Report.  If the client does not have a formal technical spec process, then you at least need to be told verbally or via e-mail what to change.  Without that information you cannot proceed with any meaningful development.
Assuming that you can get that information, all you need to do is to create a copy of the Quickviewer program (via SE38) since the Quickviewer program is just a regular ABAP program.  Then you must get a feel for what the code is currently doing (understand the logic) so that you can proceed with making the changes required for the new version. 
Another approach might be to simply get an understanding of the Quickviewer code and start your own ABAP Report from scratch (using your own preferred style of coding).
Have fun!
Regards,
James Gaddis

Similar Messages

  • Extracting a Report from SAP Spool into a Useful Excel 2010 Format

    Hi All,
    Extracting a Report from SAP Spool into a Useful Excel 2010 Format.  I'm currently running the following report in SAP  and would like the
    ability to set this report up as a recurring report running weekly and
    subsequently access this report in a useable Excel 2010 format without
    much data manipulation.  Can you please assist me.  Below, I've tried to
    provide an example of what I'm encountering.   Thanks, beforehand for
    your assistance.
    Here goes:
    Step one: Run 62 Report in SAP S_P99_41000062- Material List Price and
    Inventory
    Step 2. Select stored Variant "Weekly KPI", ok. Enter the enter  the
    desired company code and period I want thre report to run for and update
    the currency, if necessary. Having input my desired criteria, I believe
    I can either execute immediately, run in the background, preset to run
    at date in the future. For this example let's just execute, immediately.
    This is where the difference originates. Given, I run this report
    immediately, I'm able to simply extract the result to Excel via the list
    selection noted in the tool bar below.  The result is a data friendly
    excel 2007  report is automatically generated.
    Export to Excel via list:
    Select save and Excel 2007 opens automatically:
    That said, the method outlined above works perfectly fine if you want
    the report immediately.  Now let go back and run the exact same report
    with exceptoin of running it in the background and having to retrieve it
    from the Spool (SP01) uisng my user ID.  Given the report generated in
    the background,  I would now access the report via the spool and make
    the following selections:
    SP01 + execute to see my report
    I would hit the sunglasses to see the actual report, then want to
    extract this report to Excel by selecting the export option.
    I would at this point select spreadsheet and be given an option to save
    the spreadsheet to local file. However, upon trying to open the
    spreadsheet I will receive an error messageindicating that the format is
    different than that which the file I am currently trying to open it
    with.  I'm currently running Excel 2010 on my computer.  The currency
    format and other issues arrise with this extract.  Please help. 
    Thanks,
    Chowadary.

    Update to Latest GUI.
    Use   List -> Export -> Spreadsheet  to get the output to excel.
    I remember in ALV max length allowed is 1023 characters and the max no of columns supported is 90. Issue occurs when row size of exported data gets more than 1023 character. (This includes if Long/Medium Header Text used ) If it exceed 1023 character the columns splits and moves to next row.
    Check your fieldcatog for header lengths.
    -Satya

  • 1099 Reporting from SAP

    Hi,
    I have not done 1099 reporting from SAP. How and where do we start to do 1099 reporting from SAP? We are in version 4.6C. How do we check if we have set up the vendor information properly in our database?
    Thanks
    Ram

    Hi Ram,
    you can configure 1099 vendors in SAP through vendor master records in Witholding tax tab.
    but if you want to print 1099 vendors with amt paid to them year to date, you will require to have wiholding tax functionality active.
    First of all make sure witholding tax functionality is activated in your co.code, than make sure there no payment made to that vendors before assigning them as a 1099 vendors, if payment has been made to 1099 vendors before assigning them as a 1099 , you will be required to post process line items. through on of the SAP programs.
    SAP has std. forms to print 1099 vendors, you can use one of them to print them later on.
    Assign points if useful

  • S_ALR_87011990 - Problem in downloading report from SAP to Excel.

    Hi All,
    I am facing an issue in report S_ALR_87011990, while downloading a report from SAP to excel. In SAP, report is comming out to be in different format than what it is getting generated in excel.
    I am attaching screen shots for your reference.
    Request you all to kindly help me in this regard, As this report is required urgently.
    Thanks in advance....
    Regards
    Rajat Kumar

    Hi Priya,
    Sorry for the delay.. here
    Simple explanation...
    ABAP - OLE Automation using MS-Excel - Code Gallery - SCN Wiki
    You can find a detail doc here
    http://www.heyiamonline.com/abap/pdf/ABAPOLEAUTOMATION.pdf
    Regards

  • AP aging report from SAP

    We found that AP aging report from SAP  is not tie with Balance in Balance sheet.  Please advise how to find the report which match with our requirement.
    Concept of the AP aging report is to age outstanding AP as at the end of month (Open item date).  We found that A/P aging report which we currently use is cannot match to balance per G/L. (Please see detail in attached file). And the balance in AP aging report is always changes if we retrieve data on difference timing.
    Additionally, this report is not show the reconciliation account, please advise whether it is possible to show summary line which sum by reconciliation account.
    Please advise if you have another SAP transaction or any advise on this.
    kindly suggest

    Hi,
    For ageing report please go to fbl3n and go for change layout there is a option for ageing and posting period choose those two and subtotal it according to posting then you will get period wise meand month wise ageing  report for vendor.
    S_ALR_87012078 - Due Date Analysis for Open Items
    Hope this is clear if yes assign points
    Regards,
    Sankar

  • Data missing while running a crystal report from SAP B1 2007A

    Dear All,
    I am facing an issue that is if i run a report from SAP B1 using Crystal reports AddOn, it misses out some data.
    Few Initial pages and a last page appears in the report. But when i run the same report using Crystal reports Designer it shows the actual number of pages. I have tested the above discussed issue on the server & workstation machines.

    Dear All,
    I would like to explain the above posted problem in detail. I need your generous help, I am facing an issue that is for Crystal Reports which are based on 'Financial Templates' data is missing out. For Example, If i run the report using 'Crystal Reports Designer' it is showing the whole Financial Template based on 5 pages, but if I try to run it from 'SAP Business One'
    using 'Crystal Reports AddOn' it is missing out the data e.g. it is showing Page 1 and then Page 4 & 5.
    Page No. 2 & 3 is missed out. For your information it was running fine from the past two months now I am
    facing issues in running it. Rest of the reports are running fine.
    I have tried reinstalling the Crystal Reports Runtime and Crystal Reports AddOn for SAP B1 on
    Client machines, but the problem is not resolved yet.
    Server Machine Details
    Version : SAP B1 2007A Server SP01 PL08
    OS: Windows Server 2008 R2 (64-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Client Machine Details
    Workstation 1
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows Vista Enterprise (32-bit)
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio
    Workstation 2
    Version : SAP B1 2007A Client SP01 PL08
    OS: Windows XP
    Crystal Reports AddOn for SAP B1 (64-bit)
    Crystal Reports Runtime
    Crystal Reports Runtime for Visual Studio

  • Issue running a report from SAP Business One

    I have an issue running a particular report from SAP Business One. I am using Crystal Reports Add-On, all of the reports are working fine except one. When accessing the last page of the report or any page from inside the report the followiong error appears in the dialog box:
    Error in the File CollectionDate_Branch_wise {609BA059-89AF-41E9-9AEB-28CB16D13852}.rpt:
    The request could not be submitted for background processing.
    Edited by: Iqbal Faisal on Feb 22, 2010 6:03 AM

    Hi,
    Do you mean you have a Main report that is written based on SQL Command and there are 8 subreports linked to the main report?
    If that is the case, I assume when user select 'Document Type" eg invoice, it will pass that to the subreport and retrieve information?
    This is how I will approach it.
    1. Make sure the connection is consistent, if you are using ODBC(RDO) then make sure that is the same for main and subreport. You can check that in Set database connection. Right click on the connection, look at the Properties.  Don't assume that the name is the same, eg: SBO_DemoUS, they are all ODBC(RDO) for instannce.
    In Crystal, when you are using different connection, it will just prompts you a warning message and it will still run.
    2. Delete all and only keep one subreport, example AR invoice and see it will still give a problem.
    Replace the parameter with a set value in Record selection in subreport and see what happen.

  • Problem opening Crystal Report from SAP GUI through VPN

    Hi Everyone,
      I am facing an issue with opening the crystal report from SAP BW Role menu(SAP GUI). The issue is only with the BW Users who are connecting to the Client systems through VPN. All the settings are done perfectly in the Transaction /CRYSTAL/RPTADMIN and SICF for the CE_URL.
    For those who are in the client network it works fine. Please see the URLs generated in both the cases,below.
    From Client N/W
    [http://sapbobj:8080/SAP/jsp/Action_Dispatch/dispatch.jsp?sap_client=100&cmsname=sapbobj:6400&language=EN&sap_sysid=D40&bw_id=4HUFYJ3XBZ7QLP5HIDYPR7PR6&sap-client=100&actionName=SAP_CrystalReport_View&appKind=InfoView&service=%2FInfoViewApp%2Fcommon%2FappService.do&loc=&initialFolderId=null]
    Through VPN
    [http://sapbwd.abc.com:8100/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4HUPI3I78CG4S4EDH7XSDP736&sap_sysid=(sysid)&sap_client=100&language=EN&sap-client=100]
    where "sapbobj" is the BOBJ system and "sapbwd" is the SAP BW Dev box.
    For me it seems to be something related to the N/W. Please provide me your valuable inputs to solve this issue.
    Thanks in Advance,
    Koka M
    Edited by: Madan Koka on May 19, 2010 5:18 PM

    Hi,
    I'm also facing the same issue. when try to open my report the URL doesn;t taking "bw_id".
    It is blank for all transported reports.
    Any advice..
    Thanks,
    Jothi

  • How to delete a report from SAP BO?

    is there a way to delete a report from SAP BO that won't be right clicking on it, organize, then delete. Something from the database because I have a report that for some reason has more than 2 million iterations trying to run and is making my server to crash and preventing that other scheduled reports to run.

    Following is an excerpt from the above KBA Janos mentioned.
    Important Note: It is strongly recommended to take backup of your CMS database and Filestore before performing the steps mentioned below.
    1.Navigate to http://<appservername>:8080/AdminTools
    2.Login with administrator account.
    3.Use this query to find number of pending instances (Name and ID of instance) in your environment:
    4.SELECT SI_NAME, SI_ID FROM CI_INFOOBJECTS WHERE SI_SCHEDULE_STATUS=9
    5.Connect to the CMS System Database with the proprietary database client (e.g., SQL Plus for Oracle).
    6.Execute the SQL statement to delete all pending instances in your environment.
    For SAP BusinessObjects Enterprise XI 3.1
    DELETE FROM CMS_INFOOBJECTS6 WHERE SCHEDULESTATUS=9
    For SAP BusinessObjects BI Platform 4.0
    DELETE FROM CMS_INFOOBJECTS7 WHERE SCHEDULESTATUS=9
    Regards,
    Onkar

  • Extract a report from SAP to see the POs' recommended ship date

    Hi there,
    Can I extract a report from SAP, to see the recommended ship date of my POs, based on the MRP? As I need it to do the pull in and push out.
    Edited by: Cindyye on Jul 20, 2011 8:22 AM

    Refer ME80FN report wherein you can list out PO delivery schedule by clicking on change view icon after executing the report.
    In Change View options select Del. sched this will list out POs with detailed delivery schedule. You can export the same to excel also.
    Njoy SAP...

  • How to generate Top sales report from SAP data ?

    Hello experts,
    I am completely a newbie to SAP BO , can any one guide me how to generate TOP sales of the year report from SAP data ?

    Hi David,
    First Let me know the Source & Tools to involve.
    Let me go with the generic approach:
    If the source is BW, then you can create the logic in query designer designer and then you can incorporate the data into the dashboard or webi or crystal report whatever its.
    If the source is sql or anyother DB then it can also be achievable in crystal or webi to write the logic in top 10 values by ranking then you can incorporate the data into the dashboard, but here you can limit the top or bottom values.
    Hope this helps, please revert for more clarifications on this.
    --SumanT

  • Problem Running BEX report from SAP.

    Hi All,
    We are getting the below error message when we are executing BEX report from SAP.
    "Analyzer requires version 140. The currently installed version is 066
    Message no. RSR_LAUNCH_EXCEL107."
    when i run the report for first time it is displaying correctly but, when i run it for second time (first one is already opened) then i get the above message.
    Please let me know is there any setting or oss note related to this issue.
    Thanks,
    Shiva.

    Hi,
    Where is it happened? in Tx RRMXP, RRMX or when you execute Bex Analyzer?
    Probe with this notes: 1086904, 1152929.
    Regards.
    Edited by: Conrado Linquet on May 11, 2009 9:55 PM

  • Developing Crystal Report from SAP BEx query

    Hi,
    I am trying to create an crystal report from SAP BEx query( using MDX driver). I can able to connected to BEx query and got key figures and characterstics, but not able to get calculated key figures into crystal reports.
    Would likes to know how to use the calculated key figures used at BEx query level in Crystal Reports? and
    Creation of complex parametes in Crystal reports on SAP data.
    I really appreciate your quick reply.
    Thanks in advance.
    VR

    Hi,
    calculated keyfigures are shown like any other keyfigure in Crystal Reports.
    ingo

  • CALL WEBI Report from SAP Portal

    Hi Experts,
    I need to call WEBI report from SAP Portal, is it possible?
    The submitted report will be opened in the same window?
    Kind Regads.

    Hi
    You can call SAP portal from WebI Report...
    insert blank cell in the report / or select the cell whaere do you want to in the report
    and then Right click and select hyper link.
    Enter the portal address
    It will be opened in the same or new window based on your settings.
    Target Window : New Window ..then it will open new window.

  • Webi report from SAP BW

    Dear all,
    We have requirement to crate report from SAP BW to get some materials. (query 1 in cube 1) In second query we would like to have details for this materials from query1 from cube2. From SAP NOTE 1367620 you can't use subqueries. How can we solve this problem?
    Thank you for help!
    Regards,
    Gregor

    Hi Ingo,
    Thank you for reply but I'm looking for solution that query 1 retrive me materials that we sold to specific customer and this is imput for second query...
    If I understand with merge I need to merge materials from query 1 with all materials in BW cube to get that data?
    Can you tell me more about hyperlinks?
    Thank you for understanding and help,
    Regards
    Gregor

Maybe you are looking for

  • I can no longer send mail from my gmail account on my iPad.

    I can send mail from my iPhone just fine so it isn't gmail. I deleted the gmail app and reinstalled it; restarted my iPad; and checked the settings. My wifi is working as is evidenced by the fact that I wrote and posted this from my iPad with no prob

  • Regarding Creation of  specific  Application scenario..

    Hii All, I am having a requirement where i have to create a application in which in FIRST view i m having a dropdown menu,from where i have select one parameter from dropdown menu, say for example there is list of countries in a drop down menu.when i

  • I installed CS3 from backup to a new iMac when my old iMac failed.  How do I activate CS3 suite?

    I installed CS3 from backup to a new iMac when my old iMac failed.  How do I activate CS3 suite? When I try starting Photoshop, for example, it tells me uninstall then reinstall the product OR contact product support. However, when I phone product su

  • 10.5.2 won't send signal to external projector

    Help! I do speaking engagements for a living and just updated to 10.5.2. When I hook an external projector to the computer (DVI to VGA) my MacBook Pro does see the external projector, but will not send a signal to it. It worked yesterday, but as soon

  • Can I filter pictures by NOT having a certain keyword?

    Hello. I was wondering if there was a way to see all pictures in a folder that does NOT have a certain keyword? For example if I have three pictures tagged with the following keywords: Picture 1: food, horse, glue Picture 2: food, cat, soup Picture 3