Moving data from a transction to a structure.
I need to move data from VA01 Transction to a structure that I have created.
When the user enters data into VA01 transction some fields of VA01 transction has to be moved into a structure.
I guess i need to use some move commands but not sure of how would i do it.
A sample code on this would be very helful.
Thanks in Advance.
Vivek Myadam replied
You may declare the structure in the include as
But VBAK-ERDAT represents data from database. I suppose you need to move data from internal table to the structure.
Move itab-ERDAT to Z_INPUT-ZERDAT
Z_INPUT-ZERDAT = itab-ERDAT
Hope this helps.