2013 Oct 08 6:10 PM
Hi,
This is a question concerning internal table data access using an ABAP Debugger Script .
Lets say I have a program that has a table.
data lt_document type table of bkpf .
I want to create a debugger script that will break if any of the records in lt has a blart value of 'SA' ( ls-blart = 'SA' ).
METHOD script.
data lt type table of bkpf .
data ls type bkpf .
" some kind of script wizard access
" routine to populate lt
loop at ls into lt .
if ls-blart = 'SA' ,
me->break( ).
endif .
endloop .
ENDMETHOD.
How do I read the table lt_document into lt ?
Thanks...
2013 Oct 08 8:38 PM
can you now pass the table to the method script?
regards,
swanand
2013 Oct 08 11:36 PM
Hi,
May be possible by the watch-point reached option.
Cheers,
Arindam
2013 Oct 09 4:01 AM
Hi Mike McInerney,
See this links...
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/49/2db60934e414d0e10000000a42189b/content.htm
http://scn.sap.com/thread/3354051