Funtion RH_STRUC_GET
Dear all,
I have a question about the function RH_STRUC_GET.
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
act_otype = 'P'
act_objid = employee number
act_wegid = 'B025'
act_plvar = '01'
act_begda = '1900/01/01'
act_endda = '2010/01/01'
act_tflag = space
act_vflag = 'X'
authortiy_check = space
what i want to get is the begda in the result_object,
i can get a record from the result_object,but the begda
and endda is blank,and actually the record in the table
HRP1001,its begda and endda is not blank,
can anybody help me ?
thank you very much
Hello,
Please try Function Module HR_EHS00_READ_HRP1001.
Regards
Sabu.
Similar Messages
-
Does anyone know if project a project size affects the functionality of text box entry.
We have a project with 377 slides and for some reason, certain text entry boxes are not funtioning.
when we break the project down to smaller pieces, the functionality is restored.
is there some type of size limit for project/ text box funtionality?
tlockosHi there
Project size affects lots of things. You should consider yourself lucky that you haven't seen corruption and loss of data with that many slides!
Captivate 5 should change this limit, but versions 4 and earlier should adhere to a typical guideline of 50-65 slides. Sometimes you can get away with as many as 100-150, but it depends on many factors such as number of objects, how much audio is present, project resolution, etc.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Variable size item formulla key funtion module,
I am developing user interface for manual reservation (cutsom development). User wants to calculate quantity of material if he enters size1, size2 and size3. Also he wants that a formula key option to be provided so that he can mention conversion formula. Is there any standard function module for variable size formulla funtion module.
I want to use same logic of variable size item formulla of bom in the above custom template.
Please suggest.Hi
The function module EVAL_FORMULA and FORMULA_EVALUATION may help you as they all export calculated values as output. Please go to SE37 to click the button 'Function module documentation' to see more information.
Or go to SE80 to check the function group CALC to see more function.
Best Regards
Leon. -
Hi,
I have a requirement that i have to call a C funtion from the BPEL which inturn will invoke a deamon process. I have this requirement because my code is specific to C and the deamon invocation code is written in C. I need to pass some parameters to the C funtion as well. I looked in the BPEL Cook book with out a lot of success. Could you please help me find some documentaiton on accomplising this task. Examples would be a great help as well.
Thanks
Sravanti]Hey
Can u please tell me how to invoke a C function using BPEL....I mean how can i build a webservice using my C function.I appreciate ur help
Swethaa... -
PR to PO creation drag & drop partner funtion not working.
Hi,
While creating the PO by using Drag & Drop function in ME21N, the partner function (PI,OA) of the vendor are not appering in P.O. Header except VN funtion. But if we created the P.O. Manually (with same PR) it is appering in P.O. I would like to know is this standard fuctionality of SAP or it has any patch/Note to correct it?hi Jitendra Kinja
i am facing a simlar kind of issue in my SAP system , is there any workaround for this?pl let me know
thanks
Dkmurthy -
Why again funtion modules in ABAP OO ?
if you look at the code inside
cl_gui_frontend_services->gui_upload they use gui_upload function.
there is no difference.
internally the class also uses GUI_UPLOAD ..........
there is conflict like data consistancy problem with function module ..
why again sap is using funtion modules in class method ...
Instead sap can develope method purely by coding in method know ?
Can any body explain what are the advantages and disadvantages ?Hi,
I think the FM can be used by only one way, with the same calls way( depending for parameters ) and always with the same behavior.
But if you extends the class you can inherits the class's components and insert new attributes.
This is one of the benefits of the OO.
Each SAP's release, many FM are being modified to OO.
Regards,
Marcelo Ramos -
Error in FM RH_STRUC_GET
Hi all,
I have an error FM RH_STRUC_GET,
I have entry in Pa0001,
pernr 81328
start date 02.05.2008 ,enddate 31.12.9999
position :20050130 MANAGER
MANAGER SUPPORT
org unit: 00022828 SDH
SDH Consulti
But when i run STRUC_GET
using parameters
ACT_OTYPE P
ACT_OBJID 81328
ACT_WEGID P-S-O
ACT_INT_FLAG
ACT_PLVAR
ACT_BEGDA 22.05.2008
ACT_ENDDA 22.05.2008
ACT_TDEPTH 10
ACT_TFLAG X
ACT_VFLAG X
AUTHORITY_CHECK X
TEXT_BUFFER_FILL
BUFFER_MODE
The below error shows..
Runtime: 17.907 Microseconds
Exception NO_ENTRY_FOUND
Message ID: 5W Message number: 170
Message:
Structure 01 P 81328 P-S-O: No agent found.
If the relationship is there in HRP1001, will get the same result in STRUC_GET ....what wrong whith the FM??
regards
JoseIt should work exactly as transaction PPSS (apart from the buffer)
RH_STRUC_GET uses the HR-buffer and PPSS retrieves the data directly from the HR tables.
You can synchronise the HR-Buffer with SWU_OBUF.
If you can find no differences, then look at how you populate the parameters, Person 81328 shouldn't this be Person 00081328, for instance
Kind regards, Rob Dielemans -
Hi,
i am making a variable to show me the Project Number when both of the following dates are not blank
I am using a formula as following but for some reasons its brings MULTIVALUE Error in the last cell , i think its putting all the Project Number that even have one date either var_First Site initiated or 1st Site Selected - Actual is present
please advise if the formula is fine
=([Project Number]) Where (Not(IsNull([Country (1)].[1st Site Selected - Actual])) Or Not(IsNull([Country].[First Site Initiated Ac])))
let me know if there is anyother way to just bring thsoe Project Numbers , where the relative dates are not null
attached is the screen shotso here is the thing .
the 2ndscreen shot is with the ISNULL Funtion , and it shows fine result ,
the 1st screen shot i added the following
Where (Not(IsNull([Country (1)].[1st Site Selected - Actual])) Or Not(IsNull([Country].[First Site Initiated Ac])))
infront of Project Number and it show MULTIVALUE -
How to make generic the javascript funtion in oracle adf
hi,
i created some validation funtion in javascript in resource folder.i am passing parameter input text id(which is in my adf page) in javascript funtion .but i want to use tat validation function for my whole application page.pls help meHi,
+"i created some validation funtion in javascript in resource folder.i am passing parameter input text id(which is in my adf page) in javascript funtion .but i want to use tat validation function for my whole application page"+
1. put the JS into an external JavaScriot file and reference it from af:resource. Don't copy it into all your pages
2. If you have common validation to perform, then create a custom validator instead of calling JS functions
http://docs.oracle.com/cd/E23943_01/web.1111/b31973/af_validate.htm#autoId20
Frank -
In Indesign CS6 I export an artboard to TIFF with the sdk's funtion SnapshotUtilsEx->ExportImageToTIFF(iStream) and, the resulting file is one pixel too large in the X, leaving a transparent strip on one edge. Any idea if there is a bug in the sdk?
An easy example to prove this bug of Indesing CS6: I create a psd with Photoshop CS6, with width 505 pixels, height 317 pixels and a resolution of 300 pixels per inch. This psd is placed on a page in InDesign CS6. Then I try to export it as a tiff with the functions:
fSnapshotUtilsEx->Draw(flags,fullResolutionGraphics,greekBelowPtSize,enableAntiAliasing,tr ansparencyQuality,abortCheck,pVPAttrMap,bDrawNonPrintingObjects);
and
SnapshotUtilsEx-> ExportImageToTIFF (iStream)
The resulting tiff has a width of 506 pixels (one pixel more in width). It will happen the same if we start with a width of 507 pixels, etc.
This error does not occur with Indesign CS5, nor Indesing CC. -
How to take the screen shot of my computer page by using Labview.... is there any funtions available in Labview?
Another thread about this theme.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
How to Update crmd_customer_h TABLE Using CRMV_EVENT Through Funtion Module
Hi
How we can update customer_h table using the CRMV_EVENT Where i implemented logic below in the Funtion Module.
data: lt_doc_flow TYPE crmt_doc_flow_wrkt,
lw_cust_h_com TYPE crmt_customer_h_com,
lw_input_field_names TYPE crmt_input_field_names,
lt_input_field_names TYPE crmt_input_field_names_tab,
lt_objects_to_save TYPE crmt_object_guid_tab,
lw_guid TYPE CRMT_OBJECT_GUID.
DATA : lv_process_type TYPE crmt_process_type.
data: wa_doc_flow type CRMT_DOC_FLOW_WRK.
data: wa_customer_h type crmd_customer_h.
* Function module for retriving the Process type.
CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'
EXPORTING
iv_orderadm_h_guid = iv_header_guid
IMPORTING
ev_process_type = lv_process_type
EXCEPTIONS
admin_header_not_found = 1
OTHERS = 2.
if lv_process_type eq 'ZG01'.
CALL FUNCTION 'CRM_DOC_FLOW_READ_OB'
EXPORTING
IV_HEADER_GUID = iv_header_guid
IMPORTING
ET_DOC_FLOW_WRK = lt_doc_flow.
read table lt_doc_flow with key objtype_a = 'BUS2000116' INTO wa_doc_flow. "gc_object_type-service.
if sy-subrc eq 0. "set flag for service order
lw_cust_h_com-ref_guid = wa_doc_flow-objkey_a.
lw_cust_h_com-ZZTRAIL_FLAG = 'X'.
lw_cust_h_com-mode = 'A'.
lw_cust_h_com-ref_handle = '0000000001'.
lw_guid = wa_doc_flow-objkey_a.
INSERT lw_guid INTO TABLE lt_objects_to_save.
endif.
lw_input_field_names-fieldname = 'REF_GUID'.
lw_input_field_names-fieldname = 'ZZTRAIL_FLAG'.
lw_input_field_names-changeable = ' '.
INSERT lw_input_field_names INTO TABLE lt_input_field_names.
Maintain Customer H
CALL FUNCTION 'CRM_CUSTOMER_H_MAINTAIN_OW'
EXPORTING
is_customer_h_com = lw_cust_h_com
CHANGING
ct_input_field_names = lt_input_field_names
EXCEPTIONS
header_change_error = 1
header_create_error = 2
error_occurred = 3.
ENDIF.
*endif.
*Clearing local variables
clear: lv_process_type,
lw_cust_h_com,
lw_input_field_names.
*Free internal tables
free: lt_doc_flow,
lt_input_field_names.Hi Faisal
I think your not clear with what i am saying anyhow i will again explain you my requirement
As per my requirement
1)in the service order search report i need to add a field called "Has trail order with No Follow up" with values "Yes" & "Blank"
For above Field i added using the structure CRMST_QUERY_SRVO_BTIL and through configuration i am able to display the field in webui as per (Attachement Pic 1)
2)When i search with search criteria as "Has trail order with No Follow up" with "Yes"
Then in result list i need to show the service order those having follow up as trail orders(sales order) only.if for next document trail order having any follow up then those service orders dont want to show in result list.
For above requirement i implemented F.M using CRMV_EVENT & I configured for BUS2000115 And BEFORE_SAVE The Order
The FM Will get trigger when i save the service order and for that service order if create any follow up and try to save the trail order then This FM Will trigger and in this i am doing validations.
3)Add one AET Trail Flag field is added under CUSTOMER_H Table.
4)in the FM I am validating for if the trail order having the preceding document as service order then i need to make flag as "X" For that service order in customer_h
if suppose when i delete trail order from the service order then that flag must need to be "unset" from the CUSTOMER_H.
Why bcoz we are doing above process is do show records in result list based on Flag values
these flag checks are validating in the BADI Which we implemented for search logic.
Please refer below Login for my requirement:-
Proposal to have a custom “flag” field (background at table level,
crmd_customer_h) linked to service order which gets flagged whenever at
least one Trial order is created and saved from the Service Order.
The flag value should be cleared when all the trial orders created and
saved as follow up transactions are deleted from the system.
Similarly for Trial Orders will use the same custom “flag” field
which gets activated when at least one follow up is created and saved from Trial Order.
The flag value should be cleared when all the follow up transactions from
the Trial Order are deleted from the system.
When the above search criteria “Has Trial order with no follow up”
“is” “Yes” is applied then the logic derives all the service
orders which satisfy additional search criteria applied in the search and
for these Service orders checks if the custom flag field is checked to
derive all Service orders which have Trial order. The custom flag values
values are derived from crmd_customer_h table in CRM.
4 )Further for all the Trial Orders determined in Step 3
check if the Trial Order has a follow up by checking if the custom flag field
is checked. The custom flag values are derived from crmd_customer_h table in
CRM.
5) If step 4 is not met populate the preceding Service
Orders in the Result list -
Procedure / Funtion works strangely at times
Hi All,
I am using
Forms [32 Bit] Version 6.0.8.23.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Oracle Toolkit Version 6.0.8.23.0 (Production)
PL/SQL Version 8.0.6.3.0 (Production)
Oracle Procedure Builder V6.0.8.20.0 Build #1377 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 6.0.7.1.0 - Production
Oracle Virtual Graphics System Version 6.0.5.38.0 (Production)
Oracle Tools GUI Utilities Version 6.0.8.20.1 (Production)
Oracle Multimedia Version 6.0.8.20.0 (Production)
Oracle Tools Integration Version 6.0.8.18.0 (Production)
Oracle Tools Common Area Version 6.0.8.18.0
Oracle CORE Version 4.0.6.0.0 - Production
I am facing a problem with the execution of Procedure / Function since long.
For example the following function returns Null value sometimes:
FUNCTION GET_LUD_KEY (P_LSE_NUM NUMBER) RETURN NUMBER IS
CURSOR SEL_LUD_NUM IS
SELECT NVL (MAX (LUD_NUM), 0) + 1
FROM RE_LEASE_UNIT_DTLS
WHERE LUD_LSE_NUM = P_LSE_NUM
AND LUD_COM_NUM = :COMM.COMPANY;
V_KEY NUMBER;
BEGIN
OPEN SEL_LUD_NUM;
FETCH SEL_LUD_NUM INTO V_KEY;
CLOSE SEL_LUd_NUM;
RETURN V_KEY;
END;
and then if i will change the funtion as follows and just add a Pause it works and then if I remove the pause then also it works.
FUNCTION GET_LUD_KEY (P_LSE_NUM NUMBER) RETURN NUMBER IS
CURSOR SEL_LUD_NUM IS
SELECT NVL (MAX (LUD_NUM), 0) + 1
FROM RE_LEASE_UNIT_DTLS
WHERE LUD_LSE_NUM = P_LSE_NUM
AND LUD_COM_NUM = :COMM.COMPANY;
V_KEY NUMBER;
BEGIN
OPEN SEL_LUD_NUM;
FETCH SEL_LUD_NUM INTO V_KEY;
CLOSE SEL_LUd_NUM;
pause;
RETURN V_KEY;
END;
I am having trouble with such a problem since long. Hopefully I am waiting for the solution for it is it because of any forms developer bug or I need any patch for it. Was this problem faced by any one else.
Thanks and Best Regards
Arif KhadasDear Baig thanks for your quick response once again.
The company item which belongs in every form and it belongs to a non database block called comm.
The value for the company item is assigned in the pre form trigger and its working quite well.
This are the company standards and its working quite well for each and every form in dozens of Modules.
The problem is not with :comm.company for sure.
The problem I am facing is the function works fine then sometimes in between it stops working then i just add a pause then it starts working again and then once again when i remove it works.
Its as if the this procedure does not gets executed at all sometimes. I would like to know the reason for such strange behaviour. -
Error message "SQL Statement ignored" while try to run an Funtion in APEX
Hello All,
In order to creating an application in APEX from CSV format i need to run below funtion.
CREATE OR REPLACE FUNCTION bcl_custom_auth (
p_username IN VARCHAR2,
p_password IN VARCHAR2)
RETURN BOOLEAN IS
BEGIN
FOR c1 IN (SELECT 1
FROM bcl_employees
WHERE UPPER(userid) = UPPER(p_username)
AND UPPER(last_name) = UPPER(p_password))
LOOP
RETURN TRUE;
END LOOP;
RETURN FALSE;
END;
but i am getting below error message:
Error at line 6: PL/SQL: SQL Statement ignored
4. RETURN BOOLEAN IS
5. BEGIN
6. FOR c1 IN (SELECT 1
7. FROM bcl_employees
8. WHERE UPPER(userid) = UPPER(p_username)
Could some body please check as i am new to PLSQL.
Thanks & regards,
Souvik Ghosh843873 wrote:
Hello Edstevens,
I did not understand your answer .Could you please elaborate.
Thanks & regards,
Souvik Ghosh
Edited by: 843873 on Jul 8, 2011 11:43 PMNotice that the message had been edited? I changed my mind from my original, shot-from-the-hip, mesage, and simply deleted the entire content. would have preferred to delete the entire message but can't. -
Why my ipad 4 wifi only can't use full funtion of apple map?
Hi, i had an ipad4,but i can not use full funtion of apple map .it mean when i use gps navigation it do not speak ,it only bold the road you set .that 's it. So please someone help me out.or gps only work on wifi + cellurlar
Only the cellular iPads have a built-in GPS chip, the wifi-only models don't. There are some external GPS units that apparently work with it e.g. Bad Elf GPS.
Maybe you are looking for
-
How to call a BPEL process from Java ?
How can I call a BPEL process from Java? The Java client should be outside of the PEL engine. Does someone have a piece of sample code for a "Hello world" java-to-bpel call (+ java client src)?
-
COREid Federation Error: A local user session could not be created for the
Hi, I installed two instances of COREid Federation in my machine. Also installed SiteMinder and LDAP. Source Domain of COREid (8101) uses LDAP as IdMBridge and Destination Domain (9101) uses SiteMinder as IdMBridge. I am trying to access the resource
-
Hello All - I have a scenario where the file output will be stored in a directory called OUT with filename<dateandtimestamp>.xml Is it possible to generate the same filename<dateandtimestamp>.RDY (with zero contents) into a different directory? If so
-
Edit in Photoshop greyed out, not available in LR 4.2
When I right click a photo in LR 4.2, I cannot get the option to edit in Photoshop Elements 11. The option to open in Photoshop is greyed out. What do I need to do to fix this? I have the Preferences in the Eternal Editing tab set to edit as a PSD, s
-
Create folder and copy files problem
Hello all indesign script Members where I work we use a permanent folder structure for an example a jobnumber called "123123" I have wrote a little interface called interface.jsx, this file is saved and located in 123123/scripts/interface I want my i