2014 Oct 01 8:51 AM
Hi Experts ,
I have already displayed report for collection .Below that i need to display summary of the report
on same screen.How can i make it?
STASTICAL REPORT | ||
From …………….. TO…………………….. | NAME : | |
| AMOUNT | |
TOTAL COLLECTION | =Total Number of entries in BELNR field column | =Total of WRBTR with respect to these columns |
TOTAL RECEIPT CANCELLED | =Total Number of entries in STBLG field column | =Total of WRBTR with respect to these columns |
NET COLLECTION | Nil | = TOTAL COLLECTION- TOTAL RECEIPT CANCELLED |
Hi Experts ,
I have already displayed report for collection .Below that i need to display summary of the report
on same screen.How can i make it?
STASTICAL REPORT | ||
From …………….. TO…………………….. | NAME : | |
| AMOUNT | |
TOTAL COLLECTION | =Total Number of entries in BELNR field column | =Total of WRBTR with respect to these columns |
TOTAL RECEIPT CANCELLED | =Total Number of entries in STBLG field column | =Total of WRBTR with respect to these columns |
NET COLLECTION | Nil | = TOTAL COLLECTION- TOTAL RECEIPT CANCELLED |
2014 Oct 01 9:03 AM
Add one more custom container and pass other table & fieldcatlog to that container. You can also also, split existing custom container.
Below classes are helpful:
cl_gui_container
cl_gui_splitter_container
Sample code:
data: go_parent_top type ref to cl_gui_container,
o_splitter type ref to cl_gui_splitter_container,
go_parent_grid type ref to cl_gui_container,
gv_dyndoc_id type ref to cl_dd_document,
go_custom_container type ref to cl_gui_custom_container,
go_grid type ref to cl_gui_alv_grid.
CREATE OBJECT gv_dyndoc_id
EXPORTING
style = 'ALV_GRID'.
CREATE OBJECT go_custom_container " CC_1 is custom container name on screen
EXPORTING
container_name = 'CC_1'.
* Create Splitter for custom_container
CREATE OBJECT o_splitter
EXPORTING
parent = go_custom_container
rows = 2
columns = 1.
CALL METHOD o_splitter->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = go_parent_top.
CALL METHOD o_splitter->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = go_parent_grid.
* Set height for g_parent_html
CALL METHOD o_splitter->set_row_height
EXPORTING
id = 1
height = 23.
CREATE OBJECT go_grid
EXPORTING
i_parent = go_parent_grid.
Regards,
Naveen
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |