PZ11 - REM Statement in HTML format in ESS
Hi
Can we display the Remuneration statement in HTML format instead of the PDF format in ESS? If yes, how do we do that ?
Currently our system is converting the smart_form to PDF and displaying in the PDF through PZ11 transaction.
Thanks
Hi VAB
You need to call BAPI BAPI_GET_PAYSLIP_HTML (FM) to meet your business requirement.
The conversion from ABAP-listobject to HTML will be done via function module WWW_HTML_FROM_LISTOBJECT
Also please notice: Note 425548 says that we must "adapt our list" so that it's layout is
similar to an HTML table. The ESS documentation for renumeration statement says that if we change the form we must also change the HTML templates. The HTML appears to be generated from the form by a "converter routine". Documentation refers to templates HR_PAY_PAYSLIP and HR_PAY_PAYSLIP_PAGE for building the renumeration statement. using SMW0 to see them.
Regards,
Jun
Similar Messages
-
When the state change, my StyleableTextField html formatting is lost
Hello,
When the state change, my StyleableTextField html formatting is lost (mobile project)
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
addedToStage="ats(event)">
<fx:Script>
<![CDATA[
import spark.components.supportClasses.StyleableTextField;
protected function ats(event:Event):void
StyleableTextField(txt.textDisplay).htmlText="<i>test</i>";
public function ok(e:Event):void{
currentState = "state2";
]]>
</fx:Script>
<s:states>
<s:State name="initialState" />
<s:State name="state2" />
</s:states>
<s:VGroup>
<s:TextArea width="100%" id="txt" includeIn="initialState, state2" skinClass="spark.skins.mobile.TextAreaSkin"/>
<s:Button label="add" click="ok(event);" includeIn="initialState, state2"/>
<s:TextArea width="100%" text="state2" includeIn="state2"/>
</s:VGroup>
</s:Application>
ThanksHow are you doing this?
The text area of a web app has HTML encoding and is all fine.
If you make a multiline custom text field the encoding remains.
You need to provide a bit more information because the above do keep their encoding. -
Scheduling deski report to html format fails
We're running boxi 3.1 SP4 on a Linux redhat machine. When scheduling a deski report to html format to unmanaged disk, the report stays in processing state for 10 minutes and then it goes to failed state with error "Object failed to run due to an error while processing on the Job Server" . Additionally I get the message "The scheduler component failed the object identified by <jobnumber>. The job associated with the object was unresponsive."
Scheduling to other formats works fine. I have tracing on but there's not any hint in the logfiles. The htm file and it's subdirectories are created on the temporary location /data/procSched/<name>.DesktopIntelligenceJobServer but it's not copied to the configured destination. It is not an issue with permissions, the server has write permissions to the directory.Hi Clive,
since your are in XI R2 you can only try to modify the layout of your report. In XI 3.x a new feauture was introduced, which allows the user to choose between keeping the layout or facilitating further processing in Excel when exporting a document in Excel.
Regards,
Stratos -
Send email in html format with pdf attachment
I am trying to send an email out of SAP using an abap program in the html format with a pdf attachment. I am using the function module -SO_DOCUMENT_SEND_API1. I noticed that when i specify the body type of the message as 'RAW' I get to see the pdf attachments however when i switch it to 'HTM' I loose the attachment in the email generated. Can anyone please help me in solving this problem. Thanks!
ld_email = p_email. "All email IDs
ld_mtitle = 'Bank Statement'.
ld_format = 'PDF'. "Attachment Format
ld_attdescription = 'Statement'.
ld_attfilename = p_filename. "Name of file
ld_sender_address = p_sender_address. "Sender mail address
ld_sender_address_type = p_sender_addres_type. "INT - Internet
* Fill the document data.
w_doc_data-doc_size = 1.
* Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle . "Description
w_doc_data-sensitivty = 'F'.
* Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle. "Description
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = it_attach[].
* Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'HTM'. " THis is for BODY of mail RAW'.
APPEND t_packing_list.
* Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
* Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
* Populate zerror return code
ld_error = sy-subrc. -
HTML Formatting Auto Email messages
We have a scenario, when we provide a status update to an SR. The activity description is sent out as an automatic email. Workflow is working fine issue is automatic email is in Text format instead of an HTML format. Reason why I need an HTML format is in the description there could be a link to a web page. This link appears as text instead of a Hyperlink.
CRMOD Support states this as an enhancement - I was wondering if anyone has created any workarounds for this.
ThanksI dont believe there is a workaround for this as the emails are sent as plain text email. This has been highlighted as a request from customers i asked them if EMOD could be used in workflow which would be great for both internal and external customers.
-
This is Regarding wants table values output into HTML formate
Hello Experts,
can you please help me regarding this,i want table valuees in to HTML formate,so can you please tell solution ,is there any FM or any other solution for geeting Table values in HTML formate.please suggest me
Thanks and regards,
durga.kdketcham wrote:
cotton.m wrote:
>
2) I'm looking at how you called stuff, and you're trying to call the jsp file as an image? That jsp isn't the source of the image, just a page linking to an image. I think if you really want to do things that way you're going to need to just include that jsp within the jsp you're calling it from (or you can do it the easy way, and if you have the information to get the path of the image you want, you could simply call the image from the first jsp you posted)This is incorrect.
There are two JSPs. The second when called will (if it worked) return the source of an image as stored in the database.even when called with <img src=xx.jsp>??
Yes.
If any of what I say next seems obvious or otherwise negative I apologize, just trying to explain and I don't know what you know vs what you don't.
The link in the src is just a URL not a filetype. So just because it ends with JSP does not mean it has to return HTML. The content type is determined by the browser using the Content-Type header returned by the server in the HTTP response. In this case the header is set to be a jpeg so that's what the browser will attempt to interpret the content part of the response as.
So in fact one is not limited to just HTML or images but whatever content type you would like to return (that the browser can understand anyway). This could be HTML or it could be an image of some type or it could be a PDF or it could be an Excel spreadsheet. All you have to do in the JSP is set the header appropriately and then send content that is actually in that format.
This does not just apply to JSP by the way but all other web programming languages. You can do similar things to produce the same results in PHP, Perl, ASP etc.
The only JSP/Servlet complication is whether or not doing this in a JSP is a "good" idea but I am not an expert enough at that to make a definitive statement. Mostly though JDBC in a JSP is a no-no. -
Idoc-xi-file scenario. how to display file in html format
I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody
In idoc-xi-file scenario....... how to display file in html format ??
Thanks in advance
KumarHi Vijayakumar,
Thanks for your reply !! You mean to say I got to use XSLT mapping and also .htm and .html extension together to produce the html file ?? or it is sufficient to use any one of them to produce the html file ??
Regards
Kumar -
This is actually not a JSP question but an HTML question. I could'nt find any good html forum sites out there, and since I received excellent replies in my previous post, I am hoping that those of you who know JSP also know html. Heres my question, is there any conditional statement in html (I don't want to use scripts)? The only conditional statement I found was the logic:equal (not equal) statement. And it seems to only work for forms. I am using JSP in conjunction with html so I used an inner html variable declaration in my JSP function. This variable will be used by my html code. And I would like to check the value of that variable in html.
Heres my JSP function containing the inner html declaration:
function showItemEdit(field)
var elements = editWindowDiv.document.all;
elements("editWindowField").value = "";
fieldhtml.innerHTML = field;
var retVal = null;
retVal = window.showModalDialog("javascript:document.write(window.dialogArguments.innerHTML);editWindowInit();",editWindowDiv,
"dialogWidth:335px;dialogHeight:185px;scroll:no;status:no;unadorned:no");
if (retVal == "OK")
alert("OK");
else
alert("Cancel");
The inner html variable, fieldhtml.innerHTML, is the value I would like to check in my html code.
This is what I woul like to accomplish in my html code:
if fieldhtml == register then
<tr>
<td class="bodymd"> <bean:message key="label.register"/>:</td>
<td><input type="text" name="editWindowField" value="" maxlength="5"></td>
</tr>
else
<tr>
<td class="bodymd"> <bean:message key="label.shift_no"/>:</td>
<td><input type="text" name="editWindowField" value="" maxlength="3"></td>
</tr>
end if
I am not sure how to accomplish if-else statements in html. I would appreciate any help. Thanks!You are mixing things a bit. There is no JSP in your example. You cannot do conditional statements in HTML. However, you can use JavaScript to output HTML:
if(someCondition){
document.write("<yourHTMLTags>whatever</yourHTMLTags>");
else{
document.write("<yourHTMLTags>something else</yourHTMLTags>");
} -
Physical page is not the same in HTML format
I am using Oracle 6i to develop some reports. While running this reports using the developer, the logical page is the same size as the physical page.
When generating the same reports in HTML format the physical pages do not seem to be the same as the logical pages, since the contents of one page is being printed in two pages, whereas using the developer the report will print only in one page. I look at the Layout Model properties and I have set it in the following way :
Layout Main Section
Width : 8.5
height : 11
Horizontal Panels per PAge 1
VErtical Panels per page : 1
Orientation Default
Report Width : 80
Report Height : 66
Any Help will be appreciatedOpen you QuickTime movie, go to window and select Show movie properties, select videotrack and change Transperancy (low left) and select Composition in stead of "none - allow dithering" from the drop menu. See if this helps.
-
Service cannot be reached while sending a smart form in html format
Hello,
I'm trying to send a smart form as email in html format and I'm getting the following error message at the beginning of the message:
Service cannot be reached
What has happened?
URL http://localhost/SAP/BC/BSP/SAP/SMART_FORMS/DEFAULT.CSS call was terminated because the corresponding service is not available.
Note
The termination occurred in system XD1 with error code 403 and for the reason Forbidden.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
Error code:ICF-NF-http-c:100-u:MYUSER-l:D-i:my_test_system:0-s:403-r:Forbidden
HTTP 403 - Forbidden
Your SAP Internet Communication Framework Team
.SYSTEM div#B.par{ font-family : "Courier New" ; font-size : 12pt ; font-weight : normal ; line-height : 4.23mm ; text-decoration : none ; text-align : justify ; clear : both ;}.SYSTEM div#L.par{ font-family : "Courier New" ; font-size : 12pt ; font-weight : normal ; line-height : 4.23mm ; text-decoration : none ; text-align : left ; clear : both ;}.SYSTEM a.SYSTEM span#H.char{ font-weight : bold ;}.SYSTEM span#I.char{ font-style : italic ;}.SYSTEM span#U.char{ text-decoration : underline ;}#PAGE1-001.page@media screen {#MAIN.win{ overflow : auto ;}}@media print {#MAIN.win{ overflow : hidden ;}}#PAGE1-001.page #MAIN.win.AGGR-BILL div#B.par{ font-family : "Arial" ; font-size : 12pt ; font-weight : normal ; line-height : 4.23mm ; text-decoration : none ; text-align : justify ; clear : both ;}.AGGR-BILL div#F.par{ font-family : "Arial" ; font-size : 8pt ; font-weight : normal ; line-height : 3.39mm ; text-decoration : none ; text-align : left ; clear : both ;}.AGGR-BILL div#L.par{ font-family : "Arial" ; font-size : 12pt ; font-weight : normal ; line-height : 4.23mm ; text-decoration : none ; text-align : left ; clear : both ;}.AGGR-BILL div#R.par{ font-family : "Arial" ; font-size : 12pt ; font-weight : normal ; line-height : 4.23mm ; text-decoration : none ; text-align : right ; clear : both ;}.AGGR-BILL a.AGGR-BILL span#H.char{ font-family : "Arial" ; font-size : 12pt ; font-weight : bold ;}.AGGR-BILL span#I.char{ font-family : "Arial" ; font-size : 12pt ; font-style : italic ;}.AGGR-BILL span#K.char{ font-family : "Arial" ; font-size : 8pt ;}.AGGR-BILL span#M.char{ font-family : "Arial" ; font-size : 10pt ;}.AGGR-BILL span#U.char{ font-family : "Arial" ; font-size : 12pt ; text-decoration : underline ;} div#PROJEKTE.tab@media screen { div#PROJEKTE.tab table.tr{ border-collapse : collapse ;}}@media print { div#PROJEKTE.tab table.tr{ border-collapse : collapse ;}}@media screen { div#PROJEKTE.tab table.tr{ margin-top : -1px ;}}@media print { div#PROJEKTE.tab table.tr{ margin-top : 0px ;}} div#PROJEKTE.tab table.tr div#PROJEKTE.tab .topline{ border-top : 1pt solid black ;} div#PROJEKTE.tab .bottomline{ border-bottom : 1pt solid black ;} div#PROJEKTE.tab .leftline{ border-left : 1pt solid black ;} div#PROJEKTE.tab .rightline{ border-right : 1pt solid black ;}#PROJEKTE.tab #sf--LTYPE1.tr td#C1
and here comes the email's body: bla,bla,bla... bla.
Do you have any idea how can I solve the problem with the css file? Any suggestion is welcome!
Regards,
JaimeI just solved the problem by activating the service /SAP/BC/BSP/SAP/smart_forms/ through the transaction SICF. So I close the thread!
Jaime -
HTML format report for Daily basis Oracle Database health Checkup
Hi All,
Can anyone provide me the script which I can schedule in BAT file to run againt all the database and gather most of the health check related data and present the same in HTML format.
Regards,
SphinxHi,
Database Health report can be obtain from my below link:
http://rafioracledba.blogspot.com/search/label/DBA%20Daily%20activities
It is a detailed one.Make use of point 20 in the above link to get the report you want.Hope it helps.
Best regards,
Rafi.
http://rafioracledba.blogspot.com -
Unable to receive email in HTML format on BB Torch 9860 with BIS
I recently purchased BB Torch 9860 with OS 7 and configured by personal and work email on BIS. I am receiving emails only in text format. In some emails with images that have hyperlink, I just see a link and images not displayed. All the images comes as an attachment in the email. My friend having another BB Torch is able to view emails as HTML. But he is with BES.
Is there any solution for my issue? I am not receiving any options in the email preference to enable HTML format for emails.
Appreciate if anyone could help me with this.
Regards,
MidhunHi Midhun,
Welcome to the Community
To help you with the issues you're having, on your Blackberry go to your mailbox, press menu, choose options, then Email Preferences and check the box for Enable HTML Email, Download Images Automatically and Confirm External Image Download. The screen may look like the screenshot below:
For more information please check these links:
Blackberry Tips and Tricks
Blackberry 101
Enjoy!
Ron
Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up Blackberry Battery Saving Tips | Follow me on Twitter -
Report can't fix all in HTML format
Hi all,
I got the report 6i patch 15 installed and try to generate the report into html format. But when generated, it seem like what you see is not what you get on print out. The report can' fix all in html format. But the same report I can view in PDF format without any problem. But just b'cos in the PDF format where I hv generated the graph can't really see all the color pattern and shading and that is why I switch to html cause I can see a nice pattern in the graph there but again I can't fix all my output in one piece of A4 paper.
My report width is 180 character but it seem that only show 132 character in the report.
desformat= htmlcss
Rgds
LimHere you go:
There are times where you’ll want to manually set your IP address in Mac OS X, so how do you do it?
* Launch ‘System Preferences’ from the Apple menu (or Spotlight)
* Click on the “Network” icon
* In the lower right, click on the ‘Advanced’ button
* In the pulldown menu next to “Configure IPv4″ select “DHCP with manual address"
* Fill in the IP address, subnet mask, and router, as appropriate to the network you are accessing
* Click ‘OK’
* Click ‘Apply’
Find out what is there first. You need to find out what you IP address is there. Remeber you are only changing your laptop/desktop. Nothing else. You are only changing the last digits(numbers) in the very first box at the end. Example: 192.168.1.XX or 192.168.0.XXX. You may want to write the other numbers down, once you change it to manually the rest goes blank until you fill it in again then , click ok, apply. Hope it works for you -
Freeze Spreadsheet header in Web Analysis Report (HTML format)
Hello,
I want to know if there is any way to freeze the spreadsheet header in Web Analysis. I know it can be done if the report is opened through Web Analysis Studio. However, when the user opens it in HTML format, the header will not be freeze.
We are using 9.3.1
Thanks,
Andy
Edited by: user642800 on Jun 4, 2009 1:22 PMI don't believe you can do this. We ran into the same issue last summer and it left our long scrolling dashboards useless as you couldn't see what row you were looking at once the row headers had left the screen. We talked about having some dashboards launch from workspace and others from Web Analysis but this was messy and we wanted them to one-stop shop in Workspace.
The answer for us was to put a Check Box on the right hand side and the users only select the amount of members that fill up their screen. For instance, if we had 20 columns of data (accounts or scenarios) and only 5 were visible at one time, they would only select 5 to view at any given time.
As far as column headers, we haven't had any complaints when those leave the screen.
This was a huge issue for us but luckily we came up with a workaround that seems to have worked for all of our users thus far.
Mike -
Hi All,
I have migrated reports from 10g to 11g. Issue i am facing is that "reports open in HTML format by default & reports alignment has been distorted in 11g".
Also if i change the format to PDF ,its working fine.
I am not able to figure it out where exactly the issue lies as all the parameters,layout & query are fine.
Thanks.
SaurabhHopefully this blog article by Tim Dexter will help: http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html
Thanks!
Maybe you are looking for
-
this message happens everytime I close out of firefox and try to reopen it
-
Export results to different file type
I am very curious, if you can successfully export to csv format when choosing for query result in sql dev 2.1. 1. Worksheet 2. Enter a Query 3. Press the first green arrow to perform the query 4. Navigate to the results with the mouse and right click
-
Iteratively inserting values based on the condition
PUB_USER_TABLE COMM_ID|PUB_USER_ID| 123 |1234577 | 345 |3456777 | 678 |6789077 | USS_XREF_TABLE COMM_ID | XREF_ID| 123 | 1234 | 345 | 3456 | 678 | 7890 | UI_SERVICE_TABLE XREF_ID 1234 3456 7890 SD_ENTITY XREF_ID | ED_DESC 1234 | PASSPORT 3456 | PASSP
-
Document title based on document category
hai all, what is the field to display document title in invoice which should be displayed based on vbrk-vbtyp. how to display description for freight terms based on vbrp
-
Captivate 4 - Automaticaly stop recording ?!
Hello When I produce a demonstration everything is fine except when I have to fill in a text box. When I click in it software automatically stops recording. Why? What should I do?