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

Using table control wizard in Screen Painter

Former Member
0 Likes
1,212

Hi forum,

I have got one short question about DYNPRO - Development.

I would like to generate a table control by wizard. A table for the control is generated in the TOP - Include using the following code:

TYPES:
    BEGIN OF i_equnr,
      equnr TYPE equi-equnr,
    END OF i_equnr.
  DATA: gt_equnr TYPE TABLE OF i_equnr WITH HEADER LINE.

The wizard shows the gt_equnr - table in the selection for internal tables, but everytime I try to step further, he comes up with the hint STB_WZ_WIZARD043: "Please specify a work area for the table or a table with header line"?!?

Can anyone tell me what the wizard expects?

Thanks in advance,

Dennis

6 REPLIES 6
Read only

Former Member
0 Likes
952

Hi

It seems the wizard can't see the headerline of your internal table: you make sure the program is activated before running the wizard

Max

Read only

0 Likes
952

Hi Max,

thanks for the response.

The whole function pool is shurely activated.

Any other hints?

Thanks,

Dennis

Read only

lijisusan_mathews
Active Contributor
0 Likes
952

This is because the program (your TOP) or the screen is not activated.. Close the screen.Activate all objects of your program. Now go back to your screen and try adding the table control. It should come now.

Read only

Former Member
0 Likes
952

Hi,

I don't think this is a problem of activation...

I guess your TOP include is specified after your call screen... Just move it before the statement CALL SCREEN. This should do the trick!

Kr,

Manu.

Read only

0 Likes
952

Hi,

I have solved my problem by pushing the table control into a seperate subscreen. I cannot tell you why the creation was not successful on the dynpro itself, but I don't think any of your suggestions could be the answer.

Thanks for your hints anyway!

Read only

0 Likes
952

Hi Dennis,

Its right shifting table control to separate sub screen or place a BOX around it would solve the problem.

Thanks

Prasanth