‎2006 Dec 04 11:04 AM
Hi Friends,
1.what is the difference betn end-of-page and end-of-selection?
2.how to add a gui status in a selection screen?
3.how to create a check box/option button in a list?
4.can you call a bdc program from a report? how?
Regards
Ravi.
‎2006 Dec 04 11:06 AM
1. <b>To define a page footer, use the END-OF-PAGE event.</b> This event occurs if, while processing a list page, the system reaches the lines reserved for the page footer, or if the RESERVE statement triggers a page break. Fill the lines of the page footer in the processing block following the event keyword END-OF-PAGE:
Syntax
END-OF-PAGE.
WRITE: ....
The system only processes the processing block following END-OF-PAGE if you reserve lines for the footer in the LINE-COUNT option of the REPORTstatement
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba04f35c111d1829f0000e829fbfe/content.htm
<b>END-OF-SELECTION</b>
This is the last of the events called by the runtime environment to occur. It is triggered after all of the data has been read from the logical database, and before the list processor is started. You can use the corresponding event block to process and format all data that the program has stored in sequential datasets, such as internal tables or extracts, during the various GET events.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9aca35c111d1829f0000e829fbfe/content.htm
For BDC:
Have a look at below link.
http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers
‎2006 Dec 04 11:06 AM
1. <b>To define a page footer, use the END-OF-PAGE event.</b> This event occurs if, while processing a list page, the system reaches the lines reserved for the page footer, or if the RESERVE statement triggers a page break. Fill the lines of the page footer in the processing block following the event keyword END-OF-PAGE:
Syntax
END-OF-PAGE.
WRITE: ....
The system only processes the processing block following END-OF-PAGE if you reserve lines for the footer in the LINE-COUNT option of the REPORTstatement
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba04f35c111d1829f0000e829fbfe/content.htm
<b>END-OF-SELECTION</b>
This is the last of the events called by the runtime environment to occur. It is triggered after all of the data has been read from the logical database, and before the list processor is started. You can use the corresponding event block to process and format all data that the program has stored in sequential datasets, such as internal tables or extracts, during the various GET events.
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9aca35c111d1829f0000e829fbfe/content.htm
For BDC:
Have a look at below link.
http://help.sap.com/saphelp_erp2005/helpdata/en/fa/097119543b11d1898e0000e8322d00/frameset.htm
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers
‎2006 Dec 04 11:11 AM
1.what is the difference betn end-of-page and end-of-selection?
end-of-page is an event of a report where u can write some data at the end of each page
end-of-selection is and event which says that the selection of data in the report is complete and ready to be displayed
3.how to create a check box/option button in a list?
data : chk(1).
write : CHK as CHECKBOX.
‎2006 Dec 04 11:13 AM
Hi,
Ans 1) end-of-page will trigger per each page at the end while printing the report.
But end-of-selection will trigger after start-of-selection.
Generally we use End-of-selection to output some data.
Ans4)
CALL TRANSACTION 'MM02'
USING IT_BDCDATA
MODE 'A'
UPDATE 'S'.Thanks,
Sreekanth
‎2006 Dec 04 11:17 AM
1.what is the difference betn end-of-page and end-of-selection?
end-of-page is an event of a report where u can write some data at the end of each page
end-of-selection is and event which says that the selection of data in the report is complete and ready to be displayed
3.how to create a check box/option button in a list?
data : check(1).
write : CHECK as CHECKBOX.
4.can you call a bdc program from a report? how?
U can call a BDC from a report...In report u will have data in final internal table..Now write a BDC using this data.
‎2006 Dec 04 11:18 AM
Hi
1. what is the difference betn end-of-page and end-of-selection?
A. End-of-page is the event which occurs at the end of each page, and where you can add your footer data.
End-of-selection is the event which is used to display the data which is selected from the database in to internal table in start-of-selection. This is the event where you can read the data.
3. how to create a check box/option button in a list?
A. Date c1 type c.
write:/ c1 as checkbox.
4. can you call a bdc program from a report? how?
A. Submit <Program Name of BDC>.
See to it that the program which you r calling is in active mode or not.
Regards
Haritha.
Message was edited by:
Haritha Ramayanam
‎2006 Dec 04 11:35 AM
1End-of-page is triggered at end of every page in a list and normally used to print page no. End-of-selection is the triggered at the end and is normally used for list processing and this also tells the system that there is going to be no database interaction ( not a rule) which system uses for optimization.
2. Type Set-pfstatus "pf". and double click on "pf" to forward navigate to menu painter or use tcode se41.
3. try this code
REPORT ZRSOLETT1.
DATA: check1 TYPE c VALUE 'X',
check2 TYPE c VALUE ' '.
WRITE: / check1 AS CHECKBOX, 'Checkbox 1',
/ check2 AS CHECKBOX, 'Checkbox 2'.
4. Use submit keyword. see f1 help for syntax
if found good please award some points.
regards,
Vishwas