‎2007 May 17 9:45 AM
This is a two part exercise...
1. Complete ABAP program zstudent_registration. The program will display the first level list. The list consists of fields:
<i>course_id
course_name
course_type
programme </i>
(The records come from the database table zshafeek_course.)
2. The second level list consists of students registered for a course selected from the first level list. The tables involved is zshafeeek_student_registered.
The fields in the zshafeek_student_registered are:
<i>course_id
student_id
student_name
student_major</i>
The fields that need to be displayed on the list are:
<b> student_id
student_name
student_major</b>
(List the modifications with its ABAP statements required in program zstudent_registraton in order to generate the detail list).
Ive already done it, just need to compare it with someone else's for correctness' purposes...
Any help?
‎2007 May 18 6:43 AM
‎2007 May 18 6:47 AM
Hi Adam,
Sorry to tell you am not clear about your requirment.
Regards
Avi
‎2007 May 18 6:52 AM
The problem is basically about creating two structures and displaying them in a list according to the requirements specified...
‎2007 May 19 2:13 AM
‎2007 May 19 2:18 AM
I got ur point and everything looks good with respect logic..
Now you want to display header level and item level type list.
Then use Example program,you will get good idea in ALV.
Program : BCALV_TEST_HIERSEQ_LIST
Main FM : REUSE_ALV_HIERSEQ_LIST_DISPLAY
if you want to display in normal way ,then use Internal table events
AT first
endat
at new
enat
at end of
endat.
at last
endat.
Reward Points if it is useful
Thanks
Seshu
‎2007 May 19 3:41 AM
Thanks Seshu, but what Im lookin for is the actual code ABAP required to solve that problem
Adam
‎2007 May 19 3:53 AM
Yes ,try to implement some custom transaction to get results based on ur requirement.
Reward Points if it is useful
Thanks
Seshu