Help! How to use pay_element_link API
Hi all,
I am developing HRMS Interface to transfer employee element data from other system into EBS. And I want to use Pay element Link API to implement the requirement.
The requirement is:
1. Using the primary key of NATIONAL_IDENTIFIER_NUMBER (ssn) check to see if the employee exists as an active employee in Oracle.
2. Validate that the Element is a valid element and retrieve the Benefit Type from the DFF (ELEMENT_INFORMATION11). If the element is invalid or does not have a Benefit Type defined, flag the record as ‘REJECTED’ and write the error to the log file and move to next record in staging.
3. If the employee has another active element assigned for the same Benefit Type, using the API’s terminate the existing element for that Benefit Type.
4. Using the API’s add the new element to the employee with the appropriate element entries.
5. Flag the status of the record in staging to ‘PROCESSED’.
The step1 and step2 is logic adjustment. And I have finished them. Next I will finish 3,4 and 5. The fifth step is easy to approach. I can not do 3 and 4 for I do not konw how to use the pay_element_link_API. And I know the 3 wiil use PAY_ELEMENT_LINK_API.update_element_link, the 4 step will use PAY_ELEMENT_LINK_API.CREATE_ELEMENT_LINK. But the most difficult is I do not konw what to pass the parameter to update_element_link and create_element_link. I do not know the meaning of the two procedure's parameter.
When the element has many entry values, how to import these entry value into the EBS. For example, an element names 'Retirement Plan' and the element has a input value names 'Amount' and the value is 80$. So I want to know how to import the 80$ into EBS by the API. Just means, the 80$ will pass to which one parameter in the create_element_link or update_element_link.
Please give me some ideas. Thank you so much
On troubleshooting the HR api's you can use the pyupip logging mechanism . This would allow you to pinpoint what stored procedure section is being executed when the error ocurred.
set serveroutput on
spool trace.log
begin
hr_utility.set_trace_options ('TRACE_DEST:DBMS_OUTPUT');
hr_utility.trace_on;
-- your code here
hr_utility.trace_off;
Exception
when others then
dbms_output.put_line(sqlerrm);
hr_utility.trace_off;
END;
spool off
Similar Messages
-
How to use KM APIs, Can we use them in Standalone J2ee Application
Hi Experts,
I got KM APIs.
I need to use them to access the KM Repository Content.
I m a newbie in SAP KM.
Can anyone help me to use KM APIs.
For Eg:
com.sapportals.portal.security.usermanagement.IUser user =
IResourceContext resourceContext = new ResourceContext(user);
RID rid = RID.getRID("/etc");
try {
IResource resource = ResourceFactory.getInstance()
.getResource(rid, resourceContext);
if( resource != null ) {
// resource found
System.out.println("resource " + resource.getRID() + " found");
} else {
// resource not found
System.out.println("resource " + resource.getRID() + " does not exist");
catch( ResourceException e ) {
// problem while retrieving the resource
System.out.println(
"exception while trying to get resource " + e.getRID()
+ ": " + e.getMessage()
How will i get the IUser populated?
Can i use KM APIs from a standalone J2EE application?
Can i Populate IUser in standalone J2EE application's Servlet?
Please help me out.
Waiting for reply
-pankajHi Prem,
Can u tell me how to deploy a war file on to the SAP J2EE server?
I know how to deploy on Tomcat Server, but dont have any experience abt SAP J2EE server.
Does SAP J2EE server also have some Webapp directory like TOMCAT where we have to put our WAR File?
Or to Deploy a WAR File in SAP J2EE server is different, if yes then wats the procedure to do that?
And can i access the KM APIs in SAP J2EE Server? -
How to use java api for function activity in embed oracle workflow?
because i can't install standalone oracle workflow successfully.
pls tell me how to use java api for function activity in embed oracle workflow?
are there some patch or pulg-in package?
ths a lot...........The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
because i can't install standalone oracle workflow successfully.
pls tell me how to use java api for function activity in embed oracle workflow?
are there some patch or pulg-in package?
ths a lot........... -
Need help how to use itunes card to download music
Need help how to use itunes card to download music
If you want to add the iTunes card to your account, then in the iTunes app on the iPad you should be able to scroll to the bottom of the Music tab and there should be a Redeem button - there is more info here : http://support.apple.com/kb/HT1574
-
Where I can find documentations on how to use MyComponse API ?
Where I can find documentation on how to use MyComponse API ?
Any example ?
Thanksnot 100% sure at which point the callout to BEFOREPROCESSCOMPOSE is done, but during the process logs phase, the data in the CVR$ tables is copied into the clg$ tables, and the cvr$ table dml flags cleared
unles the query is very complex/long running why not join the clg$ tables (only have the data that has changed, so smaller than the cvr$ tables, to your base tables for determining if relevant within the MyCompose needCompose method?
an example from one of our MyCompose classes is
public int needCompose(Connection conn, String clientid) throws Throwable{
boolean baseDirty = false;
Statement st = conn.createStatement();
String sql = null;
int rowCount = 0;
int fetchCount = 0;
ResultSet rows;
// log user
// sql = "INSERT INTO qpub_log (TIMESTMP,message) "
// + " values (sysdate, '" + clientid + " assd' )";
// rowCount += st.executeUpdate(sql);
// need to compose if there are any relevant changes to assessment details FOR
// TIR / SOLO assessments
// Inspection history checklists
// PIJ marking sheets
// INSSI
// Risk Assessment)
// also changes to (in case of underlying alterations causing data to be withdrawn)
// STATUS_LOGS
// ROLE_ASSGNTS
if(this.baseTableDirty("CDB_OWNER", "ASSESSMENT_DETAILS")){
return oracle.lite.sync.MyCompose.YES;
if(this.baseTableDirty("CDB_OWNER", "STATUS_LOGS")){
sql = "SELECT count(clg.context_key) "
+ "FROM CDB_OWNER.ROLE_ASSGNTS rola "
+ " ,CDB_OWNER.USER_ACCOUNTS usra "
+ " ,CDB_OWNER.CLG$STATUS_LOGS clg "
+ "WHERE usra.user_name = '" + clientid + "' "
+ "AND rola.rolat_rol_code IN ('INSPECTOR','COVER_INSP','DELEG_INSP') "
+ "AND rola.context_key_by=to_char(usra.par_id) "
+ "AND rola.context_key_for=clg.context_key "
+ "AND clg.staa_seq_no=47 ";
rows = st.executeQuery(sql);
rows.next();
fetchCount = rows.getInt(1);
if (fetchCount != 0) {
sql = "INSERT INTO qpub_log (TIMESTMP,message) "
+ " values (sysdate, '" + clientid + " assd stal" + fetchCount + "' )";
rowCount += st.executeUpdate(sql);
return oracle.lite.sync.MyCompose.YES;
if(this.baseTableDirty("CDB_OWNER", "ROLE_ASSGNTS")){
sql = "SELECT count(clg.id) "
+ "FROM CDB_OWNER.ROLE_ASSGNTS rola "
+ " ,CDB_OWNER.USER_ACCOUNTS usra "
+ " ,CDB_OWNER.CLG$ROLE_ASSGNTS clg "
+ "WHERE usra.user_name = '" + clientid + "' "
+ "AND rola.rolat_rol_code IN ('INSPECTOR','COVER_INSP','DELEG_INSP') "
+ "AND rola.context_key_by=to_char(usra.par_id) "
+ "AND rola.id=clg.id ";
rows = st.executeQuery(sql);
rows.next();
fetchCount = rows.getInt(1);
if (fetchCount != 0) {
sql = "INSERT INTO qpub_log (TIMESTMP,message) "
+ " values (sysdate, '" + clientid + " assd rola" + fetchCount + "' )";
rowCount += st.executeUpdate(sql);
return oracle.lite.sync.MyCompose.YES;
// if no relevant changes do not compose
return oracle.lite.sync.MyCompose.NO;
} -
How to use java api while java programming especially using javase and java swing?
i need help for java api for undo, redo, htmleditorkit,editorkit.
in my project i have to use java swing for desktop application but, i need help for how to implement and how to retrieve java api.
please reply with example or code..i need help for java api for undo, redo, htmleditorkit,editorkit.
in my project i have to use java swing for desktop application but, i need help for how to implement and how to retrieve java api.
please reply with example or code..
You find examples and code by searching the internet, not by using forums.
Start with The Java Tutorials - it has trails for the bulk of the Java functionality.
See the trail 'How to Write an Undoable Edit Listener'
http://docs.oracle.com/javase/tutorial/uiswing/events/undoableeditlistener.html
You learn by DOING - not by reading. Actually DO the tutorial example and try to understand WHAT it does and HOW it does it.
Then search for other tutorial trails that are of interest. -
How to use tcRequestOperationsIntf API to create a self-request?
According to documentation, I can use tcRequestOperationsIntf API methods to create and manage requests.
How can I use these methods to initiate a self-request (for provisioning user a new resource)?
Because when I create a usual request, it's equivalent to direct provisioning the resource (from the user's resource profile) then all approval processes are bypassed :(While tcUserOperationsIntf.provisionResource would provision the resource to the user bypassing the approval, tcRequestOperationsIntf can be used to raise a request to provision a user with a resource along with approval, if approval is defined for that resource in the approval process.
Here is a sample code for raising a request to provision user (lUserKey) with resource object (lObjectKey)
///Created the request object for provisioning the RO
requestObj = (tcRequestOperationsIntf) utilFactory.getUtility("Thor.API.Operations.tcRequestOperationsIntf");
HashMap reqMap = new HashMap();
reqMap.put("Requests.Target Type", "U");
reqMap.put("Requests.Object Request Type", "Add");
reqMap.put("Requests.Type", "U");
lRequestKey = requestObj.createRequest(reqMap);
//Adding user to be provisioned for
requestObj.addRequestUser(lRequestKey, lUserKey);
//Adding object to be provisioned
requestObj.addRequestObject(lRequestKey, lObjectKey);
//create the request
requestObj.completeRequestCreation(lRequestKey);
Hope it helps,
Rgds, Ajay -
How to use Win_Api_Shell api in forms 6i.
hi all,
I don't know how to use apis' in forms. Can u help me please?
sankarHi,
The "What's New" release notes is somewhat misleading. However, what was released in SP2 is a framework called Custom Data Provider framework which has extension points for a developer to build new plug-ins which can facilitate in accessing different data sources. I suggest you reading:
http://help.sap.com/businessobject/product_guides/boexir31SP2/en/xi31_sp2_cdp_dev_en.pdf
You can visit posting at:
/people/ted.ueda/blog/2009/08/07/web-intelligence-rich-client-custom-data-provider-plug-in--tracking-forest-fires
Regards
Sumitesh -
Hi All,
In OIM how can i use my own/Custom API"S. Wher do i need to place the Jar/Class files. Like in other Identity Management tools (I only have the experience of SUN) you can place the files under WEB-INF/lib or WEB-INF/classes and then can easily use them, does OIM provides this/similar kind of functionality and how we can use that.Hi,
If you want to use custom API to create adapter then put the jar file in <OIM_Install>/xellerate/Java Task/
folder and if you want to use them to create task Schedular then put it in <OIM_Install>/xellerate/Schedular/
regards -
How to use the API for DATE, MONTH AND YEAR
I would like to use the java api in .util.calender in the java api to get the date.
How to implement the API for the "DATE","MONTH","YEAR" which are available provide by java?
can someone give me in one complete code?From the Java Developers Almanac 1.4:
Calendar cal = new GregorianCalendar();
// Get the components of the date
int era = cal.get(Calendar.ERA); // 0=BC, 1=AD
int year = cal.get(Calendar.YEAR); // 2002
int month = cal.get(Calendar.MONTH); // 0=Jan, 1=Feb, ...
int day = cal.get(Calendar.DAY_OF_MONTH); // 1...
int dayOfWeek = cal.get(Calendar.DAY_OF_WEEK); // 1=Sunday, 2=Monday, ... -
How to use PSA api functions RSAR_ODS_API_GET
Hi everybody
I need to call function module RSAR_ODS_API_GET. It recive an internal table with request ids and should return in E_T_DATA "unstructured" data from the psa and in E_T_RSFIELDTXT the description of the data structure, I guess
from sap help only thing I have reggarding how to use the function module is :
"You can call up the function module RSAR_ODS_API_GET with the list of request IDs given by the function module RSSM_API_REQUEST_GET. The function module RSAR_ODS_API_GET no longer recognizes InfoSources on the interface, rather it recognizes the request IDs instead. With the parameter I_T_SELECTIONS, you can restrict reading data records in the PSA table with reference to the fields of the transfer structure. In your program, the selections are filled and transferred to the parameter I_T_SELECTIONS.
The import parameter causes the function module to output the data records in the parameter E_T_DATA. Data output is unstructured, since the function module RSAR_ODS_API_GET works generically, and therefore does not recognize the specific structure of the PSA. You can find information on the field in the PSA table using the parameter E_T_RSFIELDTXT."
unfortunately I when running de report bellow, I get a dump which says:
Function parameter "E_DATA" is unknown
in the definition of the interface E_DATA has no type, which means it can recive any table type, right?
So I have two questions?
1) How to get the code working
2) How do I use the parameter E_T_RSFIELDTXT to parse the data returned in E_DATA
I tried test the function with tc se37 but I get a short dump as well (diferent message although).
by debuging RSSM_API_REQUEST_GET for this code I found it try to put an internal table with the struct of the database table /BIC/B0000151000 in E_DATA
Thanks a lot for any help
rgds
my test report is:
REPORT ZTEST_PSA_API.
TABLES: /BIC/B0000151000 .
TYPE-POOLS: RSSM.
TYPES: BEGIN OF STC_REQ_LINE,
sign(1),
option(2),
low TYPE rsa_request,
high TYPE rsa_request,
END OF STC_REQ_LINE,
IT_REQUEST TYPE STC_REQ_LINE OCCURS 0.
DATA: lit_request TYPE RSSM_T_API_REQUEST_GET WITH HEADER LINE,
lc_system TYPE RSSM_T_API_LOGSYS,
lit_request1 TYPE IT_REQUEST WITH HEADER LINE.
DATA: lc_dtarget_name TYPE RSA_ODSNAME,
lit_meta_data TYPE RSARC_T_RSFIELDTXT.
DATA: lt_psa_data LIKE /BIC/B0000151000 OCCURS 0.
CALL FUNCTION 'RSSM_API_REQUEST_GET'
EXPORTING
I_SOURCE = '2LIS_13_VDITM'
I_TYP = 'D'
I_DATEFROM = '20060627'
IMPORTING
E_T_REQUEST = lit_request[]
E_T_LOGSYS = lc_system
EXCEPTIONS = 1.
READ TABLE lit_request.
lit_request1-sign = 'I'.
lit_request1-option = 'EQ'.
lit_request1-low = lit_request-request .
APPEND lit_request1 .
break-point .
CALL FUNCTION 'RSAR_ODS_API_GET'
EXPORTING
I_T_REQUEST = lit_request1[]
IMPORTING
E_ODSNAME = lc_dtarget_name
E_T_RSFIELDTXT = lit_meta_data
TABLES
E_DATA = lt_psa_data
EXCEPTIONS
NO_DATA_FOUND = 1
PARAMETER_FAILURE = 2
REQUEST_NOT_AVAILABLE = 3
NO_REQUEST_FOUND = 4
NO_FIELDS_TO_ODS = 5
NO_ODS_FOUND = 6
PACKAGE_LOCKED_BY_LOADING = 7 .I found this at the file */rss/rss_detailed_view.jsp*
Version version = (Version)request.getAttribute("version");
if(version != null){
INodeManager nodeMgr = ContentManagerFactory.getNodeManager();
Node node = nodeMgr.getNodeByUUID(new ContentContext(), version.getNodeId());
I think this is what you are looking for -
hi,
Can someone share some sample codes about using win32 API in Flex if possible ?
ThanksHi
Here I am placing the syntax and example
syntax:
movieclip.gotoAndPlay("framelabel");
example:
mc1.gotoAndPlay("intro");
for further details:
http://livedocs.adobe.com/flex/3/html/help.html?content=Working_with_MovieClips_1.html
If this post answers your question of helps. Please mark it as such -
Hi,
Can someone please point me to some references or sample implementation where Catalog and Search API functionality is used.
I want to create a stand-alone windows application much like APILocator.exe to index and search a set of PDF files.
Thanks
-SanjaiHi Leonard,
Thanks for the response.
Yes I have downloaded the SDK. I'm looking for something more detail as to how to use the catalog APIs to index set of PDF's and use it to search ( if its possible )
Thanks again
-Sanjai -
How to use of API for Cancel Sales Orders
Hi....
I want to use API for Cancel Sales Orders. Plz give me advice how we can cancel orders. I know that there is procedure provide in ORACLE APPs (i.e. OE_ORDER_PUB.process_order). But in this procedure i know the how to create and update sales order, but how to Cancel order with the use of this API.
Plz send me soultion as soon as possible. ITS VERY VERY URGENT BASE.
Thanks in Advance.Hi all,
We are importing Sales Orders on 11.5.9 using OE_Order_PUB.Process_Order API .We have supplied most of the mandatory fields and the same data works from the front end. When we use the API it throws a Ora 20001.
A snapshot of the error message.
SQL> exec pk_process_object.process_order('1o');
Message Count is :2
Message is RA-20001: User in Package OE_Header_Util Procedure Get_Order_Number
Message is :User-Defined Exception in Package OE_Header_Util Procedure
Pre_Write_Process
Return Status is ErrorU
PL/SQL procedure successfully completed.
-------------------------------------------------------------------------------------------- -
How to use tableColumnGroup APi
hi everybody
A table columnGroup is used to merge more than one column with one heading..Can u please help how to do it or
anybody can help me with any tutorial or some explantion on it
Thanks in advance
madhavihi,
i am trying to group 3 columns in a group using TableColumn Group ,
In layout I took a table UI element, and added a TableColumnGroup and a table Column ( with text view ) in that table
In TableColumnGroup i added 3 columns using insert table Column and added text View to each Column.
In context i took a ItemsNode and binded it to the data source property of table .
when i binded the text property of the text view(outside column)
to the context attribute say <node name>.col1
it is visible in layout,but if i have done the same to the column inside Table Column Group, its not visible in layout
Can anybody help me about setting properties of TableColumngroup and to the columns present inside the Group
What properties should be set to work Correctly.
and how to bind the Context value attribute to TableColumn Group and column present in that group
thanks and Regards
Madhavi
Edited by: madhavi kotra on Apr 18, 2008 11:13 AM
Maybe you are looking for
-
ICal not connecting to Google Calendar - HTTP 404 error
Hi there I've just bought my first Mac, and I'm running Mountain Lion, just updated to 10.8.1. When I set the system up, I fed in the details of my Google account, and it merrily put my Gmail into the Mail app, and Notes also syncs. But, the Calendar
-
Hi!! I would like to see if anyone could provide me with some info regarding the following I have a problem when I run outgoing payments through F110. I created a new payment method and posted two vendor invoices using this method. When I run F110...
-
New Samsung Galaxy S5 won't download MMS messages
Hi, I just bought a Samsung Galaxy S5 and it wont download the MMS messages. I've looked everywhere for answers but can only seem to find info on previous iphone users switching to the Galaxy. This is quite aggravating and would appreciate any adv
-
NLS:4: Cannot open message catalog LIBWSC_CAT
Hi I am not sure this is the right place to place my question. Please move it to right place. I have an application on the unix (Solaris 5.8) and tuxedo 8 on which it runs fine but if I am using linux system to run the same application which is writt
-
Post Author: madan.76 CA Forum: Data Connectivity and SQL Hi All, I'm facing this problem. When I run my Crystal Report in it give error "Physical database not found", but all database related settings are correct, I'm using Access 97 database. Anybo