Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from arbis82 on Dec 6 at 2:13 AM Hi Neal, In Include Z_OTC_TRANS_TRAFFIC_OUT, Form events, you declared the following constant: lc_formname_top_of_page TYPE slis_formname VALUE 'Z_TOP_OF_PAGE'. You need to create a new form in the Include with same name (Z_TOP_OF_PAGE). There add some code like: FORM Z_TOP_OF_PAGE. DATA :st_header TYPE SLIS_T_LISTHEADER, ls_header TYPE slis_listheader. CLEAR ls_header. ls_header-typ = 'H'. ls_header-info = 'ALV for something'. "--> Your text here APPEND ls_header to st_header. CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = st_header * I_LOGO = * I_END_OF_LIST_GRID = * I_ALV_FORM = . ENDFORM. "Z_TOP_OF_PAGE
| | | ---------------Original Message--------------- From: R. N. Wilhite Sent: Wednesday, December 05, 2012 11:03 AM Subject: What Have I Missed About Putting a Header On an ALV I have an ALV that is working well. I just can't get it to output a header. I followed the advice given: http://www.saptechies.com/report-header-report-footer-for-alv/ I didn't get anything printing in the header area. I enlisted Rob Phelan's help, but have gotten no further. I've place the code involved in full in my journal. The main program has 4 include programs. The relevant journal entries are: Z_OTC_TRANS_TRAFFIC_OUT, Z_OTC_TRANS_TRAFFIC_F01, Z_OTC_TRANS_TRAFFIC_SEL, Z_OTC_TRANS_TRAFFIC_TOP, Z_OTC_TRANS_TRAFFIC I know that there's a lot here, so I don't know if anyone can help me. But there it is. Help if you can and greatly appreciated. Totally understand if you can't... Neal | | Reply to this email to post your response. __.____._ | _.____.__ |