Sunteți pe pagina 1din 3

Community

(http://www.sap.com/)
(https://community.sap.com)
(/users/login.html?
redirect_to=%2Fquestions%2F1853287%2Fdownload-
payslip-in-pdf.html)
Ask a Question (https://answers.sap.com/questions/ask.html) Write a Blog Post (https://blogs.sap.com/wp-admin/post-new.php) Login (/users

Search the SAP Community

Former Member
Download PAYSLIP in PDF
Dec 18, 2006 at 11:54 AM | 213 Views
2Fquestions%2F1853287%2Fdownload-payslip-in-
a%3D1853287%26s_csrf%3D1607326634572.4856)
0
2Fquestions%2F1853287%2Fdownload-payslip-in-
ata%3D1853287%26s_csrf%3D1607326634572.4856)
(/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-pdf.html%3Fs_action%3Dfollow%26s_csrf%3D1607326634572.4856)
Follow RSS Feed

Hi

i am using GET_PAYSLIP

CALL FUNCTION 'GET_PAYSLIP'

EXPORTING

employee_number = i_pernr-pernr

sequence_number = w_seqnr

payslip_variant = p_var

IMPORTING

return = wa_bapireturn1

P_INFO =

TABLES

p_form = p_form .

And need to download the slip. in PDF format.

I have already tried with

SX_OBJECT_CONVERT_SCR_OTF

followed by

SX_OBJECT_CONVERT_OTF_PDF

the output comes but its all distorted.

Can any one help me for doing the same.

Bye some other way.

Thanks in Advance.

Add a Comment (/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-


pdf.html%3Fs_action%3Dcomment%26s_data%3D1853287%26s_csrf%3D1607326634572.4856) |
Alert Moderator (/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-
pdf.html%3Fs_action%3DreportQuestion%26s_data%3D1853287%26s_csrf%3D1607326634572.4856)

Assigned Tags

ABAP Development (/tags/833755570260738661924709785639136) |

Related questions /
To download payslip in PDF format employee wise (https://answers.sap.com/questions/12375983/to-download-payslip-in-pdf-format-employee-wise.html)
By Neenu Jose ( https://people.sap.com/neenu.jose) May 09, 2016

Function Module to download Raw data as a PDF le (https://answers.sap.com/questions/6185778/function-module-to-download-raw-data-as-a-pdf- le.html)


By Former Member ( https://people.sap.com/former.member) Jul 02, 2009

3 Answers

Sort by: Votes | Newest | Oldest

Former Member

Dec 18, 2006 at 11:58 AM

create spool request for ur payslip and then pass tht spool number to program RSTXPDFT4 and execute it..
%2Fquestions%2F1853287%2Fdownload-payslip-in-
ToView%3D1853311%23answer-
ata%3D1853311%26s_csrf%3D1607326634572.4856)
0
it wil download the PDF le to the path provided..
%2Fquestions%2F1853287%2Fdownload-payslip-in-
_data%3D1853311%26s_csrf%3D1607326634572.4856)
ToView%3D1853311%23answer-

hope this helps..

reward point if helpfull

amit
Add a Comment (/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-
pdf.html%3Fs_action%3Dcomment%26s_data%3D1853311%26s_csrf%3D1607326634572.4856) |
Alert Moderator (/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-
pdf.html%3Fs_action%3Dreport%26s_data%3D1853311%26s_csrf%3D1607326634572.4856) |
Share

Former Member

Dec 18, 2006 at 12:15 PM

Hi Shameek,
%2Fquestions%2F1853287%2Fdownload-payslip-in-
oView%3D1853388%23answer-
ata%3D1853388%26s_csrf%3D1607326634572.4856)
0
Please refer the below links for your solution,
%2Fquestions%2F1853287%2Fdownload-payslip-in-
_data%3D1853388%26s_csrf%3D1607326634572.4856)
oView%3D1853388%23answer-

Pay Slip in PDF (/questions/1318930/pay-slip-in-pdf.html)

Email in Payslip (/questions/866410/email-in-payslip.html)

Hope this helps.

Regards,

Hema.

Reward points if it is useful.

Add a Comment (/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-


pdf.html%3Fs_action%3Dcomment%26s_data%3D1853388%26s_csrf%3D1607326634572.4856) |
Alert Moderator (/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-
pdf.html%3Fs_action%3Dreport%26s_data%3D1853388%26s_csrf%3D1607326634572.4856) |
Share

Former Member

Dec 18, 2006 at 12:18 PM

Hi,
%2Fquestions%2F1853287%2Fdownload-payslip-in-
oView%3D1853403%23answer-
ata%3D1853403%26s_csrf%3D1607326634572.4856)
0
You create a SPOOL and then pass that SPOOL Number in the report RSTXPDFT4 and get the PDF format of the same.
%2Fquestions%2F1853287%2Fdownload-payslip-in-
_data%3D1853403%26s_csrf%3D1607326634572.4856)
oView%3D1853403%23answer-

Creating Spool list.

NEW-PAGE PRINT ON

NO DIALOG

DESTINATION '' /
COPIES '1' IMMEDIATELY ' ' KEEP IN SPOOL 'X' .

NEW-PAGE PRINT OFF.

Thanks and Regards,

venkat.

"Reward for helpful Answers."


Add a Comment (/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-
pdf.html%3Fs_action%3Dcomment%26s_data%3D1853403%26s_csrf%3D1607326634572.4856) |
Alert Moderator (/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-
pdf.html%3Fs_action%3Dreport%26s_data%3D1853403%26s_csrf%3D1607326634572.4856) |
Share

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please
leave a comment instead, requesting additional details. When answering, please include speci cs, such as step-by-step instructions, context for the solution, and links to
useful resources. Also, please make sure that you answer complies with our Rules of Engagement.

Rules of Engagement (https://www.sap.com/community/resources/rules-of-engagement.html)

Know someone who can answer? Share a link to this question.

You must be Logged in (/users/login.html?redirect_to=%2Fquestions%2F1853287%2Fdownload-payslip-in-


pdf.html%3Fs_action%3DanswerQuestion%26s_csrf%3D1607326634572.4856) to submit an answer.

Please provide a distinct answer and use the comment option for clarifying purposes.

Submit your Answer

Find us on

(https://www.facebook.com/sapcommunity) (https://twitter.com/SAPCommunity) (https://www.youtube.com/c/SAPCommunities)

(https://www.linkedin.com/company/sap) (https://instagram.com/sap/) (http://www.slideshare.net/SAP) (mailto:?subject='SAP Community')

Privacy (http://sap.com/about/legal/privacy.html) Terms of Use (http://sap.com/corporate/en/legal/terms-of-use.html)

Legal Disclosure (http://sap.com/about/legal/impressum.html) Copyright (http://sap.com/about/legal/copyright.html)

Trademark (http://sap.com/about/legal/trademark.html) Cookie Preferences

Newsletter (https://www.sap.com/cmp/nl/sap-community-voice/index.html) Support (mailto:sapnetwork@sap.com)

S-ar putea să vă placă și