Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from julian on Sep 27 at 3:52 AM Did you ever fixed this i have the same problem
| | | ---------------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. __.____._ | _.____.__ |