How to save the Created by name instead of saving login user name
Hi All,
I done Without log in Jsp page to open one responsibility without login .
here created one column Created by here user can view list of values in username . it EAM module work request page .
my issue is while creating the work request Created by name saving in to the database but requirement is user needs to select using created by LOV that username needs to be save on data base .
once open the application created by name is coming as a login name using controller i removed the created by i set the created by name in PR is lovevent .
front end its working fine but while saving login user name is saving i need to save the created by name based on the lov .
can any one help to overcome this issue......
Thanks in Advance.....
Kumar
Hi,
Thanks For Reply
It is a Standard Page and created by column Passing in the package while inserting the data FND_GLOBAL.UserID.
I have One more option i need to pass the created by as perameter in Jsp Page based on that user i need to get the password using (Encrprit ) command .
Is it Possible to do in Passing the Parameter OAF to JSP page .and how to Encrprit the password to avoid entering the password .
I hope U understand My Requirement..
Regards,
Kumar
Similar Messages
-
How to change the "created by" name in calendar entries
My iPad calendar events have a typo in the "created by" name field. Does anyone know where this name comes from and how to change it?
I'm running the latest iOS. I sync with Outlook on a stand-alone Windows 7 PC via iCloud (not using Exchange). It does not seem to matter on which device the events are created.This type of question should really be asked in the Feedback on Developer Exchange forum or by email the site administrator directly, I'm sure the people that recieve these messages as part of their newsgroup services don't want read about DE specific problems.
That being said, click on "My Profile" in the top right corner of all NI web pages. From there click on "Modify Profile". You will see a box containing your information including your "Alias", click on edit and change your alias.
Brian -
Having trouble figuring out how to save the original photo after I've cropped it - i.e. I want to create a headshot of my husband from a photo of the two of us, but I also want to keep the original. Seems very basic, but can't seem to figure it out. Any help would be great!
Use File >> Save As
Choose a different file name so as not to overwrite the original and don't save any changes when closing the original. -
Ical can´t save the event "event name" to the exchange server
I have been trying to set up iCal to work with exchange in several Macs runnig Snow Leopard but there seems to be some time zone issue.
When I try to save a new event, I get a error: iCal can't save the event "event name" to the exchange server. The account "account name" currently can't be modified, to discard... If I change the city in time zone preferences to anything outside Mexico (for example Dallas Tx.) then everything works perfect, the problem is all of my users are in Mexico City aund using CST instead may cause other problems.
I have tried with time zone support enabled and also disabled.
Something very odd is that existing events can be modified or deleted, even with the city set to Mexico in time zone preferences.
¿Any suggestions?UPDATE 2: Found aother post that explains that this problem was fixed by enabling time zone support in iCal and then changing the city to the correct one by clicking in the upper right corner of iCal´s window where the time zone is displayed. https://discussions.apple.com/message/10108361#10108361
Well, I followed instructions mentioned above. By clicking on the upper right corner, a new window opens showing current iCal time zone settings (Not the same as Mac OS), in this window, time zone seems right (CDT), but as closest city, "UTC-UTC" is selected, so I change this to México and click OK, but the problem continues. If I go back to this iCal´s time zone window, "UTC-UTC" is still selected! and no mater how many times i change it back, after clicking OK, "UTC-UTC" comes back!.
Something else I just found out is that if the city is changed to anything outside Mexico within the same time zone in system preferences, as I mentioned before I can save events, but now in the upper right corner of iCal, I have two different CDT´s, one named "CDT Central Time" (the one that works) and other named "CDT Central Standard Time" (the one that doesn't).
My guess is that because daylight saving start and finish dates in Mexico are different from USA's, Apple created a different time zone with Mexico's rules (CDT CentralStandard Time) but something is wrong with it. -
How to save the form data into adobe db?
Hi All,
How to save the form data into adobe db?
I have designed one xdp file.
Through processFormSubmission(), I got the submitted form data as Document obj.
Then I have called the workflow kickoff program.
code:
InvocationRequest request = myFactory.createInvocationRequest ("myprocessname", //Specify the long-lived process name
"invoke", //Specify the operation name
params, //Specify input values (HashMap obj)
false); //Create an asynchronous request
It successfulyy started the workflow, but the submitted form data is not saved anywhere.
And also, How get the form data from tables?
Please provide the solution for the above.
Thanks in advance.
Regards,
Saravanan GYou need to create a process variable of type IN if you want to be able to pass data to your process. Then the params parameter (HashMap) contains a list of all the IN variables with their content that you want to pass to your process. They key is the name of the variable and the value the content. That way you should get it in your process.
Now LiveCycle will create a column in the database for every process variable, so the content will be saved in the database just by creating that process variable.
Jasmin -
How to save the data present in TEXT BOX?
Hi friends i am able to create a text editor in one of my screen but i want to know how to save the data when the text is entered in that text box and retrive when they open the screen?
Hi ,
Please check the format below since it is based on a working code
first you need to create a text in s010 function module...
there should be some key based on which you plan to save the text..imagine it is Purchase order then..PO+item numner is always unique.eg:0090010(900PO/item10).so in the code you can append these two and they will be unique..so you can always retrieve them,overwrite,save them anytime you need
**************data declarations
TYPES: BEGIN OF TY_EDITOR,
EDIT(254) TYPE C,
END OF TY_EDITOR.
data: int_line type table of tline with header line.
data: gw_thead like thead.
data: int_table type standard table of ty_editor.
****************fill header..from SO10 t-code..when you save you need the unique key..youfill it here and pass it in save_text function module
GW_THEAD-TDNAME = loc_nam. " unique key for the text -> our unique key to identify the text
GW_THEAD-TDID = 'ST'. " Text ID from SO10
GW_THEAD-TDSPRAS = SY-LANGU. "current language
GW_THEAD-TDOBJECT = 'ZXXX'. "name of the text object created in SO10
*To Read from Container and get data to int_table
CALL METHOD EDITOR ->GET_TEXT_AS_R3TABLE
IMPORTING
TABLE = int_table
EXCEPTIONS
ERROR_DP = 1
ERROR_CNTL_CALL_METHOD = 2
ERROR_DP_CREATE = 3
POTENTIAL_DATA_LOSS = 4
others = 5.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop data from int_table and save to int_line-tdline appending it.
*save the text
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
HEADER = GW_THEAD
TABLES
LINES = InT_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5.
IF SY-SUBRC 0.
ENDIF.
*To pass to Container
CALL METHOD EDITOR ->SET_TEXT
hope that the above sample with helps you solve the problem
Please check and revert,
Reward if helpful
Regards
Byju -
Dynamically built query on execution How to save the data in Object Type
Hi,
In pl/sql I am building and executing a query dynamically. How can I stored the output of the query in object type. I have defined the following object type and need to store the
output of the query in it. Here is the Object Type I have
CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPE AS OBJECT(
pkid NUMBER,
pkname VARCHAR2(100);
pkcity VARCHAR2(100);
pkcounty VARCHAR2(100)
CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPETAB AS TABLE OF FIRST_RECORDTYPE;Here is the query generated at runtime and is inside a LOOP
--I initialize my Object Type*
data := new FIRST_RECORDTYPETAB();
FOR some_cursor IN c_get_ids (username)
LOOP
x_context_count := x_context_count + 1;
-- here I build the query dynamically and the same query generated is
sql_query := 'SELECT pkid as pid ,pkname as pname,pkcity as pcity, pkcounty as pcounty FROM cities WHERE passed = <this value changes on every iteration of the cursor>'
-- and now I need to execute the above query but need to store the output
EXECUTE IMMEDIATE sql_query
INTO *<I need to save the out put in the Type I defined>*
END LOOP;
How can I save the output of the dynamically built query in the Object Type. As I am looping so the type can have several records.
Any help is appreciated.
Thankshai ,
solution for Dynamically built query on execution How to save the data in Object Type.
Step 1:(Object creation)
SQL> ED
Wrote file afiedt.buf
1 Create Or Replace Type contract_details As Object(
2 contract_number Varchar2(15),
3 contrcat_branch Varchar2(15)
4* );
SQL> /
Type created.
Step 2:(table creation with object)
SQL> Create Table contract_dtls(Id Number,contract contract_details)
2 /
Table created.
Step 3:(execution Of procedure to insert the dynamic ouput into object types):
Declare
LV_V_SQL_QUERY Varchar2(4000);
LV_N_CURSOR Integer;
LV_N_EXECUTE_CURSOR Integer;
LV_V_CONTRACT_BR Varchar2(15) := 'TNW'; -- change the branch name by making this as input parameter for a procedure or function
OV_V_CONTRACT_NUMBER Varchar2(15);
LV_V_CONTRACT_BRANCH Varchar2(15);
Begin
LV_V_SQL_QUERY := 'SELECT CONTRACT_NUMBER,CONTRACT_BRANCH FROM CC_CONTRACT_MASTER WHERE CONTRACT_BRANCH = '''||LV_V_CONTRACT_BR||'''';
LV_N_CURSOR := Dbms_Sql.open_Cursor;
Dbms_Sql.parse(LV_N_CURSOR,LV_V_SQL_QUERY,2);
Dbms_Sql.define_Column(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER,15);
Dbms_Sql.define_Column(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH,15);
LV_N_EXECUTE_CURSOR := Dbms_Sql.Execute(LV_N_CURSOR);
Loop
Exit When Dbms_Sql.fetch_Rows (LV_N_CURSOR)= 0;
Dbms_Sql.column_Value(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER);
Dbms_Sql.column_Value(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH);
Dbms_Output.put_Line('CONTRACT_BRANCH--'||LV_V_CONTRACT_BRANCH);
Dbms_Output.put_Line('CONTRACT_NUMBER--'||OV_V_CONTRACT_NUMBER);
INSERT INTO contract_dtls VALUES(1,CONTRACT_DETAILS(OV_V_CONTRACT_NUMBER,LV_V_CONTRACT_BRANCH));
End Loop;
Dbms_Sql.close_Cursor (LV_N_CURSOR);
COMMIT;
Exception
When Others Then
Dbms_Output.put_Line('SQLERRM--'||Sqlerrm);
Dbms_Output.put_Line('SQLERRM--'||Sqlcode);
End;
step 4:check the values are inseted in the object included table
SELECT * FROM contract_dtls;
Regards
C.karukkuvel -
How to change the TestStand directroy name?
Hi,
I'm interested to change the TestStand directroy name to 'TestStand' instead of 'TestStand 3.0' or 'TestStand 3.1'.
I'm facing a problem with this name. Here is an explanation:
Right now we have TS3.0 and TS3.1 installed on several computers. We work on projects that share modules (like GPIB). These modules are in a ClearCase system, so each one of us can use them and modify them. These modules call to some TS files like 'tsutil.fp' (which is located on the C drive). As a result of different TS names, the project which formerly called a file in TestStand 3.0 directory is now looking for the same file in TestStand 3.1 directory which it doesn't find...
Can you advice me how to modify the TestStand directory name to 'TestStand'?.
Thanks
RafiIn TestStand, if you go to the Configure>>Search Directories menu, you can add user defined paths to search directories. You have the option to add/remove/move up and move down the search directories. However these options are valid only for user defined search directories. The paths to directories that come shipped with TestStand cannot be removed or moved up/down. In your case, I would suggest that you create a custom path to the directory where you want to search and move it right to the top of the list using the "move up" button. In this way that particular directory will be searched first.
Thank you
Nandini Subramaniam
Applications Engineer
National Instruments -
How to get the current schema name
Hi,
Can anybody please tell me how to get the current schema name, there is some inbuilt function for this,but i am not getting that. Please help me.
Thanks
Jogeshok folks, I found the answer at Tom's as usual.
http://asktom.oracle.com/tkyte/who_called_me/index.html
I rewrote it into a function for kicks. just pass the results of DBMS_UTILITY.FORMAT_CALL_STACK to this function and you will get back the owner of the code making the call as well some extra goodies like the name of the code and the type of code depending on the parameter. This ignores the AUTHID CURRENT_USER issues which muddles the schemaid. Quick question, does the average user always have access to DBMS_UTILITY.FORMAT_CALL_STACK or does this get locked down on some systems?
cheers,
paul
create or replace
FUNCTION SELF_EXAM (
p_call_stack VARCHAR2,
p_type VARCHAR2 DEFAULT 'SCHEMA'
) RETURN VARCHAR2
AS
str_stack VARCHAR2(4000);
int_n PLS_INTEGER;
str_line VARCHAR2(255);
found_stack BOOLEAN DEFAULT FALSE;
int_cnt PLS_INTEGER := 0;
str_caller VARCHAR2(30);
str_name VARCHAR2(30);
str_owner VARCHAR2(30);
str_type VARCHAR2(30);
BEGIN
str_stack := p_call_stack;
-- Loop through each line of the call stack
LOOP
int_n := INSTR( str_stack, chr(10) );
EXIT WHEN int_cnt = 3 OR int_n IS NULL OR int_n = 0;
-- get the line
str_line := SUBSTR( str_stack, 1, int_n - 1 );
-- remove the line from the stack str
str_stack := substr( str_stack, int_n + 1 );
IF NOT found_stack
THEN
IF str_line like '%handle%number%name%'
THEN
found_stack := TRUE;
END IF;
ELSE
int_cnt := int_cnt + 1;
-- cnt = 1 is ME
-- cnt = 2 is MY Caller
-- cnt = 3 is Their Caller
IF int_cnt = 1
THEN
str_line := SUBSTR( str_line, 22 );
dbms_output.put_line('->' || str_line);
IF str_line LIKE 'pr%'
THEN
int_n := LENGTH('procedure ');
ELSIF str_line LIKE 'fun%'
THEN
int_n := LENGTH('function ');
ELSIF str_line LIKE 'package body%'
THEN
int_n := LENGTH('package body ');
ELSIF str_line LIKE 'pack%'
THEN
int_n := LENGTH('package ');
ELSIF str_line LIKE 'anonymous%'
THEN
int_n := LENGTH('anonymous block ');
ELSE
int_n := null;
END IF;
IF int_n IS NOT NULL
THEN
str_type := LTRIM(RTRIM(UPPER(SUBSTR( str_line, 1, int_n - 1 ))));
ELSE
str_type := 'TRIGGER';
END IF;
str_line := SUBSTR( str_line, NVL(int_n,1) );
int_n := INSTR( str_line, '.' );
str_owner := LTRIM(RTRIM(SUBSTR( str_line, 1, int_n - 1 )));
str_name := LTRIM(RTRIM(SUBSTR( str_line, int_n + 1 )));
END IF;
END IF;
END LOOP;
IF UPPER(p_type) = 'NAME'
THEN
RETURN str_name;
ELSIF UPPER(p_type) = 'SCHEMA.NAME'
OR UPPER(p_type) = 'OWNER.NAME'
THEN
RETURN str_owner || '.' || str_name;
ELSIF UPPER(p_type) = 'TYPE'
THEN
RETURN str_type;
ELSE
RETURN str_owner;
END IF;
END SELF_EXAM; -
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_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.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 -
How to save the setting in MDM import manager?
How to save the setting in MDM import manager? After I configure all things in MDM import manager, I try to save the setting, let's say, saved map name is " Test002", and then I export this map into desktop. After that, I logon Import manager again, and import this map file, system show me the same thing that I have to configure it again, because nothing was changed, what I configured before, were all disappeared.
Hi Alfred ,
are You not saving this map in Import Manager ? Import Manager itslef saves the map and remember it . Exporting map is only for backup .
Pls make changes and save the map . Exit and relogin . then see the map . It should be there . Pls let us know the result .
- An -
Data Mining : Association Analysis - How to find the Created Data source
Hi friends ,
I had created a model for Association Analysis and I trained the model and I had maintained a Data source for the model and my question is it shows the associate data source name as "Z_RSDME_AX_DS_0002" and the Application Component as "0DM_XSEL" but when I tried to search for Data source it shows that Data source not found, how to see the created Datasource
Thanks & Regards,
Vishall
Edited by: vishall somasundaram on May 5, 2011 4:00 PMHi,
Go to RSA1 and click on Data Sources. Give the Source System as the client name of your BI system. It will show you all the list of the datasources under your BI client. Now under datasources in the topmost node, right-click and select replicate metadate. It will give you options to replicate your Z_RSDME_AX_DS_0002 datasource. Once replicated, just activate the datasource.
Until and unless you replicate metadata you wont be able to see your Z_RSDME_AX_DS_0002 datasource.
Hope it helped.
Thanks,
Appu -
How to save the changes of trackpad in gest account ?
how to save the changes of trackpad in gest account because every time that i change them and restart it, it lose the changes ...
Hey cccosmas,
Thanks for the question. The following article provides an answer to your question:
OS X Mountain Lion: Set up guest users
http://support.apple.com/kb/PH11321
When guests log in, they don’t need a password. While logged in, they can’t change user settings or computer settings.
Important: Files created by a guest user are deleted when the user logs out. A temporary home folder is created for the guest user’s files, but this folder and its contents are deleted when the user logs out.
If you require these settings to be modified and retained in a secondary account, it may be best to setup a new user account:
OS X Mountain Lion: Create a new user account
http://support.apple.com/kb/PH11468
Thanks,
Matt M. -
How to save the instance in standard lead from custom business object
Hi Experts,
I am unable to save the instance(Record) in standard Lead business object from custom business object.
Steps:
created one custom business object with mandatory fields for creating instance in standard lead.
in quick create screen i bind data elements to standard lead business object elements.
issue:
when i click on preview i am getting exception as Arguments not found
can you please tell me that How to save the instance in standard lead from custom business object with step by step .Hi Vijay,
Please refer this link under that mentioned that how to create lead using ABSL code
Web 2 Lead in SAP Cloud for Customer, step by step - Part 1 - myCloudDoor myCloudDoor
Under the "Action-CreateLead.absl" mentioned how to create lead
the above link for convert web 2 lead functionality and under they create lead using web data from ABSL code.
Regards,
Mithun -
How to save the credentials in windows security when opening a report?
How to save the credentials in windows security when opening a report?
in Silverlight program, user click a link to SQL server report services link, it pops up a new IE window and ask for windows security.
Type the user name password in and check save password. reports showed and close IE. user click again, the same windows security popup dialog showed up. how to really remember the credentials?
If keep the IE open, reports shows in second tab of the same IE window for the second click, and it didn't ask for the windows security.Hi Lascorpion,
According to your description, users need to type username and password before they can open the SSRS report when reopening IE, right? If I have anything misunderstood, please point it out.
Base on my research, this issue offten occurs on IE9 which ships with Windows 7 operating systems. In this case, to avoid this issue we can add the report URL to the trust site, for the detail information, please refer to the link below.
SSRS Prompt for username and password in IE
Regards,
Charlie Liao
TechNet Community Support
Maybe you are looking for
-
Why does my App Store say all my apps are up to date when they're really not?
I'm in the process of updating my iPod touch 5G to iOS7, and before I do so, I would like to update all my apps to their current versions. However, no updates are showing in the App Store; it says they are all up-to-date when they really aren't. I ha
-
Trouble installing Oracle Personal in Windows 7 64-bit environment
Hi, I just purchased Oracle Personal Edition and it does not install. Details: Hardware: Dell laptop, purchased 6/2011 OS: Windows 7 Professional 64-bit CPU: Intel Core i7-2820QM 2.30 GHz, 8 processors RAM: 8GB real, 16GB virtual Hard drive available
-
Hi can ane one u can tell waths the solution for this I tried useing functions also but its d 'not working, i applied filter also -- same report two issues Issue 1 The 'Final Approver Full Name' field appears to be returning all approvers rather than
-
WRT160N to WRE54g Workgroup resolution issues
First of all, thank you in advance for any assistance. I have a WRT160N as my wifi router to my cable modem. All computers have been connected to it and can network together fine. I recently added a WRE54G Wifi Extender V.3 to the WRT160N using the
-
I was trying to read from a .data file that consists of list of Image objects that were serialized by someone else. I was just trying to read from the .data file by using this code try{ ObjectInputStream in = new ObjectInputStream(new FileInputStream