ā2013 Apr 16 6:46 AM
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
ā2013 Apr 17 6:53 AM
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.
ā2013 Apr 16 7:16 AM
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.
ā2013 Apr 16 7:37 AM
ā2013 Apr 16 7:20 AM
ā2013 Apr 16 7:34 AM
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 .
ā2013 Apr 16 8:28 AM
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?
ā2013 Apr 16 8:34 AM
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
ā2013 Apr 16 9:01 AM
Hi SAP ABAP,
Regards
VRVS Veguru
ā2013 Apr 16 9:11 AM
->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
ā2013 Apr 16 9:30 AM
are internal table 'itab', work-area 'wa' and structure 'struc'declared inside 'INCLUDE ztro12'. " TOP INCLUDE - global data ?
Regards,
Khushboo
ā2013 Apr 16 10:47 AM
ā2013 Apr 16 11:20 AM
Then its not global make it global by declaring in TOP INCLUDE.
ā2013 Apr 16 1:04 PM
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?
ā2013 Apr 16 3:47 PM
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
ā2013 Apr 17 6:53 AM
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.