Report standard SAP into BSP page

I want know how I can read the output of a standard report SAP R/3 into a BSP page ( WAS 6.20 ).

Hi Rick,
a short answer would be: create a BSP application and place the code into the onInizialization handler. But since you are completely new to BSP I'd recommend the following links for tutorials:
http://help.sap.com/saphelp_webas620/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
http://help.sap.com/saphelp_webas620/helpdata/en/c8/101c3a1cf1c54be10000000a114084/frameset.htm
Recommended reading is also https://weblogs.sdn.sap.com/pub/wlg/542. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
After you have done this and you still got questions, switch over to the BSP forum. There you'll find a lot more experts.
Have fun with BSP,
Ulli

Similar Messages

  • Conversion of the ABAP Report (ALV based) into BSP Application

    Hello Friends,
    I tried to convert the abap report into a bsp application. I have followed all the steps mentoined in the previous threads regarding this topic.
    I have created a simple Z report in CRM, that displays the business partner details from the table BUT000 based on the partner entered. Partner is the input given to this report. I have defined the partner field in PARAMETERS.
    Now I have written all the code in the onInitialization of the BSP Page looking at the previous threads and also in the layout of the page.
    submit ZTEST_PARTNER
    exporting list to memory and return
    with p_part = 'HR10079430'.
    and also the rest of the code.
    It is working fine. The BSP page is displayed with all the Business Partner details.
    Now the problem is I have another Z report that displays the result in the ALV grid. The report uses the Function Module REUSE_ALV_GRID_DISPLAY to display the output.
    If I use the same method above this is giving a dump, I mean it says the page cannot be displayed.
    So, how should I use the above method to convert the ALV Grid based Z report into a BSP Application.
    Please give your suggestions.
    Thanks & Regards,
    Raju.

    you cannot .
    even if you use a normal report to
    submit the alv grid report
    exporting list to memory and return
    it will show the alv on screen and will nt just export the list to memory.

  • Read "last changed" data from AL11 into BSP page

    Hi all,
    I'm looking for a way to read the following information from the application server
    Last change             Creator     Name
    17.07.2006 09:19:58     cbdadm      file1.csv
    27.05.2003 10:53:11     cbdadm      file2.csv
    13.07.2006 17:01:30     cbdadm      file3.csv
    I want to see for a number of filenames, when it was last changed, but I don't know where to get this data? Is it stored in a table? And how should I read this data?
    I see that a program named RSWATCH0 is generating the required output for transaction AL11...maybe this is helpful?
    The following code works in ABAP, but I need to use this in BSP... is this possible somehow?
    REPORT ZUPLOAD_TIME .
    TABLES epsf.
    PARAMETERS dir  LIKE epsf-epsdirnam.
    PARAMETERS file LIKE epsf-epsfilnam.
    DATA mtime TYPE p DECIMALS 0.
    DATA time(10).
    DATA date LIKE sy-datum.
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
         EXPORTING
              file_name              = 'TESTFILE.CSV'
              dir_name               = '/usr/sap/data/'
         IMPORTING
              file_size              = epsf-epsfilsiz
              file_owner             = epsf-epsfilown
              file_mode              = epsf-epsfilmod
              file_type              = epsf-epsfiltyp
              file_mtime             = mtime
         EXCEPTIONS
              read_directory_failed  = 1
              read_attributes_failed = 2
              OTHERS                 = 3.
    PERFORM p6_to_date_time_tz(rstr0400) USING mtime
                                               time
                                               date.
    WRITE: / mtime,
           / date, time.
    thanks in advance! points will be rewarded for usefull answers
    Message was edited by: Joris Hens
    Message was edited by: Joris Hens

    In the TYPES Definition tab :
    types: BEGIN OF t_file,
            date     TYPE d,
            time(10) TYPE c.
            INCLUDE  TYPE epsf.
    TYPES: END OF t_file.
    types: tt_files type table of t_file.
    In the Page attributes tab :
    ta_files TYPE tt_files
    In the OnInitialization Event Handler :
    * event handler for data retrieval
    DATA: epsf      TYPE epsf.
    DATA: mtime     TYPE p DECIMALS 0.
    DATA: time(10)  TYPE c.
    DATA: date      TYPE sy-datum.
    CALL FUNCTION 'EPS_GET_FILE_ATTRIBUTES'
      EXPORTING
        file_name              = 'myfile.csv'
        dir_name               = '/usr/sap/data'
      IMPORTING
        file_size              = epsf-epsfilsiz
        file_owner             = epsf-epsfilown
        file_mode              = epsf-epsfilmod
        file_type              = epsf-epsfiltyp
        file_mtime             = mtime
      EXCEPTIONS
        read_directory_failed  = 1
        read_attributes_failed = 2
        OTHERS                 = 3.
    PERFORM p6_to_date_time_tz IN PROGRAM rstr0400 USING mtime
                                                         time
                                                         date.
    FIELD-SYMBOLS: <fs_file>  LIKE LINE OF ta_files.
    APPEND INITIAL LINE TO ta_files ASSIGNING <fs_file>.
    MOVE-CORRESPONDING epsf TO <fs_file>.
    <fs_file>-time = time.
    <fs_file>-date = date.
    In the Layout :
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <htmlb:content design="design2003">
      <htmlb:page title = "List files on application server ">
        <htmlb:form>
        <htmlb:tableView id = "tvx"
                         table = "<%= ta_files %>" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Then, you still have some minor modificaions to perform on the tableView thanks to an Iterator, for instance.
    Best regards,
    Guillaume
    Message was edited by: Guillaume Garcia

  • How to login CRM 2007 BSP page use account domain of Microsoft AD

    Dear friends,
    I am finding solution to setup system with the requisite:
    - Login to CRM 2007 Business Server Page use account domain which is managed by Microsoft Acitve Directory.
    - Users use only web browser, they didn't use SAPGUI and they must type username, password ( their username,password are managed in Microsoft AD, not in SAP system) in every login to BSP page, don't use solution like X.509 client certificate.
    I used to configured using SNC and I could login to SAP System using SAPGUI without type SAP username and password when I log in my computer by account domain( my computer is joined in domain).
    But my requisite is have to use account domain( username and password)  and type them in web browser when I want to log in SAP system, could not configured to go to directly SAP application ( BSP page ) without type username/password of account domain.
    After time looking for solution about authentication :
    http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/8039306e-cea4-2a10-15b9-8e96d40c51ef [original link is broken]
    I think may be I could login to java portal by used username/password of account domain to authenticate after login  to portal I use SSO to switch to BSP page without type username password again. This solution may be accepted because I was login to SAP application from web browser and used account domain.
    Could you show me, there are anymore solution or how could I do to to set up my above solution.
    Thanks and Best Regards.

    The normal way to do this is to configure the authentication stack required on a JAVA stack (e.g. portal or standalone Java instance of NetWeaver or dual stack) and then configure the BSP app in SICF transaction to redirect to Java stack when no SSO2 ticket is sent by browser (e.g. user has already authenticated). The redirect to Java stack will be done, such that after user has authenticated to Java stack they will be issued with an SSO2 ticket and redirected back to the BSP app URL. From end users perspective, they will access the BSP app URL and get authenticated using Active Directory, and they won't know about the redirection since they will be logged into the BSP app once they have authenticated.
    The authentication using Active Directory can be done using two methods:
    - Using credentials already on workstation from workstation logon, e.g. using Integrated Windows Authentication
    - Showing user a form where they enter AD account and password.
    Thanks,
    Tim

  • How to take data from HTML Template into BSP Variable?

    hi all,
                can we take the data from the input field of HTML Template and collect into BSP variable? i have the shown the HTML Template into BSP page by passing the url in <IFRAME> tag now i have to take the data form the into field of HTML Template and save it back to the BSP table onclicking the Save button of BSP Page. please help me out thanks in advance.
    Thanks & Regards,
    Amol

    Hi Amol,
    This is very simple....
    In the onInputProcessing event of the page use the following code to read data from the InputField into an ABAP variable...
    Then you can use it at will..!
    Code is :
    data : event       TYPE REF TO if_htmlb_data,
           but_event   TYPE REF TO cl_htmlb_event_button.
    event = cl_htmlb_manager=>get_event( request ).
    IF event->EVENT_NAME = 'button' and event->EVENT_TYPE = 'click'.
          but_event ?= event.
          CASE event->EVENT_ID.
            when 'your_button_id'.
              data : lw_inf type ref to cl_htmlb_inputfield.
                 lw_inf ?= cl_htmlb_manager=>get_data(
                                request = runtime->server->request
                                name    = 'inputField'
                                id      = 'your_inputField_id'  ).
              if lw_inf->value is not initial.
                lw_variable = lw_inf->value.
              endif.
         ENDCASE.
    ENDIF.

  • How to add/create additional page in Crystal Report Layout SAP B1

    Hi,
    I wanna ask about How to add/create additional page in Crystal Report Layout SAP B1 ?
    I want when user print Purchase Order then on last page also print some page like Penalty Clause etc.
    Pls help me to find the solution.
    Br,
    Thomas Marsetyo

    Hi,
    In your report footer, set it to create a new page before it is printed (In 'Section Expert', select the Report Footer -> 'Paging' tab -> Check 'New Page Before' checkbox). Throw your Terms & Conditions into the Report Footer section.
    If you already have a Report Footer that you want to keep, just split the footer into two sections (Right-click the Report Footer section -> 'Insert Section Below') and follow the same procedure for the newly created section.
         Check this Link
    http://stackoverflow.com/questions/9232239/adding-an-additional-page-to-end-of-a-crystal-report
    http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=18960
    Regards,
    Manish

  • How to copy standard SAP report to a Z report?

    Hi All,
    Guys, I have a requirement to copy an standard SAP report and make some changes to it. Please let me know how to copy a standard SAP report as a Z report. Is there any simple way or will I have to open the source code and copy it into the new Z program? If that is the case, how will I copy the screens and related PBO/PAI events?
    Please provide me a step-by-step solution.
    Thanks & Regards,
    Madhur

    Hello Madhur,
    As Raja had said, yuo could just copy the program from SE38. But just remember a few points:
    1. If the standard report is being used in some other programs, then there's no way you can make your Z-report get used in all such instances. I suspect that you may not want to do that anyways, but just in case.
    2. Just also check out if the standard report you're talking about has any INCLUDE programs within it. If there are too many standard INCLUDEs in the main report, then you might have to decide whether you need to copy all of them too, or let them be as they are.
    3. You are likely to have some problems with the text-elements and translation that may have been maintained for the original report.
    I have experienced some problems with respect to the second and third points in the past, so it is worth it to be a bit careful.
    Regards,
    Anand Mandalika.
    Regards,
    Anand Mandalika.

  • Looking for Standard SAP report

    Hello forum,
    Can some one tell me if there is a standard SAP report that would compare or can be used to compare a delivery order with a sales order and show the changes made in terms of quantity? I am looking for the report name
    Thanks in advance,
    K

    Hello,
    Can some one tell me if there is a standard SAP report that would compare or can be
    used to compare a delivery order with a sales order and show the changes made in
    terms of quantity? I am looking for the report name
    I think your requirement can't be met with standard functionality. The best way to for mapping this requirement would be to create a Custom Report involving two below things.
    Use the program which is called when we access Sales Order --> Environment --> Changes.
    Use the table for delivery item level LIPS for Quantity comparision.
    Kindly try out this approach and let us know if any further issues comes into picture.
    Regards,
    Sarthak

  • Currency in standard SAP Reports

    Hi Experts,
    Where can I find the currency translation settings for standard SAP reports (From Database currency to List Currency)? While I am executing one of the reports, I am finding that the system is translating the currency and displaying the output.
    Where can I find these settings?
    Regards
    Varun

    Hello Varun R
    Some  Reports such as S_ALR_87013019 are based on reporting table "RWCOOM".
    The special design of this reporting table is that it does not use the "report currency"
    to from reporting table "CCSS".
    As a consequence this "report currency" cannot be used in reports using RWCOOM.
    If you check the report definition of report S_ALR_87013019 or toher S_ALR*
    in transaction GRR3 (library 6O2, report 6OBU-001)  you see that the characteristic
    "currency type" with value "20" is used in the general data selection.
    This leads to the behaviour of the system always to display the values in controlling area currency.
    Even if you set RPO0 to a different currency this has no influence as the report definition in this case is "hard coded".
    In order now to have the values displayed in another currency (such as object currency) please copy this report into customer space and change the general data selection on characteristic "currency type" from "20" to "10".
    Afterwards you should be able to display the values in object currency.#
    I hope this helps
    Ger

  • Call standard SAP transaction in BSP

    Hi guys,
    I am working in WAS 6.20.
    We have separate server for WAS and records fetched from R/3 server.
    Now the requirement is i have to call a standard SAP transaction and the output of the standard transaction should be displayed in the BSP output.
    Is it possible to call a SAP standard transaction in WAS 6.20.
    Is it possible to display the same output in the BSP screen.
    Above to all, displayed output should be refreshed automatically for every 20 minutes.
    I come with lot of doubts, expecting your reply.
    Hopefully waiting for yours reply.
    Saravanan. V

    Hi,
    Pls check threads like
    calling STD SAP transaction in BSP
    Calling R/3 Transaction from BSP
    Calling standard R/3 transaction from BSP
    Calling an SAP transaction from a BSP page
    Calling ITS transaction from BSP
    Can we call standard transaction from bsp
    Eddy
    Pimp up the S(D)N site and earn points. Check this <a href="/people/eddy.declercq/blog/2007/02/01/pimp-up-the-jam log</a> for details

  • What is the Standard Procedure to Modify  SAP Delivered BSP Application ?

    Dear Experts what is the standard procedure to modify SAP delivered standard BSP application.
    i need to enhance the cFolder application delivered by SAP, adding new fields to Notification Template. The task essentially boils down to add new field in database table and changing few HTML page content.
    Greetings
    John

    Hi Vivek,
    thanks for the answer. My requirement is to enhance few of  the BSP Views with custom fields, i have figured out the ABAP table that stores the value of input fields displyed. what i am NOT understanding is when i make ZCopy of the views using BSP_CUSTOMIZE & change its UI to include my custom fields..how will the Standard BSP application PICK my zChanged views??
    is there someway i can say to standard SAP BSP to  PICK these Modified Z View ???
    hope i made query clear ??
    Greetings
    John

  • How can i get this variable value into second page IN BSP

    Hi friends
    I have variable wk_matnr value 'ABC' in first page of BSP.
    How can i get this variable value into second page.
    Moosa

    Hi,
    you can define variable (page attribiue) on the second page with the same name. You can realise the Navigation with Button ther started onInputProcesing routine. In onInputProcesing you have to call navigation->set_parameter with attribut name as parameter and then starting the navigation. If you have checked the auto property on the variable on second page and varable have same name, the value of variable should be transported.
    [See this tutorial|http://help.sap.com/saphelp_erp2005/helpdata/DE/1a/c5133a62983c0ae10000000a114084/frameset.htm]
    Best regards
    Bogdan

  • Modifying standard BSP pages

    Hello,
    I would like to add some functionality (precisely some Javascript code) to a standard BSP page. As it is a SAP standard, the system doesn’t allow to modify it as normal BSP page. Is there any possibility to attach some code or functionality to BSP page without modifying the code, I mean something similar to, for example, enhancements, user-exits in R/3 so that we could activate and insert the code?
    Thanks in advance for any hint.
    Regards,
    Anna

    Hi,
    I would not recommend to change standard SAP BSP pages. When there is an update or upgrade concerning this pages, you will get problems and will need to SPAU till the end of days (see also http://help.sap.com/saphelp_nw2004s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/frameset.htm) and eventual modify things again, which isn't a pleasant job at all.
    I would say that you make a copy to a Z application and work further on that one.
    Eddy
    PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • Can we merge BSP page into a HTML web page directly

    Hi All,
    Requirement :  We have  "Supplier Registration Page" which is in the SAP BSP ,in this page customer needs  to place the  Header and Fotter according to there website which is built in HTML.
         As am new to BSP , can you kindly suggest which of the below method is better.
    a)Merge the HTML links  from  Website to the BSP page. Is this possible?
    b)Merging BSP page into the website(HTML) via Web service.(Not only links ..the page itself).
       Can  you guys provide me some valuable suggestions .
    Thanks
    CB

    Hi,
    Instead of merging your Pages, I would suggest you to create a BSP page. Also, copy the header, footer of the required format to two different Views. Now, In your BSP page declare frameset. And use these pages.
    Sample code
    <!DocumentType HTML>
    <Frameset id="test">
         <frame src="header.htm" >
         <frame src="content.htm" >
         <frame src="footer.htm" >
    </frameset>
    Thanks,
    Parth Jhalani

  • Is there any standard REconciliation report in SAP for Bank

    Hi All,
    Is there any standard REconciliation report in SAP for Bank....?
    Thanks in advance
    Regards
    Amit Mistry

    Hi Ashok ,
    This report RFEBKA00 imports account statements into the SAP System and
    then creates batch input sessions for updating in G/L accounting and *
    in the subsidiary ledger. It does not print any report - as far as I can see.
    Cheers
    Kartik

Maybe you are looking for