Application Development 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: 

IMPORT DYNPRO problem

Former Member
0 Kudos
260

HI,

I'm using the below statement to fill the these internal tables H_588m, IMP588m, e_588m m_588m .

IMPORT DYNPRO H_588M IMP588M E_588M M_588M ID W_DYNPRONAME.

But iits enable fill the data.

is tehre any conditions r there before using this statement?

Plz do the needful.

Thanks,

Srini

3 REPLIES 3

MarcinPciak
Active Contributor
0 Kudos
94

Make sure your structures are correctly typed and you are passing correct screen number in ID.

For this refer http://members.tripod.com/sap_abap/import02.htm

Regards

Marcin

0 Kudos
94

DATA BEGIN OF m_588m OCCURS 1. "Screen Parameters

INCLUDE STRUCTURE d023s.

DATA END OF m_588m.

DATA BEGIN OF e_588m OCCURS 1. "Screen Flow Logic

INCLUDE STRUCTURE d022s.

DATA END OF e_588m.

DATA BEGIN OF imp588m OCCURS 100. "screen Fields

INCLUDE STRUCTURE d021s.

DATA END OF imp588m.

DATA BEGIN OF h_588m. "System Table (Screen Sources)

INCLUDE STRUCTURE d020s.

DATA END OF h_588m.

i was declared like above.

its not solved. plz do the needful.

0 Kudos
94

This seems to be a matter of incorrect program field typing within structure for dynpro ID. This is the working one


DATA: BEGIN OF gs_dynpro_descr,
prog  type PROGNAME,
dynpro(4) type n,
END OF gs_dynpro_descr.

DATA: h type d020s,
      f type d021s OCCURS 0 WITH HEADER LINE,
      e type d022s OCCURS 0 WITH HEADER LINE,
      m type d023s OCCURS 0 WITH HEADER LINE.

gs_dynpro_descr-prog = 'Z_TEST5'.
gs_dynpro_descr-dynpro = '0100'.

IMPORT DYNPRO h f e m ID gs_dynpro_descr.

Regards

Marcin