cancel
Showing results for 
Search instead for 
Did you mean: 

Remuneration Statement to pdf format

Former Member
0 Kudos

Hi Experts,

Pls post ur comments how to convert my PE51 Form into pdf format.

I've done my HR Remuneration Form via PE51 and it's executing fine through Tcode:PC00_M40_CEDT - Remuneration statement .

Now, the requirement is, My Client wants the same to execute as pdf format and take a print output as similar like PO/Invoice forms.

When I tried with FM:SSF_FUNCTION_MODULE_NAME is shwoing the ouput thru SF:ZHR_ESS_PAYSLIP_TO_PDF_T but the alignment and form size of PE51 form is standard and

This form is a std 132 column length size, so when i tried with FM "CONVERT_OTF", its not converting my form into pdf table format ( otf variable: tab_otf_final).

Pls advise how to resolve it.

Im asking ur help again clearly that I want to convert my PE51 HR Form to pdf convertion format.

>>>>CALL FUNCTION 'CONVERT_OTF'

>>>> EXPORTING

>>>> format = 'PDF'

>>>> max_linewidth = 132

>>>> * ARCHIVE_INDEX = ' '

>>>> * COPYNUMBER = 0

>>>> * ASCII_BIDI_VIS2LOG = ' '

>>>> IMPORTING

>>>> bin_filesize = bin_filesize

>>>> * BIN_FILE =

>>>> TABLES

>>>> otf = tab_otf_final

>>>> lines = pdf_tab

>>>> EXCEPTIONS

>>>> err_max_linewidth = 1

>>>> err_format = 2

>>>> err_conv_not_possible = 3

>>>> err_bad_otf = 4

>>>> OTHERS = 5

>>>> .

>>>> IF sy-subrc <> 0.

>>>> * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

>>>> * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

>>>> ENDIF.

thanks & regards

sankar.

Edited by: sankar babu on Sep 22, 2008 10:02 AM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Not resolved

Closed.

posted in ABAP forum.

regards

sankar,

Former Member
0 Kudos

Hi,

1. Execute RSTXPDFT4 program

2. Check EDPDF feature

Cheers,

AS

Former Member
0 Kudos

Hi

This is the interface program HINCEDT0 whcih call the progam of PE51.

I think in this program write code to conver form to PDF.

Regards

Former Member
0 Kudos

Hi Adi,

thanks for ur prompt reply...

But pls go thru my forum once again...I've changed the code and calling via FM but I was stuck up while importing.

Pls advise.

regards

sankar.