Call .htm in bsp

hi,
we are already developed code to upload data, the problem is when we upload data it will take few minutes to process, user cant know whether it is processing or not. so, they click the upload button 2 to 3 times. so, we want to develop code to call the loading.htm page while processing the data to upload. can i know where will we change the code for this and what is the code.

Hi
Please refer to the BSP programs
<b>SBSPEXT_PHTMLB</b>
here you'll find a progress indicator page i.e.
progressIndicator.htm and messageBar.htm).
Regards
Preeti
<b>
Reward if useful</b>

Similar Messages

  • Web.show_document calling .htm files saved on disk....

    Hi ,
    Is it possible to call .htm files saved on disk - let's say c:\my_htmFiles on AppServer/DevSuiteServer using the web.show_document form's built-in...????
    I have tried the following:
    web.show_document('c:\my_htmfiles\first.htm','_blank') and
    web.show_document('file://c:\my_htmfiles\first.htm','_blank')
    but whereas in the web browser's file->open both of them work.... in web.show_document do not....
    Is it possible to do it....?????
    Note: I use Dev10g
    Thanks....
    Sim

    I 'll try it of course.... but is it possible to define multiple directories down this virtual directory.....????
    Assuming that there is the following dir structure:
    C:\dev10gr2/tools/web/html
           |
           |--------------------------------------------/app1
                                                         |---------------/subdir1
                                                         |---------------/subdir2
           |--------------------------------------------/app2
           |--------------------------------------------/app3Is it possible to define multiple dirs ....????
    Is there any doc which describes it with examples.....?????
    Thanks.......
    Sim

  • How to call DLL in BSP

    hi,
    1. Can anyone suggest me how to call a dll in a bsp. if you can help me with a sample code it'll be helpful.
    2. Is it possible to call VBScript in BSP
    Thnx in Advance
    Vinodh

    It is done the same way you do in normal HTML.
    A BSP is only an HTML page which ABAP is compiled into during runtime just like a JSP page or ASP page.
    <htmlb:content design="design2003">
      <htmlb:page title = "Test submit ">
        <htmlb:form id="myform" method="POST" enctype="multipart/form-data">
        <htmlb:inputField id="myFile"
                    visible="true"
                    width="300px" /><br>
        <htmlb:listBox id="filelist"
                    width="300px" />
        <script>
        function selectFolder(){
          var myText = "Browse for file";
          var objShell = new ActiveXObject("Shell.Application");
          var ssfWINDOWS = 0;
          var objFolder;
          objFolder = objShell.BrowseForFolder(0, myText, 0, ssfWINDOWS);
          if (objFolder != null) {
             document.forms.myform.myFile.value=objFolder.Items().Item().Path;
             getFileList(objFolder.Items().Item().Path);
        function getFileList(id) {
          var FSO = new ActiveXObject("Scripting.FileSystemObject");
          var myStartingFolder = id;
          if ( myStartingFolder != null || myStartingFolder != "" ) {
            var myFolder = FSO.GetFolder( myStartingFolder );
            var myFileList = new Enumerator(myFolder.files);
          // First clear all entries
            document.forms.myform.filelist.options.length = 0;
          for (; !myFileList.atEnd(); myFileList.moveNext()) {
              document.forms.myform.filelist.options[document.forms.myform.filelist.options.length] = new Option(myFileList.item().name,FSO.GetFileName(myFileList.item()));
         } // start folder found
        } // getFileList
        </script>
        <htmlb:button id="myButton"
                onClientClick="selectFolder()"
                text="Browse" />
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    Just remember with ActiveX you have security issues to keep in mind!

  • Excel sheet generation through RFC call from a BSP application

    Hi,
      I am calling a RFC FM ( in R3)  in Event handler 'OnInputProcessing' of a BSP application in a SRM server.
    That function submits a report program which geneates a excel sheet using download FM . Excel sheet is not getting generated.
    But when i am calling this RFC FM  (in R3) from a report program ( in srm server)
    this is generating an ecel sheet.
    I want to have call RFC from BSP application.
    I tried the way of submit a program ( which contains RFC call) from BSP application ,but it is also not generating excel sheet.
    My ultimate AIM is to generate excel sheet by trigerring CALL or submit from BSP
    application.
    can any one propose solution for it.
    Useful answers will be rewarded.

    Hi,
    Which FM is it. I guess that the download generated is a SAP gui oriented solution, which will never work in a web environment
    Eddy
    PS. Reward useful answers and earn points yourself

  • Call ITS from BSP Application

    i have created a ITS screen which in turn calls a Abap report
    I want to call this ITS screen from a BSP application .
    Could you please provide some sample code which is used to call ITS from BSP application..
    Useful answers will be rewarded
    Thanks

    Since it is related to both ITS and BSP i thought i can post it in both. and also i didnt get answers for the queries..... for a long time. Anyhow i will take your suggestion for my future query.
    i hv done using iframe to call my ITS application.
    I can able to call the Bsp application whichin turn calls its screen abap program.
    while executing ,  the selecting the directory from the file browse pop up doesnt work for downloading the file
    becos the client , they will not change the settings related to applet in the internet browser for security reasons.
    I hav to make it some how to make it work in the portal which calls this BSP application..
    at the moment i mapped this BSP application to the user role in the SUS Portal . but it appears in the SUS portal . but i m not able to click the application and also handsymbol is not seen while bringing the mouse to that area.
    Could you please tell me , how to use Action_id for that particular application, Authorisation profile settings.
    Kindly  give your suggestions asap.

  • Calling a separate BSP Page from a Web Application Builder BPS page.

    I have been creating a basic BPS application for manually entering data into BW.
    We are allowing users 2 options: 
    1. Manual Data entry via a web Page created in the Web Interface Builder.
    2. Via a Flat File using the process described in the "How To" Guide on how to load a flat file into BPS Web Page.  This was done in the Mime repository via a BSP application (transaction se80).
    I want to incorporate both method on a single web page (or group of linked pages) so that the user can choose which method that they want to use.
    My question is: How can I call the flat file loading screen (created in se80) from the Manual data entry screen that was created in Web Interface Builder?
    Thanks,
    Adam

    Adam,
    You dont have to create a new tab also. You can incorporate the newly created BSP page
    below the Manual Entry layout. Do the following step
    1. Create a text element below the layout in web application builder. Choose Edit long text
    2.insert this code
    <iframe id="Text86" border="true" name="upload4" src="/sap/bw/mime/bex/icons/pixel.gif" width="580" height="65"></iframe>
    <script language="JavaScript" type="text/javascript">
      var frame  = document.getElementById( 'Text86' );
      var url    = '/sap/bc/bsp/sap/z100bps001/upload_hours.htm';
    // set source attribute of iframe to new URL
      frame.src = url;
    </script>
    Now you should be able to the see the newly created BSP page below your layout.
    Coming to your other question on "hard coding" the answer is you shouldnt specify the absolute url, just specify the relative URL and system will take care of the rest.
    Eg. - '/sap/bc/bsp/sap/z100bps001/upload_hours.htm'
    Let me know if you need any help.
    Thanks,
    Praveen
    PS.Dont forget to reward points

  • Call VB from BSP

    Hi,
    anyone know if it's posible to call a VB app from within a BSP...? Or even, more generally, executing Windows commands (including starting applications) from a BSP?
    trond

    Hi Trond,
    Microsoft provided the feature of starting desktop applications from within the IE for a while (without being aware of it). But people didn't really like it and were considering it as a security hole. How bad for us developers, isn't it?
    However, if you really want to scare your users, you can still do the following in your BSP app:
    1) create a string which looks like the command line of starting the windows app. This one here e.g. starts the SAP GUI and connects to system XXX with TA SE80:
    CONCATENATE 'cd Program FilesSAPFrontEndSAPgui' cl_abap_char_utilities=>newline
                  'sapshcut.exe -sid=XXX -clt=150  -cmd=SE80 type=Transaction -l=en' INTO lv_htm.
    2) create an url including a file name ending with a '.bat' extension
    3) create a response object and add the string as data, set header cdata/status etc. & upload everything into the server cache
    4) use the url as reference in a link element or something
    Now you just have to convince your users to push the 'Open' button on the download window after they have selected the link and the batch file is executed.
    Disclaimer: it wasn't me
    regards, Ulli

  • Call Transaction by BSP

    I am facing a problem regarding a BDC for pa30 transaction ,for updating infotype 24.
    It is written through BSP application . When i create it's session through portal and run it through SM35 in the system ,It is perfectly working in 'forground' and 'error display only' mode.But by 'Call Transaction ' through portal directly it is not working .
    Even the session in SM35 gives me error when i run it in 'Background' mode.
    and the error is "Control Framework: Fatal error - GUI cannot be reached,Runtime error RAISE_EXCEPTION has occurred"
    Can any one suggest any solution so that it will work in portal by 'Call Transaction'?

    Hi Sachin,
    please read the following blog by Brian:
    BSP In-Depth: MESSAGE Statement Handling
    /people/mark.finnern/blog/2003/09/16/bsp-in-depth-message-statement-handling
    Most important is the part:
    "However, for BSP applications, no SAP GUI is available. Some types of messages are considered not important, and are silently ignored. Other messages result in exactly the above output. Effectively, an HTTP request is processed in a dark DYNP, and after the MESSAGE statement, the processing is stopped, and the text is converted into a small HTML page."
    Regards,
    Rainer

  • Call SmartForms In BSP

    Hi experts,
    I am implementing of copy of standard bsp application "hap_document" and I would like to call a smartforms anytime I click on print button. Does anybody can tell me what are the different steps to call a smartforms which will display all the data in a nicer layout than the bsp?
    Thanks in advance,
    Best Regards,
    Murai

    Hi Murai,
      Please check the below links may helpful you :
        BSP/HowTo: Generate PDF Output from a BSP.
        Smart Form output into a BSP page?
    Regards,
    Prakash.

  • Call Function in BSP

    Hi,
    In the BSP application, iam calling the FM BAPI_SALESORDER_GETSTATUS to get the list of sales orders.
    If the data reterival takes long time,the bsp application times out.
    Please suggest me how to avaoid the time out,
    can we call the FM in the background task or starting a new task? can we refresh the page for every 60 sec?
    Please suggest me how we can do this? and also a simple code which will help me a lot.
    Thanks
    Srinivas

    RegardsI've found this problem many times.
    The way I solved it was by launching the task in background mode. Then you draw the layout by informing the task has been released. You would need to create a table to control the backgorund tasks being executed, and a table to store function results...
    You can fire  AJAX calls to check the backgorund job execution. When the jobs is finished, you force via javascript a refresh of the screen that checks the result stored in the table. If you don't like AJAX, you can set a refresh parameter (meta http-equiv='refresh' content='5') for the page and check the backgorund task status. If backgorund task finished, then display the results...
    Regards

  • CNTR_ERROR While calling BDC from BSP

    Hi ALL
    I am calling a RFC from BSP which in turn call a BDC for the transaction TP04.
    When i run the BSP in debugging mode its posting data and  working fine.
    But otherwise also it doesn't throw any error on browser. but when i check ST22 it throws exception CNTL_ERROR.
    My function is remote enabled and i am using destination 'NONE' as well.
    I have also checked the Blog by Brian.
    suggestions are welcome
    Naresh

    Hi
    Browser is not giving any error,Friendly HTTP is turned off.
    I am calling my own fucntion module like this
    CALL FUNCTION 'ZTM_FM_TP04' destination 'NONE'
              EXPORTING
                emplno  = employeeno
                STARTDATE   = strtripbegin
                STARTTIME   = strstarttime
                ENDDATE     = strtripend
                ENDTIME     = strendtime
                FIRSTDEST   = strfirstdest
                COUNTRY     = strcountry1
                REASON      = strreason
                CASHADVANCE = strcashadvance
                CASHCURR    = strcashcurr
                BANKADVANCE = strbankadvance
                BANKCURR    = strbankcurr
              TABLES
                ADDDEST     = adddest.
    and within the function module i am calling Call Transaction like this
    CALL TRANSACTION 'TP04' USING BDCDATA
                         MODE   'N'.
    But its not posting any data and while checking thru ST22 its giving following error
                                                                                    A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP " raised th 
    exception                                                                     
    condition "CNTL_ERROR".                                                        
    Since the exception was not intercepted by a superior program                  
    in the hierarchy, processing was terminated.

  • Calling copy of BSP application in e-recruitment

    In E-recruitment module, I have a requirement to copy the SAP standard BSP application HRRCF_REQ_MNT to a z BSP application
    and add new fields to one of the BSP pages of the ZBSP application.I could not find any customizing table where I can make a
    call to my zBSP application. Can someone help me with this please?

    Hello,
    to include views of customer bsp application in a container sequence like the requisition maintenance you have to use the standard flexibilization for container sequences.
    It can be found in the IMG under the path e-recruiting -> technical settings -> user interface -> (Settings for UI BSP [only 600]) -> Flexibilization.
    You first define a context if you have not already done this. Then you go to Container Sequence -> Define Elements for CS and create an element for the screen of the customer bsp you want to include. As the standard customizing is not shown (it's stored in seperate tables) you might want to have a look on T77RCF_CS_ITEM in SE16 to get an idea what to put in the different fields (namespace can be SAP noone seems to know what it's really for).
    Then you have to go to -> Modify CS. Add an entry for CS Id 1000 which is the Container Sequence for requisition management. In the assingments you add entries for the context you created before and all customer and standard CS Items you want to use. The elements assigned to this CS Id in standard can be found in table T77RCF_CS_SEQ in SE16.
    To access the new configuration you have to call the startpage of the recruiter with the condetext defined (URL Param: rcfContext)
    Best Regards
    Roman Weise

  • Calling a custom BSP application in CRM2007  ICWC using transaction launche

    Hi Experts,
    I created a Z BSP application in se80 which is a statefull application.Now I created a direct link in ICWC for this Bsp application using transaction launcher.
    Now my problem is that the session of this BSP remains active even if I click on some other link in the navigation bar.
    I need a way to end the session as soon as we navigate to some other link on the navigation bar.
    It would also be helpful if I just know the code for killing the session programatically.
    Helpful Answers will be rewarded!!
    Thanks,
    Ashish.

    Hi,
    I am not sure, but according to my understanding u can use CL_BSP_SERVER_SIDE_COOKIE class in ur BSP application to get refrence of ur BSP page.
    When u r in Web UI by the help of this class u can check whether u r in BSP related view or in other then view. If u r in other view then u can set runtime->keep_context = 0.
    Take help from this link for the class related info.
    http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
    Regards
    Gaurav

  • Calling DLL from BSP

    hi,
    Can anyone suggest me how to call a dll in a bsp. if you can help me with a sample code it'll be helpful.
    Thnx in Advance
    Vinodh

    What exactly do you mean by calling a DLL?  Do you want to host an ActiveX Control?  Do you want to call a DCom Object or a .Net Object?  Or perhaps you are wanting to call a WebService writting in .Net?
    For a Native DCom Object or .Net Object your would need the SAP DCom Connector or .Net Connector respectively.  For an ActiveX control, BSP is no different than any other Web environment - Client Side JavaScript or VBScript should do the trick.  I'm sure you can google many an example from the Web. 
    If I am off base here, just let me know.  Also this question might be better suited to the BSP forum instead of the ABAP one.

  • Calling WDA from BSP

    Hi all,
    Is it possible to call WDA from a BSP via a hyperlink and pass parameters that the WDA would need? How could I go about doing this?

    Hi Alexander,
       You can't pass the information(Context Data) from WDA to BSP directly so you just store the information in some variables or internal tables use the normal user paramenters like EXPORT & IMPORT or SET and GET parameters. Thgoruhg this way only you can communicate the data between these 2 technologies otherwise you need to save the data in some ztable and use the same table in both technoloes.
    you can also use Server Side Cookies.
    Perhaps take a look into this blog from Koen Labie:
    /people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp
    The blog shows how to pass the data from BSP to WD.
    Transfering data between WD and BSP via Server side Cookies can also be used for your requirement.
    For that you have to set the Data Cookie in the WD and then get the Cookie in the BSP.
    Please keep in mind that if you mix two different technologies you will have to deal with integration. WD and BSP will run in two different sessions at the server. Handling data exchange, login, logoff, data transfer at the server and client, etc can be challenging. You might end up with recreating enterprise portal-like software. So depending on the scope of the project, it might be more advisable to stay within the BSP environment or to reuse the SAP enterprise portal to integrate these two technologies at the client.
    Hope this will help you.
    Cheers,
    Darshna.

Maybe you are looking for