2010 Sep 27 9:29 AM
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
2010 Sep 27 10:20 AM
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
2010 Sep 27 10:33 AM
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.
2010 Sep 27 11:01 AM
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