HR Form Editor - how to display text on payslip
Hi Experts,
I have an issue in HR Form Editor ( TCode PE51).
In the earnings window of a payslip I have a wage type 2041(Ticket Fare Payment). At the time of evaluation if there is a value for this wage type then some text message has to be displayed for such a employee.
Can anybody please guide me for the proper solution.
I have created text module for the text to be appeared and placed it as a single field.
Any help appreciated.
Thanks & Regards,
Aisha.
Try Exploring BADI ADDR_PRINTFORM_SHORT. This is the only place wherein we can think to write some custom code for Remnuneration statement.
The other way is the do the Customer Enhancement for transaction PC00_M16_CEDT. Also try searching SAP Notes I think there are couple which can be of help.
Regards
Shital
Similar Messages
-
How to display text on last but one page in SAPSCRIPTS
how to display text on last but one page in SAPSCRIPTS
u have create one Foooter window , this has to be called in only One Page.So hardcode /assign this window to only one PAGE number.
regards
Prabhu -
How to display texts automatic. besides entered value for a field in Trans.
How to display texts automatically besides the entered value for a field in a standard transaction screen. For example you have a value table and a text table associated to it. Then on entering the value field and pressing enter the text associated should get displayed immediately besides the value. Like if you have 'LOC' as the value and 'Location' as the text associated to it, on entering this value 'LOC', you automatically get the text 'Location' printed besides it automatically in a transaction screen ?
Message was edited by: Sarika KediaHi sarika,
Welcome to SDN.
1. first of all, such display of text,
is not automatic.
(it appears to be automatic)
2. At design time,
a) take one extra field for text
and mark it as OUTPUT ONLY
3. Then in PBO coding,
call some module, and in that module
write code
4. The code should be to
select from TEXT Table
into the work area.
EG. THE SCREEN TEXT FIELD NAME IS
T510A-FIELDNAME.
CLEAR t510a.
SELECT SINGLE * FROM t510a INTO t510a
WHERE trfar = FIELVALUE.
5. This will take care of
displaying the text value of that field.
regards,
amit m. -
How to display text on last but one page
how to display text on last but one page
Hi Preeti,
If u r working on a smartform then click on th window go to the condition tab there
at the end u will find events click on the the event on which u want to trigger the
print.
If u r working on a script then create a text element and call this text elemtn at
the end of processing of the main window, this will make sure that thetext element
is triggered only at the end.
I hope that helps u , if not pls let me know.
Regards,
Vaibhav B Gawali. -
How to display TEXT vertically in SMART FORM
Hai,
I need to display the column name of a table vertically (readable from bottom to top) in smart form.
Could any one please tell me how to do this?
Thanks & Best Regards,
Maniyam Bhaskar.Hi,
Go through these threads for the discussions happened on similar issue... hope it helps you..
how to print text vertically in smart forms
vertical and horizontal printing in same page with smartforms or sapscript
Good luck
Narin -
HR Form Editor, How to Make a Rule to change - value to no sign
Dear All,
I am making a pay slip in HR Form Editor and in a window i am displaying wage type text and values, values are negative but I want then to be displayed with No sign.
Can some one explain to me how to eliminate a sign of wage type vales in a window by using a rule or any other methord.
Regards.Hi,
create a new 'line layout' for your specific form and have the value for conversion set to '19 - No +/- sign'.
Of course the specific WT should be linked to this new 'line layout' under step 'Window'
Have fun.
Wilfred. -
How to display text in script as same as text in news paper
Hi Expets
I have a requirement i need to display text in script as same as text displayed in news paper
with out creating any windows. iie ( Abcdef should be in one cloum after some space i need to display 1234)
please let me know how can i achieve this
Ex
1.
hi abcdef 12345
abcedf 12345
abcedf 12345
Regards
Suresh
Edited by: suribabu124 on Jun 15, 2010 7:55 AMHi,
If you need to print a form like news paper you need go for multiple main windows.We know that we can use 99 main windows in one page.first create one main window and then leave a space then create one more window and select window type as mainwindow.
while populating data,after completion of one main window the control will move to next main window,which is in the same page.
Like this you need to analyse and code according to your requirement. -
How to display TEXT more than 500 char in a report as multiple lines.
Hi Friends,
i have a requirement like i should display Texts of length more than 500 Characters in a report( ALV LIST) as multiple lines
I am fetching the data Using FM READ_TEXT
the output im currently geeting with 150 Char in lenth as a single line
How we can split the text into multiple lines in a report
first i would like to know is it possible? if possible please give your valuable suggitions if not is there any alternative way to do this task.
Thanks & regards
kumar.Hi,
This is possible but the Solution might not look Standard/Appropriate to you.
In ALV, you can have Multiple Line Output...There is a Field in the Field Catalogue..called as Row_position...this is by default 0...which means Single row/Line ALV output....You can have this Value in the Range of 0 to 3.......A ALV field with row_position 1, will be displayed in the second line for every record...i.e. you will have multiple line for a single record of ALV.
In your case......you can use this but you need to split your field in two fields.....but you may end up spliting a single word....but for that also you can design the logic of splitting the Fiel value at SPACE only......
This may work.......and Sorry if not work...... -
How to display text file in JSP?
Hi,
I am new to servlet/JSP/java programming.
I have been able to download a file using ftp. I dont know who to display it in JSP.
Here is my code. Any help will be appreciated...
<%@ page import="java.util.*" %>
<%@ page import="java.lang.*" %>
<%@ page import="java.net.*" %>
<%@ page import="java.io.*" %>
<%@ page import="com.dmhistory.*" %>
<html>
<head>
<title>Untitled</title>
</head>
<body>
<%
byte[] bytes = new byte[4096];
URL theUrl = new URL("ftp://user:passwd@host/migr/Movers_for_Ora8/BG/logs/FLD-PAC3-20020311.log");
BufferedInputStream in = new BufferedInputStream(theUrl.openStream());
BufferedOutputStream outstream = new BufferedOutputStream(new FileOutputStream( new File( "D:/temp/log.txt" )));
int pos = in.read( bytes );
while ( pos != -1) {
outstream.write( bytes, 0, pos );
pos = in.read( bytes );
%>
<%
in.close();
%>
DONE!!!
</body>
</html>
How can i display this downloaded file in the browser?
I want to display it in the original format i.e which new line and carriage returns...line by line..
Thanks,Hi,
I finally go it to display. but now I have new problem. The browser shows the text without the /n/r.
But when I view the source using 'view->source', if see that the text has got proper format with newline and carriage returns.
Any ideas how to display it correctly in the browser?
<%
URL theUrl = new URL("ftp://user:pwd@host/migr/Movers_for_Ora8/BG/logs/FLD-PAC3-20020311.log");
//URL theUrl = new URL("ftp://dbcmaint:[email protected]/migr/Movers_for_Ora8/SNP/logs/SNP-PAC2-20020314.log");
URLConnection uc = theUrl.openConnection();
InputStream content = uc.getInputStream();
BufferedInputStream in = new BufferedInputStream (content);
LineNumberReader lnr = new LineNumberReader (new InputStreamReader (in));
String tempStr = "";
String str = "";
while ((tempStr = lnr.readLine()) != null) {
str += (tempStr);
%>
<%=tempStr%>
<%tempStr = "";
%>
<%
in.close();
lnr.close();
%>
Thanks -
How to display text in custom control?
Im doing a module pool program. There I have a Input field ,if user input there, some text I have to show in custom control. I have created custom control . But how to display some text there? what method I have to use?
I have use this code for creating custom control.
CREATE OBJECT EDITOR_CONTAINER
EXPORTING
CONTAINER_NAME = 'TEXTEDITOR'
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5.
CREATE OBJECT TEXT_EDITOR
EXPORTING
PARENT = EDITOR_CONTAINER
WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
WORDWRAP_POSITION = LINE_LENGTH
WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE.Hi,
You will have to use the method 'set_text_as_r3table' to display your text in the object.
The text will have to be passed as an internal table to the method.
Regards,
Ankur Parab -
How to display text in reverse order ?
I was wondering how to display data [text-numbers...etc] in the reversed order.
E.g.
if the data is as follows:
ORACLE
it should be displayed as:
ELCARO
thanx in advance !An alternative would be a MODEL clause solution:Nice!
Here another alternative with only one measure:
SQL> create table t
2 as
3 select 'bocajijA' col1 from dual union all
4 select 'ORACLE' from dual union all
5 select null from dual
6 /
Tabel is aangemaakt.
SQL> select old_col
2 , col1
3 from t
4 model
5 partition by (col1 old_col)
6 dimension by (0 i)
7 measures (col1)
8 rules iterate(10000) until (iteration_number = length(col1[0])-1)
9 ( col1[0]
10 = substr(col1[0],1,iteration_number) ||
11 substr(col1[0],length(col1[0]),1) ||
12 substr(col1[0],iteration_number + 1, length(col1[0])-iteration_number-1)
13 )
14 /
OLD_COL COL1
bocajijA Ajijacob
ORACLE ELCARO
3 rijen zijn geselecteerd.Regards,
Rob. -
How to display text dynamically
hello,
i am working in dialog programing i need to display text which is save in a file and i want that whenever each new call screen i should display a text message from my flat file on the new screen ..... is there is a funda of xml?If the text is same for all the screens then copy it into a string or variable type c and write it on all the screens
-
How to display text of note tab of invoicing
Hi all,
I want to display text that is written in notes tab while doing invoicing that is through FB60 and MIRO.
I searched for it in tables STXL and STXH but text isnt stored there, pls help me out.
Thank you,
SonaliThanks Gokul it helped
awarded u points. -
How to display text value in the header data (Header text) of credit memo
Hi...
I need to display the text value of the text field in the header text of the header data in credit memo.
The text values are stored in a ztable and i need to display it based on the billing document stored in vbrk (zfield) that was inserted during the creation of credit request..
Appreciate your help on how to do this...
Thansk and will surely reward the points..
Kanthi..Hi kanthi ,
Read the value from Z Table and during the creation of cedit memo check out for some exit where u the value from The zTABLE AND use function module SAVE_TEXT with object and id in the header text .
Please award if useful. -
How to display text in addition to average group result
Hi All,
This is probably really simple but i need your help.
What i have done:
I have 4 questions which each one has 5 radio box options. For each group of questions, i have put a value of 1-5 for the radio boxes.
What i am trying to do:
What i want to do is calculate the total for the group results as an average and display some additional text. T
The averaging for the group results is working, but i dont know how to add the additional text for the 1-5 values returned.
For example, if the average for all 4 questions turns out to be 3, i want the text box to not only display 3 but state Moderate - 3; or something like 3 - Moderate.
Any help would be greatly appreciated.
Thank you,
GregLike in Excel you need to add some additional code but with JavaScript it is a lot more code. Unless you use a hidden field to hold the computed average, you need to provide all the code to perform the average, that is sum all the fields and divide by the number of fields. Once you have that value you can concatenate the text to the number. Or you could have one text field with the computed average and a second text field with the text. You will also have to deal with the average not always being a whole number. If you change the number of decimal places for your solution, you will see this.
function GetField(cName) {
// get object for field with cName;
// return object or null if not found;
var oField = this.getField(cName);
if(oField == null) app.alert("Field named " +cName + " not found.", 0, 0);
return oField;
} // end GetField function;
function Sum(aNames) {
// get sum of the fields in aNamee array;
var nSum = 0; // sum of fields;
var nValue; // value or a single field;
// process array of field names;
for(i = 0; i < aNames.length; i++) {
var nValue = GetField(aNames[i]).valueAsString;
if(isNaN(nValue) == false) nSum += Number(nValue);
} // get next field name;
return nSum;
} // end Sum function;
function Average(aNames) {
// compute average of the values of array of field names;
var nAverage = "";
var nSum = Sum(aNames); // get sum of field values;
if(aNames.length > 0) nAverage = nSum / aNames.length;
return nAverage;
} // end Average function;
// array of field names to average;
var aFields = new Array("Value.0", "Value.1", "Value.2", "Value.3", "Value.4");
// compute average using the function and place result in a variable;
var nAverage = Average(aFields);
// array of text for value of average;
var aResult = new Array("Zero average", "Poor", "Better", "Mid point", "Better", "Best");
// display computed average and text;
event.value = nAverage + " " + aResult[Math.floor(nAverage)];
Maybe you are looking for
-
Help! ipod nano won't hold as many songs as it says it can
I have an ipod nano that is 2GB and can hold up to 500 songs. I only have 113 songs on it and when i try to put more on it it says that there is not enough room to put more songs on it. How do i make it able to hold more songs???? Toshiba Windows X
-
Creating a transaction variant doesn't catch the selection screen
Hi, I am trying to create a transaction variant for RERAPP transaction, which calls the report RFRERAPP on selection screen 1000. I have used SHD0, specifying the t. code and a name for a transaction variant, then pressed the "Create" button. the sel
-
Safari crashing consistently (unable to reopen)- Lion/10.7.4
Hello Everyone First time using the support community. For whatever reasons, for the last week plus I am unable to open safari without it crashing. It doesnt even open. The crash report is towards the end of this post but in essence I have tried the
-
I have Windows 7 on a 64-bit operating system, and have Firefox 19 and Internet Explorer 8. I tried installing Flash Player 11.6.602.171 from the Adobe Website and got an error message right at 47% download "can not contact reliable source." I also t
-
Drag&Relate enabled iViews with PDK
Hello everyone, I want to create a Drag&Relate-enabled iView with PDK on EP 6.0 SP6 but I did not find any guides about this topic. Does anybody know how to do this? thanks in advance, Jens Harzer