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

Internal Table contents - while debugging

Former Member
0 Likes
3,057

Is there any way to output (print/save) the contents of an internal table while in debug mode?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,347

Hi Janet,

This feature of downloading contents of internal table to excel is not there in 4.6C.

Regards,

Raj

18 REPLIES 18
Read only

Former Member
0 Likes
2,347

Hi,

You can save the internla table data to an excel file & then print out the excel if you want.

Read only

0 Likes
2,347

How can I do that while debugging a program in production?

Read only

0 Likes
2,347

Hi,

In debugging > GOTO (MENUBAR)> Display Object--> internal table --Enter internal table

--> then press XL(SAVE as EXCEL) button next to Search button on application tool bar.

Regards,

Lanka

Read only

0 Likes
2,347

Hi Janet,

In the de-bugging mode,you have an icon for excel in the tool bar.just select that & it will ask you the path.Check in the table tab.

Give the internal table name there & then press the excel icon.

Message was edited by: Phani Kiran Nudurupati

Read only

Former Member
0 Likes
2,347

Hi,

You can save internal table into XL and you can save it.

Path --> in debugging Select the internal table and press XL button.

Regards,

Lanka

Read only

Former Member
0 Likes
2,347

Hi,

You can save the contents of the Internal table into an excel sheet 4.7 Version of SAP. I am not very sure of the other older versions.

Anyway ... In the debug mode view the contents of the table by clicking the TABLES button in the Debug screen. Then click the button with an Icon as 'EXCEL' sheet icon. You can infact specify the lines that you want to transfer to excel sheet. This button appears only when you click the TABLES button.

Regards,

Vara

Read only

Former Member
0 Likes
2,347

Why would I not have the excel icon on my toolbar? I am in 4.6C.

Thanks so much.

Read only

0 Likes
2,347

Hi Janet,

You have to check for the excel icon on the table tab or table button,on the tool bar where buttons are there for 'Single Step(F5),Execute(F6),Return(F7) & Run(F8)'.

Read only

0 Likes
2,347

Hi,

I think this feature is avilable in 4.7.

Try this--> Right Click on internal table and check is there any command as SAVE as EXCEL sheet.

Regards,

Lanka

Read only

0 Likes
2,347

No. There is no option like that with the right click and it is not on the toolbar.

Does it appear that there is no ability to do this in version 4.6C?

Thanks everyone.

Read only

0 Likes
2,347

Hi,

Yes. It is avilable in 4.7. If your internal table data is not very huge then you may print them via hard copy or COPY by using CONTROL + Y ,CONTROL+ C and check.

Regards,

Lanka

Read only

0 Likes
2,347

Hi janet,

Check this..

After giving the internal table name,press <b>Ctrl+F11.</b>

Read only

0 Likes
2,347

Nothing happens.

Read only

Former Member
0 Likes
2,348

Hi Janet,

This feature of downloading contents of internal table to excel is not there in 4.6C.

Regards,

Raj

Read only

Former Member
0 Likes
2,347

Hi Janet, u can do this easily saving its content into an .xls file, but this feature is only available in the version 4.7 Enterprise, ok ?

Otherwise, i dont know if there's a data exportation method from the SAP Gui from 4.6 and older.

[]'s

Andre

Read only

Former Member
0 Likes
2,347

Hi,

During Debuggin Mode

In the menu bar click on -> Go to -> Display Data Object ->Structure Editor -> In the next screen Menu Bar ->Clik on Object -> Display full list.

Then in command filed you can put command %pc and download to available formats.

If this helps out, please award sutiable points and closed the thread.

Regards,

Irfan Hussain

Read only

0 Likes
2,347

Irfan,

Thank you so much. This is the answer. It worked perfectly!!

I am sorry I closed the thread and awarded the points already. Is there a way for me to award you the points?

This is terrific.

I thank you again.

Janet

Read only

Former Member
0 Likes
2,347

hi janet ,

like in 4.7 ee u hav this feature of downloading the whole content into excel sheet .

in 4.6 c this option is not there.

so if ur version is 4.6c then i suppose there is no option .

regards,

vijay.