Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Simple two level structure

Former Member
0 Likes
842

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?

7 REPLIES 7
Read only

Former Member
0 Likes
822

Any help with this?

Read only

0 Likes
822

Hi Adam,

Sorry to tell you am not clear about your requirment.

Regards

Avi

Read only

0 Likes
822

The problem is basically about creating two structures and displaying them in a list according to the requirements specified...

Read only

0 Likes
822

Hope its clear now

Read only

0 Likes
822

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

Read only

0 Likes
822

Thanks Seshu, but what Im lookin for is the actual code ABAP required to solve that problem

Adam

Read only

0 Likes
822

Yes ,try to implement some custom transaction to get results based on ur requirement.

Reward Points if it is useful

Thanks

Seshu