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

ABAP HR

Former Member
0 Likes
808

Hi experts,

I want to convert Payslip from HR forms to PDF file. Is it possible ..? if it is possible can u please explain ?......

Regards,

Murugan Arumugam.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
768

Give print,

So that a spool request will get created.

Go to tr SP02.

Find out the spool no.

Then goto program RSTXPDFT4.

Execute it and enter the spool no.

So that ur HR form will be converted to PDF file.

<b>

Pls reward if helpful.</b>

Give print,

So that a spool request will get created.

Go to tr SP02.

Find out the spool no.

Then goto program RSTXPDFT4.

Execute it and enter the spool no.

So that ur HR form will be converted to PDF file.

<b>

Pls reward if helpful.</b>

5 REPLIES 5
Read only

Former Member
0 Likes
769

Give print,

So that a spool request will get created.

Go to tr SP02.

Find out the spool no.

Then goto program RSTXPDFT4.

Execute it and enter the spool no.

So that ur HR form will be converted to PDF file.

<b>

Pls reward if helpful.</b>

Read only

0 Likes
768

Hi

1)Use Function modile to do that.

CONVERT_PAYSLIP_TO_PDF

2)create spool no for your payslip.

pass this spool no to prog RSTXPDFT4 to get pdf output.

Sail

Read only

0 Likes
768

HI Sailaja Vadlamudi ,

Can u pls explain the import and export parameters for the function module

CONVERT_PAYSLIP_TO_PDF.

Thanks.

Regards,

Murugan Arumugam.

Read only

Former Member
0 Likes
768

hi murugan,

u have to create a stucture like PC407 and pass it to the export parameter P_info.

And in the import parameter u need to declare a field with xstring for pdf_content

and pdf_fsize like integer.

pls erward if helpful.

Read only

Former Member
0 Likes
768

Hi all,

Thanks to all.

I got solution.