‎2010 Feb 05 5:54 AM
hi masters,
i have a statement like this.
MODIFY (p_table) FROM TABLE <ntab>.
now i have values in <NTAB> so how can i read this can anyone tel me pls?
thank you,
pasala.
‎2010 Feb 05 7:37 AM
Hello Frn ,
read the given bewlo link ...it will help you to solve your problem .
http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb387a358411d1829f0000e829fbfe/content.htm
Thanks and Regards...
Priyank Dixit
Edited by: priyank dixit on Feb 5, 2010 8:39 AM
‎2010 Feb 05 7:37 AM
Hello Frn ,
read the given bewlo link ...it will help you to solve your problem .
http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb387a358411d1829f0000e829fbfe/content.htm
Thanks and Regards...
Priyank Dixit
Edited by: priyank dixit on Feb 5, 2010 8:39 AM
‎2010 Feb 05 8:47 AM
Hi pasalabasker,
this code will help you.
FIELD-SYMBOLS <lt_any> TYPE ANY TABLE.
FIELD-SYMBOLS <ls_any> TYPE ANY.
DATA:
lr_data TYPE REF TO data,
ls_mara TYPE mara,
lt_mara TYPE STANDARD TABLE OF mara.
SELECT *
FROM mara
INTO TABLE lt_mara
UP TO 10 ROWS.
ASSIGN ('LT_MARA') TO <lt_any>.
CREATE DATA lr_data LIKE LINE OF <lt_any>.
ASSIGN lr_data->* TO <ls_any>.
LOOP AT <lt_any> ASSIGNING <ls_any>.
MOVE-CORRESPONDING <ls_any> TO ls_mara.
WRITE: ls_mara-matnr, /.
ENDLOOP.
regards Marcel
‎2010 Feb 05 9:13 AM
hi Marcel,
thank you am almost their.
loop at <ntab> ASSIGNING <wa_ntab>.
MOVE-CORRESPONDING <wa_ntab> to lr_data.
ENDLOOP.
i have looped and lr_data should be like my <NTAB> when i see the declaration of <NTAB> it is declared as like this
field symbol : <ntab> TYPE STANDARD TABLE.
so how can i make the lr_data like <NTAB>.
your input is really appriciated.
‎2010 Feb 05 9:15 AM
‎2010 Feb 05 11:14 AM