cancel
Showing results for 
Search instead for 
Did you mean: 

Adding multiple rows to assignment block

merveguel
Participant
0 Kudos

Hello All,

What I need to do is to have a view similar like assignment block with 3 rows.

I have created a custom assignment block. As default, assignment block has only 1 row but what I need is 3.

I tried couple of sample codes but I am not sure that am on the right track.

Can I have those rows via assignment block or do I need to go with table view?


Any help would be appreciated.

Regards,

Merve

Accepted Solutions (0)

Answers (1)

Answers (1)

faisal_pc
Active Contributor
0 Kudos

Hi Merve,

You will get some inputs into this if you had searched in SCN.

I believe yours is an AET table view. If yes, put the following in your do_prepare_output.

me->mv_min_empty_lines = 3.


Thanks,

Faisal

merveguel
Participant
0 Kudos

Hello Faisal,

Thanks for your prompt reply.

It is an AET table view. I tried the given code, but it didnt work. Also had made lots of search but everytime ended up with code sample like;

IF_BOL_BO_COL~ADD


OR


IF_BOL_BO_COL~INSERT

From those weblinks;

BOL Programming - Basic Collection Operations - AbapLog

But none of them has worked.

hongyan_shao
Active Contributor
0 Kudos

For the parameter mentioned by Faisal, you may also look into the AET generated class which inherit CL_AXT_BASE_TABLE_VIEW, the method GET_OPTIONS

    ev_min_empty_lines =