Hi
I want to display a heading like JAN-06 and under that i want to display sub headings lik EE ER .
I used
form top_of_page.
clear wa_header.
wa_header-typ = 'H'.
wa_header-info = 'JAN-06'.
append wa_header to i_header.
endform.
its displaying,but i its displaying at first..i want in the middle ..
i already declared subheadings in fieldcatalog,now i want that JAN-06 top of those sub headings.
Its very urgent and can anyone give suggestion plz
hi rk,
look this is the structure of wa_header.
Header table for top of page
types: begin of slis_listheader,
typ(1) type c, " H = Header, S = Selection, A = Action
key(20) type c,
info type slis_entry,
end of slis_listheader.
so there is no option for make it centre.
so technically its not possible.
rgds
anver
if hlpd pls mark points
hi
good
try out like this
MODULE user_command_XXXX INPUT. (XXXX is screen no.)
CASE ok_code.
WHEN 'P--'.
CLEAR ok_code.
PERFORM paging USING 'P--'.
WHEN 'P-'.
CLEAR ok_code.
PERFORM paging USING 'P-'.
WHEN 'P+'.
CLEAR ok_code.
PERFORM paging USING 'P+'.
WHEN 'P++'.
CLEAR ok_code.
PERFORM paging USING 'P++'.
&----
*& Form PAGING
&----
Form to do scrolling for screen XXXX
----
>CODE OKCODE value (P, P-, P, P+ )
----
FORM paging USING code.
DATA: i TYPE i,
j TYPE i.
CASE code.
WHEN 'P--'. <table control name>-top_line = 1.
WHEN 'P-'.
<table control name>-top_line =
<table control name>-top_line - line_count.
IF <table control name>-top_line LE 0.
<table control name>-top_line = 1.
ENDIF.
WHEN 'P+'.
i = <table control name>-top_line + line_count.
j = <table control name>-lines - line_count + 1.
IF j LE 0. j = 1. ENDIF.
IF i LE j.
<table control name>-top_line = i.
ELSE.
<table control name>-top_line = j.
ENDIF.
WHEN 'P++'.
<table control name>-top_line =
<table control name>-lines - line_count + 1.
IF <table control name>-top_line LE 0.
<table control name>-top_line = 1.
ENDIF.
ENDCASE.
ENDFORM. " PAGING
thanks
mrutyun^
Add a comment