on 01-09-2008 1:06 PM
Please explain with a small example of using REUSE_ALV_HIER_SEQ function module?
hi khadeer,
In Hierarchical display we will display the output in the Header and item level.
While building the field catalogue we will build at header and item level i.e. we will call the function module REUSE_ALV_FIELD_CATELOGE_MERGE twice one for header and the other for item.
We will use the function module REUSE_ALV_HIERSEQ_LIST_DISPLAY.
This also have the similar attributes but some extra things we have to pass in this are key information i.e. the relation between the header and item table under the parameter is_keyinfo .We need to pass two tables under tables parameter in hierarchical display i.e. header and item tables instead of a single table in the list and grid display. Data should also be selected into these tables accordingly.
pls reward points if helpful,
shylaja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Khadeer.
You can go through the program BALVHD01
And if you need some other programs just click on where used list on this FM in SE37 then you can see the list of Programs in which it is used
Regards Rk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in continuation to that,
i have the small example for list display...
The following FM is used to display the data in the internal table in the form of ALV
LIST. The Event table is only required if event handling is being done.
CALL FUNCTION 'RESUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = W_REPID "of TYPE SY-REPID and
" value SY-REPID
IS_LAYOUT = W_LAYOUT "of TYPE SLIS_LAYOUT_ALV
IT_FIELDCAT = IN_FCAT "of TYPE SLIS_T_FIELDCAT_ALV
I_SAVE = W_SAVE "of TYPE C ,values A ,U ,' '
IT_EVENTS = IN_EVENTS " of TYPE SLIS_T_EVENT
TABLES
T_OUTTAB = IN_DATA "internal table conatining data
"corresponding to IN_FCAT
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC NE 0.
MESSAGE ENNN .
ENDIF.
pls reward points if helpful,
shylaja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.