Usuario SAP conectado en Query Layout

Hola a todos.
Alguien sabe como mostrar el usuario de SAP actualmente conectado en un query layout? intente con la variable $[USER] pero no trae nada cuando ejecuto la consulta desde el query manager.
No sé si alguien tuvo un problema parecido y puede ayudarme, lo agradeceria mucho.
Saludos.

Hola..
Revisa los siguientes enlaces, me parece que pueden servirte...(creo que no es posible).
Re: Reportes por usuario conectado
Re: Como saber que usuario es el que esta conectado en la sesión actual de Sap
Espero te sea de ayuda..
Saludos Cordiales,
Edited by: Paul Ponce on Jan 19, 2010 4:32 PM
Edited by: Paul Ponce on Mar 10, 2010 3:38 PM

Similar Messages

  • Query layout designer

    i have generated a report in sap buisness one using query layout designer.now i want to deploy that report in another machine.
    how to deploy query layout designer?

    Hi Atasi,
    You can use Copy express add-on to copy the Query and the Query Print layout from one database to another.
    1. Install copy express on customer server
    2. Restore a copy of your database in the Customer Server as well.
    3. Copy from the restored database to the Live database of Customer using Copy Express.
    Copy Express is a very simple add-on and easy to use.
    Hope this helps.
    Regards,
    Hamsa

  • Ejemplo como saber que usuarios estan conectados a la BD

    Estimados,
    Les adjunto el siguiente procedimiento almacenado para ver que usuarios estan conectados a la base de datos.
    create procedure  usuarios_conectados_base_de_datos  as
    begin
    set nocount on
    if exists (select name from sysobjects
    where name = 'tbl_usuarios_conectados')
    drop table tbl_usuarios_conectados
    create table tbl_usuarios_conectados (spid smallint,
    /* esta columna se puede borrar si se desea utilizar en SQL Server 7*/
    ecid smallint, status nchar(30), loginname nchar(128),
    hostname nchar(128), blk char(5), dbname nchar(128), cmd nchar(16))
    INSERT tbl_usuarios_conectados
    exec sp_who
    select distinct loginname, hostname
    from tbl_usuarios_conectados
    where dbname = 'NOMBRE BASE DATOS' and hostname usuario  ' '
    return
    end
    Luego se ejecuta la consulta "execute usuarios_conectados_base_de_datos"
    Att,
    Manuel Lazcano

    Yennifer
    Estoy en el mismo escenario que tu tienes y puedo decirte que si las licencias te dicen ser profesional, así es.
    La razón de esto es probablemente que tu partner te halla vendido este tipo de licencias porque de momento no
    podia entregarte las licencias tal como tu empresa pudo haberlas solicitado y esto se debe a que SAP para la versión
    2007 no había generado tales tipos de licencias sino hasta la versión 8.8 que es donde realmente podrás tener las
    profesionales, limited logistic, limited financial, etc.

  • Difference between sap query and sap ad hoc query

    Hello Experts-
    Is there any difference between sap query and sap ad hoc query. If yes, I will appreciate if you can provide some input.
    Thanks,

    Hi,
    SAP Query
    Purpose
    The SAP Query application is used to create reports not already contained in the default. It has been designed for users with little or no knowledge of the SAP programming language ABAP.
    SAP Query offers users a broad range of ways to define reports and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    The SAP Query comprises five components: Queries, InfoSet Query, InfoSets, User Groups and Translation/Query.
    Classic reporting- the creation of lists, statistics and ranked lists- are covered by the InfoSet Query and Queries components. Other components’ range of functions cover the maintenance of InfoSets, the administration of user groups and also the translation of texts created in the SAP Query.
    All data required by a user for a report can be read from various tables.
    To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. In the WYSIWYG mode, you can edit the lists using Drag & Drop and various toolbars.
    AD Hoc Query
    Definition
    A Web item that enables you to create and change queries in a Web application on an ad-hoc basis.
    Use
    You can use the  Ad-hoc Query Designer Web item in the Web Application Designer to structure Web applications in which you create or change queries. The Web item is as a tool for designing ad-hoc queries in a Web environment.
    In particular it enables you to:
    ·        Create queries by assigning characteristics from an InfoProvider to rows, columns, filters, and free characteristics, and including key figures from the InfoProvider in the key figure structure of the query.
    ·        Restrict or filter key figures and characteristics
    ·        Use predefined key figure structures and restricted or calculated key figures in the query
    ·        Set or change query properties and key figure/characteristic properties in the query
    ·        Create or change conditions and exceptions
    When compared with the BEx Query Designer, the Ad-hoc Query Designer Web item has the following restrictions when creating or changing queries:
    ·        You cannot integrate variables into the query directly.
    However, you can use variables in reusable structures, or restricted or calculate key figures, which are used in the Ad-hoc Query Designer
    ·        The query can contain only one structure. This structure has to be the key figure structure and be in the rows or columns of the query.
    -        You cannot use key figures or key figure structures in the filter.
    -        You cannot define exception cells, since this requires two structures.
    You cannot create the following objects using the Ad-hoc Query Designer Web item:
    -         Reusable structures
    -         Reusable restricted key figures
    -         Reusable calculated key figures
    -        Local calculated key figures
    You can create local, restricted key figures using the Ad-hoc Query Designer Web item.
    You can edit existing queries in the Ad-hoc Query Designer Web item, if the queries adhere to the restrictions laid out above The Ad-hoc Query Designer checks these requirements when loading a query. If the query is too complex, the query can be loaded into the Ad-hoc Query Designer but you cannot change it there. You then receive the appropriate message. You can still check and execute the query.
    "Ad Hoc" is a Latin phrase which means "for this purpose" and in today's parlance generally means "on the fly," or "spontaneously."
    An ad hoc query is a query that is run at the spur of the moment, and generally is never saved to run again. These queries are run using a SQL statement created by a tool or an administrator. So therefore, such a query is one that might suit a situation which is only there for the moment and later on will become irrelevant.
    As queries become more complex, it can be difficult to write them correctly ad-hoc. To help with this, one can instead write the knowledge needed for queries as business rules in English, and then use a system called "Internet Business Logic" to automatically generate and run the SQL queries. One can then get explanations of the results, in English, at the business level.
    Check these links....
    http://help.sap.com/saphelp_nw04/helpdata/en/1f/03223c5f00612be10000000a11402f/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80bf2f79-021d-2a10-5082-dadc79aaa92c
    http://www50.sap.com/businessmaps/27FEEF3A12444F89A8524CCACAF4F5BF.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/15/00a042b443c56ae10000000a155106/content.htm
    Reward points if useful....
    Regards
    AK

  • How can we remove the commas from the Formula value in SAP BW BEx query

    Hi All,
    How can we remove the commas from the Formula value in SAP BW BEx query
    We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas.
    Regards
    Venkat.

    Do you want to remove the commas when you run the query on Bex Web or in RSRT?
    Regards

  • Designer support for Subquery against SAP BW Bex Query

    BusinessObjects designer has an option in the paramaters window to turn on "Allow Sub-Queries" in a universe that has been created using a olap source.  SAP BW BEX Query to be specific.  Once turned on, you can build a query and the subquery button and functionality is actually enabled and allows you to build it.  When running the query I get an error message "A filter contains a wrong value. You cannot run this query". 
    Now, I am pretty sure this functionality is not supported on a BW or OLAP source but, I can not find anything definitive from SAP stating that it is not supoorted.  So I want to make sure that this is not one of those situations where everyone just says "It's not supported" but really just doesn't know.  Does anyone have the official word or link to an SAP statement that this functionality is officially not supported.

    What I would say is, it won't support. The reason could be, as its not support any structure view in universe designer, that means we cannot create any derived tables where we could use sql query.
    I believe the same applies  here too. Even if you look at LOV defintions in universe, it won't show any query.
    So the same applies to reports.
    Hope this helps.
    Regards
    Gowtham

  • Connecting Crystal Reports to SAP BW BEx query

    Post Author: mfrank
    CA Forum: Data Connectivity and SQL
    We have used Crystal Enterprise 8.5 to connect to an SAP BW BEx query in the past, however we are having some difficulties.  Rather than trying to upgrade our old CE system, I've been told that we should be able to connect Crystal Reports (2008?) directly to the BW BEx query.  I've been trying to accomplish this, but can't seem to find any drivers that will allow the connectivity.  When I try to set up a connection using OLAP, the only two options listed are Hyperion and Microsoft OLAP.  I have an old version of Brio Query (now Hyperion, now Oracle) that does show up with a driver for BW, but this doesn't show up in my Crystal options.
    Can someone give me some advice as to how to connect Crystal Reports to SAP BW?  I realize there are licensing issues with running live data without using Crystal Enterprise (or later BO products), but I'm just looking to print a report to a PDF.
    Thanks

    Post Author: A Kumar
    CA Forum: Data Connectivity and SQL
    Hi mfrank,
    I am also facing a similar kind of a problem. Did you get any solution to your problem. If yes, kindly let me know.
    Thanks
    A kumar

  • SQ01 query layouts has been changed after upgrade from 4.6c to ECC

    Hi All,
    If any one come across the following situation please provide the solution as soon as posssible.
    When you execute the query the results are not displayed as fields are not copied under display column,not sorted,not filtered becos of this the query results are not displayed. Is there any solution are setting that need to be done so that the layouts fields are copied,sorted and filtered as they were before upgrade. I have checked all the query variants and they are imported correctly to ECC from 4.6c,there is problem only with the display.
    Is the query layout changes due to upgrade?
    Regards,
    JB

    Please Post the Note Number.
    late but Sure it will help others in future.

  • Adding a field in already existing query layout

    Hi All,
    I have a requirement where I have to add couple of fields in an already existing query layout.
    Through SQ01 and layout painter I have added the fields to the layout. When I test from query painter it displays the newly added fields. But when I execute the transaction that is designated to run the query its not displaying those fields.
    What am I missing here?
    Thanks in advance.
    Thanks,
    Arun

    Arun,
    As you have done some changes to the query,the internal report generator will generate a new program correspponding to the Query which should be attached to the T-code.
    Currently the t-code might be having the earlier program name ie the program generated by the query before changes were made hence it is not displaying.
    Just check the program name of the Query and the  program name attached to the tcode.
    K.Kiran.

  • How to work with sap bw bex query structure

    Dear Friends,
    How can we use SAP BW bex query structure in crystal reports.
    Thanks with regards.
    Malik

    i have two structure in my query.
    and structure is comming in my Crystal report.
    i have 10 memebers in that structure and i make display off for some of members .
    but in crystal all of members are comming either its property is hidden or not.
    any help higly appricated.
    Regards
    Malik

  • Create ShortCut  For Query Layout Design

    Hi All !!!
    I Designed a Report By Query Layout Design , so I want to Create ShortCut for it  , Because . If  I want to use This Report , I will do a lot Step .
    Please Help me.
    Thank alot .

    There is no specific SDK function for this, you could however write code to automate the manual steps:-
    - Launch Query Manager (ActivateMenuItem 4865)
    - Iterate through query groups in Item "6", and expand the group containing your query
    - Iterate through queries within the group, and use click method to highlight the required query
    - Call Print or Print Preview (ActivateMenuItem 520 / 519)
    John.

  • Doing user query layout

    Hello All:
       Does anyone have experience with user designed query template? It seems I have no way to customerize the width (fix width) of a column or do anything with the data. (calculate sub total etc)... In my own template (which strictly copied from system default template, I can delete the title, row text file and still the report bring out data. Does that mean I have no way to customerize the output?
    Anyone have documentation I should be following?

    Bo,
    Query Print layout > User Report (System)  can be saved as your own template.
    You can then open your new Query Layout template and pretty much change the Page width, size, header, footer, hide fields, borders and almost everything including the default printer, grid size, fonts, etc...
    You will not be able to define the individual field positions of Title and Row variable which represent the query data i.e., Repetitve Area Header and Details.  This is mainly because the number of header and line values will purely depend on your query. 
    NOTE:  Please do not delete any field from the template as everyfield in there is linked to something or the other.  You may resize them to
    Left = 0, Top = 0, Width = 0, Height = 0,  and also hide them.
    One draw back of Query layout template is, the Query once generated as a template if changed will not reflect in the Query layout.  You have to redo a whole new Query Print layout for the changes to reflect.  If you are 100% sure with the query only then you should click <b>"CREATE REPORT"</b> and generate the layout.   The Query layout cannot be added to the user Menu as the Print layout will not work.  It can only be viewed on the screen.
    Suda

  • SAP BW Query Vs SAP BW MDX Query

    Dear Gurus,
    Can someone please tell me the difference and advantages of connecting Crystal Reports2008 to  "SAP BW Query" & "SAP BW MDX Query"while .
    My main concern being SAP BI resource is , we don't create SAP MDX queries in BW.
    Regards,
    -Neha

    Hi Ingo ,
    So the Crystal report  datasource will be SAP BEx queries when we select the connection SAP BW MDX Queries .
    My question is do we have to write MDX statements somewhere in SAP BW  or the system will automatically generate when we select the SAP BW MDX Queries ?
    Regards,
    -Neha

  • Error: No se puede actualizar si otro usuario está conectado a la sociedad.

    Hola.  Me pueden ayudar a descifrar por qué me está dando este error?
    Estoy en mi equipo, parametrizando una BD.  Cuando intento modificar la moneda local y la moneda del sistema, me aparece el error: u201CNo se puede actualizar si otro usuario está conectado a la sociedadu201D.  Cabe destacar que no tengo ningún AddOn activo.  Lo mismo me ocurre cuando intento modificar el número de decimales en las tasas, en la ventana "Parametrizaciones Generales".
    Gracias de antemano.
    María Alejandra Arteaga

    Lo que también puedes hacer es intentar agregar un campo de usuario y ver que usuario estan conectados. También con el  sp_who. Pero sobre todo revisa el sbo_mailer y el backup.
    Saludos, Renzo
    makitechnology.com

  • Query Layout

    Hello All,
    How can we display the List layout of an ABAP Query.
    Currently this functionality exists in the standard SQ00.
    TA Code SQ00 --> Select the Group
    It displays all the Queries under that Group.
    select any of the Query and click the 'Layout display' button on the Application tool bar.
    Is there an SAP FM which can deliver the same. I need to recreate the same in a ZObject. I am currently on the 4.5 Ver.
    Thank you.
    -PSK

    Hi Andreas,
    Thank you for your posting.
    I included
        WHEN 'LOUT'.
          DATA: QNAME TYPE QUNAME.
          EXPORT HEADQU
                 DBOP DBSN DBFR DBLF DBSE
                 DBGR DBLI DBFF DBFM
                 DBVH DBVS DBRH DBRL
                 DBPT DBCT
                 MAXQU_TINDX QUTEXT
                 HEADSG
                 DBSA DBSF DBSG DBJT DBJC DBZT DBZC DBZL DBPA DBWR DBFT
                 MAXSG_TINDX SGTEXT
                 QNAME
                 TO MEMORY ID 'AQQDATA'.
    SUBMIT RSAQLOUT AND RETURN.
    the same into my ZObject and when i start debugging the object i can see the data been picked up. But the Object is failing at
    008280       ENDIF.                                    
    008290       I = BLDESC-LPOS - 1.                      
         >       ASSIGN COL1+I(BLDESC-LENG) TO <F1>.       
    008310       ASSIGN COL2+I(BLDESC-LENG) TO <F2>.       
    008320       READ TABLE DBOP WITH KEY SGNA = BLDESC-SGNA
    With the info that
    Program error: ASSIGN with length 0 in program "RSAQLOUT ".
    As Field Symbols have been used i could not see what value is been passed.
    Thank you.
    - PSK

Maybe you are looking for

  • Macbook pro Display freezes and darkens every few seconds

    Hey , I just bought my Macbook pro 15 inch late 2013 few months ago , I'm new to Apple products , My screen started freezing and darkening every 4 seconds , starting from when I power it , until I shut it down even If I don'tt run any programs I can'

  • Crystal Report XI: Can you write your query in SQL instead of using the GUI

    Hello   In crystal report version XI, can you write your query in sqlplus and then use the crystal report designer to build your report instead of using the GUI . I would like to be able to go database and show sql query and open that query and make

  • How to set a language from LTR to RTL in illustrator cs4

    how to set a language from LTR to RTL in illustrator cs4.....plz help

  • Multiple file analysis feature and export to TXT

        The project i am working on now has 22 songs... basically a double album. It took FOREVER to run the analysis scan on all those tracks and copy/paste the info to a TXT file. Why don't you just supply a feature that does this for a CD project?

  • Calculate the % of Cases

    Hi, I have a table as below caseid  companyname datecreated 1              abc                 2012/01/01 2             abc                  2012/01/02 3             xyz                   2012/04/03 i want a query which gives me the number of cases,