09-12-2008 8:28 AM
Hi ,
I have to map the screen fields of structure q0743 and some fields of infotype 0743 into an internal table.
Plz provide pointers in this regard.
TIA
09-12-2008 8:47 AM
Hi Priyanka,
first find out the table name where the infotype 0743 is in
there you can find the field name and data elements
now you create an internal table with the required fields and with required data types.
then collect the values from that tabel and append them to your internal table
Regards,
Chinna
09-12-2008 9:51 AM
Hi,
The infotype table is PA0743 i have to get some values of fields from this table and some values from the screen fields which of the type of the structure Q0743 into an internal table.
Have to get the values from Pa0743 and screen field values of structure Q0743.
Plz help me!!!
09-12-2008 10:02 AM
Hi,
Try this
Get the infotype values in the internal table.
Then loop at the internal table itab. There may be key field which links both the structure and the itab values.
loop at itab into wa.
read table itab2 into wa1 where f1 = wa-f1.
if sy-subrc eq 0.
wa-<fieldname> = wa1-f2.
.............
modify itab transporting <fieldname, ...> where f1 = wa-f1.
endif.
endloop.
Sharin.