How to get the field row name of database from a form?

Advertisement

Hello experts,
I am newer in OIM and developments with the API's.
I have this environment,
one resource that have the attribute department
relationship with the database row
UD_RESOURCE1_DEPARTMENT and other resource with the same attribute in, UD_RESOURCE2_DEPARTMENT
I am programing one java class that put values in the
form field through the table name, sample,
UD_RESOURCE_DEPARTMENT.
I let some code:
# Hash table with the value of Department
myMap.put("UD_RESOURCE_DEPARTMENT", value);
# and save in the resource form
tcFormInstanceOperationsIntf tcform = (tcFormInstanceOperationsIntf)tcUtilityFactory.getUtility(dataProvider,"Thor.API.Operations.tcFormInstanceOperationsIntf");
tcform.setProcessFormData(Long.parseLong(formKey), myMap);
But this solution implies know the name of the field in the database and not is a global solution.
I am interesting in know how I can obtain the name of the
row field of the database for the atribute. Does anybody know how to obtain the row field name of database from an IT Resource or through the field name of the form?
Is this the correct way to store data in a form?
Thanks in advanced.

Advertisement

Hi,
Thank you.
I have seen this function in the OTN help, but how can i get the index number. My requirment is when saving the data, I need to save both the value and the element name into the database,
Also it is tabular block, more than one rows
Thanks again

October 11, 2015

How to get the field row name of database from a form?

Hello experts, I am newer in OIM and developments with the API's. I have this environment, one resource that have the attribute department relationship with the database row UD_RESOURCE1_DEPARTMENT and other resource with the same attribute in, UD_RE

How to get the report server name in Forms 10g.

How to get the report server name in Forms 10g. I'm using the Application Server 10g 10.1.2.Hello, I do not think that you can get this value from anywhere. A solution is to put the Reports server name in an environment variable stored in the /forms/

How to get the field COMPLETION in extract layout

Hi, Does anyone knows How to get the field COMPLETION in extract layout? i have not been able to find it and it is imperative to have it for implementing a new evaluation. Thanks a lot for your help. CAMILO URIBEHi Neil, The following steps describe

How to get the Portal Page name from PLSQL?

Can anyone tell me how to get the portal page name from my dynamic page using plsql? Apparently you can get the page id and work it out from there, but my calls to get the page id are not returning any values anyway. My code for attempting to get the

How to get the store procedure name inside this store procedure?

how to get the store procedure name inside this store procedure?Why cant you get the procedure name as hard code as the proc name is going to change. Are you looking for getting the parent proc name from child proc name which is getting executed with

How to get the field in table.

hi Guru, My Requirment is I hava table ZSample. Field: 1.Name 2.Age 3.Class 4.Country. Is it possible to get the field . Bye Coding. And i want store it in a StringTable. Regards Vivekananthan.SHello, You can use ABAP RTTS for that. Follow the exampl

How to get the field of customer PO no

I cannot get the field of customer PO no in 2LIS_11_VAHDR and 2LIS_11_VAITM , please give me a hand to tell me where to get it or how to do can get the customer PO no which in sales order overview,thanksHi Jeff please refer SAP approved doc for data

How to get the pull path name from a file upload window

Hello everyone! I have encountered the following problem with the following JSP code: <form method="post" action="filename.jsp"> Upload JAVA program: <input type=file size=20 name="fname" accept="java">

How to get the page FUNCTION NAME?

Hi All, How can I get the page Function Name? I tried below codes but it returns null value. <i>pageContext.getPageLayoutBean().getAttributeValue(FUNCTION_NAME)</i> Please help. Thanks!Sorry guys, i got it now. instead of getAttributeValue, us

How to get the current user name in Provider hosted app using appOnlyAccessToken

Hi,  Please help me, how to get the HostWeb UserName in Provider Hosted App i have Provider hosted App, and Anonymous Authentication is enabled on AppWeb, using appOnlyAccessToken Below code does not return current user who Log in in hostweb, it is r

How to get the member of cost element group from Profit center group

Hi Guys,               I need to get the member of cost element group from Profit center group like in Tcode KCH3 and the same from Account Group like in Tcode KDH3. Any Function Module available to get this data. Thank U for Ur time. Cheers SenthilI

How to get the field name in the PAI

Hello All. I have to run a FM on one of two fields in the screen. I don't want to write two different moudles to these fields like this:   FIELD scr100-lenum1   MODULE check_lenum1   ON REQUEST.   FIELD scr100-lenum2   MODULE check_lenum2   ON REQUES

How to get the field id of an UserField

Hello, in my AddOn i add an UserField to the table "OCRD". Later i have to change this field. I tried to initiate the UserField object with the method "GetByKey". This method needs two parameters: - TableName as string : "OCRD&quo

How to get the complete path name when uploading a file from servlet

Hi, I write a servlet to upload a file from html page <intput type=file name=fileupload>I am using import org.apache.commons.fileupload.to upload file. i want to get the all fields in the form and file name and content of the file also. It give the

How to get the Contact person name of Account site level contact person

Hi All, I have contact person defined at account level and other at account site level. I am trying to print the site leve contact name in my AR Invoice report. What i used is bill_to_site_use_id a input in the below query select hp2.party_name from

Master Child tables how to get the latest rows from both

Hi, Need some help with the sql. I have two tables Master & Child. In my Master table I have multiple rows for the same record and in the child table also multiple rows for the same master row how can I get the latest one's from both. For example Dat

[UIX-ADF] How to get the selected row in my ViewObjImpl.java

Hi, I have a uix table with a select column. I dragged my method from my ViewObjImpl and dropped it on the select column (radiobutton) as a submitbutton. If I run my application and select a row and press my button it always reads the first row. Why?

How to get the screen value to custom screen from standard screen

Hi all, I have a standard screen which is attached to a standard function group and a custom screen which is attached to a custom function group... Now my requirement is to get some field values from the Std screen to my custom screen ... I have used

How to get the identity claim encoding types of windows and forms authentication providers using API?

Hi, We have to get all the claims providers associated with a web application and its identity claim encoding type using API. For example: If the identity claim of windows authentication is user name and the user name is a string, then we should get

How to get the XML TAG name itself instead of TAG value

Hi All, I have a question here I want to retrieve the XML tag from a XML file instead of its value. Example: <item>Colgate</item> Now I want to retrieve "item" as output from XPath expression, I dont want its value as "colgate&q