SAP user query

Dear All,
Can we make our user query like this
If [%2] != 'C'
Begin
End
I tried on my side. It doesn't work. Is there anything wrong with my code? Thanks a lot.
Regards,
yuka

I would do  this: 
Declare @campo  nvarchar (3)
Set @campo = 'xxx'
IF @campo is null  or Rtrim (@campo)  =' '
BEGIN
Select * From Tabla T0
END
ELSE
IF @campo is not null or rtrim (@campo)< >' '
BEGIN
Select * From Tabla T0 Where T0.campo =@campo
END
With pop up variables is the same, just replace Declare query format with  /* select from ...*/   variable syntax.
(If you need more information about the Declare in SAPB1 user queries, just let me know).

Similar Messages

  • Howto Refresh SAP BW Query Changes for roles (User menu)

    Hi All,
    I have apply new changes for combine hierarchy. However I have tested in Query Designer/web and its works ok hence the user cant see the change.
    Howto Refresh SAP BW Query Changes for roles (User menu)
    Below is the setup we do have (sap bw 3.5)
    1. User run query from User menu (They logon to bw backend and run query by click on the icon on thier user menu.
    Changes.
    1.Apply combine hierarchy (Rows in Query Designer)
    2. I have display query on the web and its work as expect
    Issue
    1. Query not refresh in user menu (Roles) Users run the query through user menu
    Regards Jon

    thank you

  • I need to know the user who has created/modified a SAP Bex Query and WAD

    Hi!
    I need to know the user who has created and modified a SAP Bex Query and SAP  Web Application Designer. Does it possible to know this information by a table or view?
    Best Regards
    Ramon Sanchez

    Hi,
    In BEx query, when you click "Queries" to open the query, the list of queries are displayed. Highlight the query, click on the "Properties On/Off' icon(right most on the top), you would see all the details.
    In WAD, before opening the template, click on "Properties On/Off'" icon to see the details.

  • SQL Query to Delete SAP* user DB level

    Hi Everyone,
                   please tell me the SQL Querry to delete a User SAP* from the Table. so that, i can login SAP* using default password PASSS. Because, my SAP*  user is locked due 2 incorrect password. i dont have anyother User id in the Particular Client.
                   please help me out to resolve it.
    Thanks&Regards,
    Siva

    Please use with schema SAPR3 or SAPSR3 as version, like this:
    SQL> select UFLAG from SAPR3.USR02 where MANDT=000 and BNAME='DDIC';
         UFLAG
             0
    SQL>
    so include table name with schema in below command
    Delete from usr02 where bname = 'SAP*' and mandt = 'XXX';
    thanks
    Bhudev

  • Problem with a SAP BW Query and Webi

    Hi all,
    Does anybody knows the reason why when using webi to access a SAP BW query that prompts the user for
    a date, it gives an error on the format? It seems the lov is not being populated correctly. If I write
    manually the value the prompt expects, it works, but if you select one of the values of the list it doesn't.
    The version is XIR2 and if you create a simple query everything seems to work fine.
    Any idea?
    I don't know if there is something to do with language parameters or something like that.
    Thank you

    Hi Mike,
    thanks for your answer.
    I will try to send you a screenshot, but I cannot do it at the moment because I am not at the customer site.
    I'll try to explain what we get when we running the webi report.
    The lov to select from retrievs data like "K41002008" that is supposed to be a date, but if you select this value the report fails. Instead of
    selecting the value, if I manually write for instance "01/01/2008", the report works fine.
    I don't know if this is useful.
    Once I have more info to send, I'll do it right away.
    Thanks again for your time
    Regards

  • How to unlock DDIC & SAP* user in 000 client-Sybase database

    Dear Experts,
       Accidentally DDIC and SAP* user in 000 client has locked. We are using SYBASE ASE database. I know how to unlock user in other database (eg:update <sid>.USR02 set UFLAG = 0 where BNAME = '<user id>'' and mandt = <clinet number>;).
       what is the equal query in Sybase.
    Thanks, Jyothish

    Hi Jyothish,
    Please try below commands
    Login to Sybase ASE database using
    isql -Usa -S<SID>  ( it will prompt for password)
    use <DBSID>
    To check the account status
    select UFLAG from USR02 where BNAME ='SAP*' and MANDT='000'
    go
    To unlock the account
    update USR02 set UFLAG=0 where BNAME='SAP*' and MANDT='000'
    go
    You may add schema owner SAPSR3.USR02 in the query if above query does not work.
    Hope this helps.
    Regards,
    Deepak Kori

  • Save view button in SAP BW Query Report view

    Dear all,
    When SAP BW Query report iview is called in portal, u will get Save view, Bookmark, variableSreen...etc buttons.. When u click on saveview button...it will ask u to save as a view of that report with specfic name.
    My question is, where it will get stored.?
    If u give the BEx analyzer for users, u will be able to see the saved views.....but i dont want to give BEx analyzer to the enduser...
    Kindly suggest me
    Rgds
    Pradeep
    Message was edited by: Pradeep Reddy
    Message was edited by: Pradeep Reddy

    I hava the same doubt. Other portal web  has a "Open View" link button, how can i config it?

  • Best Practices v3.31 - SAP InfoSet Query connection

    Hi,
    I have a problem with adapting a Crystal Report from Best Practices for Business Intelligence v3.31 to SAP system. The report "Cost Analysis Planned vs. Actual Order Costs.rpt" is using SAP InfoSet Query "CO_OM_OP_20_Q1". This InfoSet Query is working fine in SAP. My SAP-User has access to the following user groups:
    - /SREP/IS_UG
    - /KYK/IS_UG
    - ZBPBI131_USR
    The Controlling Area in SAP is '1000'. Crystal Reports generates this error message:
    - Failed to retrieve data from the database.
    - Database Connector Error: "Controlling area does not exist"
    - Database Connector Error: 'RFC_CLOSED'
    But InfoSet Query "CO_OM_CA_20_Q1" has no problem with Controlling Area '1000' in Crystal Reports and is working fine in SAP!
    Can somebody help?
    Thanks in advance.
    Peter

    Hello Peter,
    I'm using Best Practices for BI v1.31 and this one also has this report you are talking about.
    I face the same issue when trying to adapt it to my ERP, but if I run it in SAP GUI, it goes smoothly without any issue.
    Please advise,
    Thanks in advance,
    Carlos Henrique Matos da Silva - SAP BusinessObjects BI - Porto Alegre/Brazil.

  • SAP ABAP Query not generated after upgrade

    Hi All,
    Our client has upgraded from 4.6c to ECC 6.0
    In the upgraded server some SAP Queries have not been generated…and others have generated. I wanted to know why all are not generated….
    I also wanted to know if any table name exists which maintains query with generated program name…
    Please let me know your learning’s on SAP/ABAP Query if any…
    Thanks in advance

    I forgot to mention that FM will just give u the report name..wont generate it.
    I dont think the report name is saved in any tables... it is generated ...
    but u can derive the report name..if u know the user group and query name.. by concatenating those ..
    for details..look into the code for that FM

  • Add user query to cockpit

    Dear All,
    We are currently using SAP88 PL21. Is there a way we can add user query to cockpit? For SAP screen that we can see from main menu, I use drag and drop to add them to common function. But for user query, I didn't find any way to add to cockpit. Thanks.
    Regards,
    Yuka

    Hi Yuka,
    1.Goto Tools --> Cockpit -->Enable my cockpit
    2.Administration -->System Initialization>General Setting -->Cockpit(Select Cockpit option)
    3.Make a new Dashboard download Dashboard Design (Xcelsius) from SAP portal
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6091ffdd-e1ad-2d10-359f-d644ff7eaa4e
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6091ffdd-e1ad-2d10-359f-d644ff7eaa4e?QuickLink=index&overridelayout=true
    4. you should download Dashboard packaging wizard from SAP portal for make new package(zip file) in SAP .
    [File Deleted Oct 2013]
    after download tool goto -->Tools -->Dashboard packing wizard(Select) and use or select your xcelsius file to make new package
    5.there are also same sample package in the portal so you can use directly import zip file from
    Administration -->Setup -->General -->Dashboard manager
    6.After import dashboard by 5 step ,select widget gallery in Cockpit tab(Modules,Cockpit and Drag & relate option) then select last form dashboard ,hold and drag on the main windows center.
    7.select setting option then it will list you all dashboard package which was import in 5 step.
    8.Now selected dashboard which you want to show and select OK.
    9.you also need IIS installation in your system.
    Thanks
    Srujal Patel

  • User query error

    Dear all,
    I have a user query like below
    Select T001.ItemCode, T001.Warehouse
    from (SELECT T00.[ItemCode] 'Itemcode', T00.[Warehouse] 'Warehouse', T00.[Price] 'ItemCost'
                  FROM OINM T00
                  Inner Join (SELECT MIN(T0.[TransNum]) 'MinTransNum', T0.[ItemCode] 'ItemCode', T0.[Warehouse] 'WareHouse'
                                          FROM OINM T0
                                      WHERE T0.[DocDate] > [%0]
                                     GROUP BY T0.[ItemCode], T0.[Warehouse]) T01
                  on T00.[ItemCode]=T01.[Itemcode] and T00.[Warehouse] = T01.[Warehouse]) T001
    I got an error Must specify table to select from
    If I remove
    WHERE T0.[DocDate] > [%0]
    it works fine
    Select T001.ItemCode, T001.Warehouse
    from (SELECT T00.[ItemCode] 'Itemcode', T00.[Warehouse] 'Warehouse', T00.[Price] 'ItemCost'
                  FROM OINM T00
                  Inner Join (SELECT MIN(T0.[TransNum]) 'MinTransNum', T0.[ItemCode] 'ItemCode', T0.[Warehouse] 'WareHouse'
                                          FROM OINM T0
                                     GROUP BY T0.[ItemCode], T0.[Warehouse]) T01
                  on T00.[ItemCode]=T01.[Itemcode] and T00.[Warehouse] = T01.[Warehouse]) T001
    If I just run below, it works fine
    SELECT T00.[ItemCode] 'Itemcode', T00.[Warehouse] 'Warehouse', T00.[Price] 'ItemCost'
                  FROM OINM T00
                  Inner Join (SELECT MIN(T0.[TransNum]) 'MinTransNum', T0.[ItemCode] 'ItemCode', T0.[Warehouse] 'WareHouse'
                                          FROM OINM T0
                                      WHERE T0.[DocDate] > [%0]
                                     GROUP BY T0.[ItemCode], T0.[Warehouse]) T01
                  on T00.[ItemCode]=T01.[Itemcode] and T00.[Warehouse] = T01.[Warehouse]
    Is this a SAP limitation? I really need to have a
    WHERE T0.[DocDate] > [%0]
    in this query.
    Any idea? Thanks in advance.
    Regards,
    Yuka

    HI,
    Try this:
    /*SELECT FROM [dbo].[OINM] T9*/
    declare  @DocDate as datetime
    /* WHERE */
    set @DocDate = /* T9.DueDate */ '[%0]'
    Select T001.ItemCode, T001.Warehouse
    from (SELECT T00.[ItemCode] 'Itemcode', T00.[Warehouse] 'Warehouse', T00.[Price] 'ItemCost'
                  FROM OINM T00
                  Inner Join (SELECT MIN(T0.[TransNum]) 'MinTransNum', T0.[ItemCode] 'ItemCode', T0.[Warehouse] 'WareHouse'
                                          FROM OINM T0
                                      WHERE T0.[DocDate] > @DocDate
                                     GROUP BY T0.[ItemCode], T0.[Warehouse]) T01
                  on T00.[ItemCode]=T01.[Itemcode] and T00.[Warehouse] = T01.[Warehouse]) T001
    Thanks,
    neetu

  • Opening the dashboard(XLF) file from BOE repository is  locking of my SAP USER ID(SBOP) again again .....Urgently need solution. Don't know what the damn thing happening with me.

         Hi Experts,
                Since from 15 days  I am working on one Dashboard with BEX query, now I have completed that I am able to run that till yesterday. But today my SAP USER ID expired(every 15 days it expires). I have updated same password in all places(CMC OLAP, UNV,IDT) and tried to open the same XLF (which was running fine till yesterday ) after opening that if I tried to edit query or tried to add query or clicked on preview....all ending with locking of my SAP USER ID(SBOP) ..............Don't know what the damn thing happening please seng if you know any solution.
    Experts need help to solve this issue urgently .........:)
    Thanks in Advance

    Hi Mahantesh,
    We have faced same scenario,this is happening due to SAP User ID password change.
    Stop all the BO work and change the password of SAP everywhere used.Any single point will lock it again.
    Try this.This has worked for us.
    Regards,
    Javed

  • Hide Button on User Query

    Hi,
    When we open a user query, at the bottom of the query list there are some buttons
    Is it possible to hide/disable CopyData button ?
    Thanks

    Yes it is, just get the FormID and the ItemID. BTW, can you please help me on how to use SAP B1 for SAP HANA? Please send me a message, I want to learn SAP HANA on SAP B1.
    Example of hiding item :
    frmIncomingHdr.Items.Item("1").Visible = False

  • CR connection to SAP BI Query failed - error message

    Sorry, this forum is better for my question:
    Hallo,
    i get an error message by trying to login to SAP BI (over sap bi query toolbar)
    COM-Ausnahme in CExtToolbar::GetRemoteFileCookie() abgefangen. HR=0x90000001
    COM-Ausnahme in CExtToolbar::InitOpenSaveDialog() abgefangen. HR=0x90000001
    COM-Ausnahme in CExtToolbar::InitializeGlobalData() abgefangen. HR=0x03c9afe7
    Login faild with normal connection-wizard, too.
    I have no problems with Bex Analyzer or other BO-tools on this system.
    I can access with CR to queries of another SAP BW-System.
    Has anybody an idea?
    CR Version 12.2.3.467
    SAP Integration SP2 & Patch 02
    TIA
    Stefan

    CrystalReports-TraceFile:
    ========================================================================================================
    Trace file opened at , SAP-REL 710,0,0 RFC-VER U 3 880476 MT-SL
    resize I/O buffer to 16000 bytes
    >>>>   OPEN  
    UUID: ab_drvstate create uuid {C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
    0
            { }_{ }_0-
            __0
    >>>> <unknown>    : EXT  <ac: 2> L 192.168.168.11 >>> 50579148 (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
    >TS> Fri Jan 08 12:05:43 2010
            { }_{ }_0-
            __0
    >>> RfcOpenEx ...
    Got following connect_param string:
       CLIENT=800 LANG=DE CODEPAGE=1100 ASHOST=192.168.168.11 SYSNR=00 USER=shergert PASSWD=******* TRACE=1
    Send RFCHEADER: 01/LIT/IEEE/SPACE/1100
    Send UNICODE-RFCHEADER: cp:1100/ce:IGNORE/et:5/cs:2/rc:0x00000023
    UUID: send_rfcuuid {C045FCDE-7D4C-F1F8-9568-00164191FA4E}
    DT ERROR> ab_dtrfcSendInfo (rc: 1        { }_{ }_0-
    1
    >>> Logon check: calling RFCPING
    >>> RfcCall ...
    *> RfcCall
      FUNCTION RFCPING
            handle = 1
            parameter   = <NULL>
            tables      = <NULL>
    UUID:  RfcCallNew send the uuid to the partner {C045FCDE-7D4C-F1F8-9568-00164191FA4E}
    >>>> <unknown>    : EXT  <ac: 3> L 192.168.168.11 >>> WRITE (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
            __1
    000000 | D9C6C3F0 F0F0F0F0 F0F0F0E3 01010008 |ÙÆÃððððððððã....|
    000010 | 01010101 01010000 01010103 00040000 |................|
    000020 | 060B0103 0106000B 01010000 01050200 |................|
    000030 | 00002301 06000700 1E310039 0032002E |..#......1.9.2..|
    000040 | 00310036 0038002E 00310037 0038002E |.1.6.8...1.7.8..|
    000050 | 00320034 00200000 07001800 5A310039 |.2.4. ......Z1.9|
    000060 | 0032002E 00310036 0038002E 00310037 |.2...1.6.8...1.7|
    000070 | 0038002E 00320034 00200020 00200020 |.8...2.4. . . . |
    000080 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    000090 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    0000a0 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    0000b0 | 00200020 00200000 18001100 02450000 |. . . .......E..|
    0000c0 | 11001200 08370031 00300020 00001200 |.....7.1.0. ....|
    0000d0 | 13000837 00310030 00200000 13000800 |...7.1.0. ......|
    0000e0 | 40690077 006E0062 00320038 00200020 |@i.w.n.b.2.8. . |
    0000f0 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    000100 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    000110 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    000120 | 00000800 0601003C 0075006E 006B006E |.......<.u.n.k.n|
    000130 | 006F0077 006E003E 00000000 00000000 |.o.w.n.>........|
    000140 | 00000000 00000000 00000000 00000000 |................|
    000150 | 00000000 00000000 00000000 00000000 |................|
    000160 | 00000000 00000000 00000000 00000000 |................|
    000170 | 00000000 00000000 00000000 00000000 |................|
    000180 | 00000000 00000000 00000000 00000000 |................|
    000190 | 00000000 00000000 00000000 00000000 |................|
    0001a0 | 00000000 00000000 00000000 00000000 |................|
    0001b0 | 00000000 00000000 00000000 00000000 |................|
    0001c0 | 00000000 00000000 00000000 00000000 |................|
    0001d0 | 00000000 00000000 00000000 00000000 |................|
    0001e0 | 00000000 00000000 00000000 00000000 |................|
    0001f0 | 00000000 00000000 00000000 00000000 |................|
    000200 | 00000000 00000000 00000000 00000000 |................|
    000210 | 00000000 00000000 00000000 00000000 |................|
    000220 | 00000000 00000000 06051400 10DEFC45 |.............ÞüE|
    000230 | C04C7DF8 F1956800 164191FA 4E051401 |ÀL}øñ.h..A.úN...|
    000240 | 30000A44 0075006D 006D0079 00013001 |0..D.u.m.m.y..0.|
    000250 | 11001053 00480045 00520047 00450052 |...S.H.E.R.G.E.R|
    000260 | 00540001 11011700 10369D4D 071EB1B2 |.T.......6.M..±²|
    000270 | 4FB3B81A 7E5E6C37 16011701 14000638 |O³¸.~^l7.......8|
    000280 | 00300030 00011401 15000244 00011505 |.0.0.......D....|
    000290 | 01000101 05010136 002500FF 02540D12 |.......6.%.ÿ.T..|
    0002a0 | 00020000 00300D12 006C15C0 45FCDE7D |.....0...l.ÀEüÞ}|
    0002b0 | 4CF1F895 68001641 91FA4E00 00000101 |Lñø.h..A.úN.....|
    0002c0 | 36050200 00050200 0B000637 00310030 |6..........7.1.0|
    0002d0 | 00000B01 02000E52 00460043 00500049 |.......R.F.C.P.I|
    0002e0 | 004E0047 00010205 140010DE FC45C04C |.N.G.......ÞüEÀL|
    0002f0 | 7DF8F195 68001641 91FA4E05 14FFFF00 |}øñ.h..A.úN..ÿÿ.|
    000300 | 00FFFF00 00000000 00000000 00000000 |.ÿÿ.............|
    >>>> <unknown>    : EXT  <ac: 4> L 192.168.168.11 >>> FLUSH(WRITE) (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
            __1
    <* RfcCall : returns 0:RFC_OK
    >>> RfcListen ...
    >>>>   FLUSH(WRITE) (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
    1
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>> RfcListen ...
    >>>> Listen/WaitForRequest (counter = 27)
    >>>> <unknown>    : EXT  <ac: 6> L 192.168.168.11 >>> LISTEN (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
            __1
    000000 | 01010008 01010101 01010000 01010103 |................|
    000010 | 00040000 020B0103 0106000B 04010003 |................|
    000020 | 01030200 00002301 06001600 04313130 |......#......110|
    000030 | 30001600 07000F31 39322E31 36382E31 |0......192.168.1|
    000040 | 36382E31 31200007 0018002D 3139322E |68.11 .....-192.|
    000050 | 3136382E 3136382E 31312020 20202020 |168.168.11      |
    000060 | 20202020 20202020 20202020 20202020 |                |
    000070 | 20202020 20202020 20001800 11000133 |         ......3|
    000080 | 00110012 00043730 31200012 00130004 |......701 ......|
    000090 | 37303120 00130008 00206977 73617031 |701 ..... iwsap1|
    0000a0 | 5F495731 5F303020 20202020 20202020 |_IW1_00         |
    0000b0 | 20202020 20202020 20200008 00060080 |          ......|
    0000c0 | 3C007500 6E006B00 6E006F00 77006E00 |<.u.n.k.n.o.w.n.|
    0000d0 | 3E000000 00000000 00000000 00000000 |>...............|
    0000e0 | 00000000 00000000 00000000 00000000 |................|
    0000f0 | 00000000 00000000 00000000 00000000 |................|
    000100 | 00000000 00000000 00000000 00000000 |................|
    000110 | 00000000 00000000 00000000 00000000 |................|
    000120 | 00000000 00000000 00000000 00000000 |................|
    000130 | 00000000 00000000 00000000 00000000 |................|
    000140 | 00060130 00085341 504D5353 59310130 |...0..SAPMSSY1.0|
    000150 | 05140010 DEFC45C0 4C7DF8F1 95680016 |....ÞüEÀL}øñ.h..|
    000160 | 4191FA4E 05140500 00000500 04150002 |A.úN............|
    000170 | 30300415 04160001 58041604 17000333 |00......X......3|
    000180 | 34310417 04110017 43414C4C 5F46554E |41......CALL_FUN|
    000190 | 4354494F 4E5F4E4F 545F464F 554E4404 |CTION_NOT_FOUND.|
    0001a0 | 11040300 1743414C 4C5F4655 4E435449 |.....CALL_FUNCTI|
    0001b0 | 4F4E5F4E 4F545F46 4F554E44 04030402 |ON_NOT_FOUND....|
    0001c0 | 002D4465 72204675 6E6B7469 6F6E7362 |.-Der Funktionsb|
    0001d0 | 61757374 65696E20 22522220 69737420 |austein "R" ist |
    0001e0 | 6E696368 7420766F 7268616E 64656E04 |nicht vorhanden.|
    0001f0 | 02FFFF00 00FFFF00 00000000 00000000 |.ÿÿ..ÿÿ.........|
    <* RfcListen : returns 0:RFC_OK
    >>> RfcReceive ...
    Received RFCHEADER : 01/LIT/IEEE/SPACE/1100
    Received UNICODE-RFCHEADER : cp:4103/ce:IGNORE/et:3/cs:2/rc:0x00000023
    UUID: ab_rfccheck_uuid compare uuid's {C045FCDE-7D4C-F1F8-9568-00164191FA4E}
    Error in program 'Dummy': ======> 敄⁲畆歮楴湯扳畡瑳楥刢u2022獩⁴楮档⁴潶桲湡敤
    >>>> <unknown>    : EXT  <ac: 7> L 192.168.168.11 >>> FREE abrfcio.c 3440 (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
            __1
    >>>>   CLOSE abrfcio.c 3144 (50579148)
      -{C045FCDE-7D4C-F1F8-9568-00164191FA4E}
            { }_{ }_0-
    __1
    ==== Delta 0   0 LOG DROPPED
    Trace file opened at , SAP-REL 710,0,0 RFC-VER U 3 880476 MT-SL
    *> RfcReceive
            handle = 1
            parameter   =
    Error in program 'Dummy': <* RfcReceive : returns 3:RFC_SYS_EXCEPTION
    <<< RfcOpenEx failed
    <<<<<
    Edited by: StefanHGT on Jan 8, 2010 1:59 PM

  • CR based on SAP BW Query: If Variable is removed, parameter stays

    Hello Experts,
    we have the following scenario:
    - Crystal Reports Report (CRR) on top of a SAP BW Query which uses variables (user input)
    In Crystal Reports, the variables are respresented by parameters. In our case, the business users now don´t want any more the variables but fixed selections. So therefore we replaced the variables in the BW Query by fixed selections. But in the CRR the parameters stay. Also if we try to 'update' the database in CR by 'Database' --> check Database (in German: Datenbank --> Datenbank überprüfen), the parameter stays.
    Is there a way to get rid of the generated parameter ? Because if not, we would then have to remove the query from the report and add it again - that is nearly completely rebuilding the report.
    Many thanks in advance for your help !
    Frank

    Frank,
    I don't know much about the German version of the tool,however we do have a 'Set Datasource Location' option under the 'Database' tab.(i.e Database>>Set Datasource Location or Datenbank>>Set-Datenquelle Standort in German(may be) )....
    By using this option user may update the current connection with the new one and thus make the new configuration to take effect.
    To follow the exact process do the following:
    1.Open the report
    2.Click on Database>>Set Datasource Location
    3.In the 'Replace With' pane below,connect to the query in the same way that you have connected the original one.
    4.Then select the new connection and click on the 'Update' button.
    5.This will update the old connection with the new one and thus should reflect the newly made changes in the report.
    alles Gute !
    Thanks

Maybe you are looking for