2013 Nov 19 10:03 AM
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.
2013 Nov 19 9: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,
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.
2013 Nov 19 10:19 AM
2013 Nov 19 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..
2013 Nov 19 10:43 AM
2013 Nov 19 7:05 PM
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!
2013 Nov 19 7: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.
2013 Nov 19 9: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,
2013 Nov 29 4:02 PM
HI David,
I have one query regarding Custom container???
Can we create the custom container in the tabstrip.??
because yesterday i was trying to create the container but its didn't allow me two create the container in the Tabstrip.
Regards.
Nishant Bansal.
2013 Nov 29 8:30 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |