SQ01 ALV DISPLAY WHEN USING LOGOCAL DATABASE

Dear All,
I'm using a logical database (EMM) to build a query in SQ01, I need an ALV display.
If I use only three tables of the logical database hierarchy it works fine, but as soon as I try to use a fourth one, then the ALV display does not work anymore.
At the parameter selection screen, instead of the usual  "Sap List Viewer" field I've got a "Save with ID" tick box, and on the result screen, it is not possible to select "Alv display" (no such buton).
Is this normal way of is there anything I could do ?
Please note that if using a "simple" join between the 4th tables instead of the logical database , then it works fine.
Regards
Francois

Hi,
Its only because of Fieldcatalog problem.
Only one thing you need to take care is that when you refer any dictionary field do not use TYPE Instead use LIKE statement, then It works.
You can have a example..
TYPE-POOLS: SLIS.
DATA: PROGNAME  LIKE SY-REPID,
      GT_FCAT0  TYPE SLIS_T_FIELDCAT_ALV,
      GT_FCAT1  TYPE SLIS_T_FIELDCAT_ALV.
DATA: IT_MARA0 TYPE TABLE OF MARA.
DATA: BEGIN OF IT_MARA1 OCCURS 0,
         MATNR LIKE MARA-MATNR,
         MATKL LIKE MARA-MATKL,
       END   OF IT_MARA1.
PROGNAME  = SY-REPID.
* internal table definition with type of a structure
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
  EXPORTING
    I_PROGRAM_NAME         = PROGNAME
    I_INTERNAL_TABNAME     = 'IT_MARA0'
    I_STRUCTURE_NAME       = 'MARA'
    I_CLIENT_NEVER_DISPLAY = 'X'
  CHANGING
    CT_FIELDCAT            = GT_FCAT0[]
  EXCEPTIONS
    INCONSISTENT_INTERFACE = 1
    PROGRAM_ERROR          = 2
    OTHERS                 = 3.
* own internal table definition
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
  EXPORTING
    I_PROGRAM_NAME         = PROGNAME
    I_INTERNAL_TABNAME     = 'IT_MARA1'
    I_INCLNAME             = PROGNAME
    I_CLIENT_NEVER_DISPLAY = 'X'
  CHANGING
    CT_FIELDCAT            = GT_FCAT1[]
  EXCEPTIONS
    INCONSISTENT_INTERFACE = 1
    PROGRAM_ERROR          = 2
    OTHERS                 = 3.
Thanks
Arbind

Similar Messages

  • When using Appleworks database for printing labels can I have columns of different widths?

    When using Appleworks database for printing labels can I have a column of different width?
    Case in point, the supplied avery labels in Appleworks does not have 8195. When I build one using custom design  I need a small column between column 2 and 3 to line up the info in columns 3 and 4. All the labels are 1.3/4 inch wide but I need to insert a column 1/4 wide to match up with the avery page....
    Any ideas???    
    Thanks......
    ---warren

    Well, the issue is that when you creat a custom width of 1.3/4 from the edge of the first label to the edge of label 2 all is good. The right and left margins were also set correct in AW. The Avery page, for some reason, has a small 1/4 inch column between the columns of label 2 and 3 therefore making the distance between the left edge of the label in column 2 and the right edge of the label in column 3 - a width of 2 inches and not 1.3/4.
    I guess Avery wanted the page to look even.
    I did this work around.....
    I created a custom lay out of 2 columns (not 4) with the correct width of 1.3/4 from label edge to label edge and the correct left side margin. After printing the first page I just turned the sheet 180 degress and printed the 2nd page to use all the labels on the Avery sheet. Since the upper and lower margin were the same it worked great....
    "Great minds think alike"...   thanks for your suggetion

  • Module borders not displaying when using Aggregator

    I am using Captivate 4.  I created a TOC for both modules in a project. Then I created an Aggregator to connect them and display both TOCs.
    The issue I am havving is that the individual modules have borders on all 4 sides, yet they do not display when using the aggregator. How do I correct this?
    Thank you.

    Lenny,
    I apologize for not having an answer to your question, but I'm envious that you've successfully configured mod_jk. I've read several different versions of how to configure this, but nothing has worked so far. I wonder if you could either point me to some correct instructions on how to integrate Apache and Tomcat so I might try to duplicate your success.
    Thanks in advance,
    Vince

  • Using Slide Tool No two up display when using keyboard shortcuts

    I've noticed when using the slide tool using my mouse, I get the two up display in the canvas the way I'm supposed to, where it shows me the new out point on the left frame and the new in point on the right frame. However if I select the clip and then use the left and right brackets to move the clip, I don't get the two up display in the canvas like if I was using the mouse.
    Is this normal, and if so, is there a way I can see the two up display when using the keyboard to slide? thanks.

    Is this normal?
    well the 2-up is activated by the mouse click and when you trim from the keyboard there's no mouse click ... so yes, this is normal
    is there a way I can see the two up display when using the keyboard to slide?
    good question. am not in front of an FCP station right now but if i were i'd be clicking around trying to find if it was possible some way

  • If i dont use the display when using the GPS and only listen to the voice instructions can that also makes the iphone overheat even if you dont use the display

    because when i use the gps app in my iphone 4s in the car my iphone gets overheat so
    if i dont use the display when using the GPS and only listen to the voice instructions can that also makes the iphone overheat even if you dont use the display
    will that help?

    When you use your GPS does your iPhone get hot enough to shutdown?  The reason I ask is that I have run my GPS app with the screen brightness set to near max connected to power for hours.  My iPhone got hot, but didn't shutdown.

  • When using the Database Connectivity Toolset, reads and writes with long binary fields are incompatible.

    I am trying to write LabVIEW Variants to long binary fields in a .mdb file using the Database Connectivity Toolset. I get errors when trying to convert the field back to a variant after reading it back from the database.
    I next tried flattening the variant before writing it and ultimately wound up doing the following experiments:
    1) If I use DB Tools Insert Data to write an ordinary string and read it back using a DB Tools Select Data, the string is converted from ASCII to Unicode.
    2) If I use DB Tools Create Parameterized Query to do an INSERT INTO or an UPDATE operation, specifying that the data is BINARY, then read it back using a DB Tools Select Data,
    the length of the string is prepended to the string itself as a big-endian four-byte integer.
    I can't think of any way to do a parameterized read, although the mechanism exists to return data via parameters.
    Presuming that this same problem affects Variants when they are written to the database and read back, I could see why I get an error. At least with flattened strings I have the option of discarding the length bytes from the beginning of the string.
    Am I missing something here?

    David,
    You've missed the point. When a data item is flattened to a string, the first four bytes of the string are expected to be the total length of the string in big-endian binary format. What is happening here is that preceding this four-byte length code is another copy of the same four bytes. If an ordinary string, "abcdefg" is used in place of the flattened data item, it will come back as <00><00><00><07>abcdefg. Here I've used to represent a byte in hexadecimal notation. This problem has nothing to do with flattening and unflattening data items. It has only to do with the data channel consisting of writing to and reading from the database.
    I am attaching three files that you can use to demonstrate the problem. The VI file c
    ontains an explanation of the problem and instructions for installing and operating the demonstration.
    Ron Martin
    Attachments:
    TestLongBinaryFields.vi ‏132 KB
    Sample.UDL ‏1 KB
    Sample.mdb ‏120 KB

  • Some Text Messages do not display when using large font on iphone

    When using increased font size (accessability function) on iphone some text messages will not display. The iphone just seems to lock up. If normal font size is used text massage displays with out any issue. When font size is increased, text message will not display again.

    Hi Peter
    Actually, Captivate does have an essentially unlimited number
    of undo levels. But that number may appear to be different. The
    number of levels starts when you begin editing the project. If you
    close and re-open a project, that starts the undo process over.
    I've tested and I gave up after about 280 or so undos.
    Where Captivate doesn't allow an undo, it normally warns you
    with a rather catastrophic looking dialog.
    Cheers... Rick

  • Custom ContextMenu doesn't display when using hand cursor

    I have created a custom ContextMenu, which displays when
    right-clicking on the Canvas. If I am showing the hand/pointer
    cursor using the code below, and then right-click, the custom
    ContextMenu is not displayed. Is this a known issue in Flex 3 or is
    there a workaround/fix? Any help is always much appreciated.

    "Guddie" <[email protected]> wrote in
    message
    news:gmcq28$eb$[email protected]..
    > Setting buttonMode = false or mouseChildren = true does
    not fix the issue,
    > and I do need useHandCursor = true.
    Make sure you haven't inadvertently set mouseEvents to false.

  • Help topics are not displaying when using Windows 7 / IE 9 / RH10

    We recently upgraded our library from RH8 to RH10.  Also used a trial version of  RH9 in this process. Now when we compile several of the projects have issues where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (like it is trying to load).  If you right-click on the topic it displays (we are currently using this as the work-around).  Anyone else having this problem?? I saw something similiar for Windows8/IE10, but the fix does not apply here (http://forums.adobe.com/message/5138909#5138909#5138909).

    Hi,
    I (April) apologize I have been OOO and have not been able to respond to your replies.  
    Let’s start over. 
    We have an issue where help topics do not display when selected in the TOC or when a link to the topic is clicked within another internal topic. It is in a continous loop in the browser (flickering like it is trying to load). If you right-click on the topic it displays (we are currently using this as the work-around).
    We use Windows 7, IE9 and RH10 for all our projects. (Recently upgraded from RH8 to RH10)
    Turns out the problem is not isolated. I have run across it in at least one other project, which leads me to think it also occurs in others.
    "Does this only occur when the help is called from your software? Is it OK if you double click the start page?"
              No. I it ALSO occurs when launched from the start page. 
    Have you tried deleting the CPD file and reopening Rh and the project?
              Yes, without success.
    Are you using any redirects?    
              Per (Adrienne), “I am not using any redirects. I encounter this issue only in IE. If I paste the .htm into a Firefox browser, the help displays as it should.” 
              I will add that the project also displays incorrectly in Google Chrome.
    Thanks  April

  • Radio Button problem when using Logical Databases.

    Hi,
    I have a report that uses logical database PCH.  I'd like to default the reporting period radio button so that when the report is run it is defaulted to today.
    The name of the screenfield is PCHZTR_D so I set
    PCHZTR_D = 'X'. 
    in the initialisation event but this doesn't work.
    Any suggestions how I can get the reporting period to default to 'today' programmatically.
    I don't want to use a variant.
    Thanks,
    Paul

    Try doing it in the AT SELECTION-SCREEN output Event.
    report zrich_0001.
    nodes: objec.
    <b>at selection-screen output.
    PCHZTR_A = space.
    PCHZTR_D = 'X'.</b>
    REgards,
    Rich HEilman

  • Turn off LCD display when using second monitor WITHOUT closing lid

    I am wondering if there is a way to turn off my macbook's LCD monitor when using a secondary display without closing the lid. I end up having to close the lid, wait for it to sleep, moving moues, and then reopening the lid so it doesnt overheat, and that's alot of work when most windows machines just offer a display setting to accomplish the same thing.
    Does anyone know of a terminal command that would disable the primary monitor?

    Ilya Batikov wrote:
    I am wondering if there is a way to turn off my macbook's LCD monitor when using a secondary display without closing the lid. I end up having to close the lid, wait for it to sleep, moving moues, and then reopening the lid so it doesnt overheat,
    It is designed to work with the lid closed and it will not overheat. I do it all the time and have not noticed a rise in temperature because the lid is closed.

  • How to inactivate the 'Complex Search' button when using Logical Database

    Hy experts
    I m using Logical Database for a select and you know that for an GET event by default in selection screen it appears some selection fields for every GET event..I manage to hide the ones that don't interest me but I have a little problem: I have a button that's called 'Complex Search' and I don't know how to get rid of this button..
    Here is some code:
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
    IF screen-name CP '%BT02010_BLOCK_1000'.
          screen-input = '0'.
          screen-active = 0.
          screen-invisible = 1.
          MODIFY SCREEN.
        ENDIF.
        IF screen-name CP 'QL_REFIL'.
          screen-input = '0'.
          screen-active = 0.
          screen-invisible = 1.
          MODIFY SCREEN.
        ENDIF.
    I do this for every screen-name in the program that doesn t interes me..but it seams that even if I comment all the button with 'Complex Search' remains..I mention that is a disperate solution to inactivate every screen element but I could not do other way..My bigest pb is the 'Complex Seach' button..can anyone help me?? pls.. <REMOVED BY MODERATOR> ..thx..
    Edited by: Alvaro Tejada Galindo on Feb 12, 2008 12:45 PM

    Thank you Thomas,
    I need some more from you...
    If I have 8 tables for 8 columns, then how do i proceed?
    Also could u tell me some query optimization techniques while working with intermedia text.
    Thanks you once again,
    waiting...
    Khaleel Hi Khaleel,
    I think this depends on your data model (relationship between the tables) and how you like to search later.
    The optimization begins also with the create index statement (memory clause and storage clause).
    If you like me to help I need more information about your hardware, os, datamodel and what kind of searches you will have later.
    Cheers,
    Thomas

  • Need menu bar on BOTH displays when using external monitor

    How can I have the menu bar on BOTH displays without using the "Mirror Display" mode???
    I bought a Thunderbolt and use it with my MBA. It works fine overall but this is still like having one display instead of two. A real downer!!
    There are 2 modes:
    Mirror Displays: (identical screen: why waste valuable screen realestate?)
    "Normal" mode: where it gives you access to the 2 monitors independently (you can move apps. windows and locate them on any screen you want).
    In the "Normal" mode, you can move the menu bar from one display to the other but it does not resolve the problem. We need TWO menu bars, which work identical and can be used on whatever display the mouse cursor happens to be.
    Currently, let's say I have applications A & B displaying on MBA, applications C & D displaying on TB, and the Menu Bar on TB. It is a nightmare to work!!!! Anytime I want to work on A or B I have to move the mouse side way to get to the MBA, then to use the menu, I can't even move up into the TB all the way to the menu bar: I have to move through the side onto the TB then up to the menu bar, select, down through the TB, side way to the MBA, and on and on and on....
    Anybody knows how to duplicate a functional menu bar without Mirror Display?
    Anyway of simplifying this nightmare?
    Thanks

    I asked the same question a few days ago, got some other options then ...
    https://discussions.apple.com/message/16953617#16953617
    Many many things to try ...

  • Images not displaying when using Mod_JK

    Has anyone had this problem with any success?
    platform:
    Windows 2000 Professional
    Jakarta Tomcat 4.1.3
    Apache 2.0.039
    Mod_jk connector
    My_Sql 4.0.1
    I have a successful connection between Tomcat and Apache via the mod_jk module.
    All JSP's are displaying with the appropriate data from MySql.
    My problem is that no images will display when I connect through Apache, via port 80.
    When I connect to Tomcat direct through port 8080, everything displays properly including images.
    Currently, I am running my application under Tomcat's webapp subdirectory.
    Is there something that I perhaps not did properly configure with Apache's http.conf file or with
    server.xml?
    Any suggestions or answers would certainly be appreciated.
    Thanks,
    Lenny Sorey

    Lenny,
    I apologize for not having an answer to your question, but I'm envious that you've successfully configured mod_jk. I've read several different versions of how to configure this, but nothing has worked so far. I wonder if you could either point me to some correct instructions on how to integrate Apache and Tomcat so I might try to duplicate your success.
    Thanks in advance,
    Vince

  • How to display LOGO in ALV grid when using class CL_GUI_ALV_GRID

    Hello everyone,
    please let me know how to display Company logo as the header part in the report program with the class cl_gui_alv_grid.
    Thanks and regards,
    Padma.

    Hi,
    Got this info from a site.
    http://sap.ittoolbox.com/documents/document.asp?i=3213
    In the transaction OAOR, you should be able to insert your company Logo.
    GOTO - OAOR (Business Document Navigator)
    Give Class Name - PICTURES Class Type - OT..... then Execute
    It will show you the list, then select ENJOYSAP_LOGO.
    On that list, you will find one control with a "create" tab.
    Click std. doc types.
    Select SCREEN and double-click.
    It will push FILE selection screen.
    Select your company logo (.gif) and press OK.
    It will ask for a description- for instance: "company logo".
    It will let you know your doc has been stored successfully.
    You can find your logo under ENJOYSAP_LOGO->Screen->company logo.
    Just run your ALV program, you should find your company logo in place of the EnjoySAP logo.
    Try this one.
    Also have a look at this link
    http://www.sap-img.com/fu002.htm
    Message was edited by: Judith Jessie Selvi

Maybe you are looking for

  • Can connect via Ethernet but not on Airport

    I am able to connect fine with Ethernet. Initially when I brought up Safari it launched the modem and I had to enter my ISP username and password. Then I was able to connect fine with Ethernet. My problem is that I cannot connect with Airport. I disc

  • After updating software the Netflix icon is gone. How do i get it back?

    How do i get the icon back?

  • Graphic in ABAP Adobe form from SE78

    Hi All, I am trying to display image(SE78) in ABAP Adobe interactive form. But it is not displaying  any image in run time. I use following code. Can any one guide what could be the problem method WDDOINIT .   DATA lo_nd_adobe TYPE REF TO if_wd_conte

  • Javascript error when a table is placed within a table popin.

    Hi experts, I have a node 'Parent' which contains one attribute and a non singleton child node called 'Child' which contains five attributes. I have created a Table 'OuterTable' in the view. The 'datasource' property of this table is set to the node

  • CO Order type in derivation rule

    Hi, I want to derive fund centers based on Plant Maintenance Order Type. But field 'Order Type' is not available in FM derivation rules. Can I add some user fields such as Order Type. Regards Manish