Smartform in BSP appl

Hi ,
        How i can know which smartfrom is using in BSP application , is there any table or way for that.
regards
tarun

Hello Tarun,
I think there is no simple way to know that, because the call to the smartform is made by coding.
Normally, the call to a smartform uses the function module SSF_FUNCTION_MODULE_NAME, to get the smartform function module.
So, my suggestion is that you search in the BSP code for this call. Then, check the name that is passed into FORMNAME parameter, and you'll get the smartform name.
Kind regards.

Similar Messages

  • SSO for a BSP-appl that is called by a complete URL?

    Hi,
    is it possible to use SSO while calling URL's? The called URL is another BSP-application on the same WAS.
    I have a special situation:
    My BSP-application has only one "html"-page that has a frameset in which another BSP-application is loaded. The outer BSP-application is inside a BSP-iView and SSO works fine for it. This outer BSP-appl. is only a wrapper for portal-events. It has a JavaScript-function that receives the portal-event.
    Depending on the events the outer BSP-appl. loads another BSP-application with some parameters inside the frameset. This application will be called with a whole URL like:
    First I need to destroy the session: http://mycompany.com:8000/sap/bc/bsp/sap/z_test_start.htm&sap-sessioncmd=CANCEL
    Then I will load the BSP-appl new: http://mycompany.com:8000/sap/bc/bsp/sap/z_test_start.htm
    But now I must enter user/pw in the pop-up window. Is it now possible to add/send the SSO-ticket to the called URL? The BSP-application I call with the whole URL is situated on the same WAS as the other BSP-appl for which SSO works fine.
    Thanks a lot for any idea.
    Regards,
    Henning

    Hi,
    the parameters are set.
    SSO is working correct with other iViews. One iView shows a Java Web Dynpro application which is running on the same server. Even transaction iViews work fine. --> ABAP part is set correctly for accepting/creating SSO
    Even the BSP is working with SSO if I include it within an BSP iView. Only if I change the whole URL within the iView it is not working correct any longer.
    I do the following within the BSP-iView. It's a wrapper for portal events, that opens another BSP application with the whole URL. The URL is sent to the iView from another portal application.
    <%@page language="abap"%>
    <%@extension name="htmlb" prefix="htmlb"%>
    <SCRIPT src="epcfproxy.js"></SCRIPT>
    <script language="javascript">
    if(window.document.domain == window.location.hostname){
    document.domain = document.domain.substring(document.domain.indexOf('.')+1);
        EPCMPROXY.subscribeEvent("urn:com.company:DCEvents","testevent", window, "event_test_handler");
        function event_test_handler( eventObj )
            var pernr = eventObj.dataObject;
            ocument.getElementById('iframetest').src=eventObj.dataObject;
    </script>
    <htmlb:content design="design2003">
      <htmlb:page title = "Test">
        <iframe src="" width="100%" height="700" name="iframetest"></iframe>
      </htmlb:page>
    </htmlb:content>
    Henning

  • Smartform or BSP HTML Emails in Outlook 2007

    Hello,
    we create different HTML e-mails based on smartforms or BSP. Everything looks as it should with <b>Outlook 2003</b>. But if you send the same mails to user with <b>Outlook 2007</b>, no formats, boxes and colors are visible anymore.
    Does anyone has an idea what we could do to make it suitable for Outlook 2003 and 2007?
    Thank you in advance,
    Heiko

    There isn't a very good solution unless there are some recent updates.  I've answered on this before.  In 2007, Microsoft chanegd the HTML rendering engine to Word.  There is very limited support for HTML and CSS in Word's engine.  You can Google it or go to MSDN to read more about it.  I haven't looked for a better solution because 99% of our user community is still using 2003 though that will change soon.  We're actually considering dumping Microsoft altogether and switching to Google Apps.

  • 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.

  • Archive Smartform from BSP

    Hello
    In our scenario we are entering data into a BSP and want to call a smartform and archive the smartform output as PDF on the click of a button. The displaying of the PDF file in the browser works fine. What I cannot get working is for the smartform to automatically archive the output using archive_index and archive_parameters. In ABAP this works fine but I cannot find why the same call in the BSP displays the form but does not archive the displayed data.
    Does anybody have any ideas?
    Thanks
    Harry

    Hello Prabu
    Thanks for your answer. I thought in my question I clearly stated that converting the OTF and displaying the PDF was not the problem. Sorry if it was not clear enough.
    In any case I have found a solution to the problem myself. After receiving the OTF data I copy it into an identical structure of the same type and use one to archive with FM CONVERT_OTF_AND_ARCHIVE and the other is used to display the PDF file in the browser. Surely not "state of the art" but it solves my problem.
    Thanks to all
    Harry

  • Using LP01 printer for printing smartforms in BSP

    Hi fellow BSPers,
    I have developped a BSP application in CRM which allows users to have a consolidated view on the data in an order.
    Also there is a button which can print a smartform of the order using the PostProcessingFramework of CRM.
    It works great but...
    For printing the user needs to use a printer which is defined in the system.
    As expected most users would like to print on the printer they defined in windows as their default printer. From SAPGUI this can be done using printer LP01 which sends the spool to the client printer deamon.
    Does anybody know how I can use this deamon via BSP?

    I hit similar requirements in the past.  You can't use LP01 because it needs the Gui Framework to communicate with the frontend of course. 
    I like the solution of converting the SmartForm (or Sapscript or Adobe Form for that matter) to PDF.  I then display the PDF out of the BSP application (there are several weblogs on different techniques for displaying PDF and Non-HTML documents - I like the ICM Cached Response and IFrame approach).  The user then can print the PDF with their local printers (or email the document, or save it, etc).  This give considerable flexibility.

  • Controller request to another one which is in another bsp appl. + attrib.

    Hi everybody,
    how can I call a controller from another controller which is in a separate BSP-application and how can I get some of its controller attributes? I've split the whole application in two seperate one in order not to lose the overview.
    Shouldn't be that complicated, or?
    Thanks for any help.
    Jens
    Edited by: Jens Griesinger on Apr 25, 2008 8:58 PM

    Hi,
    For Example u take first application znavigation in that controller do_request u write
    method DO_REQUEST.
    *CALL METHOD SUPER->DO_REQUEST
    data: r_view type ref to if_bsp_page.
    dispatch_input( ).
      r_view = create_view( view_name = 'app1.htm' ).
      r_view->set_attribute( name = 'first' value = input1 ).
      r_view->set_attribute( name = 'second' value = input2 ).
      call_view( r_view ).
    endmethod.
    and do_handler_event()
    method DO_HANDLE_EVENT.
    *CALL METHOD SUPER->DO_HANDLE_EVENT
    EXPORTING
       EVENT           =
       HTMLB_EVENT     =
       HTMLB_EVENT_EX  =
       GLOBAL_MESSAGES =
    RECEIVING
       GLOBAL_EVENT    =
    DATA: button_event TYPE REF TO cl_htmlb_event_button.
    DATA: V_TARGET_URL TYPE STRING,
            W_APP_NAME TYPE STRING.
    IF htmlb_event IS BOUND AND htmlb_event->name = 'button'.
        button_event ?= htmlb_event.
      ENDIF.
      DATA: data_input  TYPE REF TO cl_htmlb_inputfield.
      IF button_event->server_event = 'submit'.
        data_input ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'inputfield'
                                          id      = 'InputName1' ).
      IF data_input IS NOT INITIAL.
        input1 = data_input->value.
      ENDIF.
       data_input ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'inputfield'
                                          id      = 'InputName2' ).
          IF data_input IS NOT INITIAL.
        input2 = data_input->value.
      ENDIF.
    Construct the Target URL
            CALL METHOD RUNTIME->CONSTRUCT_BSP_URL
              EXPORTING
                IN_PROTOCOL       = 'http'
                IN_APPLICATION_NS = RUNTIME->APPLICATION_NAMESPACE
                IN_APPLICATION    = RUNTIME->APPLICATION_NAME
                IN_PAGE           = '**/znavigation1/zsecondappl.do'
              IMPORTING
                OUT_ABS_URL       = V_TARGET_URL.
            CONCATENATE RUNTIME->APPLICATION_NAME '/**/' INTO W_APP_NAME.
            REPLACE W_APP_NAME IN V_TARGET_URL WITH SPACE.
    Pass the input1 and input2  via URL
            CONCATENATE V_TARGET_URL '?input1=' input1 INTO V_TARGET_URL.
            CONCATENATE V_TARGET_URL '&input2=' input2 INTO V_TARGET_URL.
            NAVIGATION->GOTO_PAGE( V_TARGET_URL ).
      ENDIF.
    endmethod.
    Activate the first application.
    second bsp application:
    do_request();
    METHOD DO_REQUEST.
       data: r_view type ref to if_bsp_page.
       dispatch_input(  ).
    Get the values from source BSP Application which was set via URL
        input1 = REQUEST->GET_FORM_FIELD( 'input1' ).
        input2 = REQUEST->GET_FORM_FIELD( 'input2' ).
    *IF  r_view IS BOUND.
    r_view = create_view( view_name = 'secondappl.htm' ).
    r_view->set_attribute( name = 'input1'  value = input1 ).
    r_view->set_attribute( name = 'input2'  value = input2 ).
    call_view( r_view ).
    ENDIF.
    ENDMETHOD.
    do_handler_event:
    METHOD DO_HANDLE_EVENT.
    DATA: button_event TYPE REF TO cl_htmlb_event_button.
    DATA: V_TARGET_URL TYPE STRING,
            W_APP_NAME TYPE STRING.
    IF htmlb_event IS BOUND AND htmlb_event->name = 'button'.
        button_event ?= htmlb_event.
      ENDIF.
    DATA: data_input  TYPE REF TO cl_htmlb_inputfield.
      IF button_event->server_event = 'back'.
         CALL METHOD RUNTIME->CONSTRUCT_BSP_URL
              EXPORTING
                IN_PROTOCOL       = 'http'
                IN_APPLICATION_NS = RUNTIME->APPLICATION_NAMESPACE
                IN_APPLICATION    = RUNTIME->APPLICATION_NAME
                IN_PAGE           = '**/znavigation/zapplication1.do'
              IMPORTING
                OUT_ABS_URL       = V_TARGET_URL.
            CONCATENATE RUNTIME->APPLICATION_NAME '/**/' INTO W_APP_NAME.
            REPLACE W_APP_NAME IN V_TARGET_URL WITH SPACE.
            NAVIGATION->GOTO_PAGE( V_TARGET_URL ).
      ENDIF.
    ENDMETHOD.
    activate the second application.
    display the input1 and input2 in the second application view.
    try this if u have any error please let me know.
    Award me.

  • How to embed BSP Appl. in component

    Hi Friends,
    I have created one BSP application with the option of pages with flow logic. Now the question is how to insert this BSP Application in CRM Web navigation bar? Kindly help me in resolving this.
    Thanks in advance,
    Steve

    Hello,
    I would like to embed an external url (such as http://google.com) inside a panel
    My application is using several panels.
    In a panel, I add dynamically different ImageHyperlink components.
    I succeed to display in a different panel the expected infos when I click on a link.
    Now for some kind of Hyperlink components, I would like to be able to embed an external site within a container of my application.
    I read about <iframe> (http://www.codeproject.com/useritems/CreatorFrames.asp) but since I building most of my components dynamically. But I do not think that it could fit my needs.
    Today, when I put a panel id as a target of an hyperlink component, the external website is open in a new browser window.
    Thanks,
    Val

  • Open new BSP page

    Hi all,
    i am in ABAP report and i want to open new BSP page from the ABAP report
    becuse some time it is open the BSP page in the same session of SAP system.
    and also how i can maximize it automatically in the same way of (F11 key).
    is there any documents that describe and explain the signature of this method.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>EXECUTE
    EXPORTING
           DOCUMENT      = 'XXXXXX .......'
         APPLICATION            = 'X'
         PARAMETER              =
         DEFAULT_DIRECTORY      =
         MAXIMIZED              =
         MINIMIZED              =
         SYNCHRONOUS            =
           OPERATION              = 'OPEN'
    EXCEPTIONS
            CNTL_ERROR             = 1.

    If you want to open the BSP in Browsers, you can call the FM CALL_BROWSER & pass your BSP appl URL. This will open the BSP from R/3.
    OR you can use the HTML viewer to call URL..
    Look at the below blog for the same.
    /people/thomas.jung3/blog/2004/08/26/updated-calling-a-bsp-application-from-a-sapgui-transaction
    Hope this will help you.
    <b>*Reward each useful answer</b>
    Raja T

  • How to use Portal SSO with existing BSP application

    Hi all,
    we run SAP EP 6.0 here and have a single start BSP page of
    an application integrated with the SAP appintegrator for BSP. The rest of the existing BSP application still uses
    the login functionality based on CL_BSP_LOGIN_APPLICATION
    and is not integrated in the portal.
    Problem: If a user directly accesses one of the "old" BSP pages, he should be redirected to the portal to auth. him via SSO and afterwards the original BSP page with all its parameters should be processed.
    How to deal with that? Is there a similar mechanism like with the BSP_LOGIN_APP in between for the SAP EP?
    Thanks for your help!
    -RAINER-

    I think that doesnt solve the problem.
    I have 2 systems: SAP ECC with all BSPs and the portal on another system. So I have to entry points: Via portal using the appIntegrator BSP or directly to the ECC.
    As-is: If the auth. for the BSP appl. fails, the user is re-directed via the error page given in the service (SICF)
    to a BSP login app. and from there to the requested page.
    No portal in this concept.
    Must-be: A user is still able to directly access a BSP on the SAP ECC by entering the URL in the browser. It's not a must entering via the portal first.
    So when the login failed on the ECC (no SSO ticket), he should be redirected to the portal for getting his SSO.
    After he signed in successfully the user will be forwarded to the BSP page he entered in the browser the first place.
    I can't see a way to use the URL iView. I am thinking of simply changing the login mechanism of the BSP using the portal login functionality.
    The link you gave me offers an implementation of CL_ICF_SYSTEM_LOGIN. Any ideas?
    Regards,
    -RAINER-

  • Calling a BSP application's View directly

    Hello,
    I am using BAB to simplify 'Maintain Opportunity' BSP. After the simplification, when calling the BSP in portal, I could not call the view 'ACT_LEAN' directly. I can see only the standard BSP in the portal and not the changed one. Following are the parameters I am passing to the portal:
    BSP application: CRM_BSP_FRAME
    Start Page: entrypoint.do
    application parameters: appl=CRMD_BUS2000111&blview=ACT_LEAN&sap-syscmd=nocookie
    I have also activated the whole tree where all these bsps are in the xn 'sicf'
    Any advice on how to call the view directly is appreciated.
    Regards
    - Arun

    Hi ,
    what you need to do is
    1) for the "Send" button attach a java script.
    <htmlb:button id="myButton" text="Submit ...." onClick="sendRequestWrapper()"/>
    this javascript should take the inputfrom the field,
    then in the javascript create the URL.
    function sendReqeustWrapper(){
    sendRequest(InputField);
    function sendRequest(InputField)
    var URL;
    URL  = window.location.protocol + "//" ;
    URL += window.location.host ;
    <b>Note: its only Example link,</b>
    URL += "/sap/bc/bsp/sap/<BSPApplication>/controller.do";
    URL +="?InputFieldName=";
    URL +=InputFieldValue;
    <b>then use</b>
    Your URL will look like:
    http://ld0507.wdf.sap.corp:50007/sap/bc/bsp/sap/<bsp appl>/controller.do?InputFieldName=XXXXX
    window.open(URL,"_self","");
    so once this URL is triggered  you need to goto the respective controller and handle the input. You can see the reply from Mr. Akshaya Rao .
    regards,
    Vijaya Kumar M.
    Message was edited by: Vijaya Kumar

  • Calling a BSP application with MVC and send one start value

    Hi,
    I developed a BSP application with BSP. The application has a start page with one input field. The user gives a number and click the send button. The controller creates the modeler and gives the userinput as start parameter for the data search. After the data are read/found, the controller calls a view to show the data.
    This is very easy and does work.
    I have to call this simply application from another one: the caller application sends the start value.
    I don't know, if is better to send the start value in the URL or not. I tried it, but the controller cannot read it.
    How can I call the controller with a start value?
    Thank you!
    Bye
    Patrizia

    Hi ,
    what you need to do is
    1) for the "Send" button attach a java script.
    <htmlb:button id="myButton" text="Submit ...." onClick="sendRequestWrapper()"/>
    this javascript should take the inputfrom the field,
    then in the javascript create the URL.
    function sendReqeustWrapper(){
    sendRequest(InputField);
    function sendRequest(InputField)
    var URL;
    URL  = window.location.protocol + "//" ;
    URL += window.location.host ;
    <b>Note: its only Example link,</b>
    URL += "/sap/bc/bsp/sap/<BSPApplication>/controller.do";
    URL +="?InputFieldName=";
    URL +=InputFieldValue;
    <b>then use</b>
    Your URL will look like:
    http://ld0507.wdf.sap.corp:50007/sap/bc/bsp/sap/<bsp appl>/controller.do?InputFieldName=XXXXX
    window.open(URL,"_self","");
    so once this URL is triggered  you need to goto the respective controller and handle the input. You can see the reply from Mr. Akshaya Rao .
    regards,
    Vijaya Kumar M.
    Message was edited by: Vijaya Kumar

  • Want to know more about BSP

    Hi Experts,
    I have been asked to prepare for BSP for the CRM implementation. I would like to know where BSP comes into play and a few tutorials on the same. I have been through the tutorials on help.sap.com but i have not been able to get a good insight into the functionality of a BSP application.
    Can you please guide me where can I find some good pdfs for the same online.
    Regards,
    Abdullah

    Hi,
    Creating a BSP:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e6/e23fd8c47e11d4ad320000e83539c3/content.htm
    Creating Bsp appl:
    http://help.sap.com/saphelp_nw04s/helpdata/en/46/bb181aab4811d4968100a0c94260a5/content.htm
    For creating MVC step by step tutorial:
    http://www.sapdevelopment.co.uk/webapps/bsp/mvc_example_controller.htm
    Thanks.

  • BSP Application for starting Web UI in CRM 2007 (6.0) using SE 80

    Hi All,
    Could you let me know the name of the BSP application that I need to execute using SE80 transaction
    in CRM 2007 (6.0) to start the Web UI from the CRM GUI. Also, let me know if there is any other way
    (tcode... etc) to start Web UI from GUI.
    Thanks in advance.
    --R D

    You can use BSP Appl CRM_UI_FRAME to start the WebUI in 6.0 version.
    Also you can create a favorite in the start menu, right click on fav and select add other object, then choose BSP application and put application name as CRM_UI_FRAME, some description and start page as default.htm. Thats all now you can directly click on that favorite and launch the WebUI
    Regards,
    Shobhit

  • Implicite Enhancement for a BSP Application (MVC)

    Hi Experts,
    we have a SAP standard BSP Appl in SCM (Appl /SCF/UIBSP) and want to add an additional icon with hyperlink in one of the views (main.htm) at a certain position.
    Is there a way to do this without a modification of the HTML-code, maybe with the enhancement framework?
    Thanks for every hint!
    Regards,
    Mathias

    Hi Mathias,
    While going thru SDN I found this thread and I have a similar requirement that I need to enhance this standard ICH application and have to add one button and when user clicks on it I should download some data.
    I would like to know if there are any alternatives for this wihout copying/creating a Z program. Incase we have to create a z program, could you please let me know incase of any precautions that I should take care of.
    Thank you.
    Regards,
    Sudhakar Karumuri.

Maybe you are looking for