Spool Smartforms and SapScript

Hi guys,
I have the following problem, my program prints 1 smartforms and 1 sapscript. Need to both leave the same spool anyone know how can I do that?

Hi Cleber.
In the driver program based on condition print the smart form or script.
On the selection screen create the two radio buttons one for the smart form and other for script..
If p_lay1 eq 'X'.
w_form = 'Z_SMARTFORM'.
elseif p_lay2 eq 'X'.
w_form = 'Z_SCRIPT'.
Regards,
Sravanthi

Similar Messages

  • How can we download a smartform and sapscripts under a transport request.

    hi abaper's
                   my requirement is that i have to download the transport request objects smartforms and sapscripts to do this i have to make a report, so that a person can run this report and enter the request number , then the objects  smartform and sapscripts download automatically for him.
    or is thr any standard report progrma available in sap system.
    thanks & regards
    pardeep kumar

    hi gopi
    what is this i can read only 1 here.

  • Idoc generation and reprint for smartforms and sapscripts

    Dear Experts,
    Currently our scenario is as below.
    We are using XML for all outputs. once IDOC is generated it is passed to XML port and print is issued.
    To reprint IDOC we have a customised program where in we can enter idoc number and print output.
    Now we are converting all to smartforms and at some places sapscript. So how to setup reprint for idocs in smartforms and  sapscript as it is done for sapscripts. Do we need to make some config in WE19 to issue smart forms and sapscripts.
    If possible please give all steps right from preparing structures till reprint.
    Can anyone help with detailed solutions.

    Closed as no answer received

  • What are Smartforms and SAPscripts?

    Hey Everyone,
    Where do we use Smartforms and SAPscripts...how to we create these...if u have step step procedures that will be helpful...
    Thanks in Advance...
    Cheers:
    Jim

    Smartform is client indep.
    Scripts is client dependent.
    Smartform will generate function module.
    Script will not.
    Tcode for scripts is se71
    Tcode for smartforms is smartforms
    go to sap library ............ their u can find the step by step procedure............
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can configure forms with data from an SAP System for the relevant business processes.
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time. You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes. These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one. For Web publishing, the system provides a generated XML output of the processed form. Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request.
    Also check this step by step procedure to create SMARTFORMS:
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Look through for example these links for details about Smart Forms:
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://esnips.com/doc/7e67af5c-6188-4252-8613-41816756d560/from-sappres.pdf
    http://esnips.com/doc/58566115-54a4-4405-8872-8de952e245e5/smartform.pdf
    http://esnips.com/doc/13b7ae7a-b32c-4b96-b588-881859d4ac99/Template,Table,Loop,Command-in-Smartforms.doc
    http://esnips.com/doc/97acb00a-e513-4611-91f0-c626f460bfc5/Smart_Form_Overview.pdf
    http://esnips.com/doc/77a981b9-8fe3-4fbb-8101-67745c1fe60c/SMART-FORMS_shail.ppt
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sapgenie.com/abap/smartforms_described.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sapgenie.com/abap/smartforms_sapscript.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html

  • Smartforms and sapscript

    Hi,
    Plz send me some information or docs regarding SMARTFORMS AND SAPSCRIPT.
    regards....

    Try these links,
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    Reward Points

  • Email Format of smartform and sapscript?

    How we can attached the smartforms and sapscript i email and what should be the format?

    Hi Anil,
    Check below thread.
    Re: How to email a smartform?
    Reward points if useful.
    Regards,
    Atish

  • Smartform and sapscript..

    in which scenario v prefer smartform over sapscripts and in which scenarios sapscript over smartforms?

    Hi,
    Smartforms are better to use than scripts as they provide more facility like color, graphical user interface etc, but scripts are the oldest form of layout available in SAP. There is no advantage of using script over smartform. This entirely depends on the choice in case of new developments. However, if you have to change/customize existing script then you have to deal with scripts only.
    Difference with SMARTFORMS vs SapScript(SE71).
    a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
    b) It is possible to have a smartform without a main window .
    c) Smartforms generates a function module when activated.
    d) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
    e) In smartforms there is only one main window.
    In scripts we can create 99 main windows.
    f) Smartforms are client independent. but scripts are client dependent.
    g) we can execute smartforms directly without driver program. But it is not possible in script.
    h) peform statement is possible in script but not in smartforms.
    i) loop statement is possible in smartforms.
    In script for every data record controls moves from
    script to driver program and to script.
    In smrtforms this is not rquired.
    In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
    For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.
    i) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
    Check the link,
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Conversion of SAPSCRIPT to SMARTFORMS
    SAP provides a conversion for SAPscript documents to SMARTforms.
    This is basically a function module, called FB_MIGRATE_FORM. You can start this function module by hand (via SE37), or create a small ABAP which migrates all SAPscript forms automatically.
    You can also do this one-by-one in transaction SMARTFORMS, under
    Utilities -> Migrate SAPscript form.
    Regards,
    Richa

  • Need a PurchaseOrder SmartForm and SAPScript Report.

    Hi all:,
    I need a sample report for PO for SAPScript and Smartform, I am getting some problems, so I wanna to comapre these reports with my reports, can any one help me plzzzzzzzzzzz.

    Hi Naimesh,
    Thanks for your quick response.
    Here is my SAP SCRIPT ADDRESS window:
    In that my requirment :
    Ensure that the distance between 2 words must be a minimum of 1 character, a maximum of 3 in Address window.
    I didn't understand how to do that with CONDENSE command:
    ADDRESS PARAGRAPH AS
      TITLE       &ADRS-ANRED&
      NAME        &ADRS-NAME1&,&ADRS-NAME2&,&ADRS-NAME3&,&ADRS-NAME4&
      STREET      &ADRS-STRAS&
      POBOX       &ADRS-PFACH& CODE &ADRS-PSTL2& CITY &ADRS-PFORT&
      POSTCODE    &ADRS-PSTLZ&
      REGION      &ADRS-REGIO&
      CITY        &ADRS-ORT01&, &ADRS-ORT02&
      COUNTRY     &ADRS-LAND1&
      FROMCOUNTRY &ADRS-INLND&
    ENDADDRESS
    1) How to add that  command in above window. Is it correct?
       Ex:  NAME  CONDENSE  &ADRS-NAME1&
    2) If I use CONDENSE command, it displays one space between two words. But in my requirement I need to set up like gap is minimum 1 space and maximaum 3 spaces. Please let me know.
    Thanks,
    Monica

  • Table of smartform and sapscripts

    helo,
    someone can tell me what is the table of smartforms & sapscripts?
    thanks;
    siham

    Hi Siham Chaba,
    WELCOME TO SDN!!!
    TNAPR  ---> Processing programs for output
    Fields names
    PGNAM --->  Program name
    FONAM --->  Form Name
    All the standard  FORM Names and the Driver programs are stored in this Table.
    In NACE Transaction code u assign the  the FORM to the Driver program.
    Best regards,
    raam

  • Steps to develop smartforms and sap scripts

    hi experts,
    I want to learn smartforms and sapscripts from the scratch step by step. i have gone through few threads, but iam not clear with the declarations.
    thanks in advance
    maaya

    Maaya,
    Go thru these links...
    SAPScripts
    Link for SAP Scripts (step by step procedure)
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Create_A_SAPSCRIPT_Form/How_to_Create_SAPSCRIPT.html
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Subtotals - Check the link...
    Re: Subtotal with Table Node in smartforms
    Smarforms
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    SmartForms : some links
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sap-img.com/smartforms/smart-002.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html
    http://www.allsaplinks.com/smartform_example.html
    http://www.sap-basis-abap.com/sapsf001.htm
    Smart Form PDF Link
    http://help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://sap.ionelburlacu.ro/sap0/sapsf001.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/a9/de6838abce021ae10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/16/a369b1800e4bdda978ee0fe3b7bd2c/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/content.htm
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    Re: How to Debug a Smartform
    Debug of smartform and sapscript.
    Debugging SmartForms
    Debugging of a subroutine pool.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    SRIPTS
    http://wiki.ittoolbox.com/index.php/Sap_script#7.6.7.09Space_Compression
    SCRIPT OUTPUT TO PDF
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49e15474-0e01-0010-9cba-e62df8244556
    Reward if helpful,
    Karthik

  • Smart Forms and Sapscripts?

    Hi,
    I have read that one of the differences between smartforms and sapscript is that smartform is client independent while sapscript is client dependent.Can anyone please explain me why it is so?
    Regards
    Arya
    Moderator Message: Please search for available information before posting.
    Edited by: kishan P on Oct 27, 2010 10:58 AM

    example u create a script in client 800 .
    take that script name and go to another client 810 and run the script at that time u know the difference .
    for smartform  it is client independent because some function modules are created dynamically so u can run this
    form in any client .

  • Use Smartform or SAPScript

    Hi Guys,
    I have not used Smartform and SAPScript. I have given task to create a Shop floor paper (IW32) in a required format. Kindly advise me which will easier to learn quickly, so that I can make the PO form.
    Thanks,
    mini

    I think you should see if SAP has delivered something similar to what you need and then copy and use it whether it is SAPScript or Smartform. If memory serves, there should be a shop paper SAPScript somewhere.
    Rob

  • Difference between Smartforms and Sapscrits.

    Hi Experts,
    I have a interview coming up next week and I was just wondering: difference between Smartforms and SAPscripts..
    So experts, can anyone please let me know what are the main differences between Smartforms and SAPScripts??
    I will really appreciate your answers.. guys..
    Regards,
       -Ashok Patel.

    Hi,
    <b>Difference with SMARTFORMS vs. SapScript(SE71)</b>
    The Following are the differences :-
    a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
    b) It is possible to have a smartform without a main window .
    c) Labels cannot be created in smartforms.
    d) Routines can be written in smartforms tool.
    e) Smartforms generates a function module when activated.
    f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk. 
    It was said that it was provided in CRM 3.0 version, but not available in R/3.  You can download smartforms into Local PC in a XML format.  In the same way you can upload this XML format into Smartform.  From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment. 
    In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
    In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk. 
    For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people.  What you can do is to create a Transport and then FTP down to your local harddisk.   When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server.  Finally, the Basis team, will tp it into your system.
    g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it.  Actually, there is something you can do about it.  By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
    Check the link,
    <u>http://www.sap-img.com/smartforms/sap-smart-forms.htm</u>
    <b>Conversion of SAPSCRIPT to SMARTFORMS</b>
    SAP provides a conversion for SAPscript documents to SMARTforms.
    This is basically a function module, called FB_MIGRATE_FORM. You can  start this function module by hand (via SE37), or create a small ABAP which migrates all SAPscript forms automatically.
    You can also do this one-by-one in transaction SMARTFORMS, under 
    Utilities -> Migrate SAPscript form.
    You could also write a small batch program calling transaction SMARTFORMS and running the migration tool.
    Hope it helps u.
    Thanks&Regards,
    Ruthra.R

  • Find smartform or sapscript for me2s and me9f transaction

    HI, i want to find smartform or sapscript for me2s and me9f transactions, because i want to do  z smartforms for those transactions.
    How can i find it?
    How can i use NACE to customize the smartforms?
    thanks
    REward POints

    Hi Gurus
    I can able to open the form from t code f.64 but what is the form name how do i know............It make me crazy I am searching to find but unable to locate the name
    please help
    regards

  • Smartforms and webforms.

    hi All,
    I am a R/3 programmer and i am assigned a query of ESS which is developed in BSP and HTMLB. There is a smartform and that is not picking up the values properly so i m asked to sort that problem out. Basically they have designed the form such a way that once i go to that page and that i push the 'Print' button, the output of the form comes straight in the pdf format. Now generally there is a call 'SSF_FUNCTION_MODULE_NAME' to call the form in abap, is it the same in BSP??
    also if it is so i did not see the call in my forms. So is it possible to conver the OTF straight to PDF without calling the smartform . I knw its confusing but i have tried to put it as clear as i can.
    please ask me further questions if u feel the need.
    thanks in advance,
    Reena..

    Reena,
      Yes calling smart form in BSP is same like in ABPA. Yes you can convert the smartform output into PDF from SPOOL output into OTF. But you need to call the FM to generate the OTF data.
    To call smartforms: you can use FM 'SSF_FUNCTION_MODULE_NAME' " or you can generate the FM from smartforms then you can use that. Here is the sample code to call the smartforms & covert into PDF.
    <b>OnInputprocessing or Oninitialization.</b>
    * event handler for checking and processing user input and
    * for defining navigation
      data: output_options      type ssfcompop,
            control_parameters  type ssfctrlop,
            output_data         type ssfcrescl,
            devtype             type rspoptype.
    DATA: cached_response TYPE REF TO if_http_response.
    DATA: guid TYPE guid_32.
    * generated result: PDF format
      data: l_pdf_xstring  type xstring,
            lt_lines       type table of tline,
            ls_line        type tline,
            l_pdf_len      type i.
    case event_id.
    when others.
        call function 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language             = sy-langu
        IMPORTING
          e_devtype              = devtype
        EXCEPTIONS
          no_language            = 1
          language_not_installed = 2
          no_devtype_found       = 3
          system_error           = 4
          others                 = 5.
    * set device type in output options
      output_options-tdprinter = devtype.
    *control_parameters-DEVICE = 'LOCL'.
      control_parameters-langu = sy-langu.
      control_parameters-no_dialog = 'X'.
      control_parameters-getotf    = 'X'.
    CALL FUNCTION '/1BCDWB/SF00000063'
      EXPORTING
       CONTROL_PARAMETERS         = control_parameters
       OUTPUT_OPTIONS             = output_options
       NAME                       = 'First name'
        PHONE                      = '264-466-4657'
    IMPORTING
       JOB_OUTPUT_INFO            = output_data
      call function 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = l_pdf_len
          bin_file              = l_pdf_xstring
        TABLES
          OTF                   = OUTPUT_DATA-OTFDATA
          LINES                 = LT_LINES
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          others                = 5.
      if sy-subrc EQ 0.
        CREATE OBJECT cached_response TYPE CL_HTTP_RESPONSE EXPORTING add_c_msg = 1.
        l_pdf_len = xstrlen( l_pdf_xstring ).
        cached_response->set_data( data   = l_pdf_xstring
                            length = l_pdf_len ).
        cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                           value = 'application/pdf' ).
        cached_response->set_status( code = 200 reason = 'OK' ).
        cached_response->server_cache_expire_rel( expires_rel = 180 ).
        CALL FUNCTION 'GUID_CREATE'
          IMPORTING
            ev_guid_32 = guid.
        CONCATENATE runtime->application_url '/' guid '.pdf' INTO display_url.
        cl_http_server=>server_cache_upload( url      = display_url
                                             response = cached_response ).
      ENDIF.
      RETURN.
    endcase.
    <b>In BSP Layput</b>
    <%  IF display_url IS NOT INITIAL.
          %>
          <script language="Javascript">
            window.open("<%= display_url%>").focus();
          </script>
          <%
      ENDIF.
    %>
    <b>* Page Attibutes:</b>
    display_url type string.
    Let me know if you have any issues.
    Raja T
    Message was edited by:
            Raja T

Maybe you are looking for