Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How am i able to read a internal table in my debugger script?

Former Member
0 Likes
1,881

In my script wizard i have different options and i already could read normal variables. Is it not possible to just read an internal table? i could even append something, but i just want to read the internal table, nothing more.

8 REPLIES 8
Read only

Former Member
0 Likes
1,670

Hi David,

Set  the session break point at the internal table loop it_itab and check for the internal table values by double clicking on the variable of wa_itab in the debugging mode(/h).

Hope it helps,

Thanks,

Sandeep

Read only

JanarthananE
Contributor
0 Likes
1,670

Hi David,

You can try table tool for reading internal table from debugger, refer the following link for how to read internal table from debugger script.

http://help.sap.com/saphelp_nw70ehp2/helpdata/en/49/2db60934e414d0e10000000a42189b/content.htm

Hope its useful for you.

Regards,

Jana

Read only

Former Member
0 Likes
1,670

u can read data by creating subroutines.please check below examples

http://wiki.sdn.sap.com/wiki/display/ABAP/Subroutines+And+Their+Use+In+SAPScript

http://wiki.sdn.sap.com/wiki/display/profile/External+Subroutines+in+SAP+Script

You can debug scripts by following ways

First u need to active debugging in scripts. then run the driver program.

First goto SE71 initial screen and enter the form name. Goto Menu Path Utilities --> Activate Debugger. and now u run the driver program. Now u get the script editor in debugging mode.

Secondly,

Program is RSTXDBUG.

Now go to SE 38 and enter ur Print Program name and execute the program.

Now you can debug the script Page wise and window wise.

Read only

Former Member
0 Likes
1,670

This isnt what i meant. I would like to write a script in the debugger itself and would like to read a table into the script.

Read only

Clemenss
Active Contributor
0 Likes
1,670

Hi David,

can you take a screenshot and say some words aboutyour 'script wizard' ? Never heard of that - and the other answers seemingly also have no idea.

Regards

Clemens

Read only

Former Member
0 Likes
1,670

You start the debugger and click on the "script" tab

Read only

0 Likes
1,670

Hi David,

You can read internal table using script wizard. Please find below screenshot for the same.

Read only

Former Member
0 Likes
1,670

This message was moderated.