We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-dev] Layout Problem During the 'payslip to PDF Converting'

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
julian  
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language