Is it possible to display a dynpro in a container?

Hey guys,
in the SAP Case Management environment SAP offers the possiblity to define customer specifc "subcomponents". A subcomponent is basically a certain part on the screen.
For the implementation you get a reference to a GUI container (im_container TYPE Ref To CL_GUI_SIMPLE_CONTAINER). Customers can now easily add for example an ALV table by using the defined container.
In my situation I want to display a dynpro with several tabstrips on it so I thought of a carrier dynpro attached to the GUI container using docking container.
Is this possible at all? My code looks like this:
  DATA lr_gui_docking TYPE REF TO cl_gui_docking_container.
  CREATE OBJECT lr_gui_docking
    EXPORTING
      parent                      = im_container
      repid                       = 'ZHG01'
      dynnr                       = '0200'
    EXCEPTIONS
      cntl_error                  = 1
      cntl_system_error           = 2
      create_error                = 3
      lifetime_error              = 4
      lifetime_dynpro_dynpro_link = 5
      OTHERS                      = 6.
I get a runtime exception ("CNTL_ERROR"). Debugging in system debug mode shows that the exception is thrown at the end of method "GET_FRAME_CONTAINER":
METHOD GET_FRAME_CONTAINER.
    DATA: PARENTID TYPE I.
*    CALL 'DY_GET_MODAL_LEVEL' ID 'MOD_LEV' FIELD PARENTID.
*    CALL 'DY_GET_MODAL_LEVEL' ID 'MOD_LEV_UI' FIELD PARENTID.
*    CALL 'DY_GET_MODAL_LEVEL' ID 'ACT_UI_MOD_LEV' FIELD PARENTID.
    IF CONTAINER IS INITIAL.
        CALL 'DY_GET_MODAL_LEVEL' ID 'ACT_UI_MOD_LEV' FIELD PARENTID.
    ELSEIF CONTAINER->H_CONTROL-SHELLID = -1.
        CALL 'DY_GET_MODAL_LEVEL' ID 'ACT_UI_MOD_LEV' FIELD PARENTID.
    ELSE.
        PARENTID = CONTAINER->H_CONTROL-SHELLID.
    ENDIF.
    IF PARENTID BETWEEN 10 AND 19.    " this are the dynpro areas
        PARENTID = PARENTID - 10.     " now its the corresponding frame
    ENDIF.
    data: new_dummy_parent_container type ref to CL_GUI_CONTAINER.
    IF PARENTID BETWEEN 0 AND 9.
    "    CREATE OBJECT DUMMY_PARENT_CONTAINER
    "        EXPORTING CLSID = SPACE.
    "    DUMMY_PARENT_CONTAINER->H_CONTROL-SHELLID = PARENTID.
    "    FRAME_CONTAINER = DUMMY_PARENT_CONTAINER.
        CREATE OBJECT NEW_DUMMY_PARENT_CONTAINER
            EXPORTING CLSID = SPACE.
        NEW_DUMMY_PARENT_CONTAINER->H_CONTROL-SHELLID = PARENTID.
        FRAME_CONTAINER = NEW_DUMMY_PARENT_CONTAINER.
    ELSEIF PARENTID = 99.
        FRAME_CONTAINER = CONTAINER.
    ELSE.
        IF CONTAINER_MUST_BE_TOPLEVEL = 0.
            FRAME_CONTAINER = CONTAINER.
        ELSE.
            RAISE CNTL_ERROR. <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< "DUMP!!
       ENDIF.
    ENDIF.
ENDMETHOD.
I have no idea what this could mean.
Variables during runtime:
PARENTID is set to "181"
CONTAINER_MUST_BE_TOPLEVEL is set to "1"
Any ideas?
Thanks in advance,
Hendrik

Hi François,
you're right. I think I missunderstood the sense of a docking container and it is simply not possbile. I also couldn't locate any reference implementations in the SAP standard for this. To sum up I think that only subclasses of "CL_GUI_CONTROL" can be used to work in a container like the ALVs, pictures or text edit controls.
Hendrik

Similar Messages

  • Is it possible to display keyfigures in italics format in report output

    Hi All,
    Is it possible to display keyfigures in italics and bold format in report output?
    Thanks,
    Sri Arun Prian

    you can edit the CSS - there is a CSS class assigned to the key figures.... this is for WAD....
    Edited by: Arun Varadarajan on Feb 5, 2009 2:43 PM

  • Is it possible to display only dynamically selected fields in the out put?

    Is it possible to display only dynamically selected fields in the out put? i need to display set of columns in the selection criteria, but in the output i have display only input given fields. because i need to convert it into .csv file. So i have to display selected fields from internal table. In oracle they are using"execute immediate". is there any equivalent in SAP?
    thanks in advance.

    Hi Remya,
    Are you talking about dynamic programming in ABAP ?
    If yes, there are concepts like RTTS which facilitates it.
    Yes, the select query also supports dynamic selection of fields. ( Please care about ( ) in dynamic sql ).
    Do more research on Field Symbols and statements like ASSIGN COMPONENT OF.
    Regards,
    Philip.

  • Is it possible to display Suffix values in ALV Report

    Hi,
    Is it possible to display a suffix value in the output of ALV Report? If so how I can proceed? Please let me know an example.
    Thanks,
    Sekhar.J

    Hi Siddarth,
    I am sorry for the typo. It shold be Sub Script, Not a Suffix.
    Let  us take an example H2O, If we print it in this way it won't be meaning full, So i want to display this like
    H Subscript 2 O. I have a requirement for a column to always to display this kind of values, Is it Possible?
    Thanks,
    Sekhar.J

  • Is it possible to display LOGO in simple ALV list?

    Hi Guys,
    Is it possible to display LOGO in simple ALV list. If yes plz explain in details.
    Thanks
    Sharat

    Yes it is possible to display logo at the top of the page.
    TYPE-POOLS: slis.
    *     Data Decalaration
    DATA: it_vbak TYPE TABLE OF vbak.
    DATA: g_repid TYPE sy-repid.
    DATA: it_listheader TYPE slis_t_listheader,
           wa_listheader TYPE slis_listheader.
    *     START-OF-SELECTION
    START-OF-SELECTION.
       g_repid = sy-repid.
       SELECT * FROM vbak INTO TABLE it_vbak.
       PERFORM build_alv_header.
       CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
         EXPORTING
           i_callback_program     = g_repid
           i_callback_top_of_page = 'TOP_OF_PAGE'
           i_structure_name       = 'vbak'
         TABLES
           t_outtab               = it_vbak.
    *&      Form  BUILD_ALV_HEADER
    FORM build_alv_header .
    *  Type H is used to display headers i.e. big font
       wa_listheader-typ  = 'H'.
       wa_listheader-info ='Flight Details'.
       APPEND wa_listheader TO it_listheader.
       CLEAR wa_listheader.
    *  Type S is used to display key and value pairs
       wa_listheader-typ = 'S'.
       APPEND wa_listheader TO it_listheader.
       CLEAR wa_listheader.
    *  Type A is used to display italic font
       wa_listheader-typ = 'A'.
       wa_listheader-key = 'Date    :' .
       wa_listheader-info ='SAP ALV Report'.
       APPEND wa_listheader TO it_listheader.
       CLEAR wa_listheader.
    ENDFORM.                    " BUILD_ALV_HEADER
    *&      Form  top_of_page
    FORM top_of_page.
       CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
         EXPORTING
           it_list_commentary = it_listheader
           i_logo         = 'PARI'.
    ENDFORM.                    "top_of_page

  • Is is possible to display quantity field in FBU3?

    Hi,
    Is it possible to display the quantity field in FBU3? We have activated the quantity field for FBL3N but not able to find the configuration to do it for FBU3.
    Please guide.

    Good Morning Everybody,
    The above question still continues...
    {Please Answer}

  • Is it possible to display the static numerals as Hindi?

    Trying to generate a report using XML Publisher, the report composed of two columns.
    Need to display the numerals in English language coulmn in Arabic numerals and the numerals in Arabic language column in Hindi numerals. Currently they both appear as Arabic numerals in both columns
    Question:
    Is it possible to display the static numerals as Hindi as they had been
    entred in the template or not?
    I understood that on generation these should be variables not static.
    I would welcome any input on this issue.
    Many thanks

    Hmm,
    In templates i guess, you can use multiple font text ..
    same is the case here..
    Arabic and hindi, are you using different font for these ?
    if so, are these fonts available in server too ?
    The test displayed can be static or dynamic, but if the server doesn't know which font to be applied, then its going to apply default font for the text.
    At runtime, the server has to known, for this text which font has to be applied. if this has to happen, font has to be understood by server.

  • Is possible to display Country Name in incoming calls?

    Is possible to display Country Name in incoming calls? If number is saved with country code. Attached is the sample as i mean.

    If you need one more column, then you need to expand the field catalog table and data table as you did for all other fields and you need to code the logic to calculate the subtotals and populate the new column, but if you want to have row, that will be easy. For more info you can [refer |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4063c42a-2549-2c10-fab6-a8c99d98b9b5?quicklink=index&overridelayout=true]this:

  • Is that possible to display the user selection data in the printable page?

    Hi All,
    I'm going to add a printablepage button on my page.
    Here comes a questions.
    Is that possible to display the user selection data in the printable page?
    For example,
    I have a table in the page,with 10 records.User select 5 of them.Can I display these 5 records in the printable page?
    Please help.

    Hi Yannick,
    Thanks a lot for the information. It worked.
    The portlet data can be accessible using bindings, but parameter name can be different.
    Meanwhile I have got one more scenario, where the Portlet and Task Flow placed in different pages of WCP Application. On change of data in the Portlet the application should navigate to another page where the Task Flow placed and displays selected data.
    Basically I can not use any button for navigation. The navigation should happen once I do some action in Portlet.
    Is this possible? If yes can you please let me know the steps?
    Thanks in advance!
    Somnath
    Edited by: Somnath Basak on Dec 20, 2011 9:41 AM

  • Is it Possible to display the output of the ALV list as POP-UP

    Hi Experts,
                     Is it Possible to display the output of the ALV list as POP-UP, if yes then provide some ideas on it.
    thanking in advance,
    Samad.

    Hi samad, it is possible to display alv list as pop-up by using the FM " REUSE_ALV_POPUP_TO_SELECT"
    try this sample code
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
          EXPORTING
       I_TITLE                       =  P1_TITLE
           I_SELECTION                   = 'X'
           I_ZEBRA                       = 'X'
      I_CHECKBOX_FIELDNAME          =
      I_LINEMARK_FIELDNAME          =
      I_SCROLL_TO_SEL_LINE          = 'X'
            I_TABNAME                     = 'T_VBAP'
           I_STRUCTURE_NAME              =  'T_VBAP'
           IT_FIELDCAT                   =  T_FCAT2
           I_CALLBACK_PROGRAM            = 'ZTEST_ALV_POPUP'
       IMPORTING
           ES_SELFIELD                   = I_SELFIELD
           E_EXIT                        = W_EXIT
          TABLES
            T_OUTTAB                      = T_VBAP.
    i think it will solve your problem
    Regards,
    Vijay

  • Is it possible to display the entire list in Background ?

    Hi all,
    I have alv report(Oops) , it is grid display and having more than 300 columns , when i execute that report in background i am getting only 132 columns and 65 lines per page, Is it possible to display the entire list , If it is possible then how we can do that? if it is not what is the reason? .
    Thanks in Advance.

    Hi,
    If use Grid in BG u will get o/p In ALV List Itself, second thing is u will get Croped o/p bcos of Print Format 65255 , in this case u have to create/change a new Print Format only for BG jobs like 651000.
    for more info ask ur basis person to create a new print formats in such cases.
    Regards,
    shiva.

  • Is it possible to display the document link for each record  in Report ?

    Hi,
         Is it possible to display the document or Image link for each master record in the Report  with the help of RSA1->Document->Master Data.
    Usefull answers are really helpfull.
    Advance Thanks for the userful answers.
    Regards,
    MRC.

    Hi  JAYASHREE PARASMAL ,
          Thanks for your valuable answers.
          Now i got the document in my Report,while executing the report through query designer as per your suggestion done on Setting Tab option.
          But i can't able to get the same thing,while i executing the Repory through WAD.
          What setting i need follow in the WAD for getting the same thing.
          Kindly give your suggestion to get the document in my Report,while i am executing through my WAD.
          Once again thanks for your helpful answer and awaiting for your suggestion.
    Regards,
    MRC.

  • Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher

    Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.

    I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level.  So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly).  I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3.  If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query.  I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.

  • Is it possible to display an Alert when user clicks on the X on the browser

    Hi
    Is it possible to display an Alert when user clicks on the X on the browser.I saw some threads regarding this mentioning about js.I want to do this ins the iProcurement module and dont wnat to make changes to each and every page.
    isn't there any global setup which would help to achive this?

    Are you talking about Windows close X. If yes, then to my knowledge there is nothing in OA Framework to handle it. You can check if it can be handled using javascripts.

  • Possible to display overall size of attachments on the fly?

    Is it possible to display the overall size of attachments to an email while creating the email and gradually adding more attachments?

    UNBCMike wrote:
    I come from a Windows background so I assumed there would be a way to simply increase the display size of everything in one shot.  If not, what hoops will I need to jump through to have this adjusted for every application on the machine?
    OS X doesn't have a UI size increase ability like what you expect on Windows, it's been a long complaint of Mac users for ages, but Apple simply refuses to listen.
    Add your voice to theirs here
    https://www.apple.com/feedback/macosx.html
    I have a web browser solution here, the other opiton is to use a scroll wheel/head mouse and a Universal Access "control" key to press while scolling with the mouse up and down to zoom in/out where the mouse is pointed or some other trackpad etc arrangement.
    https://discussions.apple.com/docs/DOC-3281

Maybe you are looking for

  • Need to generate 2 idoc"mapping issue"

    Hi Experts, When the Purchase_order_type is coming like HIGH,REGULAR,NEW,BOUNCED. In this case i need to generate 2 idoc, based on HIGH is one and Other than HIGH is one, even though if it's REGULAR,NEW,BOUNCED. I can't generate. pl suggest rgds selv

  • Windows Convert...

    Ok so I got myself a PowerMac G4 from ebay, and upgraded it, and it now has the following specs: - PPC G4 400mhz - 758mb Ram - AGP Radeon 7000 64mb (running at AGP 2x, was originally a PC version, so I had it flashed with mac firmware) - SuperDrive -

  • N80 UPDATE

    hii people could someone plzz tell me how do i reverse my N80 update. I updated my N80 yesterday to V5.0719.0.2 dated 24-5-2007. I m from India. After updating i noticed dat a new internet edition folder was available. But wen i went o my music playe

  • Setting PRIMARY outgoing Mail Server

    i have nine emails from my primary domain, one from a secondary domain, a gmail account and a me.com account. i am having problems with email (cannot connect to domain name) and i am trying to verify that my outgoing server settings are correct. can

  • Migrate emails between user accounts

    Hi there, I have a problem i need solve on my new Imac. I have migrated my emails from old imac to new imac and that worked ok. So i have my email folders now on the new imac in a separate user account. I now want to move my email folders on the new