How to get Leave Request text in ABAP HR
Dear Expert,
I am using BADI PT_ABS_REQ to validate leaves applied on portal.
Here I am getting ITEM_ID for the leave request, but I need leave request_id for leave text.
Also I want to update the timing of leave manually, based on the Leave applied (Exp First Half/Second Half).
Thanks.
Regards,
Hemendra
The text i think you are referring to is in table PTREQ_NOTICE. The key is REQUEST_ID.
Edit : Sorry misunderstood the question. You can get REQUEST_ID from PTREQ_HEADERS where ITEM_LIST_ID equals ITEM_ID.
Edited by: Pedro Guarita on Apr 13, 2011 3:23 PM
Similar Messages
-
How to get the field texts from abap dictionary into screen Text fields
Hi SapAll.
here i have got to modify one zscreen by adding 1 more field,when i added one field in teh screen by just writng the code in program as SELECT-OPTIONS ilart FOR CAUFVD-ILART.
but iam unable to get the field text for the text field from teh table CAUFVD.
CAN ANY BODY HELP ME IN THIS.
regards.
varmaHi Varma,
Even if you want to personalise the Text also you can do without checking the DICTREF checkbox. Dirctly you can give the text in the Text elements by using the Menu GOTO -> Text Elemetns -> Selection Texts.
Regards
Thiru -
How to get Soap Request xml in application.cfc
Hi
if api getting soap request using cfhttp like below:
<cfxml variable="mydata">
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header />
<soapenv:Body>
<ns:service_soap_call soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<login>test</login>
<password>test</password>
</ns:service_soap_call>
</soapenv:Body>
</soapenv:Envelope>
</cfxml>
<cfhttp url="http://sm.iclp-dubai.ae/research/wsdl/MyPointsBank.cfc?wsdl" method="post" charset="utf-8" result="myresult">
type" value="text/xml">
<cfhttpparam type="header" name="SOAPAction" value="">
<cfhttpparam name="soapInput" type="xml" value="#trim(mydata)#"/>
</cfhttp>
then how to get Soap Request in application cfc.
like :
<cfif IsSOAPRequest() >
<cfset soapreq = GetSOAPRequest() />
</cfif>
I want to validate the soap xml Request before calling targeted CFC.
Any suggestion!.Let me see whether I understand. Are you attempting to achieve something like this:
test.cfc
<cfcomponent output="no">
<cffunction name="testFunction" returntype="any" access="remote">
<cfargument name="soapInput">
<cfset var inputXML = arguments.soapInput>
<cfset var soapBodyText="">
<cfset var noBodyTextError="">
<cftry>
<cfset soapBodyText = xmlSearch(inputXML,"//soapenv:Body/text()")[1].xmlValue>
<cfsavecontent variable="noBodyTextError"><?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Server.userException</faultcode> <faultstring>java.lang.Exception: Body not found.</faultstring></cfsavecontent>
<cfif trim(soapBodyText) is "">
<cfthrow>
</cfif>
<cfreturn inputXML>
<cfcatch type="any">
<cfreturn noBodyTextError>
</cfcatch>
</cftry>
</cffunction>
</cfcomponent>
tester.cfm
<cfxml variable="mydata">
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wor="https://www.worldmilesafrica.com">
<soapenv:Header/>
<soapenv:Body>
</soapenv:Body>
</soapenv:Envelope>
</cfxml>
<cfinvoke webservice = "http://127.0.0.1:8500/workspace/wsTest/test.cfc?wsdl"
method = "testFunction"
returnVariable = "result">
<cfinvokeargument name="soapInput" value="#trim(mydata)#" >
</cfinvoke>
<cfdump var="#result#"> -
How to get Grand Total Text in ALV GRID
Hi Folks,
I am able to get the SUBTOTAL TEXT .....But i need...
How to get Grand Total Text in ALV GRID Display...
Can any one give a Solution for this...Hi Surendar,
Check out this code.. this is showing Total Text in Toal line in the very first column.
REPORT zsales_ord_det_1 .
TABLES: ztable_10.
TYPE-POOLS: slis.
DATA: BEGIN OF it OCCURS 0,
srno(6) type c,
name LIKE ztable_10-name,
age LIKE ztable_10-age,
END OF it.
DATA : BEGIN OF it_temp OCCURS 0,
name LIKE ztable_10-name,
age LIKE ztable_10-age,
END OF it_temp.
DATA: i_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv.
DATA: v_repid LIKE sy-repid,
i_index TYPE STANDARD TABLE OF i WITH HEADER LINE,
gs_layout TYPE slis_layout_alv,
gd_layout TYPE slis_layout_alv,
i_sort TYPE STANDARD TABLE OF slis_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
START-OF-SELECTION.
v_repid = sy-repid.
SELECT * FROM ztable_10 INTO TABLE it_temp.
LOOP AT it_temp .
it-srno = 'Total'.
it-name = it_temp-name.
it-age = it_temp-age.
APPEND it.
ENDLOOP.
END-OF-SELECTION.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = v_repid
i_internal_tabname = 'IT'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
i_inclname = v_repid
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = i_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
wa_fieldcat-row_pos = 1.
wa_fieldcat-col_pos = 1.
wa_fieldcat-fieldname = 'SRNO'.
wa_fieldcat-tabname = it.
append wa_fieldcat to i_fieldcat.
LOOP AT i_fieldcat INTO wa_fieldcat.
IF wa_fieldcat-fieldname = 'AGE'.
wa_fieldcat-do_sum = 'X'.
MODIFY i_fieldcat FROM wa_fieldcat.
ENDIF.
IF wa_fieldcat-fieldname = 'SRNO'.
Hide this field so that it can display it's content i.e.
Total text in Subtotal level
wa_fieldcat-tech = 'X'.
wa_fieldcat-no_out = 'X'.
MODIFY i_fieldcat FROM wa_fieldcat TRANSPORTING tech no_out.
ENDIF.
ENDLOOP.
wa_sort-spos = 1.
wa_sort-fieldname = 'SRNO'.
wa_sort-up = 'X'.
wa_sort-subtot = 'X'.
APPEND wa_sort TO i_sort.
gd_layout-no_totalline = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
i_callback_program = v_repid
I_CALLBACK_PF_STATUS_SET = ' '
i_callback_user_command = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
is_layout = gd_layout
it_fieldcat = i_fieldcat[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
it_sort = i_sort
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it
EXCEPTIONS
program_error = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
Regards,
Seema -
How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.
I have to display the short text in my report output.
How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
Is there any function module availble to get this short text or is this stored in any data base table ?
Please help me. Your help will be highly appreaciated.
THANKS.Hi,
Use FM 'READ_TEXT' to get this values.
Say for exampele my material is 1900001 and batch is 0000000517.
Then my parameters to the FM will be as follows:-
Text Name 000000000001900001 0000000517
Language EN
Text ID VERM
Text Object CHARGE
This information you can get as follows.
Open the short text window in the text editor.
Here you can enter the long text.
In the editor Go to Header and you will find the details.
Please note that the text name will comprise of
Material
Batch
Plant
Stor. Location
if all the details are given.
I hope this helps you.
Regards,
Ankur Parab -
How to get the bold texts in JTextPane?
How to get the bold texts in JTextPane?
I believe you need to look at the Elements of the Document. Use the Document.getDefaultRootElement() method to get the first root Element. From there you can iterate through all the Elements. You should then be able to check the attributes of the element to see if it contains the Bold attribute using something like:
AttributeSet attributes = element.getAttributes();
if ( attributes.containsAttribute(StyleConstants.Bold, Boolean.TRUE)
// do processing here -
HOW CAN GET BACK MY TEXT MSG & PICTURES DELETED
HOW CAN GET BACK MY TEXT MSG & PICTURES DELETED I REALY NEED
lilsimms1228 wrote:
How can I get an overview of old text messages and phone call [personal detail removed]
If you are the account owner, you can access the last year of calls records and the last three months of message summary (date, time, number texted, there is no where to see the text context) through your online account. Click on the HOME Tab once logged in and choose PRINT BILLS and then click on the pull down menu to choose any invoice for the last twelve months to view. -
How to get PO header text in PO list
Hi All,
Please let me know how to get PO header text in PO list.
Thanks,
AmaCheck this link for answer
PO Header Text -
How to get the Arabic text to speech on N8 ?
How to get the Arabic text to speech on N8 ?
Unfortunately it is not currently an available option:http://www.nokia.com/global/support/text-to-speech-s60-32-downloads/
Happy to have helped forum with a Support Ratio = 42.5 -
Who can tell me how to find the leave request Webdynpro for ABAP iview
Hi,Expert,
As I know Portal only has Webdynpro for java iview for leave request iview in the past.
but someone tell me SAP portal has delivered some new standard WebDynpro for ABAP iview.
I have a requirement to create a employee role for new Leave Request service created by WD ABAP . Under Content Provided by SAP in Content Administration, I couldn't find the iView assocated to the leave request except the Java one. Is there have any Employee Self-Service Web Dynpro ABAP workset ?
thanks
OliviaThe business package for ESS based on Webdynpro for ABAP is available only for ECC 6.0 EHP5.
If you are on EHP5, you may choose to use this version of the BP.
http://help.sap.com/erp2005_ehp_05/helpdata/EN/25/340b0507434193adbfe3f8fc8896c7/frameset.htm
Leave Request application:
http://help.sap.com/erp2005_ehp_05/helpdata/EN/1f/a073be62744fcca7e1fae9942f0031/frameset.htm
Thanks,
Shanti -
How to approve Leave Request for Workflow in ESS?
Hey! Experts,
Currently, I am working on ESS Leave Request Workflow referening the Standard Workflow Template WS12300111. The requirements are as such, requested leave need to be approved using TS 12300007 'Approve Process'. Here, I have created a customized Rule to get the actual agent since the requirement is like i have to check if the employee who is apply for leave on the date is present in any project (alternative C-project Org. Structure is maintained) than his / her project manager will be the approver else i need to get the approver from the central HR Org. Struct. For simplicity consider the employee is currently present in only one project.
Also, for information the Rule is working fine. That is the workitem is received in the appropriate agent UWL.
Now my doubt is, there is no approve / reject button coming in the workitem in UWL
Also, after refering documentation on help.sap.com i came to know that some reports need to be run in background for approval to be done.
Here, I am confused and I am stucked as I dont know which reports need to be run and how will the approval will be done in MSS.
Kindly, give me some guidance on the same so that i can proceed.
Thnx! in advance.
And yeah points will be rewarded on giving suitable answer for this.
Regards,
Mistry WasimHi,
Following are the some important points you should understand about ESS Leave Request Workflow
1. The Visualization ( how should it appear in UWL and what should happen when you click on a particular workitem) is defined in SWFVISU. Check for TS12300097. Generally, it invokes com.sap.xss.hr.lea.appl/LeaveRequestApprover Java WebDynpro application. Just check whether you are able to get the correct Leave Processing application called when you execute your workitem from UWL?
2. In general it should have option to process the leave request either approve/reject. When the leave request gets approved/rejected the status of the Leave Request document gets changed ( in workflow it is &REQ.STATUS&
3. There is a need to schedule a background job for program RPTARQPOST which will pick up all the documents in APPROVED status and creates an absence record for the same.
4. Apart from schedule job as mentioned above, you also have to schedule a background job for program RPTARQEMAIL, which is basically used to send e-mails for all the documents which are yet to be approved to correct manager.
as you say , you can not see Approve/Reject options from UWL, it looks to me that correct javawebdynpro application is not being called for this task. Just check this !!
Good Luck !!
Regards
Krishna Mohan -
How to get Material long text / Sales Text
Hi,
when I have created a service order I have enter Long text in Tab Item Details , i.e in sales Text I have entered some text , So can any one tell me how to get this text as I have to show this text in invoice printing
Thanks
Bobby600101202274700000001
For a Particular Text name Of Item Level operations
1st 3 character denotes client id in this case 600 +
2nd 10 character denotes AFKO-AUFPL with respect to the production order in this case
1012022747 +
last 8 character denotes the operation line item numebr -
How to get key and text value of field "TNDRST" in VTTK from R/3 into BI
There is one field call "TNDRST(Tender Status)" in SAP table VTTK in R/3. We can find key value, but we are unable to find text for this field in VTTK. However we can see text value if we double click domain:TNDRST and go to value range.
Questions, how to get key value and text of TNDRST together in BI. Do we need to create a master data source for TNDRST text information in R/3 and extracting into BI, if yes, how to? Are there any easy way to do it??
Thanks,
SudreeHi Sudree,
You need to create a generic Text Datasource to extract this information into BI System.
1. Create a generic DS based on Table: DD07T
2. The fields should be put in the extract structure.
DOMNAME (Make this as Selection in the DS ) -
Filter the Domain Name
DOMVALUE_L -
Key Value of Tender Status
DDTEXT -
Text / Description
DDLANGUAGE -
Language
3. DD07T is the table with all the Domain names & their values, so in the Infopackage enter the Selection Value for DOMNAME as 'TNDRST' and then run it.
Or you can create a view out of this table based on DOMNAME filter as 'TNDRST'.
Regards,
Chathia. -
How to get the Hardcoded text and the Standard text in the same line
Hi,
I have an SAP Layout. In that, it should show the Consignee name as below.
Consignee: SAP LABS
In this, the text 'Consignee: ' should be hardcoded in the layout itself. and the customer has requested to create a standard text for 'SAP LABS' sothat if they want to change the value in future, they would go and change the Standard text. I have created the Standard Text for SAP LABS. I am not able to get both these texts on the same line. I wrote in the layout like below and AS is the Paragraph format.
AS Consignee:
/: INCLUDE ZVRU_CONSIGNEE OBJECT TEXT ID ST LANGUAGE EN PARAGRAPH 'AS'
But, both are coming in dofferent lines. As /: is a command line, it is coming in the next line. Is there any way of getting these two texts in the same line..? While Inserting the Standard Texts, will there be any option/command to print it in the same line..?
Please share your thoughts. Thanks in advance.
Thanks & Regards,
Paddu.Hi Paddu,
I have had a similar requirement. I did not use any FM or anything, simply did the following:
In SO10, for your standard text where u have used the text SAP LABS.
Instead of P1/ default para, change it to =. And then Save ur Standrd text.
Now in the SAPScript Text editor in which you want to print
P1 'Consignee :'
/: INCLUDE TEST OBJECT TEXT ID ST LANGUAGE EN
the output will be
Consignee : SAP LABS
I have tried and tested this method. It will surely work.
With regards,
Niharika. -
How to get only partial text of a paragraph into the table of content?
Hi guys,
currently I'm working on a manuscript based on the publication manual of the American Psychological Association.
Unfortunately, there is some sort of heading that's placed right in front of further text. Here an example:
+This is my heading.+ Now ordinary text formatted differently should follow.
Does anyone here know, how to get the text of the heading (but not the following text) into the table of content? For as far as I know I can't format the heading as a different paragraph than the following text.
By the way, I use pages'08.
Thanks for your helpHi Dennis,
thanks for your suggestion, unfortunately I already tried that and it didn't work. I have created several unique styles. Problem is, I need two diferent styles in *one paragraph* - one style for the "heading", which is consistent to the APA manual not an own paragraph (sorry, not my idea...), and another style for the following text. As my example above shows, the heading is followed by usual text and I may not press return after the heading and switch to a new paragraph..
It has to look exactly like this:
+heading in italics.+ Now heading is followed by usual text without changing the paragraph or starting a new line. Blurb blurb blurb whatsoever blurb blurb. The text goes on an on and an on you see.
I can't format the heading differently than the text (because if I try, the whole paragraph is formatted this way) and so I can't add just the heading to the TOC. Do you see what my problem is? Got any other suggestion?
Maybe you are looking for
-
I purchased a song and a short pxr video for my new ipod, every time i try to load on to the IPOD i get "there was an error downloading your purchased music. The Disk could not be read from or written to." I have tried both usb ports, i have reset th
-
I am using a WD My Passport Studio external hard drive as a Time Machine. I get the error that a back up folder could not be created when my iMac has been asleep, any advice. The hard drive is set set not to go to sleep.
-
This is my second time getting this message. I downloaded Creative Cloud in the past and it never worked. I just tried again same thing. I've disabled my firewalls even! Nothing works. What is going on??
-
How can i change the lookandfeel of my application ???
Hi, i want to change the look and feel of my application. I read that it doesn't work with AS 9.0.2 but with 10G it is possible. I know that i have to change the formsweb.cfg, i know that i've to create an .jar file, but how looks the structure of th
-
Nothing happens sending some pics and videos iMessage
I communicate with a few people using iMessage with iPhone 4. Since IOS 7.0.3, some pictures and some videos will simply not send and nothing shows up in the history. No indication of an error. It doesn't show up in the message list and doesn't se