Accessing the Value of Standard Hours in PPOME
Hi All,
I need to access the value of Standard Hours against a Position as displayed in transaction 'PPOME'.
What I have seen so far is that this value may or may not be present in HRP1011 depending on the type of assignment of Employee groups/sub groups etc.
I have come across a Fn. Mod. RH_POSITION_INFO which gives the correct values but it has a 'call screen routine' as such it displays the values on screen, I need the values to be used in a report/module program.
I can obviously clone this Fn.Mod and delete the call screen bit but I want to know if there is another way to get the standard hours? Any Fn. Module/Sub routine etc.
Many Thanks in Advance
Sanjay
Hi Sanjay,
Use this FM <b>'RH_WORKTIME_GET'</b> to get the work schedule data from HRP1011.
Hope this will solve your problem.
Thanks,
Sarika.
Similar Messages
-
How to access the value of a field of a field symbol.
Hello All,
i need to access the value of a field in a field symbol. But when i am trying to get the value like <FS>-POSNR, it's showing that that the <FS> has no structure.
In my program, the field itself that i need to check should be dynamic. ie i'll get the field in a variable and i need to find the value of that field.
Am pasting my code below, please tell me what needs to be done.
here in my sample code i am moving the entry of the <FS> into a work area structure. But in my actual program, i gets the structure as a parameter. So is there any way i can declare a work area dynamically...
FUNCTION z_39181_dyn_fs_60758.
""Local interface:
*" IMPORTING
*" REFERENCE(PARAMETER) TYPE VBELN
*" TABLES
*" DATA_TAB
BREAK-POINT.
FIELD-SYMBOLS <fs> TYPE ANY.
FIELD-SYMBOLS <fs1> TYPE ANY.
FIELD-SYMBOLS <fstab> TYPE ANY TABLE.
DATA name(5) VALUE 'POSNR'.
FIELD-SYMBOLS <f> TYPE ANY.
DATA: dref TYPE REF TO data,
dref1 TYPE REF TO data,
dref2 TYPE REF TO data.
DATA: lv_lips TYPE string.
DATA: lv_lipsfld TYPE string,
lv_fld TYPE string,
lw_lips TYPE lips.
lv_lips = 'LIPS'.
lv_fld = 'LW_lips-POSNR'.
CREATE DATA dref1 TYPE (lv_lips).
CREATE DATA dref TYPE STANDARD TABLE OF (lv_lips).
CREATE DATA dref2 LIKE LINE OF data_tab.
ASSIGN dref->* TO <fstab>.
ASSIGN dref1->* TO <fs>.
assign dref2->* to <fs
<fstab> = data_tab[].
LOOP AT <fstab> INTO <fs>.
lw_lips = <fs>.
WRITE lw_lips-vbeln.
ASSIGN (lv_fld) TO <fs1>.
write <fs>
ENDLOOP.
Helpful answers will be rewarded...Use syntax
ASSIGN COMPONENT name OF STRUCTURE struc TO <fs>. -
How can I access the values in ProfileArray of a CWIMAQProfileReport?
Hi all,
I'm not sure if this is the right board, but I didn't find one related to VB and NI Vision.
I'm using LineProfile2 from CWIMAQVision1 which gives me a ProfileArray which is a variant. I'd like to access the
values in the array. Normally I would do it like
Report(1).ProfileArray(i)
but that does not work. I can get the bounds of the array with LBound and UBound. I can observe the array in
debug modus and it contains reasonable values.
How can I get access to the contents of the ProfileArray?
Thanks in advance
AxelHi Elmar,
thanks for paying attention to my problems.
I use Vision 8.5. My email adress is [email protected]
I don't need the hole intensity of the image/2D array. I only need the
intensity values of a given line which should be a 1D array of bytes.
I use the following command
CWIMAQVision1.LineProfile2 Image, Line, Report
When I understood the command correctly the intensity values are
in the Report. I would get them with
Report(1).ProfileArray(i)
But that does not work. I get a runtime error #450.
Other stuff with the report works and gives reasonable values e.g.
Report(1).PixelCount
LBound(Report(1).ProfileArray)
UBound(Report(1).ProfileArray)
Or passing the hole array to plot the values also works
frmLineProfile.CWGraph1.PlotY Report(1).ProfileArray
Best regards,
Axel -
Accessing the value of a text box input
how do i access the value of a text box on a jsp page..
eg:if the page name is Test.jsp and it has a text box named text.....You're mixing JSP and JavaScript. If you're staying within the same page, e.g. no get/post to another JSP, and you need to update values of a text field within a form, use pure JavaScript, such as:
<form name="fred">
<input type="text" name="USERID" size="15" onBlur="document.fred.PASS.value=document.fred.USERID.value;"><br>
<input type="text" name="PASS" size="15"><br>
</form>
This will change the value of the PASS field to the same as the USERID field, which is what I think you were trying to do.
Not to be rude, but in the interest of keeping the Java forum pure, I would look towards a JavaScipt forum if you wish to use pure JavaScript (http://freewarejava.com/cgi-bin/forumdisplay.cgi?action=topics&number=1&SUBMIT=Go)
bRi -
How to access the value of application item in javascript
How to access the value of application item in javascript?
Hi,
One way
var myVariable = '&MY_APP_ITEM.';Br,Jari -
How to access the value of the editorDataField="value" to the actionscript file
Hi ,
I have a itemRenderer component(button) in the datagrid ,I am
catching the label of the button (when changed )using the property
in the <dataGridColumn> tag .
My tag looks like this
<mx:DataGridColumn headerText="ABC" dataField="COL1"
rendererIsEditor="true" editorDataField="value"
itemRenderer="renderer.buttonRenderer" editable="false"/>
I need to access the value of the editorDataField in to my
actionscript file ,
Can any one please help me
thanks
NashHi,
if it is the current row, use this.getCurrentRow().getAttr() where the attribute can be identified by the index or a String (its name). If you need to access aspecific non-current row, use getRowAtRangeIndex(int index)
See: http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7Cserver%7CViewObjectImpl~html/
Frank -
How to Access the value(Ex: Delivery no) From Web to R/3 side.
How to Access the value(Ex: Delivery no) From Web to R/3 side.
Any sample code please suggest.
saiHi,
Try RSA3.
Extract Checker
/people/sajeed.ms/blog/2006/02/12/extract-checker
Thanks,
JituK -
How can we access the value set to a search criteria's attribute
Hi guys,
Is there any way to access the value which was set to a search criteria's attribute programmatically in the backing bean?
Regards !
SameeraCheck sample 85 from the adf code corner sampleshttp://www.oracle.com/technetwork/developer-tools/adf/learnmore/85-querycomponent-fieldvalidation-427197.pdf
Frank shows how to access the variables.
Timo -
Accessing the value in option Tag in html using JSTL
Hi,
Following is my code
<select>
<option value="1">one </option>
<option value="2">Two</option>
</select>
Now, if I select two from the option, i need to get the value 2, using JSTL( JSP standard Tag Library).
Can someone help me out.
Thanks
Achillies.You need to give the "select" component a name to submit under.
<select name="yourChoice">
<option value="1">one </option>
<option value="2">Two</option>
</select>When you submit this page, it will submit a parameter like yourChoice=2.
In a servlet you retrieve this with request.getParameter("yourChoice");
In JSTL/EL, you can use the param map: ${param.yourChoice} -
Dynamically change the value in standard text
Hi all,
I have created standard text using SO10 transaction. I have included the text id in SAP FORM. My requirement is some text need to change dynamically in the text when printing the form.Is there any way to do it.
Thanks
SuadrsanaHi .. Here is the solution ...
Hi &V_NAME&
Thanks
XXXXXXXX
U need to get the value of
V_NAME
from the SF.
If u have the value of the variable in an internal table, then
LOOP AT ITAB INTO WA.
V_NAME = WA-NAME.
ENDLOOP.
I think this will be useful.
Suhas
Message was edited by:
Suhas Saha -
How to access the value of fiedl ( select list with redirect )
WE created one report and form. When i click in the edit button of the report
for the specific record ; the system go automatically in the form
and show me all the information. In my form ia have some fields ( select list with redirect ) in this way i store the key but i can see the description.
I want to control the delete operation in checking the value of some field
in my form. How can i do that. When i verfy the content with SESSION
my variable are empty
Thanks
Marc FortinHello Larry,
You can use a select list with submit and create a branch to the page you want to go to.
Hope that helps.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/ -
Can I Access the Value of a Global Variable in a Trigger
I'm using a Global variable in a Package which i use in the BIU Trigger to populate a column. After assigning the value for that global variable, I run an INSERT in the same package. But I find only the default value of the Global variable populated in the column. Can I use a Global Variable in a Trigger? Is there any way to put in a common value across all the tables in an application for all DMLs of a particular session?
Helios,
I'm already having the same setup mentioned in the thread. And I'm doing exactly whats given there. But the issue seems to be something different. I'm assigning the value to the Global Variable in the Package through Apex. Here's the Package Code:
CREATE OR REPLACE PACKAGE Schema1.SPMS_SECURITY_PKG
AS
X_app_user_id NUMBER DEFAULT -1;
FUNCTION USER_ID RETURN NUMBER;
END SPMS_SECURITY_PKG;
CREATE OR REPLACE PACKAGE BODY Schema1.spms_security_pkg
AS
FUNCTION user_id
RETURN NUMBER
IS
BEGIN
-- RAISE_APPLICATION_ERROR(-20001,'USER ID'||'*'||X_app_user_id);
RETURN NVL (x_app_user_id, -1);
-- RETURN NVL (sys_context('USERENV', 'CURRENT_USER'), -1);
EXCEPTION
WHEN OTHERS
THEN
RETURN -1;
END;
And Here is the Trigger Code:
CREATE OR REPLACE TRIGGER Schema1."USER_DETAILS_TRIGGER"
BEFORE INSERT OR UPDATE
ON PMS_SICAL.SPMS_USER_DETAILS REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
BEGIN
IF INSERTING
THEN
:NEW.created_by := spms_security_pkg.user_id;
:NEW.created_date := SYSDATE;
:NEW.START_DATE := SYSDATE;
ELSIF UPDATING
THEN
:NEW.updated_by := SPMS_SECURITY_PKG.X_app_user_id;--spms_security_pkg.user_id;
:NEW.updated_date := SYSDATE;
END IF;
END;
But I always get -1 in the both in the table after the DMLs. -
To access the value of the fields in selection screen
Hi,
I have used PNP Logical database in the report and also I have created a Report category with organizational unit,begin date and end date.so in my selection screen,I have these three fields.
Now i need to get the value of those fields in the program..so I need to how to get the value of these fields.
Regards,
KiruthiHi Kiruthi,
Goto SM31 -> V_T599F.
Write down your report category.
There u'll see the technical names of the selection screen fields.
You can use PNPXXXX name in your report.
Best regards,
Dilek -
How to access the value of a dynamic checkboxes
Hello,
I have a userform with a dynamic set of checkboxes.
Set chkBox = Me.Controls.Add("Forms.Checkbox.1", "Checkbox_" & counter & "_" & i)
I'm giving the name of each checkbox multiple parts because there will be multiple rows of checkboxes.
How can I know if checkbox_1_1 is checked or not?
I have tried
For Each cont In Me.Controls
If cont.Name = strCtrlName Then
'cont.Value doesn't exist
End If
Next cont
The value property is not showing up.
Thank you for any helpMaybe you've got your strCtrlName wrong, this worked for me
Private Sub UserForm_Initialize()
Dim i As Long
Dim counter As Long
counter = 5
Dim chkBox As MSForms.CheckBox
For i = 1 To 3
Set chkBox = Me.Controls.Add("Forms.Checkbox.1", "Checkbox_" & counter & "_" & i)
chkBox.Left = 9
chkBox.Top = i * 20
chkBox.Caption = chkBox.Name
Next
End Sub
Private Sub UserForm_Click()
Dim i As Long
Dim counter As Long
counter = 5
Dim chkBox As MSForms.CheckBox
For i = 1 To 3
Set chkBox = Me.Controls("Checkbox_" & counter & "_" & i)
s = s & i & "=" & chkBox.Value & " "
Next
Me.Caption = s
End Sub
Paste the above into an empty userform and run it. Tick a couple of checkboxes and click the form.
Maybe look into WithEvents in a class module to trap and act on checkbox changes in real time. -
How can I access the value of a loop index outside the loop?
I have a sequence structure in Labview 8.6. At one frame of the sequence I have a while loop. The loop runs for a while and then stops and the program then moves to the next frame of the sequence. Several frames further on down the sequence I have a cluster, the elements of which are outputs on the front panel. The index of the mentioned loop is one of the cluster elements, an numeric output. While the loop is running, I want the index to be displayed on the front panel in the output contained in the cluster. How can I do this?
The easiest way to do this is to use a local variable of your cluster. You'll need one copy set to read; connect that to a bundle by name, bundle in your index value from the loop, and wire the bundle output to a write copy of your local variable. You can create a local variable by right-clicking on the cluster terminal (in the block diagram) and choosing create local variable. You can change the local variable to read or write by right-clicking on it.
However, in general the use of both local variables and sequence structures is discouraged, and the right solution may be to rewrite your code with a while loop containing a case structure in which you update the cluster every time through the loop. This will look like a state machine; you'll also need a shift register in place of the loop iteration counter. If you post your code (ideally the VI, but if not then a screenshot of the block diagram) then we can provide more useful assistance.
Maybe you are looking for
-
How to add IPTC data to multiple photos w/o overwriting other data?
I need to see if there's a way to add IPTC data to one or more fields to mulitple photos without disturbing the other fields' data that's already there. For example, I've keyworded & captioned my images, but now would like to add the City or the Coun
-
I want to send a Message to my Mail system(Lotus Notes). How to get the Url and other Necessary information needed to configure the Receiver Mail Adapter?
-
Empty message body when including attachments
When we send an email which contains an attachment, the message body is empty at the recipients end. The attachment is OK though. When the mail doesn't contain a attachment, the message body is OK. We are using the integrated Apple mail client. Any i
-
TNS Error : ORA-12154 unsing oo4o with VB
In VB6, using oo4o(Oracle InProc Server), whin I run debuging mode with VB6 App, result is successfull. But, compile this application, and execute EXE module, error occur 'Cannot resolve TNS Name (ORA-12154)'.
-
Display header text and item text in smartform
Hi all, I have to display header text and item text of PO in smartform BBP_SUSPO. So how to do that.. I have to use 'read_text' Fm or directly i can get values from any table ??? Thanks in advance. Regards, Anagha Deshmukh