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

Dic/program fields not getting ?

Former Member
0 Likes
3,162

hi everybody,

        currently iam using module pool i have declared an internal table with some fields in my program and in the layout of the screen iam clicking the dic/program fields and giving the name of internal table which i declared in the program and iam clicking the button get from program but iam unable to get those fields can anybody help me...

thanks in advance

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
2,196

You cannot bring the internal table in module pool declared without occurs. You have to use your work area name( declared globally ) in table control.

14 REPLIES 14
Read only

Former Member
0 Likes
2,196

In layout when ur clicking the dic/program fields  there two options are there

1)from program

2)from data dictionary

select from program ur problem will be resolved.

Read only

0 Likes
2,196

This message was moderated.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,196

Did you activate your program before calling the wizard, and did you define the internal table as a global variable (TOP include) ?

Regards,

Raymond

Read only

0 Likes
2,196

aivated my program before calling the wizard,but following error coming

but if declare internal table with 'occurs 0' statemet following error is not comming,

if i declare    data: wa type struc,

                                  itab type standard table of struc.

following error is comming .

Read only

0 Likes
2,196

Hi,

Is your internal table globally declared meaning accessible anywhere in the program? Also unable to open the above picture, can you tell what exactly is the error?

Read only

Former Member
0 Likes
2,196

yes internal table declared globally,

this internal table i am bringing into se51 screen painter, but it is not comming

error;the field itab does not exist in(genarated version of)program ZTRO12

Read only

Former Member
0 Likes
2,196

Hi SAP ABAP,

  • Declare your internal table above the PBO and PAI modules in the module pool program.
  • When you are navigating from your flow logic to module pool program, your internal table should be at the start of this program. In this way you can call in your layout.

Regards

VRVS Veguru

Read only

0 Likes
2,196

->i created program of type 'M' in se38 with name ztro12,

->created internal table in ztro12 program

->activated.

->same ztro12 created in se51 with screen num 1000.

->after i clicked layout tab

->clicked "dictinary/program fields window f6" in the layout

->enterd internal tabl in the field "table/field name" clicked on get from program

->but interal table fields are not coming at bottom empty space

->warning pop up box is coming with message:the field itab does not exist in(genarated version of) program ztro12

Read only

0 Likes
2,196

are internal table 'itab', work-area 'wa' and structure 'struc'declared inside 'INCLUDE ztro12'.    " TOP INCLUDE - global data ?

Regards,

Khushboo

Read only

0 Likes
2,196

yes, declared but with out creating include program.:)

Read only

0 Likes
2,196

Then its not global make it global by declaring in TOP INCLUDE.

Read only

0 Likes
2,196

i dont want to declare any speical include program for that is that 'internal table' declaration , it that 'internal table' available throguht out the program or not?

Read only

0 Likes
2,196

Hi!

I remember some time back, i was making a module pool with more than 1 screen and i forgot to make a TOP INCLUDE. Just to make sense, i declared my variables at the top of my program,, assuming that it will be global (since i declared my variables at the top and before i called them), so logically its fine as per procedural programming. But it wouldnt work that way. If you can then create a top include. Else copy the screen elements and make a new program, and right at the beginning create a top include. Copying would just take extra 10-15 mins max.

Best Regards,

Khushboo

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
2,197

You cannot bring the internal table in module pool declared without occurs. You have to use your work area name( declared globally ) in table control.