Map the attributes to RFC from Form
Hi ,
I have a requirement of designing the form and taking those values and storing them into SAP System throw one of the RFC.
I designed the Form and connected to the RFC. But ! when I try to compile it , it shows that the required input fields should be assigned tot he RFC.
how to assign those value from Form to RFC
thanks
Jyothi
Hi,
I think the problem is you have not mapped the required input fields with the RFC inputs. To map the fields do the following steps.
1. Double click the link between input form and RFC
2. In Right side window, select the appropriate "assigned value" field for the particular input fields by click the 'fx' icon.
Regards,
Basheer
Similar Messages
-
Mapping the xsd:any tag from one schema to other in BPEL
I am using soa suite 11g
I have 2 schemas with <xsd:any> tag
at run time the xml based on one xsd can have tags as below in place of xsd:any tag
<*number* xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeId="1001" readOnly="False">P00001</number>
<*description* xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeId="1002" readOnly="False">Test Part created for Mapping</description>
<*itemType* xsi:type="common:AgileListEntryType" xmlns:common="http://xmlns.oracle.com/AgileObjects/Core/Common/V1" attributeId="1081" readOnly="False">
<selection>
<id>10141</id>
<apiName>Part</apiName>
<value>Part</value>
</selection>
</itemType>
<*lifecyclePhase* xsi:type="common:AgileListEntryType" xmlns:common="http://xmlns.oracle.com/AgileObjects/Core/Common/V1" attributeId="1084" readOnly="True">
<selection>
<id>976</id>
<apiName>PRELIMINARY</apiName>
<value>Preliminary</value>
</selection>
</lifecyclePhase>
and in othe xsd it can be
<key1001 attributeId="5001">P00002</key1001>
<key1002 attributeId="5002">Test Part created for Mapping</key1002>
I can create a DVM to have mapping of attribute id's values 1001 -5001 ,1002-5002 but how to wire/map the any nodes and the attribute id element of one any node to other in XSLT mapper.At design time I am not aware that what all tags can substitute in place of any.
I need to map these two any tags.How to do this in transform activity xslt mapper in BPEL.It does not allow me to directly wire two any tags
Request someone to help me on this.stuck on this for long .I have figured out that with xpath and copy-of operation I can copy all nodes that come in place of xsd:any from one schema to other .But beofre copying I want to change the attribute values of the node that come in place of xsd:any based on the mapping stored in the DVM.Request some one to please help .
-
Can I read the SYS_CONTEXT in REPORTS from Forms ?
Hi,
in a Forms module I set with a stored procedure a SYS_CONTEXT.
This module calls a Report included a 'get' SYS_CONTEXT function
but without getting this context.
I hoped to transfer a where clause from Forms to Reports in the SYS_CONTEXT
and cannot read this setter value.
Please help,
ThanksHi Kamal,
exactly, I hoped that the context can transfer the logon state between the sessions.
Now the szenario is to establish a user - application depended view of the data with RLS included the where clause of tables in the context.
Every Forms model must set with the sp_ctx package the where clause but this would not work with nested sessions.
So we would have a global administration defined in a user_application table and
have not to define the specific where clauses in Parameteres between Forms and Reports.
Please, do you have a suggestion for the problem ?
Many Thanks -
How do I print out the attributes of objects from a Vector? Help !
Dear Java People,
I have created a video store with a video class.I created a vector to hold the videos and put 3 objects in the vector.
How do I print out the attributes of each object in the vector ?
Below is the driver and Video class
Thank you in advance
Norman
import java.util.*;
public class TryVideo
public static void main(String[] args)
Vector videoVector = new Vector();
Video storeVideo1 = new Video(1,"Soap Opera", 20);
Video storeVideo2 = new Video(2,"Action Packed Movie",25);
Video storeVideo3 = new Video(3,"Good Drama", 10);
videoVector.add(storeVideo1);
videoVector.add(storeVideo2);
videoVector.add(storeVideo3);
Iterator i = videoVector.interator();
while(i.hasNext())
System.out.println(getVideoName() + getVideoID() + getVideoQuantity());
import java.util.*;
public class Video
public final static int RENT_PRICE = 3;
public final static int PURCHASE_PRICE = 20;
private int videoID;
private String videoName;
private int videoQuantity;
public Video(int videoID, String videoName, int videoQuantity)
this.videoID = videoID;
this.videoName = videoName;
this.videoQuantity = videoQuantity;
public int getVideoID()
return videoID;
public String getVideoName()
return videoName;
public int getVideoQuantity()
return videoQuantity;
}Dear Bri81,
Thank you for your reply.
I tried the coding as you suggested
while(i.hasNext())
System.out.println( i.next() );
but the error message reads:
"CD.java": Error #: 354 : incompatible types; found: void, required: java.lang.String at line 35
Your help is appreciated
Norman
import java.util.*;
public class TryCD
public static void main(String[] args)
Vector cdVector = new Vector();
CD cd_1 = new CD("Heavy Rapper", "Joe", true);
CD cd_2 = new CD("Country Music", "Sam", true);
CD cd_3 = new CD("Punk Music", "Mary", true);
cdVector.add(cd_1);
cdVector.add(cd_2);
cdVector.add(cd_3);
Iterator i = cdVector.iterator();
while(i.hasNext())
System.out.println( i.next() );
public class CD
private String item;
private boolean borrowed = false;
private String borrower = "";
private int totalNumberOfItems;
private int totalNumberOfItemsBorrowed;
public CD(String item,String borrower, boolean borrowed)
this.item = item;
this.borrower = borrower;
this.borrowed = borrowed;
public String getItem()
return item;
public String getBorrower()
return borrower;
public boolean getBorrowed()
return borrowed;
public String toString()
return System.out.println( getItem() + getBorrower()); -
How to add the parameters onto the reports while calling from forms
Hi all,
I am using oracle forms 10g. I want to call a report from the form.
But i dont know how to add parameters to the url while using
web.show_document();
i have a sample code. But it does not add the forms values onto the url.
DECLARE
v_host varchar2(100);
v_port varchar2(10);
v_parameter_string varchar2(4000);
v_username varchar2(50);
v_password varchar2(50);
v_database varchar2(50);
BEGIN
-- Get the full domain name of the server from the formsweb.cfg
tool_env.getvar('SERVER_URL',v_host);
-- Get the username/password and database from the .env file
tool_env.getvar('APPLICATION_USERNAME',v_username);
tool_env.getvar('APPLICATION_PASSWORD',v_password);
tool_env.getvar('APPLICATION_DATABASE',v_database);
-- If it is localhost then we are running on windows and need to use the windows port, otherwise we
-- are on AIX and need to use the AIX port
IF v_host = 'localhost' THEN
v_port := '8889';
ELSE
v_port := '7778';
END IF;
-- Now build the parameter string for running the report
v_parameter_string := 'server=rep_fsprod';
v_parameter_string := v_parameter_string||'&report=AAP_TOTAL_CONTRACT_VALUE_RPT.rdf';
v_parameter_string := v_parameter_string||'&userid='||v_username||'/'||v_password||'@'||v_database;
v_parameter_string := v_parameter_string||'&execution_mode=batch';
v_parameter_string := v_parameter_string||'&comm_mode=synchronous';
v_parameter_string := v_parameter_string||'&destype=cache';
v_parameter_string := v_parameter_string||'&desformat=pdf';
-- Now run the report
web.show_document('http://'||v_host||':'||v_port||'/reports/rwservlet?'||v_parameter_string,'_blank');
END;
Are we able to add the text values in the form from to the URL.
Please let me know....
thanks in advance....
Naveenhello
read the following white paper http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
cheers
Q -
Read the computer IP address from Forms
Is there a way to read from somewhere the IP address of working computer, in a form? I mean something like win_api, build-in package or anything else?
This package function returns the IP address as a varchar2. It is bundled with OAS and also WebDB.
OWA_UTIL.GET_CGI_ENV('REMOTE_HOST'); -
How can I open the Wndows Browse window from forms..
I am using forms 5.0 and at run time I want to open the
MSWINDOWS "BROWSE" window.Can any body help me?.I found this example in a book, which is useful for retrieving an
image file from a local drive and inserting it into a table.
I hope you find this helpful.
DECLARE
v_dirname VARCHAR2(255);
v_filename VARCHAR2(255);
BEGIN
v_dirname := 'C:\';
v_filename := get_file_name(v_dirname, NULL,
'Bitmap file (*.bmp)|*.bmp|' ||
'JPEG file (*.jpg)|*.jpg|' );
IF v_filename IS NOT NULL THEN
read_image_file(v_filename, 'ANY', 'av_data_image.blob_data');
END IF;
END; -
Help: How to get rid off the default Window menu from FORM screen?
Hi,
I am working on a FORM application. On the very top left of the FORM screen, there is a default Window menu with:
Cascade
Tile Horizontally
Tile Vertically
etc.
The end user will never use it for this application. To make the screen look nicer, is there a way to hid or get rid off it?
Also if possible, I want to hid or get rid off very top "Oracle Developer Forms Runtime - Web"
Thanks.
JimmyAlso if possible, I want to hid or get rid off very top "Oracle Developer Forms Runtime - Web"I see you are running with separate frame. In the When-new-form-instance trigger, use
Set_Window_Property(Forms_MDI_Window, Title, "xyz" );
to change the window title. -
Not getting all the attributes value from Trusted Recon in eventhandler
Hi,
I am not getting the values of all the attributes in hashmap from Trusted recon in eventhandler.
Following is the hashmap value I am getting :
Parameter Hashmap value is {re_key=1869, Email=[email protected], Role=Full-Time, act_key=22, User Login=TUser43, Xellerate Type=End-User, Last Name=User43, First Name=Test}
Please let me know how to get all the attributes value in eventhandler. I need to take some decisions based on these attributes.
ThanksYou should be getting all the values in the recon event.
To get the current user states for all the records in the bulk event use this:
Identity[] currentUserStates = (Identity[]) eventDataHashMap.get("CURRENT_USER");
Now when you are looping through your bulkParametersp[], you can use the same get from the currentUserStates:
Identity currentUser = null;
currentUser = currentUserStates[counter];
Now if the attribute is not in your hashmap, you can use:
currentUserState.getAttributes().get(attribute)
-Kevini -
How to refer the trigger written in one form from another form ?
How to refer the trigger written in one form from another form ?
Thanks,
Ravi ShankarTry to convert the PL/SQL code from Forms trigger into a PL/SQL library(.PLL),
and then attach that PLL in your forms.
Note that all Forms objects should be referenced indirectly, for example,
you have to rewrite
:B1.DEPT_CODE := :B2.DEPT_CODE;
:B3.TOTAL_AMOUNT := 100;
==>
copy('B2.DEPT_NO','B1.DEPT_NO');
copy('100','B3.TOTAL_AMOUNT');
This is the best way to share PL/SQL code among Oracle Forms. -
Hi all,
I'm using EP SP16 with a MSADS flat hierarchy datasource.
I've mapped the attribute "pwdLastSet" in the configuration file but when I list the "attributeNames" of my user, it doesn't exist.
This mapping is no different than previous mapping I've mapped such as extensionAttribute, company, dn and others all done successfully.
Can't "pwdLastSet" be mapped?
Amithie could u please paste the xml configuration file here. Also the attribute pwdLastSet is a read only attribute from ADS.
-
SAP HCM P&F - Update an infotype field which is NOT passed from Form
Dear Experts,
I have a requirement to update the Infotype with the entries in the HCM form (input by Employee in ESS) upon Manager's approval in MSS.
We are achieving this functionality using HCM P&F (FPM) with an Workflow associated. In this Workflow Standard Task (TS17900108) is used to Save the form data into the Database.
But there is one field (APPROVED_DATE) in the Infotype whose value is not from the FORM but should be updated in the Infotype.
Please help me with your inputs.
Regards,
ShankarDear Christopher,
I am extremely thankful to you for all the replies. But, unfortunately, we are messed up with this requirement and we couldn't achieve it.
In this regard, could you please give us the step-by-step procedure to achieve this functionality?
Requirement in brief again:
We have designed Overtime HCM form (FPM) using which employee requests for the Overtime. This form is sent for the Manager for approval. We have achieved this functionality. With the Manager Approval, the database is also updated perfectly.
Then we have added one more field in the infotype to track the Approved Date. This field is to be updated along with the other fields (sent from FORM) upon the approval of the manager.
And now though the other fields are updated correctly into the infotype, the approved date is not updated.
Thanks a ton in advance for your guidance as this is very critical and urgent requirement for us.
Regards,
Shankar. -
Calling report from FORM - error Invalid value of paramente 'P_YEAR'
Hi guys,
Could you please help me to figure out what is going wrong
with my form which run a report?
I am using Developer suite 10g.
when i run report from report application it run fine,
but when i call that report from a form it gives me error.
I have checked the datatype, checked the parameter value
that I assign from form is available in the report parameter value.
What else do i have to check in order to run this report
from the form.
Error Message from Report Queue Manager:
Invalid value for parameter 'P_YEAR'.
Your insight will be appreciated.Thank you for reply Denis,
Here is the code which run_report from form.
DECLARE
-- variables for running individual reports
report_filename VARCHAR2(40);
var_reportpath VARCHAR2(100);
report_otherparms VARCHAR2(200);
-- variables to keep track of successful reports in silent mode
rep_status VARCHAR2(40);
rep_req NUMBER := 0;
rep_count NUMBER := 0;
dummy NUMBER;
-- variables to load the report names and checkboxes into the parameter list
pl_id PARAMLIST;
plname VARCHAR2(20) := 'rpt_list';
-- variables to loop through the parameter list and run the reports
i NUMBER;
split_loc NUMBER;
param_value VARCHAR2(40);
checkbox_name VARCHAR2(40);
report_basename VARCHAR2(40);
svc_name VARCHAR2(4);
run_report BOOLEAN;
disp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'DISP',
:reports_control.year_list, :reports_control.quarter_list,
:reports_control.group_list );
hosp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'HOSPICE',
:reports_control.year_list, :reports_control.quarter_list,
:reports_control.group_list );
orth_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'O/P',
:reports_control.year_list, :reports_control.quarter_list,
:reports_control.group_list );
BEGIN
-- Are any reports selected?
IF BOXES_ARE_CHECKED(:System.Cursor_Block,'PRINT_NULL_REPORT') THEN
if not CHECKBOX_CHECKED('print_null_report') then
disp_exist := TRUE;
orth_exist := TRUE;
hosp_exist := TRUE;
end if;
-- Create Report Parameter Listing
pl_id := GET_PARAMETER_LIST(plname);
if NOT ID_NULL(pl_id) then
DESTROY_PARAMETER_LIST(pl_id);
end if;
pl_id := CREATE_PARAMETER_LIST(plname);
if ID_NULL(pl_id) then
GENERIC_ALERT('Error creating report listing');
RAISE Form_Trigger_Failure;
end if;
ADD_PARAMETER(pl_id,'id1', TEXT_PARAMETER,'cover_page_intro!INTRO');
ADD_PARAMETER(pl_id,'id2', TEXT_PARAMETER,'utilization_profile!ALLUTIL');
ADD_PARAMETER(pl_id,'id3', TEXT_PARAMETER,'utilization_summary!ALL_SUMMARY');
ADD_PARAMETER(pl_id,'id4', TEXT_PARAMETER,'hiv_profile!HIV_PROFILE');
ADD_PARAMETER(pl_id,'id5', TEXT_PARAMETER,'wound_care_profile!WOUND_CARE_PROF');
ADD_PARAMETER(pl_id,'id6', TEXT_PARAMETER,'top_10_diagnosis!TOP10DIAG');
ADD_PARAMETER(pl_id,'id7', TEXT_PARAMETER,'diagnosis_profile!DIAG_PROFILE');
ADD_PARAMETER(pl_id,'id8', TEXT_PARAMETER,'physician_profile!PHYS_PROFILE');
ADD_PARAMETER(pl_id,'id9', TEXT_PARAMETER,'physician_specialty!PHYS_SPECIALTY');
ADD_PARAMETER(pl_id,'id10',TEXT_PARAMETER,'discharge_profile!DISCHARGE_PROFILE');
ADD_PARAMETER(pl_id,'id11',TEXT_PARAMETER,'acute_care_discharge!ACUTE_DSCHRG');
ADD_PARAMETER(pl_id,'id12',TEXT_PARAMETER,'excessive_cost_patients!EXCESSIVE_COST');
ADD_PARAMETER(pl_id,'id13',TEXT_PARAMETER,'provider_profile!PROV_PROFILE');
ADD_PARAMETER(pl_id,'id14',TEXT_PARAMETER,'service_profile!SERVICE_PROFILE');
ADD_PARAMETER(pl_id,'id15',TEXT_PARAMETER,'age_gender_profile!AGE_GENDER_PROF');
ADD_PARAMETER(pl_id,'id16',TEXT_PARAMETER,'network_services!NETWORK_SERVICES');
ADD_PARAMETER(pl_id,'id17',TEXT_PARAMETER,'thh_section_header!THH_COVER');
ADD_PARAMETER(pl_id,'id18',TEXT_PARAMETER,'thh_utilization!THH_UTILIZATION');
ADD_PARAMETER(pl_id,'id19',TEXT_PARAMETER,'thh_service_profile!THH_SVC_PROF');
ADD_PARAMETER(pl_id,'id20',TEXT_PARAMETER,'hit_section_header!HIT_COVER');
ADD_PARAMETER(pl_id,'id21',TEXT_PARAMETER,'hit_utilization!HIT_UTILIZATION');
ADD_PARAMETER(pl_id,'id22',TEXT_PARAMETER,'hit_service_profile!HIT_SVC_PROF');
ADD_PARAMETER(pl_id,'id23',TEXT_PARAMETER,'hme_section_header!HME_COVER');
ADD_PARAMETER(pl_id,'id24',TEXT_PARAMETER,'hme_utilization!HME_UTILIZATION');
ADD_PARAMETER(pl_id,'id25',TEXT_PARAMETER,'hme_service_profile!HME_SVC_PROF');
ADD_PARAMETER(pl_id,'id26',TEXT_PARAMETER,'disp_section_header!DISP_COVER');
ADD_PARAMETER(pl_id,'id27',TEXT_PARAMETER,'disp_utilization!DISP_UTILIZATION');
ADD_PARAMETER(pl_id,'id28',TEXT_PARAMETER,'disp_service_profile!DISP_SVC_PROF');
ADD_PARAMETER(pl_id,'id29',TEXT_PARAMETER,'hosp_section_header!HOSP_COVER');
ADD_PARAMETER(pl_id,'id30',TEXT_PARAMETER,'hosp_utilization!HOSP_UTILIZATION');
ADD_PARAMETER(pl_id,'id31',TEXT_PARAMETER,'hosp_service_profile!HOSP_SVC_PROF');
ADD_PARAMETER(pl_id,'id32',TEXT_PARAMETER,'orth_section_header!ORTH_COVER');
ADD_PARAMETER(pl_id,'id33',TEXT_PARAMETER,'orth_utilization!ORTH_UTILIZATION');
ADD_PARAMETER(pl_id,'id34',TEXT_PARAMETER,'orth_service_profile!ORTH_SVC_PROF');
ADD_PARAMETER(pl_id,'id35',TEXT_PARAMETER,'encounter_detail!ENCOUNTER_DETAIL');
--- set up other parameters to send to generate_report
if :reports_control.output_choices = 'FILE' then
var_reportpath := :global.report_directory || :reports_control.year_list;
if :global.filename_suffix <> '_A10G' then
var_reportpath := var_reportpath || 'q' || :reports_control.quarter_list;
end if;
var_reportpath := var_reportpath || '_G' || :reports_control.group_list || '_';
else
var_reportpath := '';
end if;
report_otherparms := 'p_year='||:reports_control.year_list;
if :global.filename_suffix <> '_A10G' then
report_otherparms := report_otherparms || ' p_quarter='||:reports_control.quarter_list;
end if;
report_otherparms := report_otherparms || ' P_REPORTGROUPID='||:reports_control.group_list;
--- Check if reports are checked and submit to Reports Server
for i in 1..35 loop
GET_PARAMETER_ATTR(pl_id,'id'||i,dummy,param_value);
split_loc := instr(param_value,'!');
checkbox_name := substr(param_value,1,split_loc-1);
report_basename := substr(param_value,split_loc+1,length(param_value));
if CHECKBOX_CHECKED(checkbox_name) then
run_report := TRUE;
svc_name := substr(report_basename,1,4);
if svc_name = 'DISP' then
if not disp_exist then
run_report := FALSE;
end if;
elsif svc_name = 'ORTH' then
if not orth_exist then
run_report := FALSE;
end if;
elsif svc_name = 'HOSP' then
if not hosp_exist then
run_report := FALSE;
end if;
end if;
if run_report then
report_filename := :global.filename_prefix || report_basename || '_10G';---- :global.filename_prefix || report_basename || :global.filename_suffix;
GENERIC_ALERT(report_filename || ' ' || report_otherparms);
rep_status := GENERATE_REPORT(report_filename,:reports_control.output_choices,var_reportpath,report_otherparms);
rep_req := rep_req + 1;
if rep_status = 'FINISHED' then
rep_count := rep_count + 1;
end if;
end if;
end if;
end loop;
-- if we're in silent mode, display a completion message
if :reports_control.output_choices = 'FILE' and CHECKBOX_CHECKED('chk_silent') then
SET_ALERT_PROPERTY('REPORT_CREATED',alert_message_text,
'' || rep_count || ' of ' || rep_req || ' reports created successfully');
dummy := SHOW_ALERT('REPORT_CREATED');
end if;
ELSE
dummy := SHOW_ALERT('select_report');
END IF;
END; -
How to get the attribute of a selected row in a label
Hi all,
I am using Jdeveloper 11.1.1.2 and ADF.
I have a table with two columns, Id and Name. Furthermore I have an outputText where I would like to see the field Name of the selected Row in the table.
How have I to set the property "value" of the outputText to do this?
Thank you
AndreaHi Andrea,
If you are using ADFBC, the easiest way is to drop the attribute(Say Name) from the data control palette as outputText component and add partialTriggers property of it to point to table id(to refresh the outputText whenever the row is selected in table)
Sireesha -
Why not perform the ${attribute} syntax in the jsp context with weblogic?
In the action an attribute has been put in request object, example request.setAttribute("userName","Xue Chen").
in the forward jsp , use the syntax ${userName}, can not get the attribute "Xue Chen" from request, but the "${userName}" be printed in the page.
The same code with Tomcat, it work well.
It maybe the syntax ${userName} in jsp is not standard for all application server, only work in Tomcat, or it need special confiugre in weblogic, this syntax can work.
Does anyone do me a favors?Hi,
go to the context of your view,
to the attribute of your date,
and set the attribute input help mode to disabled
grtz,
Koen
Maybe you are looking for
-
Error 4280 for Matshita UJ-831Da - Burn no longer works w/ iTunes.
23 Dec 07 MY SYSTEM: Sony laptop CD/DVD drv = Matshita UJ-831Da iTunes ver. 7.5.0.20 PROBLEM: 1. Burn quit working when iTunes upgraded to 7.2. 2. I now get Error 4280. 3. The only change was an upgrade to iTunes. 4. No other software, or OS, changed
-
How do I copy an art object from one document to another using illustrator API(C )
Hi, I'm trying to copy text and graphic elements from one document into another, does anybody has an idea how to do it using Illustrator SDK(C++)? Thanks in advance.
-
ERROR 1002 WHILE ROCOVERY DISK HP G60-441 US WINDOWS VISTA 32BIT
I HAVE HP G60-441US MODEL WITH WINDOWS VISTA 32BITS, PRODUCT NUMBER NW142UA. I TRY TO MAKE ROCOVERY DVD DISK WITH RECOVERY MANAGER BUT IT IS FIALED ON 2ND DVD. THEN I TRY TO RECOVERY WITH RECOVERY MANAGER IT SHOWS ME ERROR 1002 WHILE I PRESS OK ; COM
-
Mac OS X Server 10.4.10-11 client user problems
It appears that since updating to Mac OS X Server 10.4.10 (and now 10.4.11), running on an XServe G4 with 2GB of RAM, QuarkXPress Passport 6.5 (and also 6.52) crashes at the splash screen when newly created network users launch it on client computers
-
Needing help in oracle.jdbc.OracleDriver
the problem is when i perform a select statement from a database link to another database in another machine the resultset returns empty, but when i am created the database in the same machine all goes fine. i dont no where is the problem?????? is th