Application Development 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: 

Conversion of Internal table data into PDF format

Former Member
0 Kudos

How to convert an internal table data into PDF format. It is not from SAP script or smartforms.

1 ACCEPTED SOLUTION

anversha_s
Active Contributor
0 Kudos

hi,

chk this.

<b>https://forums.sdn.sap.com/click.jspa?searchID=238005&messageID=2117514</b>

u can export the internal table to memory id.

Submit a zreport in background mode.

IN the zreport import the itab and display the itab.

It creates a spool.

Get the spool number and use the FM:

CONVERT_ABAPSPOOLJOB_2_PDF.

rgds

Anver

6 REPLIES 6

Former Member
0 Kudos

I think, It's not possible.

For PDF, you need to have a layout...

You have to create a smartform or Sapscrit.

Erwan

anversha_s
Active Contributor
0 Kudos

hi,

chk this.

<b>https://forums.sdn.sap.com/click.jspa?searchID=238005&messageID=2117514</b>

u can export the internal table to memory id.

Submit a zreport in background mode.

IN the zreport import the itab and display the itab.

It creates a spool.

Get the spool number and use the FM:

CONVERT_ABAPSPOOLJOB_2_PDF.

rgds

Anver

Former Member
0 Kudos

HI Nair...

first try to create a spool for the internal table data. Then use RSTXPDFT4 pgm to execute the spool. This will gives u the internal table data in to pdf format.

regards

Arjun

Former Member
0 Kudos

Hi Binu,

If you look at this thread you will have an idea, why it is difficult to get a PDF output from ABAP

https://forums.sdn.sap.com/click.jspa?searchID=238293&messageID=164604

Former Member
0 Kudos

hi ,

time exceeds because there is large data present in the cdhdr table, i think its cluster table. use function module to reset the runtime it helps u.

CALL FUNCTION 'PROGRESS_INDICATOR'

EXPORTING

I_TEXT = ' Fetching Info records'.

it resets the runtime to initial value.

try this it helps u.

regards

siva

0 Kudos

sorry

its not for u.