Create_dynamic_table does not work when fieldcatalog table contains LVC_S_S

I'm getting short-dump when creating dynamic internal table via CALL METHOD cl_alv_table_create=>create_dynamic_table. The fieldcatalog contains a component named LVC_S_STYL which populates fine when after call function LVC_FIELDCATALOG_MERGE but when this is passed to cl_alv_table_create=>create_dynamic_table it short dumps!
Is it possible to pass the style catalog in this case, how? Below is my code.
Structure of 'ZZ_ALV_FCAT' is WERKS type werks_d, DATE type datum, CELLTAB type LVC_S_STYL.
   CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
     EXPORTING
       i_structure_name             = 'ZZ_ALV_FCAT'
      CHANGING
        ct_fieldcat                  = lt_fieldcat.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog           = lt_fieldcat
        i_length_in_byte          = ''
      IMPORTING
        ep_table                  = dy_table
      EXCEPTIONS
        generate_subpool_dir_full = 1
        OTHERS                    = 2.
    IF sy-subrc EQ 0.
      ASSIGN dy_table->* TO <dyn_table>.
    ELSE.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
<b>I'll be generously giving away points for any help!</b>
Any idea anyone? I was thinking may be convert the HEX data to CHAR before creating the dynamic table then again convert the CHAR data back to HEX before I call SET_TABLE_FOR_FIRST_DISPLAY? In that case, how to convert Hex of a structure to CHAR and vice versa?
Message was edited by:
        Sougata Chatterjee

Hi
I worote this code in my system (4.6C) and I got any dump:
DATA: CT_FIELDCAT TYPE  LVC_T_FCAT.
DATA: DY_TABLE TYPE REF TO DATA.
FIELD-SYMBOLS: <TABLE> TYPE TABLE.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
  EXPORTING
*   I_BUFFER_ACTIVE              =
    I_STRUCTURE_NAME             = 'ZLVC_S_STYL'
*   I_CLIENT_NEVER_DISPLAY       = 'X'
*   I_BYPASSING_BUFFER           =
  CHANGING
    CT_FIELDCAT                  = CT_FIELDCAT
EXCEPTIONS
   INCONSISTENT_INTERFACE       = 1
   PROGRAM_ERROR                = 2
   OTHERS                       = 3
IF SY-SUBRC <> 0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
      EXPORTING
        IT_FIELDCATALOG           = CT_FIELDCAT
*       I_LENGTH_IN_BYTE          = ''
      IMPORTING
        EP_TABLE                  = DY_TABLE
      EXCEPTIONS
        GENERATE_SUBPOOL_DIR_FULL = 1
        OTHERS                    = 2.
IF SY-SUBRC = 0.
  ASSIGN DY_TABLE->* TO <TABLE>.
  IF SY-SUBRC = 0.
  ENDIF.
ENDIF.
I've included the structure LVC_S_STYL in my structure ZLVC_S_STYL and then add some fields.
But if I insert a field CELL like LVC_S_STYL, instead of to include it directly, I get the dump.
So I believe it depends on how you've defined the structure in dictionary, because in the second case it seems the METHOD can't create the subroutine to create the dynamic table.
It seems if it uses a complex structure where a field is a structure, the METHOD can't write a right defintion of an internal table based on the dictionary structure.
In my system I saw the method try to create a subroutine where the interna table is defined in this way:
DATA: STYLE TYPE ZLVC_S_STYL-STYLE. 
instead of
DATA: STYLE TYPE ZLVC_S_STYL-CELL-STYLE. 
Max

Similar Messages

  • HT201413 Device does not work when I connect it to your computer to the iTunes program update requests and then gives me an error No. 21

    Device does not work when I connect it to your computer to the iTunes program update requests and then gives me an error No. 21

    Device does not work when I connect it to my computer to the iTunes program update requests and then gives me an error No. 21

  • TS3276 My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    My o2 email account does not work when sending from my MAC it will accept incoming mail but not send it gives me a message that  o2 account (offline) my mac I have no problem with my iPhone  or mac laptop. any suggestions please.

    Sorry for the delay...
    I did what you've told me, new account and manually copied my files from Time Machine. I had lots of permissions problems, but at the end, almost everything is in order... It seems it had to be with some of the Apple Preferences, but I can't be sure, as most of them were dumped to the trash can.
    I still don't have my Mail Rules back, unfortunately, although I did goggled some. It is a pity, as I had around 30 or 40 of them, getting my mail in order to each of its mailboxes, but it is a small price as the rest doesn't show the before syntoms.
    Thanks for the help, anyway!!

  • Reply to all using ItemReply does not work when specifying messageid

    Hello everyone,
    I am trying to use the ItemReply token to perform a "Reply to All"
    action on a mail item with a known message identifier and include the
    original message text in the response. According to the documentation,
    the call should be:
    ItemReply(7;1;"message-id")
    Still, when I execute this token, apparently only a normal reply action
    is performed because only the original sender is listed as recipient.
    (The message text is properly included)
    However, when I manually select the message in the GroupWise client
    first and then execute the same call without specifying the message id,
    all recipients of the original mail are listed in "To:" as expected:
    ItemReply(7;1)
    Could it be that the "ReplyTo" parameter is ignored or does not work
    when a message id is specified as parameter? (Setting "IncludeText" to 0
    does not change anything)
    Thanks in advance and best regards,
    Peter Hofer

    Worth bumping this message. I find the exact same behaviour as mentioned 5 years ago. Using both GW8 and GW2012.
    According documentation, when MessageId is not specified it defaults to the command ItemReplyOpenItem(). I assume that the reason "Reply To all" works without a MessageID is because of that. Someone needs to give a look to ItemReply().

  • How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    How do I set up a mail group on mac mail?  All the advise on line seems to refer to 'address book' and I only have 'contacts'.  The guidance does not work when using 'contacts' - can anyone help me?

    Create a group and send mail
    http://www.dummies.com/how-to/content/how-to-create-a-basic-contact-group-in-mac -os-x-li.html
    http://www.macworld.com/article/1165582/how_to_email_groups_with_mail.html
    Best.

  • My App Store does not work when trying to update applications

    My Apo store does not work when I try to update applications that need to be updated

    There are a number of other threads from people reporting a problem with a blank Updates tab in the App Store app - it looks like there is a problem at Apple's end which they need to fix.
    Some posts are suggesting that you if you go into the Purchased tab in the App Store app you might be able to update the apps from there, though you will need to scroll through the list to find those with updates and individually update them.

  • Siri does not work when used for calling a contact function

    Siri does not work when used for calling a contact function

    Very strange, try to turn off/on your iPhone. Or make a reset (home+power button)...
    If it continues try to restore it.

  • The remote does not work, when i turn the tv on I see the apple tv and the itune icon on the screen

    the remote on apple tv does not work,when i turn on the tv Isee the appletv and the itune icon on the screen.

    Did you do a software update?
    AppleTV is unable to start properly.  You need to connect to a computer running iTunes as detailed here:
    Apple TV (2nd and 3rd generation): Restoring your Apple TV

  • Dbx does not work when debugging g++ exes.

    Hi,
    We are just getting started building our application on redhat el5 with sunstudio 12.
    We are compiling and linking our app with gcc 4.1 as we need to be able to link against some 3rd party libraries build on rhel4 that we do not have source for.
    We now can compile and link fine but dbx does not work when it is fed the executable.
    We get the error
    dbx: warning: Bad transition in runtime linker interface. CONSISTENT->CONSISTENT[
    and dbx freezes.
    Note : This is built with -m32 on a 64bit kernel. Also we have not yet rebuilt all the opensource libs used on gcc 4.1 as we have a large number of them.
    Any ideas ?
    The complete output of running dbx :
    Output from dbx :
    debug /ps_rels/Dev/linux_rhel5/exe/sx
    Reading sx
    Reading ld-linux.so.2
    Reading libz.so.1
    Reading libxerces-c.so.27
    Reading libxalan-c.so.110
    Reading libxalanMsg.so.110
    Reading libsde.so
    Reading libsg.so
    Reading libpe.so
    Reading libsqlite.so.0
    Reading libsqlite3.so.0
    Reading libgeos.so.2
    Reading libpng12.so.0
    Reading libX11.so.6
    Reading libXm.so.4
    Reading libXt.so.6
    Reading libXi.so.6
    Reading libXext.so.6
    Reading libXrender.so.1
    Reading libfreetype.so.6
    Reading libexpat.so.0
    Reading libfontconfig.so.1
    Reading libcairo.so.2
    Reading libglib-2.0.so.0
    Reading libgmodule-2.0.so.0
    Reading libgobject-2.0.so.0
    Reading libgthread-2.0.so.0
    Reading libpango-1.0.so.0
    Reading libpangocairo-1.0.so.0
    Reading libpangoft2-1.0.so.0
    Reading libatk-1.0.so.0
    Reading libgtk-x11-2.0.so.0
    Reading libgdk-x11-2.0.so.0
    Reading libgdk_pixbuf-2.0.so.0
    Reading libtiff.so.3
    Reading librt.so.1
    Reading libwx_gtk2_xrc-2.8.so.0
    Reading libwx_gtk2_qa-2.8.so.0
    Reading libwx_gtk2_html-2.8.so.0
    Reading libwx_gtk2_adv-2.8.so.0
    Reading libwx_gtk2_core-2.8.so.0
    Reading libwx_base_xml-2.8.so.0
    Reading libwx_base_net-2.8.so.0
    Reading libwx_base-2.8.so.0
    Reading libboost_thread-gcc-mt-1_33_1.so.1.33.1
    Reading libboost_filesystem-gcc-mt-1_33_1.so.1.33.1
    Reading libncurses.so.5
    Reading libnsl.so.1
    Reading libdl.so.2
    Reading libACE.so.5.5.1
    Reading libpthread.so.0
    Reading libpam.so.0
    Reading libm.so.6
    Reading libc.so.6
    Reading libstdc++.so.6
    Reading libgcc_s.so.1
    Reading libicuuc.so.34
    Reading libicui18n.so.34
    Reading libstdc++.so.5
    Reading libXau.so.6
    Reading libXdmcp.so.6
    Reading libXmu.so.6
    Reading libXp.so.6
    Reading libXft.so.2
    Reading libjpeg.so.62
    Reading libSM.so.6
    Reading libICE.so.6
    Reading libexpat.so.1
    Reading libXfixes.so.3
    Reading libXrandr.so.2
    Reading libXinerama.so.1
    Reading libXcursor.so.1
    Reading libXxf86vm.so.1
    Reading libaudit.so.0
    Reading libicudata.so.34
    Reading libnss_files.so.2
    Reading libnss_dns.so.2
    Reading libresolv.so.2
    dbx: warning: Bad transition in runtime linker interface. CONSISTENT->CONSISTENT
    Reading libnss_ldap.so.2
    Reading libcom_err.so.2

    Well, this message is just a warning and should not prevent dbx from working. What exactly happens to dbx? Does it hang? Does it crash? Or it doesn't allow to run the app?
    A side note: this message says that runtime linker debugging interface reported "consistent" event w/o any "add" or "delete" events, which is at least redundant and may indicate a bug. It is possible though that the bug is in dbx as well as in ld-linux.so, but its impossible to tell without live test case.

  • The dropdown list in the address bar does not work when clicked

    In the address bar the dropdown list icon does not work when clicked. I have tried resetting everything in safemode and it still doesn't work. When I click on the icon it just highlights the entire address line.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    Also check the setting in:<br />
    [http://kb.mozillazine.org/Menu_differences Firefox > Preferences] > Privacy > Location Bar: When using the location bar, suggest: History, Bookmarks, History and Bookmarks

  • Iphone 4 the mike does not work when making a call.  it does work with speaker phone and face time

    Just activated new Iphone 4 and the mike does not work when making a call.  it does work with speaker phone and face time. Any known fixes?

    My wife's iphone 4 also has your same no ring problem as does my iphone 5 just less often.  I called her iphone 4 at home from where I work 20 miles away on my iphone 5.  With her phone in 3G mode ONE call went through and 9 went to voice mail in 10 tries.  This is a 10% sucess rate!!  I also could listen in real time from the wired work phone and the wired home phone.  She turned off 3G mode and it went to "O" mode at  the top left of the screen after the ATT.  In this mode it rang on the first ring tone 5 times out of 5 tries which is 100% of the time.  I have learned that the calling party will hear up to 4 ring tones when placing a call on the ATT network.  If the ring tone changes volume slightly before the 4th ring then and only then will the cell phone start to ring.  If the ring tone does not change after the 4th ring you get voice mail.  If the calling party does not leave a voice message there is never a missed call displayed on the iphone.  If the calling party does leave a voice message a few minutes later the iphone dings for arriving voice mail but still no missed call indication. 
    This appears to be related to the time of day and the ATT tower that the receiving caller is using.  Tried other towers and it works in 3G mode 10 times out of 10 tries.  Apple replaced the first iphone 4 with a new phone, no improvement.  ATT replaced the SIM card and no improvement.  ATT so far is clue less.  This has been going on every since we got the new iphones which is 4 months.  The ATT web site also describes this same problem from several years ago.  Has anyone got better information?
    Thanks

  • Css3 animation does not work when triggerd by backing bean method

    Hi,
    I use Jdev 11.1.1.4 (but I guess the Jdev/ADF version does not matter in this case) and Firefox 15.0.1.
    I tested some parts of article https://blogs.oracle.com/groundside/entry/css_animations_the_panel_flip from Duncan Mills.
    The CSS3 animation for styleClass "rotateOut" works fine when I trigger it from mouse hover.
    The problem is that the animation does not work when I set the styleclass in a backing bean.
    In this case the UI component to rotate (in my case the calender component) changes immediatelly to the transition target without the transition-duration of 2 seconds and therefor there is no animation effect visible for the user.
    Here the backing bean code:
        public void doRotate() {
           afCalender.setStyleClass("rotateOut");
           AdfFacesContext.getCurrentInstance().addPartialTarget(getAfCalender());
        }Here the skin:
      .rotateOut {
        -moz-transition-property: -moz-transform;
        -moz-transition-delay: 2s;
        -moz-transform: rotateY(45deg);
        -moz-transition-timing-function: ease-in-out;
        -moz-transition-duration: 2s;
      .rotateReturn {
        -moz-transition-property: -moz-transform;
        -moz-transform: rotateY(0deg);
        -moz-transition-timing-function: ease-in-out;
        -moz-transition-duration: 2s;
      }In Duncan's article java script is used to change the style class.
    Does the CSS3 animation only work when java script is used to change the style class or shoud java in a backing bean also work?
    Any hints?
    regards
    Peter

    I have tested several other settings but no success.
    Any ideas?
    regards
    Peter

  • HT1430 For some unknown reason my Apple ID password does not work when trying to down load books from the IBook or Nook Apps.  It also has stop work when trying to down load new Apps.  Any suggestions out their???

    For some unknown reason, my Apple ID Password does not work when trying to down load IBooks, Nook books, or new Apps.  Everything else seems to work.  Any suggestions out their???

    I appreciate the info and realize that the Nook App is not related to my Apple account but this too has stopped working.  My situation first started with the Nook App not down loading and then has now spread to my IBook and new app downloads.  I have checked into my ITunes account and the ID and password are correct  and at times when I am asked to submit my Apple password such as setting up this Apple Support Community the ID and password work.  My problem seems to be just with trying to use my ID and password when wanting to download new books or apps.  I can go into the IBook, Nook, and App stores and seemingly download an item but when clicking on the new book or app nothing happens and I get a message that states it can not get into the ITunes store and it wants me to either try again or cancel.  This message appears usually ten minutes after I have tried to make a purchase.  At other times when I attempt to download a book or app I lose the screen and the IPad goes into the opening screen.  Short of redoing my Apple account or deleting an app and attempting to reload the app (but this won't work because the App store won't load new apps) I don't have a clue what to do.

  • Youtube does not work when i am using wifi on iphone 4

    the youtube does not work when i use wifi. it works perfectly when i use 3 g network ..

    At home when i use my Wi-Fi it work normal, but as soon as i go out, for example on the bus or at work it keeps saying "Cannot connect to Youtube".

  • Lenovo S8-50LC Wlan(WiFi) Does not work when use Sim Cart(3G)

    Hi
    Tablet Lenovo S8-50LC
    Wlan(WiFi) Does not work when use Sim Cart(3G).
    What is the solution for this problem?
    Build Number : TABS8-50LC_S000200_150121_ROW
    SoftWarw Version : TABS8-50LC_150121

    Right, but if you have the SIM in the tablet and you put the tablet in airplane mode, does wifi work then? If so, it may be a bad SIM. Do you have another SIM you can try?

Maybe you are looking for