SAP Toolbar on FB03

I plan to access the SAP Toolbar on FB03.
Is this screen using SAP Toolbar BC-CI?
I plan to use code similar to this for adding a button:
Push button using abap objects
http://help.sap.com/saphelp_nw04/helpdata/en/8f/bcc23657ad0730e10000009b38f839/frameset.htm
To access the existing Toolbar on the SAP page, the following is sufficient?
Or is this going to give me a blank toolbar with any new buttons that I've added to the custom_container?
If it is blank -- how can I get a reference to the existing toolbar?  I want to only extend the existing toolbar on the screen.
Will the buttons in the container always show up at the end of the button list -- is there a way to position them?
DATA : gref_ver_toolbar      TYPE REF TO cl_gui_toolbar
create object gref_ver_toolbar
  exporting
   parent         = gref_custom_container
   display_mode       = 1
exceptions
   cntl_install_error = 1
   cntl_error         = 2
   cntb_wrong_version = 3
   others             = 4
Thanks for your help.
Points will be credited for help.

hi
u will get a blank toolbar
after doing this u have to add button in the toolbar
CALL METHOD toolbar->add_button
  EXPORTING
    fcode            = 'test'
    icon             = '@01'
    butn_type        = button_type
    TEXT             = 'test'.
if u want to triger any event on that button
u have to register events
regards
anil chaudhary

Similar Messages

  • No SAP Datasources or SAP Toolbar in Crystal Reports 2008

    I cannot see the SAP toolbar or SAP datasources under "Create New Connection" in Crystal Reports 2008 SP1.
    After reading many threads on SDN and reistalling Crystal Reports 2008 SP1 and the BOBJ SAP Integration Kit many times I have not been able to get this to work. I have installed the following in order:
    - SAP GUI for Windows
    Release: 710
    Build: 1046700
    Patch Level: 12
    includes the BW 3.5 AddOn and BI 7 AddOn
    Crystall Reports 2008 SP1 which I installed all components except Legacy XML Export.
    Business Objects XI Integration Kit XI 3.1 for SAP which I installed all desktop components and all server components excluding web content and SDK. This was a local install on my PC.
    I have ensured that I have only one instance of SAPLOGON.ini on my PC.
    I have not applied the transports yet because I want to see the SAP datasources and SAP toolbar in Crystal Reports before I progress.
    We do not have Business Objects Enterprise and I'm not sure what "BOE 3.1 Client Tools" is referred to earlier in this thread. My understanding is that in addition to SAP and BW we just need Crystal Reports 2008 and the SAP integration kit.
    We are on ECC6 and BW 3.5.
    I hope someone can help.

    Hi Stratos,
    Thanks for your response. I finally got this working. My issue was that I originally used the Crystal Reports 2008 and BOBJ Int Kit downloads from the SAP support portal. I checked with another SDN user Steven Dierick - thanks Steven - for the version of Crystal Reports 2008 he was using (version 12.0.0.683).
    I downloaded Crystal Reports 2008 version 12.0.0.683 and the BOBJ Int Kit from the downloads section of sdn and it works!! SAP Toolbar, datasources and everything.
    Considering I'm using Crystal Reports 2008 SP0 are there any disadvantages of not using Crystal Reports 2008 SP1?
    If I'm better off using SP1 where should I download Crystal Reports 2008 SP1 and the appropriate BOBJ SAP Integration Kit?
    cheers,
    John

  • Problem in SAP toolbar of Crytal report 2008!

    Hi Experts,
    As some Articles from Blogs, after the installation of the SAP Integration Kit there is a new toolbar in Crystal Reports.
    But I installed SAP Solution Integration Kit for Business Object Edge Series Standard Package on Server andI installed Crystal Report on Client. How can I see SAP toolbar on Crystal Report 2008 to integrate and connect with SAP BW?. Could you show the solution to solve that?
    Thanks
    Jack,

    Hi,
    you need to have the SAP GUI with BW 3.5 and BI 7 Add On installed and you need the client componets from the SAP Integration Kit installed.
    Ingo

  • COM error in SAP toolbar, Crystal Reports 2008 SP2 FP2.1

    Hi,
    Error: COM execption caught in CExtToolBar::GenerateNewTempalte().HR = 0x80004005, ::InitOpenDialog().HR = 0x800004005; ::InitializeGlobalData(). HR = 0x03edafe7
    Unfortunately the error hasn't been fixed for us with FP 2.1 as it was with Sebastian.
    I have GUI 7.10 (7100.2.7.10348 Build 967944 Patch Level 14), Explorer 3.x and 7.0 installed.
    We are on SAP Integration Kit SP 2 FP2.1 and CR SP2 FP2.1
    I can connect to SAP using the MDX drivers etc, but get the same COM execption caught using the SAP toolbar.
    We want to use SAP BW variables as CR parameters in our report and the only way I'm understand from Ingo's previous posts to get a dynamic list of values from a SAP variable is to create the report via the CR SAP toolbar and save it to Infoview.
    thanks
    Michael

    looks identical to your previous item.
    Ingo

  • Error when saving Crystal Report  to SAP BW (via SAP toolbar)

    Dear Experts -
    Our landscape is:
    Backend - SAP BW7.4 with Service pack 5
    Crystal Version - Crystal Reports 2013 SP1 Patch 6
    Business Objects - SAP BI 4.1 SP1 Patch 6
    I'm trying to save a crystal report to SAP BW via the toolbar option, but the attached error is being returned.
    Also, if I try to create a new report from BW, an error is thrown.  'An error occurred while generating a new report template; No error'.
    Any feedback/pointers would be valuable.
    Regards,
    Tarun.

    I realize this post is a few months old, but did S. B. O. Shell Business One get this issue cleared up by installing the BW transports mentioned in Josh's reply?  I'm interested in knowing whether this was resolved as we are receiving the same error as the one shown in the initial post.
    Regards,
    Chris

  • I dont see the SAP toolbar in Crystal Reports XI

    I installed crystal reports XI (I only have one CD) and Business Objects Enterprise. I also installed Business objects integration kit for SAP, after I opened the crystal reports from the start menu I don't see any SAP BW Add On. I don’t know why this happened. Please guide through this.
    Lulú McDonald

    the add ons installed are:
    SAP GUI:
         SAP GUI with SAP Logon
         SAP GUI with SAP Logon Pad
    BW Add-on:
         Business Explorer (SAP BW 3.x)
         OLE DB for OLAP Provider
         Merchandise an Assortment Planning
    Lulu

  • Button not visible in standard sap-toolbar

    Hi All,
    I have added a custom key to standad SAP tollbar using Aceess key in tr-M52N.
    But that custom buttom is still not visible in tool bar. Can anybody guide me?

    Hi,
    It may be that the function is being disabled by authorizations.  To prove this, you could do the following...
    Before you run the transaction you modified, go into debug with /h.
    Run your transaction code - you should start up in debug.
    Use menu option Breakpoints / Breakpoint At / Statement.  Input the command SET PF-STATUS.
    Hit F8 to continue until the SET PF-STATUS command is found.
    At this point, if the SET PF-STATUS statement ends with EXCLUDING tablename (where tablename is an internal table), then double-click on the internal table and display the entries in it.  If your function code is included in this table then that's the reason why you don't see the button.  You'd then need to work back to determine why your function code is included in the internal table.  This assumes the function code does indeed already exist in the GUI status used in the screen.
    Regards,  Andy

  • Crystal Report Missing SAP InfoSet, SAP BW Query Connector

    Hi,
    I have installed SAP GUI  for Windows 7.2 (Compilation 2) and Crystal Report 2008 SP2 then following by installed SAP Integration Kits 3.1 SP3 on my workstation. However, when i launch my Crystal Report designer, it do shows SAP toolbar however when i click on one of the icon (eg: Setting) the entire CR will hung and prompt me error and exit automatically.
    Beside that, i could not find any connector for SAP (Eg: SAP InfoSet, SAP BW Query and etc) when i create a new blank report by click on the New Connection.
    Appreciated anyone know this could assist on this.
    Thank You.
    Regards,
    CK

    Hi Ingo,
    Thanks for your prompt reply. I will sort it out and ensure the release version will be the same as Inter Kits.
    By the way, i saw your post regarding the Integration Kits installation and configuration. However, i still need some clarification; appreciated you could assist me on this.
    I have installed SAP BOXI3.1 SP3 on an LINUX machine (Redhat Enterprise 5) and the server was running fine without connecting to BW or SAP eCIBS.
    Now, i have to establish the connectivity to BW (InfoCuve and BW Query) and SAP eCIBS system. As my customer requirement was required to using WEBI, CR and Xcelsius for connecting to BW for getting the data and then using scheduler in BOE for performing report distribution. Some of the report will connecting to SAP eCIBS directly and that will using our Client's machine for creating the report (using CR2008) and then publish to the BOE platform for report scheduling and distribution.
    My question, i wish to install SAP Inter Kits and downloaded Inter. Kits for SAP Solution 3.1 SP3 from service market place. When i refer to the document from help.sap.com; there are couple of section but i wish to know which are the perquisite section that i wish to install and configure?
    Eg: System Requirement which are installing SAP RFC SDK and SAP JCO SDK into my BOE server, then following my create a logon token. How to to that? It also require to install SAP Java Connector and SAP GUI, does these two available for LINUX OS as well?
    The steps in doc was confuse, appreciated your kind help.
    THanks.
    Regards,
    CK.

  • Error when attempting to create new Crystal Report against SAP BW

    We're getting an error when attemptiing to create a new report using the SAP toolbar in CR:
    "Failed to retrieve SSO2 logon ticket. Please contact your BW administrator".
    Any ideas? We're able to run existing reports fine. Just can't create new ones using the toolbar.

    Hi,
    but you do realize that it is a pre-requisite ?
    your BW system needs to be configured for reading and generating SSO token
    Ingo

  • How to remove toolbar in its mobile at output screen?

    Hi,
    I've a problem in ITS MOBILE. I runned ITS, but it's running with sap toolbar. How to remove toolbar in ITS MOBILE at output screen?
    Regards, Buğra.

    Hi Ahmet,
    Please provide the below in GUI Configuration in SICF Transaction .
    ~webgui_toolbar_menu_reload  = 0
    Thanks,
    Seshadri.

  • Crystal reports over SAP r/3 tables

    I am trying to write a Crystal report over SAP r/3 tables (BSIK and LFA1) with no success.
    I have CRpts installed along with the "client side" SAP integration kit.  When i try to create a new connection to my development ERP system i am asked to select an available system, but the dialogue box is empty.   I can however connect to a SAP BW query successfully using the SAP toolbar that has been added when installing the integration kit.
    Is there anywhere a set if instructions to successfully install and configure CRpts to report over SAP r/3 tables ?
    Andrew Fox

    Make sure to define an environment variable called SAPLOGON_INI_FILE in the system your CR designer is installed on. The variable should contain the path to your SAPlogon.ini file including the file name. eg if saplogon.ini is found under c:\Windows then the variable shoud be set to c:\Windows\saplogon.ini . Restart the CR designer and try again.
    If the system list remains empty then locate to saplogon.ini file, open it using Notepad and choose the Save as option. All you have to do is to overwrite the existing file (ie. do not change the name) after changing the encoding to UTF-8 (drop-down list at the bottom of the Save as window)
    Regards,
    Stratos

  • Crystal Report doesn't prompt for SAP credentials / errors out on refresh

    2 Environments tested with same results:
    <p>
    BOE XI 3.1 SP2 & BOE XI 3.1 SP2 FP2.5<br>
    SAP Intg Kit on mirrored SP/FP levels in each environment.
    <p>
    We've been successfully creating Crystal Reports against BEx queries in BW for months now as well as ECC master data.  We've also built universes and have WebI reports actively working against similar BEx queries in the same.  However, we're getting some curious behavior when we refresh the Crystal Reports against BEx queries in BW.  Verified all necessary transports and authorizations have been provided for both authoring, as well as refreshing/viewing on demand, etc.
    <p>
    We've setup all the Crystal Reports we're testing to:
    <p>
    a) Use custom database logon information specified here.<br>
    b) Specify a custom driver, leveraging the crdb_bwmdx driver<br>
    c) Prompt the user for database login
    <p>
    We have not enabled SNC as of yet.
    <p>
    1) When we refresh a WebI report hitting a BEx query with security applied, it doesn't prompt for the credentials, but we confirmed through tracing on the SAP side that if the user hits a paramater it has access to, the data comes through and when we hit a paramater they do not have access to, we can clearly see SAP reject it and it spits out a logical error on the BO side in InfoView and in the WebI logs on the BO server. 
    <p>
    2) When we refresh a Crystal Report hitting ECC data, we are prompted for the SAP credentials and everything works as expected
    <p>
    However:
    <p>
    3) When we refresh a Crystal Report hitting a BEx query in BW, we are not promtped for SAP credentials.  We immediately get the "LOV" prompts.  Now, if we use a test user in SAP that has NO SECURITY restrictions at all and open access to the query, the data comes through.  However, as soon as any security is applied to the query level, even if it is SAP ALL, we cannot retrieve the data.  Tracing is also strange, as we can see on the SAP side it buffer the selected paramaters, but unlike with the WebI reports, it never shows it reaching the point where it checks each paramater against what the role has access to.  An error is then spit back.  We run the same queries with the same users within SAP and get normal behavior.  It's as though as soon as we apply security to the query the mdx driver doesn't like it.  Dependant on the type of InfoView viewer we use, the errors we consistently get on the BO side are:
    <p>
    Interactive Viewer: "Error in File %reportname%: Encapsulating Page Failed"<br>
    Java Viewer:  "Error in File %reportname%: Database Connection Error"
    <p>
    Nothing glaring in the event logs on the BO servers or in the Crystal logs that I can see, however just because it isn't spitting a specific error in the crystal logs doesn't mean I'm not missing something because I don't know what to look for behavior wise. To reduce the liklihood that it has to do with the way the report was built, we've tried against the same query by building a report using standard methods, as well as the SAP Toolbar using a very plain jane report.  Same behavior.
    <p>
    Thoughts?
    Edited by: Jay Riddle on Mar 1, 2010 8:55 PM

    Hi,
    1) When we refresh a WebI report hitting a BEx query with security applied, it doesn't prompt for the credentials, but we confirmed through tracing on the SAP side that if the user hits a paramater it has access to, the data comes through and when we hit a paramater they do not have access to, we can clearly see SAP reject it and it spits out a logical error on the BO side in InfoView and in the WebI logs on the BO server.
    >> Which authentication are you using to logon to InfoView ? Whats the configuration in the Universe Connection for Authentication ?
    2) When we refresh a Crystal Report hitting ECC data, we are prompted for the SAP credentials and everything works as expected
    >> The user is using which authentication ? and against which system does he log on ?
    However:
    3) When we refresh a Crystal Report hitting a BEx query in BW, we are not promtped for SAP credentials. We immediately get the "LOV" prompts. Now, if we use a test user in SAP that has NO SECURITY restrictions at all and open access to the query, the data comes through. However, as soon as any security is applied to the query level, even if it is SAP ALL, we cannot retrieve the data. Tracing is also strange, as we can see on the SAP side it buffer the selected paramaters, but unlike with the WebI reports, it never shows it reaching the point where it checks each paramater against what the role has access to. An error is then spit back. We run the same queries with the same users within SAP and get normal behavior. It's as though as soon as we apply security to the query the mdx driver doesn't like it. Dependant on the type of InfoView viewer we use, the errors we consistently get on the BO side are:
    >> The user is using which authentication ? and against which system does he log on ?
    >> You mentioned security restrictions and I assume we talk about BI authorizations in form of data level security. If so - does the BW query include the authorization variables ?
    Ingo

  • UI: Toolbar - (F?)AQ about toolbar button activation and usage

    <b>Q:</b>
    How can I add functionality of the two SAP toolbar buttons shown on the screenshot?
    <b>Reply:</b>
    Please note that the clicks on the toolbar buttons are translated into MenuEvents!
    I.e. if the button is active at the time you want to use it - just declare a MenuEvent handler for it... (find the Menu ID e.g. in the UI help - or from version 2005 on through hovering over the corresponding menu item).
    If the toolbar button is inactive - activate the corresponding menu item first.
    Please note that you cannot:
    - add or remove toolbar buttons (you can just disable them)
    - add or remove top level menu items

    Just a FYI

  • How to deactive a button in application toolbar

    how to deactive a button in application toolbar?

    Simple example
    This example shows how to create a toolbar with a single Exit button, used to exit the program.
    Steps:
    Create a screen and add a custom container named TOOLBAR_CONTAINER
    Code:
       REPORT sapmz_hf_toolbar .
       TYPE-POOLS: icon.
       CLASS cls_event_handler DEFINITION DEFERRED.
    G L O B A L   D A T A
       DATA:
         ok_code                    LIKE sy-ucomm,
    Reference for conatiner
         go_toolbar_container       TYPE REF TO cl_gui_custom_container,
    Reference for SAP Toolbar
         go_toolbar                 TYPE REF TO cl_gui_toolbar,
    Event handler
         go_event_handler           TYPE REF TO cls_event_handler.
    G L O B A L   T A B L E S
       DATA:
    Table for registration of events. Note that a TYPE REF
    to cls_event_handler must be created before you can
    reference types cntl_simple_events and cntl_simple_event.
         gi_events                  TYPE cntl_simple_events,
    Workspace for table gi_events
         g_event                    TYPE cntl_simple_event.
          CLASS cls_event_handler DEFINITION
       CLASS cls_event_handler DEFINITION.
         PUBLIC SECTION.
           METHODS:
             on_function_selected
               FOR EVENT function_selected OF cl_gui_toolbar
                 IMPORTING fcode,
             on_dropdown_clicked
               FOR EVENT dropdown_clicked OF cl_gui_toolbar
                 IMPORTING fcode posx posy.
       ENDCLASS.
          CLASS cls_event_handler IMPLEMENTATION
       CLASS cls_event_handler IMPLEMENTATION.
         METHOD on_function_selected.
           CASE fcode.
             WHEN 'EXIT'.
               LEAVE TO SCREEN 0.
           ENDCASE.
         ENDMETHOD.
         METHOD on_dropdown_clicked.
         Not implented yet
         ENDMETHOD.
       ENDCLASS.
       START-OF-SELECTION.
         SET SCREEN '100'.
       *&      Module  STATUS_0100  OUTPUT
          text
       MODULE status_0100 OUTPUT.
         IF go_toolbar_container IS INITIAL.
    Create container
           CREATE OBJECT go_toolbar_container
             EXPORTING
               container_name = 'TOOLBAR_CONTAINER'.
    Create toolbar
           CREATE OBJECT go_toolbar
             EXPORTING
               parent = go_toolbar_container.
    Add a button
           CALL METHOD go_toolbar->add_button
             EXPORTING fcode       = 'EXIT'            "Function Code
                       icon        = icon_system_end   "ICON name
                       is_disabled = ' '               "Disabled = X
                       butn_type   = cntb_btype_button "Type of button
                       text        = 'Exit'            "Text on button
                       quickinfo   = 'Exit program'    "Quick info
                       is_checked  = ' '.              "Button selected
    Create event table. The event ID must be found in the
    documentation of the specific control
           CLEAR g_event.
           REFRESH gi_events.
           g_event-eventid    = go_toolbar->m_id_function_selected.
           g_event-appl_event = 'X'.    "This is an application event
           APPEND g_event TO gi_events.
           g_event-eventid    = go_toolbar->m_id_dropdown_clicked.
           g_event-appl_event = 'X'.
           APPEND g_event TO gi_events.
      Use the events table to register events for the control
           CALL METHOD go_toolbar->set_registered_events
               EXPORTING
                  events = gi_events.
    Create event handlers
           CREATE OBJECT go_event_handler.
           SET HANDLER go_event_handler->on_function_selected
             FOR go_toolbar.
           SET HANDLER go_event_handler->on_dropdown_clicked
              FOR go_toolbar.
         ENDIF.
       ENDMODULE.                 " STATUS_0100  OUTPUT
    http://www.erpgenie.com/abap/controls/toolbar.htm#Simple%20example
    http://help.sap.com/saphelp_nw04/helpdata/EN/42/d2ab343e416635e10000000a1553f6/content.htm
    help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCITOOLBAR/BCCITOOLBAR.pdf
    Regards,
    Jagadish

  • Missing SAP Menu in Crystal Reports

    Hi Experts,
    I've re-installed Crystal Reports 2008 V1, but I'm now missing the SAP menu which I had before.
    I've got the SAP Gui (with BW add-ons) and the integration kit is also installed since my previous installation of CR 2008 had the SAP Menu.
    I've got a feeling it's something to do with the integration kit for SAP. I've tried to re-install this too, but as soon as I click setup.exe I get an error message saying "BusinessObjects Integration Kit XI 3.1 for SAP Solution Setup has failed". I also cannot remove the currently installed inetgration kit either.
    Please help as I need to report off SAP BW data!
    Best regards,
    Andrew

    Hello,
    If you had both CR and integration kit installed; than proper way would be to remove the kit first; remove CR and reinstall CR and SAP integration kit again. It sounds like now you have a mismatch of files and possible some remnants of previous installs that is messing up any new attempts to install.
    If this is simply a client machine; i recommend to manually remove all Business objects folders in windows explorer as well as in the registry. (just be very careful you do ONLY remove the bobj stuff).
    Do these manual steps ONLY if regular uninstall of both CR and SAP integration kit do not work.
    Note that under normal circumstances to just reinstall the SAP toolbar; you should be able to run a custom install of the SAP integration kit and select only to reinstall the SAP add-on bar.
    Regards,
    Duncan

Maybe you are looking for

  • Aperature vs iPhoto. Which to use in light of "Photos"?

    I'm a little "stuck" and not sure which direction to take. I had iPhoto a couple of years ago.  I was completely happy.  However, the number of photos I had was becoming to much for the version of iPhoto that came with my computer (mid 2010 MB Pro). 

  • After installing software update and restart, mail no longer opens.

    After I installed a software update on 9-20-12, I got a message that "this version of Mail doesn't work with Mac OS X...open Mail from the applications folder."  I tried this, but nothing happens when I click on the different looking mail icon.  I dr

  • My iPad is locked on Apple logo. Already made a restore still have only Apple logo. Any ideas?

    My iPad is locked on Apple logo. Already made a restore still have only Apple logo. Any ideas?

  • ISE reporting problem

    Hi all, I currently have 3 ISE servers running 1.2.1.198  -  ISE1 - primary admin, secondary monitoring, PSN ISE2 - primary monitoring, secondary admin, PSN ISE3 - PSN only.   A pair of 5508 controllers are located on the same campus as ISE1 and ISE2

  • Packages and packages

    Hi I was rereading Martin's principles of package architecture and was wondering how the concept of package in this context relates to the concept of a Java package after thinking a bit, I got the feeling these two concepts have nothing to do with ea