Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Bekir Sismanoglu on Mar 7 at 3:22 AM I didn't receive any response to this thread. I tried to use CONVERT_PAYSLIP_TO_HTML and some similar FMs as well. This 132 character is a kind of system constant in the system, later on I saw it in PE51, too and in all FM (converting payslip to some kind of internal table all the table lines have fixed size as 132 char) All in all, I did the exact payslip via smartforms, and created a db table for wage type grouping.
| | | ---------------Original Message--------------- From: Bekir Sismanoglu Sent: Thursday, March 01, 2012 10:33 AM Subject: Layout Problem During the 'payslip to PDF Converting' Hi experts, Here what I am trying to achieve is sending the exact payslip of the employee to his/her email address. I am using the following FM: GET_PAYSLIP CONVERT_PAYSLIP_TO_PDF SCMS_XSTRING_TO_BINARY SO_NEW_DOCUMENT_ATT_SEND_API1 I don't have a problem with the syntax. Everything is working almost fine and I can see the pdf file attached in SOST t-code. My problem is the layout of the payslip... My PDF file is like half of the actual horizontally. I made a shallow debug in the code and saw that after the GET_PAYSLIP FM the output table parameter "p_form " has the structure of LTYPE (char 2) and LINDA (char 132). I think it has something to do with this 132 ... I think I need it around 255 or something like that... Should I copy the standard function as ZXX function and make this 132 as 255 or.... is there a way to print this payslip as in landscape mode? I checked the input parameters of the above FM, but I couldn't see a relevant parameter... Thanks in advance. | | Reply to this email to post your response. __.____._ | _.____.__ |