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

Conversion of Internal table data into PDF format

Former Member
0 Likes
2,738

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

1 ACCEPTED SOLUTION
Read only

anversha_s
Active Contributor
0 Likes
969

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

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
Read only

Former Member
0 Likes
969

I think, It's not possible.

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

You have to create a smartform or Sapscrit.

Erwan

Read only

anversha_s
Active Contributor
0 Likes
970

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

Read only

Former Member
0 Likes
969

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

Read only

Former Member
0 Likes
969

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

Read only

Former Member
0 Likes
969

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

Read only

0 Likes
969

sorry

its not for u.