How to display a screen in a container ?

Hi All,
I have an instance of a container lrc_cont_right type cl_gui_container and
a screen 0300.
How do I display this screen in the container ?
Regards,
Ashish

hi
if gc_container is initial.
      create object gc_container
        exporting
          container_name              = <container_name>.
      create object gc_alv_boq
        exporting
          i_parent          = gc_container.
    endif.
call method gc_alv_boq->set_table_for_first_display
exporting
*    I_BUFFER_ACTIVE               =
*    I_BYPASSING_BUFFER            =
*    I_CONSISTENCY_CHECK           =
*    I_STRUCTURE_NAME              =
*    IS_VARIANT                    =
*    I_SAVE                        =
*    I_DEFAULT                     = 'X'
  is_layout                     = gs_layout_boq
*    IS_PRINT                      =
*    IT_SPECIAL_GROUPS             =
  it_toolbar_excluding          = gt_toolbar
*    IT_HYPERLINK                  =
*    IT_ALV_GRAPHICS               =
*    IT_EXCEPT_QINFO               =
    changing
      it_outtab                     = <it_table>
      it_fieldcatalog               = <field_cat>
*    IT_SORT                       =
*    IT_FILTER                     =
*  EXCEPTIONS
*    INVALID_PARAMETER_COMBINATION = 1
*    PROGRAM_ERROR                 = 2
*    TOO_MANY_LINES                = 3
*    others                        = 4
  if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  endif.
regards
vivek

Similar Messages

  • How to display PSA screen capture on Front Panel

    Any one know how to display screen capture of PSA series specturm analyzer on front panel. I can save the JPEG file in the C drive, but I can't display on the front pannel. Please see my labview code.
    Solved!
    Go to Solution.
    Attachments:
    Capture screen E4446A.vi ‏21 KB
    reading and writing binary number.vi ‏22 KB
    yumg.jpg ‏20 KB

    Do you actually need to save the front panel image?  Or do you want to save a graph of the signal (spectrum) that you acquired?  If the latter will do the trick, you can simply read the waveform over GPIB (or whichever means you control the analyzer) into an array that is plotted to a waveform graph in LabVIEW.  You then save the image of the waveform graph as an image.
    Since you have all the data, you can even save the data which can be viewed later (and not only by LabVIEW).

  • How to display a screen in selection-screen?

    hi friends,
    I have a requirement. I have one PNP database SELECTION-SCREEN in my report program. And i have created one more screen using screen painter.
    Now i hae to display that screen which i created using screen painter under PNP SELECTION-SCREEN.
    For ex:
    PNP SELECTION-SCREE.
    Pernr Number    _______________
    Employe Name _______________
    Company Code _______________
    Payroll Area     ________________
    Now after this i have to display my screen which i designed using screen painter.
    As shown below.
      O In rupees
      O In Percentage
       Variance______
    Here i specified some fields only. some more fields also there.
    For this i did as....
    I created a BUTTON in SELECTION-SCREEN. And when the user clicked on this then screen will appear as window.
    It's working fine.
    It's look like this.
       |More Selections...|                            -
    > Button
    But,my client required that screen also wants to display directly under PNP SELECTION-SCREEN but not as window and clicking button.
    If Any Help.. Plz....
    Thanks & Regards,
    Shree.

    hi prakash,
    thanks for ur solution.
    but it's not working properly. while changing 1000 screen and activating, it's showing syntax error like this.
    while changing:
    ==> Element PNPS$MCD touches or overlaps other element
    ==> Selection screen: Report generation makes screen changes ineffective
    ==> Element PNPS$MCD touches or overlaps other element
    While Activating:
    Syntax Error in Screen.
    Program <myprogram name>
    Screen   1000
    Position  Flow Logic       Line 95
    The include block has been used twice.
    But, Here i clicked the button "Activate".
    Then It's showing messages as this.
    ==> Selection screen: Report generation makes screen changes ineffective
    ==> Element PNPS$MCD touches or overlaps other element.
    I checked out that Line 95.
    There i am specifying my suscreen as this.
    CALL SUBSCREEN subscreen1 INCLUDING sy-repid 106.
    at end of PBO.
    And in PAI.
    CALL SUBSCREEN subscreen1.
    Finally when i tried to execute it's giving DUMP.
    Any solutions..
    Thanks & Regards,
    Shree.

  • How to display a screen as Popup Dialog box in Module Pool

    Hi All,
    I have a requirement to display a popup dialoge box into module pool.
    i need to display a screen as a popup on the current screen on a button click.I have developed a screen and in atribute tab i have defined the screen type as modal dialog box but  it is displaying previous screen screen is hide i want to display on the same screen as a popup.
    Thanks
    Narendra

    Hi Narendra,
    Try to trigger the popup once it is done with the previous action might be anything.
    i have shown one sample code where after i click on save button when the data is saved successfully
    after that it has to trigger me a popup asking for conformation for the next action.
    A small piece of code
    INSERT INTO ZORMD1 VALUES WA_ZORMD1.
        IF SY-SUBRC = 0.
          G_LOCAL1 = 0.
          MESSAGE S000.  " Data saved successfully and immediately call the popup
    CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
            EXPORTING
      DEFAULTOPTION  = 'Y'
    TEXTLINE1 = 'SUCCESSFULLY SAVED'
              TITEL = 'POPUP FOR conformation'
             START_COLUMN         = 25
             START_ROW            = 10
            CANCEL_DISPLAY       = 'X'
           IMPORTING
    ANSWER  = G_PRINT
    IF G_PRINT = 'J'.
    PERFORM PRINT_OUT.
    ENDIF.
    Do the modification according to your requirement.
    Cheers!!
    VEnk@

  • How to Display Selection Screen on Container.

    Hi
    My Requirement is I need to create one Module Pool and inside this Module Pool. I need to display one Selection Screen through Container.

    The easiest way is to define your selection screen in the TOP include of your module pool.
    Then call the selection screen.
    Selection Screen
    selection-screen begin of screen 1010 as window title text-001.
    selection-screen begin of block b1 with frame title text-002.
    parameters: p_vornr type resb-vornr,
    p_refno(20) type c,
    p_plnid type zplcfg-plnid as listbox visible length 20,
    p_sorts type c as listbox visible length 20.
    selection-screen begin of line.
    selection-screen comment (20) text-004.
    selection-screen position 33.
    parameters: p_order as checkbox default 'X'.
    selection-screen end of line.
    selection-screen end of block b1.
    selection-screen end of screen 1010.
    Now call the selection screen.
    call selection-screen 1010.
    if sy-subrc = 0.
    perform get_production_orders.
    perform process_orders.
    endif.

  • How to display a report in a container

    Hello All,
    There are 2 scenarios:-
    1) On left side navigation panel, I have a tree control. On double click on a node of a tree, I want to display a "report output" on the right panel. I have created the left panel and right panel by splitting the main custom container using splitter control. But I am not able to submit a report output on double click event of tree node as I dont know how to specify the parent container for the report.
    2) I want to divide the custom container into 4 equal parts. Then each part should display four reports which are output of 4 different programs.
    Kindly help me out with his issue.
    Needless to say that points will be awarded
    Thanks n Regards,
    Abhishek

    Hi Abhishek,
    you can't run a program in an container. That's not possible. But you can handle your requirement using one of the following ways:
    Way 1:
    Call the program in the double click event handler method by using the the statement e.g. submit and return. The program is then called in a separate screen(not in the container).
    Way 2:
    Copy the functionnality of the program in e.g. function module(FM). This FM gets the input parameters, processes the input and returns the results. The results are displayed e.g. in an ALV Grid. The steps getting the display results and setting the display data for the ALV are handled in the double click event handler method.
    Best Regards, Edemey

  • How to display selection screen of logical database on a screen

    Hi Experts,
    I create a screen 100, how do I display a selection screen of logical database on this screen.
    Thanks!
    Anthony

    hi
    if u are making HR report then goto attribute -> Logical database -> write PNPCE to create in build selection scree.
    regards,
    Abhilash

  • How to display full screen in landing page

    Hi,
    I'd like to create a landing page with own menu bar above, and open the iView in the frame.
    any idea how to do this ?
    ex.
    menu  My Company My Customer
    iView column 1                   iView column 1
    invoices                                  order
    Customers                              material
    when I click on the iView ex. Invoices, the iView shall display in full screen, but the main menu remain,
    layout shall look like this :
    menu  My Company My Customer
    invoice content
    XXXXXXXXXXXXXXXXXXXXXXXXX
    Kr,
    Ben.J.

    no, I have already use this but didn't solve the problem.
    it will open one column in full screen of the column1 iFrame.
    the layout became :
    Menu                      My company                                                  My Customer
                                 column1                                                              column2
    iView                   invoice                                                                 order
                               xxxxxxxxxxxxxxxxxxxxxxxx                              products
    intead of
    Menu                      My company                                                     My Customer
                                 column1                                                          
    iView                   xxxxxxxxxxxxxxxxxxxxxxxx                          
    Kr,

  • How to display Selection screen on Web for RSCRM_BAPI

    HI,
    For a customer we want to create the possibility to extract data from BI2004s to other systems, therefore we want to use RSCRM_BAPI.
    Thing is that we want to provide the possibility for them to enter selectioncriteria, but we don't want them to log on using the Gui.
    We want to use the VC to create an interface cockpit.
    question is how we can allow users to use selectioncriteria but:
    variants can not be used
    TVARV can not be used
    is there any way to capture the selection screen and to display it on the web/VC?
    Anyone ever did this?
    Tnx
    rogier

    Gili.
    thank you for your quick reply,.
    Reason why we are looking into the RSCRM_BAPI is due to the layout
    requirements of the extract. the recieving systems requires specific layouts. If we do this with the infospoke we will have to use a BADI to perfom complex transformations which will need additional knowlegde (of BADI's) of the support organisation whereas with RSCRM_BAPI they can adjust the query.
    and as far as i know you can not define the variable input via the web for open hub.
    Grtz
    rogier

  • How to display same screen with two different options!!

    Hi All,
    I have created a new entry form where user can enter a new record by selecting from combo select list or manua entry text fields. The same screen has to be used in two ways.
    New entry screen. and once user enetr data clik on sumbit it will insert into database.
    But when the user click on "View" button i need to display the same screen but with existing data insted of empty fields.
    How to achieve this in teh same screen, insated of creating duplicate screen.
    Thanks,
    Anoo..

    Hi,
    Try to use form on a report with report on page 1 and form on page 2.
    When the user clicks edit icons he will be directed to page to to see the values that are entered, make sure form is not updatable.
    If the user clicks create from page 1 then he will be directed to page 2 where he can enter data to insert new record.
    If you need in more detail, explain the scenario how you want, so that I can create an example for you.
    Thanks,
    Ramesh P.

  • How to display an HTML data which contains images in CR

    Hi Experts,
    I have a HTML file which contains images and text. I will store all this data in to the database as binary data(SQL server 2008). How can I display the whole  data in report.
    Thanks in advance,
    Salah

    hello all,
    most times when HTML is stored in a database there are many tags that will not work. the tags that will work are very basic and limited to the formatting types that you can do within a Text Object...so not much.
    if you need all of the HTML from a database interpreted, you need to activate pass-through html on your system. then if you put the field into a formula (one line in height) the HTML should be properly displayed. for more info on activating pass-through html see the beginning of the Users Guide for webelements that is in the main download [here|Crystal Reports webElements].
    please note that there are some major limitations in this method:
    1) you cannot print the html displayed when using the print button on the crystal reports toolbar as it will show up as text...you can try the browsers print functionality to see if that works for you
    2) you can not export the report and see the html displayed...it will show up as text
    3) pagination may not work for you...i.e. if you have an especially long section of html in your database, the page may not break where you want it to
    best of luck,
    jamie

  • How to display different screens when starting the Webdynpro app?

    Hi All,
    When user starting up the Webdynpro app, it will first check some value in the persistent layer. If the check result is ok, it will show the normal app screen to the user; if the check failed, it will show the error screen.
    Now I write the check function in the view controller, But I think it is not a good approach, because there are some initialize code in the component controller, so before my check function reached, the server will waste some resource to execute the initialize code in the component controller.
    Would anyone give me some hints on how to move the check function to component controller and then display the different screen to the end-user?
    Thans and Best regards
    Deyang

    Deyang,
    I've opened <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro">Web Dynpro</a> section on SDN and see the featuring article:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component Navigation, Explained</a>
    <i>New resources demonstrate <b>how to navigate to certain views from within Web Dynpro components</b>, and fill some gaps in the Sample Application and Tutorial matrix.</i>
    Should be exactly what are yuo looking for
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • How to display the screen in negative?

    Hi,
    Is it possible to easily toggle the display of the screen in negative?
    Someone showed to me that with a Mac he can do that with one shortcut and now I’m jealous, I want the same on my Arch
    My graphics card is a Nvidia (proprietary driver) and I use LXDE with OpenBox, but I don’t really know at which level I have to search.
    Thank you

    You might be able to do this with one of the fancier windows managers (compiz perhaps).
    http://www.google.com/search?hl=en&rls= … =&aql=&oq=

  • How to display 1st screen of movie file as a thumbnail image?

    Hi.
    I have a site that allows registered users to upload a video
    file.
    I would like to display the 1st screen shot from the video
    file as a
    thumbnail image for the file (like YouTube).
    Is there any way of automating this as part of the file
    upload or will I
    have to manually create the thumbnail for each video file?
    Thanks.
    Regards
    Nath.

    I was thinking about this issue some more and realized an error in my thinking. For some reason I believed that when ecards were activated they played right "within" the image within the body of the email that the user clicked on, but now i remember that after the click the movie opens in another window then plays. I've been able to publish the swf file with one of the jpg's in the file. Now i would like to somehow use that jpg, or any image for that matter, as a springboard to the swf flash file (that would play in a new window) without having to create a hyperlink to the swf file. I would like the "open swf and play" command as well as the swf file to "live" within the image in the email so that when a user clicks on the image, a separate window opens and the swf plays. Can this be done?

  • I use iwires to connect macbook to lg tv to watch netflix.How do I increase screen size on tv.I have tried display options on settings- not working

    I use iwires to connect macbook to lg tv to watch netflix.How do you increase screen size on rv.I have tried display settings ,but not working

    I would guess that the HDMI port on your mac is for output only - no input, and that's what your'e attempting to do when you attach the mac to your xbox. I looked in Mactracker and it lists the HDMI port as video output for both the 13" Retina MacBook Pro and the 15" Retina MacBook Pro (your post didn't say which one you have), so looks like that is the issue..

Maybe you are looking for

  • Problem in getting data

    Hi, When I give the below query at SQL prompt. Iam getting an error "ORA-00932: inconsistent datatypes: expected NUMBER got LONG". SqlExport=`sqlplus -s username/password@databasename << EOF spool test1.txt; set linesize 32767; set PAGESIZE 0 space 0

  • Issue with latest Flash Player version when replaying videos

    I am using an older version of JWplayer "5.10.2295" in a lot of sites and it was working fine so far. Since the latest version of Flash Player came out the videos can't be played a second time on any browser on Windows. It is working fine for me on M

  • Reg: Seeburger BIC Mapping Designer

    We are using BIC to resolve hierarchy issue.. <u>As you know we can not pasre more than 2 hierarchy levels in XI.</u> we have a text file which contains all the records in one row.. <Recordset>     <Record00>  1-unbounded          <Field>          <F

  • My MCP 13'' have problem about speaker,i want to change new speaker ,how i can do it ?

    Hello! I have a Macbookpro 13'' buy 2010 year.Because Speaker of Macbook is Broken.Now i want to change to new speaker.Im leave in Ha Noi,Viet Nam.Plz help me , where i can to buy new speaker for my macbook pro ... Thanks you so much. Plz contac to m

  • Looking for PO_NUMBER against PROJECT_ID in Apps

    Hye Guys, I am trying to find PO_NUMBER against PROJECT_ID, for this purpose one view is available but it is also not showing the data PA_EXPEND_ITEMS_ADJUST2_V Thanks in advance for your help, if possible the please reply on my personal mail id [ema