SapGUI's control

Hi expert,
I have installed saprouter and configured it , the service can be started normally.
the sap server and saprouter are installed in a same computer.
I edit a SAPROUTTAB and add some users of local network who can access the server, these users can logon the sap server with SAProuter String,but they also can logon by SAP Front End without SAProuter String.
I want to use the saprouter control the server's logon,how can I control the user must input the SAProuter String ?
I'm a new, thanks very much for your response.
Best Regards.
Minghong

hi Sergo
my sap server is 10.56.0.219, saprouter is 10.56.0.168
On sap server:firewall is on, port 3299 and 3200 is opened.
On saprouter:firewall is off, saprouter service is started.
                      SAPROUTTAB entry:
                                                    P 10.56.0.135 10.56.0.219 *
I delete entry:sapdp00 3200/tcp in .....\etc\services of sap server,then start sap,when I logon sap server from 135( saprouter string is /H/10.56.0.168/H/) ,but there's also the error:service sapdp00 unkown .
Much appreciated for your help.
Regard.
Minghong

Similar Messages

  • SAPGUI Remote control

    I have a problem.
    A SAP material number are displayed on a normal HTML web page.  Now I  need a function, which opens a new SAPGUI-Modus (normal SAPGUI) und starts the transaction MM03 (for example) for this material number. The user is already announced in SAP R/3
    Who has experience with this kind of SAPGUI Remote control.
    I am very grateful for help.
    Best Regards
    Bernd Winkmann
    [email protected]

    Hi Bernd,
    well, "remote controlling" a local SAPGUI does sound rather non-trivial. I would instead suggest the following approach:
    Create a hyperlink for your material number that will launch an instance of the Application Integrator-iView (com.sap.portal.appintegrator.sap.Transaction) (resp. URL Generator if working with EP5). Now, add the GET-parameter "System", which points to a system alias as defined in the system landscape. Last not least, you can send the material number to R/3 by simply adding dynpro params to the URL.
    Hence, a typical URL might look like this:
    "com.sap.portal.appintegrator.sap.Transaction?System=CRMCLNT200&Technique=SSD&TCode=*XD03 RF02D-BUKRS=1000;RF02D-KUNNR=&GuiType=WinGUI"
    By doing so btw, your users don't have to be logged on previously to R/3 as the portal's SSO mechanism will take care of this automatically.

  • SAP GUI hangs up - tree control

    Hi,
    I have written an ABAP program to display a report in tree format. This tree(designed using SAPGUI tree control) has close to 75K nodes. When I exit from this application(report), the SAPGUI hangs up. It takes about 25-30 minutes to exit this report program.
    Further analysis tells me that it is only the front end process and NOT the runtime of the program. I am using Windows.
    I am not sure how much this forum is relevant to this problem. But, any inputs on the reason for a slow performing GUI is appreciated.
    Thanks,
    Hema

    There are some known performance issues with older patchlevels, since you neither mention, what GUI version you use and which patchlevel I would just recommend updating to 7.20 and the latest patchlevel and try again.
    If that doesn't help the only thing left is to decrease the amount of data being sent to the frontend.
    Markus

  • Call SAPGUI transaction from BSP and vice versa

    Hi all
    There was some discussion about this topics before. Maybe someone can just point me to the thread answering this issue:
    1. I need to call a SAPGUI transaction from a BSP application: I want to use SAPGUI, not ITS/webgui, I need single sign on, the SAPGUI transaction could possible run in another SAP system then the BSP.
    As far as I understand I need to create a *.sap file with the correct parameters for sapshortcut. But how does single sign on work? Can I create a logon ticket in my BSP and forward it to sapshortcut?
    2. I need to call a BSP application from a SAPGUI transaction or report, with single sign on but in a MS IE window, not inside a SAPGUI HTML control
    Can I create a logon ticket in my coding an append it to the start url for the BSP?
    any hints?
    thanks
    Michael

    hi Michael,
    For your second issue,to call a BSP application from a SAP GUI in MS IE explorer,
    you can use the Function Module CALL_BROWSER in your report,like
    data url(200) type c.
    url = 'http://<server>.<domain><port>:'.
    concatenate url '/sap/bc/bsp/sap/' into url.
    concatenate url 'znw_poc2_1_prtl/dts.htm' into url.
    concatenate url '?sap-user=<userid>' into url.
    concatenate url '&sap-password=<passowrd>' into url.
    CALL FUNCTION 'CALL_BROWSER'
      EXPORTING
        URL                          = url
    *    WINDOW_NAME                  = ' '
    *    NEW_WINDOW                   = ' '
    *    BROWSER_TYPE                 =
    *    CONTEXTSTRING                =
    *  EXCEPTIONS
    *    FRONTEND_NOT_SUPPORTED       = 1
    *    FRONTEND_ERROR               = 2
    *    PROG_NOT_FOUND               = 3
    *    NO_BATCH                     = 4
    *    UNSPECIFIED_ERROR            = 5
    *    OTHERS                       = 6
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    For this to work you have to enable SSO on your server.
    you can check if it is enabled or not by runnning the BSP application "SYSTEM" ,page "SSO2TEST.htm" .
    Follow the instructions on the page for testing.
    This may not be a great way as your userid password are passed via URL,still it works .
    Hope this helps,
    Regards,
    Siddhartha

  • Calling a BSP application from a report

    Hi to everybody,
    I have one BSP(Business Server pages)application.I want to call that application from report.How to call BSp from report.

    The SAPGui HTML control is great way to show a BSP page.  You can create the HTML control (CL_GUI_HTML_VIEWER) in a full screen or subscreen (anywhere you can insert a container controll).  Best yet you can activate SSO for the HTML control so that the user doesn't get prompted for credentials.   The following is some code samples:
    CREATE OBJECT custom_container
        EXPORTING
          container_name              = 'CUSTOM_CONTAINER'.
      CREATE OBJECT html
          EXPORTING
            parent             = custom_container.
      CALL METHOD html->enable_sapsso
        EXPORTING
          enabled = 'x'.
      DATA: url TYPE string.
      DATA: url1 TYPE url.
      DATA: l_appl TYPE string,
            l_page TYPE string.
      l_appl = bsp_appl.
      l_page = page.
      CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application
        EXPORTING
          bsp_application      = l_appl
          bsp_start_page       = l_page
          bsp_start_parameters = params
        IMPORTING
          abs_url              = url.
      url1 = url.
      CALL METHOD html->show_url
        EXPORTING
          url = url1.

  • Calling an SAP transaction from a BSP page

    Hi, I have created some BSP pages that are rendered inside SAPGUI screens using a HTML control object. When looking at a CRM system I came across the Business Partner Cockpit (CRMD_ORDER_BP) which displays activities for a business partner using a BSP implemented by CL_CRM_CCKPT_CFS_SERVICE_HTTP.
    The interesting thing about this BSP, is that you can click on the transaction number in the BSP and it launches the appropriate SAPGUI transaction to display the details of this activity.
    Looking at the HTML source, the link is defined like this: -
    <a href="SAPEVENT:OBJTYPE=BUS2000115&OBJKEY=CDAEBBF5BD903E4390DA7984D3054A65">0920000086</a>
    In the above example this activity is a sales order.
    Can anyone help me understand how this works, and how I can use it to navigate to SAP transactions using links in my BSP pages that are placed in SAPGUI HTML controls?
    Thanks
    Graham

    Hi Graham!
    I have a similar problem in transaction CIC0 and the Sales summary tab in CRM.
    I have created a new class and assigned it to a new fact sheet. One column in this fact sheet should be a hyperlink defined in the way that you have described.
    When using method get_event_parameter I are not getting any data for the SAPEVENT parameters - I don't get the value, only the keys:
    <a href="SAPEVENT:?OBJTYPE&OBJKEY>
    How should I procced to assign an object type and object key to this SAPEVENT???
    Would also be very nice if anyone could explain how to "call transaction" works.
    Help understanding this would be very appreciated.
    BR
    Mattias

  • Compile error in hidden module cBEXcommon

    Hi
    whenever i try to open up the Bex analyzer from Start-> all Programs -> Business explorer -> Bex Analyzer
    it opens up Microsoft excel with error -
    Microsoft VB for Applications
    Compile error in hidden module cBEXcommon
    This error commonly occurs when code is incompatible with verrsion, platform or architecture of this application.
    Even after this if i try to click Open query it gives error
    Cannot run the macro 'sapbex.xla!repoNewQuery'
    i tried copying SAPBEX.XLA from another machine where it works but this still doesnot work..
    my machine has windows 7, another machine has windows xp
    are there any new patches or addins for windows 7
    thanks very much for help

    Hello
    Can you please follow the steps as below:
    1.Control panel > Add or remove  programs > uninstall Sapgui
    2.Control panel  > Add or remove  programs > uninstall Sap bex explorer
    3.Delete the following folders in the PC
    C: \program files/SAP/Frontend
    C:\Program Files\SAP\Business Explorer
    C:\Program Files\Common Files\SAP Shared
    C:\Documents and Settings\All Users\Start Menu\Programs\SAP Front End
    C:\Documents and Settings\All Users\Start Menu\Programs\BusinessExplorer
    4.Delete the files in the recycle bin and reboot the PC. (this step is important)
    5 After the reboot, first install the GUI 710/720 with the latest patch level
    6 Install BEx 7.0 and BEx 3.5 with the latest patches for each.
    Regards,
    Michael

  • Status and Tracking System and JAVA AS

    Hello!
    Is it possible to run STS (Status and Tracking System) and BW-BPS without JAVA AS?
    Regards
    Alex

    Will it work not in 3.5 but in NW2004s?
    I'll try to clear situation: we are upgrading SEM 3.1B to NW2004s BI
    It worked in 3.1 but now get errors:
    Diagnosis
    The system was not configured for SAP logon tickets:
    At least one of the two parameters login/create_sso2_ticket and login/accept_sso2_ticket currently has the value 0.
    System Response
    It is not possible to use SAP logon tickets.
    Therefore, there is also no single sign-on support when using SAPGUI HTML Control and calling local ICF services (see SAP note 612670).
    It looks like integration between JAVA and ABAP.
    That's why I want to know - should I try to solve this problem without JAVA ot it's impossible?
    I saw similar problem in another message (Status and Tracking System and JAVA AS), but it's still not answered
    Best Regards
    Alexey

  • Integrating custom ActiveX control with SapGUI

    Hi everybody
    I'm in the process of writing a custom MFC based ActiveX control written in C++ that we want to use in a product. I am currently at the point where I can instantiate the control and interact with the various methods that it exposes but I have a problem integrating the control more tightly with the SapGUI e.g. change of colors, fonts etc.
    I want to make the control to reflect the user changes when the user modifies any settings of the SapGUI. I've tried catching various events that are exposed by some of the dictionary classes such as cl_gui_props_consumer=>color_change/global_prop_change and cl_gui_resources=>resources_changed but these events only fire in my control once the PAI of the client program that encapsulates the control fires which is hardly appropriate since it means that the control will have to wait for user input before it will change reflect any changes in user settings.
    I've written a test program for my control and when I change my SapGUI colors the rest of the controls etc on the screen do change color but my control only change color once I've performed some action that fires the PAI. Personally I think the controls written by SAP intergrates with the SapGUI through some interface that is called behind the scenes by the SapGUI since the GUI will have some way of knowing the set of ActiveX controls instantiated inside it  and I cannot find any event in the ABAP controls framework (e.g. CL_GUI_OBJECT, CL_GUI_CONTROL) that will allow this type of integration. I'll be digging for the answer but any suggestions will by greatly appreciated.
    Thank you in advance for any help.
    Kind regards
    Ettienne Hugo

    Hello Ettienne Hugo,
    To get the SAP GUI Theme or font changes events you need to add your MFC application or ActiveX MFC dll into u201CSAP Configuration->Application Tab->Addu201D and u need to call the functions SapHookInit and to stop getting the change events u need to call SapHookExit.(sapfhook.dll provides these functions)
    I tried with exe, never tried with ActiveX MFC dll/ocx. With EXE it works.
    Thanks and Regards,
    Ashwini

  • Problem with execution of JavaScript in HTML control with SAPGUI 6.20

    I have added some lines of code JavaScript in a modified class copy of the class CL_DD_DOCUMENT, that is executed well in frontend SAPGUI 6.40, but it is not executed in SAPGUI 6.20 with patch level 65 or 38.
    Somebody knows because it is passing this?
    I really need to know what is the problem. Any help will be welcome...
    thanks,
    Robert.

    HI,
    May be the below from SAP documentation is useful to you.
    Implementation considerations
    The interface of the SAP HTML Viewer is the same for all platforms, but its functions will depend on the underlying HTML browser. Under SAPGUI for Windows , it uses Microsoft Internet Explorer 4.0 as an external browser. Under SAPGUI for Java, it uses the Ice Browser, which is installed with the GUI.
    http://help.sap.com/saphelp_47x200/helpdata/en/c9/147a36c70d2354e10000009b38f839/frameset.htm
    Thanks
    Ramakrishna

  • SAP GUI Logon Control wdtlog.ocx

    Hi,
    I'm trying to use the SAP Logon Control to use SNC / Single Sign-on (SSO Works with SAPGUI and SAP Logon),
    I created a VB Script and it works if Silent = False "v_connection.Logon(0, False )" but if Silent = True the logon fails.
    Is there another way to use the Logon control to make the connection with SNC so I dose'nt have to use the entry i SAPLOGON.INI ?
    My sample script:
    set v_control = CreateObject("SAP.Logoncontrol.1")
    set v_connection = v_control.NewConnection()
    v_connection.System = "LBT SSO"
    v_connection.SystemNumber = 000
    v_connection.autologon = 1
    v_connection.User = "xyz"
    v_connection.Client = 100
    v_connection.ApplicationServer = "server1"
    v_connection.Language = "K"
    If v_connection.Logon(0, True ) = True Then
       msgbox("SAP logon ok !!!")
    Else
      msgbox("SAP logon Error !!!")
    End If
    v_connection.Logoff()
    msgbox("END")

    Hello Peter
    Please change the following in your code:
    set v_control = CreateObject("SAP.Logoncontrol.1")
    set v_connection = v_control.NewConnection()
    v_connection.System = "LBT SSO"
    v_connection.SystemNumber = 000
    v_connection.autologon = 1
    v_connection.User = "xyz"
    v_connection.Client = 100
    v_connection.ApplicationServer = "server1"
    v_connection.Language = "EN"
    v_connection.SNC = True               
    v_connection.SNCName = "<snc name>"
    v_connection.SNCQuality = "<sncquality>"
    If v_connection.Logon(0, True ) = True Then
    msgbox("SAP logon ok !!!")
    Else
    msgbox("SAP logon Error !!!")
    End If
    v_connection.Logoff()
    Regards,
    Dinesh

  • "SSO" for non-sap web application using SAPGUI to browse?

    I have a web application (non SAP) and the user base are also SAP users in an ABAP system.
    To strengthen the authentication in the web app, I wanted to implement SSO 
    authentication as we pity the users for having to remember so many strong pw's and I
    dont like LDAP based pw sync or other technology I dont understand, because then we are
    just yet another application with the same pw...
    We are having technical problems implementing SSO on the web app side, and are anyway a
    bit sceptical about the user admin / role admin assignment if we get it to work.
    So I have created a transaction in SAP which browses the web app and the intention is to
    send the SAP sy-uname as the web app user. We can control this using s_tcode, and
    an own auth object on the WAS side and a check on the session type before the connection is
    established. In this sense we are dependent on the SAP concept implemented, but even so:
    The role assignment is controlled in the web app itself -> so assume that I am not overly
    worried about unauthorized access to the web application, as they would not have any
    system role for it as their sy-uname does not exist. (Infact we can monitor this)
    The browser on the front end is the SAPGUI with html controls on the SAP side.
    I would be interested in knowing whether anyone else has experience with this approach, and
    whether there are any areas to be carefull of?
    I would also like to know whether this is a strategic error?
    Kind regards,
    Julius

    Hi Julius,
    well, if that web application would run on the same ABAP backend system then the solution described in <a href="http://service.sap.com/~iron/fm/011000358700000431401997E/0612670">SAP Note 612670</a> would be applicable:
    a so-called "Re-entrance ticket" (based on the "SAP logon ticket" SSO proceedings) is issued, transported via the SAPGUI connection and back to the system via the invoked HTML control.
    But for non-SAP web applications that does not help.
    In that case only X.509 client certificates can be used for SSO. Actually, the web application could then also be invoked directly (independent from the SAPGUI session). The user is authenticated based on the X.509 client certificate - and not based on the ABAP userID (of the SAPGUI session).
    Well, if you don't mind the effort you could also use the "SAP Logon Ticket evaluation library" (sapssoext, see <a href="http://service.sap.com/~iron/fm/011000358700000431401997E/0304450">SAP Note 304450</a>) to evalute the SAP logon ticket externally. You'll then need to have a "stub application" at the ABAP side that triggers the http redirect to your external web application. Not a nice solution but a possible one.
    In the future SAML browser artifacts would be an option (preferable to integrate non-SAP applications). But currently that's not available (for NWAS ABAP).
    Cheers, Wolfgang

  • How to call a business graphics from a SAPGUI program?

    Dear experts,
    I'm new to WebDynpro for ABAP. I was able to create a working WebDynpro application that shows a simple bar-chart. Nice. What I would like to realize is a bar chart as a pop-up when I click a button on an ALV table element. This ALV table is in the SAPGUI and not WebDynpro (and it shouldn't be). I searched a lot but only found people that talk of 100% WebDynpro applications. So I wonder if a hybrid is possible like embedding the graphics in a control container on a SAPGUI screen or such. I need to somehow submit the required data for the chart from the calling program.
    Is this feasible or do I need to go for the GFW that SAP has marked as obsolete?
    Thanks!

    Hi,
    You can create a transaction for WDA application and call that transaction on click of button ( but you cannot show it as popup) : You can check this for reference: How to pass data to Web Dynpro ABAP from ABAP - Part 2
    You can use CL_GFW classes to display graphs or cl_gui_chart_engine.. ref: Creating charts in Simple ABAP Programs - Code Gallery - SCN Wiki
    Hope this helps u,
    Regards,
    Kiran

  • Criticality in recording Credit memo and debit memo using SAPGUI -ECATT

    Hi all,
    The challenging task for you all guys once again.
    Whenever I am recording credit memo or debit memo using SAPGUI(ECATT) driver,I am facing the following troubles.I need all your suggestions to over come it.
    1.Depending on the invoice number the number of lineitems in the items-overview will differ.My situation is like,I have to select the lineitem which is editable[All are not editable,only few are editable] among the items available and I have to change values and I have to record those values.
    2.Since,the number of lineitems is varying depending upon invoice,I am not able to detect which one is editable or not.Everytime the position of the lineitem  will change,as the number of lineitems is changing everytime.
    [Please note that SAPGUI is more sensitive to location].
    So,I need help how to overcome this situation by SAPGUI
    recording (or) Is there anyway of controlling the recording or identifying the item which is editable through ABAP code.
    Please suggest on this.

    Hi!
    Are you sure you are making a testcase, not an interface? Then a BAPI or IDOC would be more suitable.
    If you are really interested in a flexible recording, then you have to split this into multiple recordings.
    Make one recording for memo creation.
    Make one for line editing. Use button 'item on top' to place desired line into first screen line.
    Between the two executions you can place some abap for identifying changeable lines - ask your consultants for rules.
    Second recording can be used (in a loop) for all line changes.
    Maybe there are other ways, would be nice to know.
    Regards,
    Christian

  • Front end printing with control technology problem with Mac platforms

    Hello,
       We are looking into replacing Host Spool Access method "F: Printing on front end computer" with the newer "front end printing with control technology" but are running into an issue.  Our Mac platforms cannot print duplex nor print multiple pages per side using the new technology.  We have followed SAP's recommendation to use the POST2 device type but it still won't allow full printing functionality.  Has anyone run into this and if so how did you overcome it?
    Thanks and Regards,
    Rich

    Hi Rich,
    I've had success getting duplex printing through "front end printing with control technology" with the Mac SAPgui as follows:
    In the Mac SAPgui, go to the Preferences window and select Printing (i.e. Preferences -> Desktop -> Printing).
    In the "Media sides" pull-down menu, select one of the "two-sided" choices (such as "two-sided-long-edge").
    Click the "Save" button at the bottom of the window (near the right hand side.
    Print to a Front end printer.
    I haven't figured out how to get n-up printing.
    /David Rosenberg

Maybe you are looking for

  • What does 'filter failure' mean when my epson will not print?

    I recently responded to a Software Update for my Epson Stylus TX610FW Printer. It has crashed constantly since. It will print a Nozzle Check but whenever I attempt to print a document in any Application the printer crashes. I have replaced Mountain L

  • Copy InlineGraphicElement as text

    Hello, I have a chat with the support of smiles: When I copy the contents to clipboard I get the following output: User1 19:59﷯Lorem ipsum ﷯ 19:59﷯Lorem ipsum ﷯ User2 19:59﷯Lorem ipsum ﷯ Is it possible to define alternative text for graphic element a

  • Unable to connect to internet although network status is ok

    Dear all, Since Monday (9 January 2005) I have been unable to access the internet using my usual web browsers (Safari, Internet Explorer and Firefox) and e-mail program (Mail) via Airport. This was despite Airport being active and the network status

  • Itunes stopped opening on windows 7

    I was downloading redeem song, locked up.  Now iTunes won't open, only the miniplayer.  I have uninstalled, reinstalled, changed read only in folder. Running Windows 7 on 64 bit.  Tried installing iTunes for 64 bit.  What happened?

  • OracleXETNSListener doesn't start on Windows XP

    Hi, I installed Oracle Database Express 10g which includes Apex 2.1 on Windows XP Pro sp1, with the standard options. It ran well until I stop and start my PC. The apex home page doesn't work anymore. The raison seems to be the TNS listner which does