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
1,721

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

12 REPLIES 12
Read only

Former Member
0 Likes
1,433

Hi,

Try to Activate the whole program (including the screen) and then try again.

Ernesto.

Read only

0 Likes
1,433

Hi

i have activated the whole program it is giving a pop up showing the field xxxx does not exist in (the generated version of) program yyyyy

note xxxx is the internal table and

yyyy is the program name

Read only

0 Likes
1,433

Hi,

Then Create a Structure in SE11 containing the same fields of your internal table and use it in the program. You'll then see the fields.

Regards,

Ernesto.

Read only

0 Likes
1,433

In your program declare internal table correctly, problem seems to be with declaration only.

I suggest declare your internal table like this:

data: i_tab TYPE STANDARD TABLE OF mara.

Read only

Former Member
0 Likes
1,433

You Get DICTIONARY FIELDS from that option.And not your local internal table fields.

Only tables Defined in Data Dictionary SE11 can be used there.NOT Internal Tables .

Read only

Former Member
0 Likes
1,433

HI,

Just log off and re-login once again and check it.

Regards,

Dhina..

Read only

Former Member
0 Likes
1,433

i dint solve my problem please help

Read only

0 Likes
1,433

Create the screen elemnets manually.

Or if you have a lot of fields, goto se11 and create the structure there and use it here.

Or if you are referring to standard table fields, Select them individually by providing that standard table name.

you DONOT refer an INTERNAL table there!!!

Read only

0 Likes
1,433

In SE11 Create a Structure ZSTRUCTURE with the fields of your Internal Table.

Then Write the Following Declaration:


TYPES: begin of ty_table.
INCLUDE TYPE ZSTRUCTURE 
TYPES: end of ty_table.

DATA: Gt_table type table of ty_table,
            gs_table type ty_table.

Activate the program and then try again.

Ernesto.

Read only

0 Likes
1,433

Hi,

better way to Create a Structure in SE11 containing the same fields of your internal table and use it in the program.

Regards,

Dhina..

Read only

Former Member
0 Likes
1,433

hi sir,

you haven't given the field in the correct format i think it would be a syntax error so the problem would in where statement .so you give according to the parameter or selection screen . so you error will be solved

thanking you

Read only

Former Member
0 Likes
1,433

Hi,

Try out not clicking the option from Dictionary,

Basically the Dictionary Fields are something which are the DDIC Objects and the fields which you have declared in you program exist only in that session.

the Fields and their definition and declaration exist until the Instance of the program is present in the memory.

But considering the field MATNR is a Standard SAP DDIC Field MARA_MATNR.

In the above scenario we choose the option of Get from Dictionary

Normally if you want to use the field of an internal table dont choose the option get from Dictionary

Try out and revert for further clarification.

Thanks

Sri