Skip to Content
author's profile photo Former Member
Former Member

Two ALV with two tabstrips

Hi all,

I need to implement two alv's in two tabstrips into a dynpro. Can anyone tell me how to do it? If you can include the flow logic i will appreciate it! Otherwise a manual that describe how to do it step by step.

Thanks in advance,

Farero.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Nov 19, 2013 at 09:51 PM

    Hi Victor, for to achieve your requiriment follow next steps:

    Create a tabstrip control using wizard(Create it with 2 tab):

    This step will create 2 tabs with 2 dynpros(Wizard Propose 101 and 102):

    Uncomment PBO for each dynpro

    Create status for each dynpro

    Create a Custom Control for each dynpro

    Try with this code:

    DATA: g_container2 TYPE scrfname VALUE 'BCALV_GRID_DEMO_0100_CONT2',

    grid1 TYPE REF TO cl_gui_alv_grid,

    g_custom_container TYPE REF TO cl_gui_custom_container.

    DATA: gt_outtab TYPE TABLE OF sflight.

    SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE gt_outtab.

    IF g_custom_container IS INITIAL.

    CREATE OBJECT g_custom_container

    EXPORTING

    container_name = g_container2.

    CREATE OBJECT grid1

    EXPORTING

    i_parent = g_custom_container.

    CALL METHOD grid1->set_table_for_first_display

    EXPORTING

    i_structure_name = 'SFLIGHT'

    CHANGING

    it_outtab = gt_outtab.

    ENDIF.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 19, 2013 at 10:40 AM

    Hi Victor Cornelio

    Create Screen and create tabstrips and write screen program in PBO & PBI.

    For more assistance see this link http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=38772

    Please search in SCN before post..

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 19, 2013 at 10:43 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi developer, all!

      I have a little problem. In your post, shows the following sentence:

      How can I do that?? Do I have to create dynpros (9100 and 9200) and drag the Custom Container into them?? or I must create a dynpro with a subscreen, if so, how can I name this dynpro?. Could you explain me the best way as you can please. I don't have clear this part. I'd appreciate if you could explain me how can I do this part of my issue.

      Thanks in advance!

      screenshot.png (12.3 kB)
  • Posted on Nov 19, 2013 at 07:27 PM

    Hi Victor,
    Refer the Link provided by Ramesh T,

    it seems that document it is only made for you. I also read that document its really good and fulfill your requirement also.

    Thanks.

    Nishant Bansal.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 19, 2013 at 10:19 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 29, 2013 at 08:30 AM

    Thanks everyone, I could solve my issue!

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.