APP-FND-01242: Cannot read value from field Error in Forms
Hi,
I have a form which is having a navigation
Setup -> Codes,
as soon as the Code page has open, am pressing Cntrl + F11, and am getting the
below error.
APP-FND-01242: Cannot read value from field COMBO.ENABLED_FLAG
Cause: The field COMBO.ENABLED_FLAG could not be located or read.
Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field name string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field.
when am clicking on the button 'Ok' am getting a value one by one.
am a newbie to forms, please let me know how to solve this error in details
steps that helps me
Ask your question in an eBusiness-suite related forum, maybe here OA Framework
Similar Messages
-
Reading values from lookup columns through custom workflow in SharePoint 2013
We are able to read the values of text, number columns through custom workflow (via coding) in SharePoint 2013. However, we are not able to read values from lookup columns. So, request anyone to provide help on this.
Thanks & regards,
AdityaHi,
According to your post, my understanding is that you want to read values from lookup columns through custom workflow in SharePoint 2013.
Since the workflow just doesn't get lookup fields, let's give it something static to work with instead. If we can capture the ID of the lookup field and store that as a static value in our list, the workflow can happily use that to look up our related.
For more information, you can refer to:
SharePoint 2013 Workflows and Lookup Columns
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
How to read values from the following XML?
I have been using "extractValue" to get the values from a xmltype field and no problems until now.
The xmltype now is like:
<a>1</a>
<b>2</b>
<c>1221</c>
<c>1412</c>
<d>11111</d>
<e>3333</e>
I'm able to read values from 'a,b,d,e' but not from 'c'.
Questions:
1)- Is posible to read the values of field c?. How?
2)- If is not posible to read the field values, Is posible to transfor the xmlfield to:
Where I will be able to use xmltable columns and loop getting the values.
<a>1</a>
<b>2</b>
<k>
<c>1221</c>
<c>1412</c>
</k>
<d>11111</d>
<e>3333</e>
Like always
Thank you in advance for your help.
Jose GalanSQL> with XML as
2 (
3 select xmltype(
4 '<root>
5 <a>1</a>
6 <b>2</b>
7 <c>1221</c>
8 <c>1412</c>
9 <d>11111</d>
10 <e>3333</e>
11 </root>'
12 ) XMLDOC
13 from dual
14 )
15 select a, b,c, d, e
16 from XML,
17 XMLTABLE
18 (
19 '/root'
20 passing XMLDOC
21 columns
22 A number(5) path 'a',
23 B number(5) path 'b',
24 D number(5) path 'd',
25 E number(5) path 'e',
26 C_XML_FRAG xmltype path 'c'
27 ),
28 XMLTABLE
29 (
30 '/c'
31 passing C_XML_FRAG
32 columns
33 C number(5) path '.'
34 )
35 /
A B C D E
1 2 1221 11111 3333
1 2 1412 11111 3333
SQL> -
APP-FND-00756: Cannot find combination CCID=303998 CODE=MSTK SET=1079
In Purchasing, when I inquiry Autocreate form, it appears this error APP-FND-00756: Cannot find combination CCID=303998 CODE=MSTK SET=1079.
Does anyone have any ideas what cause this?
Thank you.Sandeep,
Your answer is correct, One PO in my company had the same issue. I checked that the item with the inventory item id "XX" (from "CCID=XX") was not assigned to the warehouse under which the PO was placed.
Thanks -
APP-FND-01630 Cannot open file
Hi,
While opening forms getting error:-
"APP-FND-01630 Cannot open file"
Regards,
BhatiaI had this problem before and i solve it
To implement the solution, please execute the following steps:
1. Rename the temp directory.
2. Create new temp directory.
3. Run cmclean.sql using apps user name
you can download cmclean.sql from metalink
the following is cmclean.sql
REM
REM FILENAME
REM cmclean.sql
REM DESCRIPTION
REM Clean out the concurrent manager tables
REM NOTES
REM Usage: sqlplus @cmclean
REM
REM
REM $Id: cmclean.sql,v 1.4 2001/04/07 15:55:07 pferguso Exp $
REM
REM
REM +======================================================================+
set verify off;
set head off;
set timing off
set pagesize 1000
column manager format a20 heading 'Manager short name'
column pid heading 'Process id'
column pscode format a12 heading 'Status code'
column ccode format a12 heading 'Control code'
column request heading 'Request ID'
column pcode format a6 heading 'Phase'
column scode format a6 heading 'Status'
WHENEVER SQLERROR EXIT ROLLBACK;
DOCUMENT
WARNING : Do not run this script without explicit instructions
from Oracle Support
*** Make sure that the managers are shut down ***
*** before running this script ***
*** If the concurrent managers are NOT shut down, ***
*** exit this script now !! ***
accept answer prompt 'If you wish to continue type the word ''dual'': '
set feed off
select null from &answer;
set feed on
REM Update process status codes to TERMINATED
prompt
prompt ------------------------------------------------------------------------
prompt -- Updating invalid process status codes in FND_CONCURRENT_PROCESSES
set feedback off
set head on
break on manager
SELECT concurrent_queue_name manager,
concurrent_process_id pid,
process_status_code pscode
FROM fnd_concurrent_queues fcq, fnd_concurrent_processes fcp
WHERE process_status_code not in ('K', 'S')
AND fcq.concurrent_queue_id = fcp.concurrent_queue_id
AND fcq.application_id = fcp.queue_application_id;
set head off
set feedback on
UPDATE fnd_concurrent_processes
SET process_status_code = 'K'
WHERE process_status_code not in ('K', 'S');
REM Set all managers to 0 processes
prompt
prompt ------------------------------------------------------------------------
prompt -- Updating running processes in FND_CONCURRENT_QUEUES
prompt -- Setting running_processes = 0 and max_processes = 0 for all managers
UPDATE fnd_concurrent_queues
SET running_processes = 0, max_processes = 0;
REM Reset control codes
prompt
prompt ------------------------------------------------------------------------
prompt -- Updating invalid control_codes in FND_CONCURRENT_QUEUES
set feedback off
set head on
SELECT concurrent_queue_name manager,
control_code ccode
FROM fnd_concurrent_queues
WHERE control_code not in ('E', 'R', 'X')
AND control_code IS NOT NULL;
set feedback on
set head off
UPDATE fnd_concurrent_queues
SET control_code = NULL
WHERE control_code not in ('E', 'R', 'X')
AND control_code IS NOT NULL;
REM Also null out target_node for all managers
UPDATE fnd_concurrent_queues
SET target_node = null;
REM Set all 'Terminating' requests to Completed/Error
REM Also set Running requests to completed, since the managers are down
prompt
prompt ------------------------------------------------------------------------
prompt -- Updating any Running or Terminating requests to Completed/Error
set feedback off
set head on
SELECT request_id request,
phase_code pcode,
status_code scode
FROM fnd_concurrent_requests
WHERE status_code = 'T' OR phase_code = 'R'
ORDER BY request_id;
set feedback on
set head off
UPDATE fnd_concurrent_requests
SET phase_code = 'C', status_code = 'E'
WHERE status_code ='T' OR phase_code = 'R';
REM Set all Runalone flags to 'N'
REM This has to be done differently for Release 10
prompt
prompt ------------------------------------------------------------------------
prompt -- Updating any Runalone flags to 'N'
prompt
set serveroutput on
set feedback off
declare
c pls_integer := dbms_sql.open_cursor;
upd_rows pls_integer;
vers varchar2(50);
tbl varchar2(50);
col varchar2(50);
statement varchar2(255);
begin
select substr(release_name, 1, 2)
into vers
from fnd_product_groups;
if vers >= 11 then
tbl := 'fnd_conflicts_domain';
col := 'runalone_flag';
else
tbl := 'fnd_concurrent_conflict_sets';
col := 'run_alone_flag';
end if;
statement := 'update ' || tbl || ' set ' || col || '=''N'' where ' || col || ' = ''Y''';
dbms_sql.parse(c, statement, dbms_sql.native);
upd_rows := dbms_sql.execute(c);
dbms_sql.close_cursor(c);
dbms_output.put_line('Updated ' || upd_rows || ' rows of ' || col || ' in ' || tbl || ' to ''N''');
end;
prompt
prompt ------------------------------------------------------------------------
prompt Updates complete.
prompt Type commit now to commit these updates, or rollback to cancel.
prompt ------------------------------------------------------------------------
prompt
set feedback on
REM <= Last REM statment -----------------------------------------------------
hope this help you also
Radwan Al-qubati
ITapplication senior developer
Safer oil company-Rebublic of Yemen -
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
How to read values from DMM4040
Hi,
I am using DMM4040, NI PXI 6509 device.
I need to make some port pins high which i have already done and now i have to read value captured by DMM then i have to make my port pins low if my value is within limits.
Can u suggest me how to read values from DMM and then by notification i ll make my port pins low.
'' A professional is someone who can do his best work when he doesn't feel like it''...........What language are you using? If using LabVIEW, you use the NI-DMM API to communicate with the 4040. Just take your reading, do your limit comparison, and set your lines based on the comparison results.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
My windows friends cannot read attachments from my e-mails
My Windows friends cannot read attachments from my e-mails
If the attachments are common files that your recipients should be able to read (PDF, DOC, TXT) then what is the setting when you select the menu command Edit > Attachments > Always Send Windows-Friendly Attachments (checked or unchecked).
If it's unchecked you should check that setting and retry. -
EP5: Cannot read license from lockserver
I hope someone with experience from the (good) old days of EP5 is listening.
We restored a clustered environment on different hardware and tried to get all components back connected.
(as a basis we used Backup_Restore_EP5_V30.pdf)
During the startup we receive next message in the console_logs on the nodes: "Cannot read license from lockserver: Connection refused"
Has anyone faced the same error or the same situation?
Any help more then welcome!
Grtz,
GeertKeith,
We started from scratch and added this information to the HOSTS file,with success!
We now get the server up and running and can login.
We see a list of our roles but the iViews,pages cannot be found.
We receive now next two error in the logs:
Console_log_error:
java.lang.ClassNotFoundException: com.inqmy.services.dbms.server.DBMSServiceFrame
console_log_output:
SystemLandscapeService: getEPSystem(SAPPortals_CommunicationFramework) failed.
Man busy and stressy times
Regards,
Geert
Message was edited by: Geert Wouters -
Reading values from JTextField and using them?
Hello,
I am trying to make a login screen to connect to an oracle database. Im pretty new to creaing GUI. I need help with reading the values from the JTextField and to be able to use them for my connection. So do I need to apply a listener? How do I go about doing that in this project. Thanks for any code or advice.
import java.util.*;
import java.awt.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.table.*;
import java.sql.*;
public class UserDialog
String databaseURL;
String driver;
String database;
String username;
String password;
String hostname;
String port;
UserDialog() {
getInfo();
static String[] ConnectOptionNames = { "Login", "Cancel" };
static String ConnectTitle = "Login screen";
public void getInfo() {
JPanel connectionPanel;
JLabel databaseURLLabel = new JLabel("Database URL: ", JLabel.LEFT);
JTextField databaseURLField = new JTextField("");
JLabel driverLabel = new JLabel("Driver: ", JLabel.LEFT);
JTextField driverField = new JTextField("");
JLabel databaseLabel = new JLabel("Database: ", JLabel.LEFT);
JTextField databaseField = new JTextField("");
JLabel usernameLabel = new JLabel("User Name: ", JLabel.LEFT);
JTextField usernameField = new JTextField("");
JLabel passwordLabel = new JLabel("Password: ", JLabel.LEFT);
JTextField passwordField = new JPasswordField("");
JLabel hostnameLabel = new JLabel("Host Name: ", JLabel.LEFT);
JTextField hostnameField = new JTextField("");
JLabel portLabel = new JLabel("Port: ", JLabel.LEFT);
JTextField portField = new JTextField("");
connectionPanel = new JPanel(false);
connectionPanel.setLayout(new BoxLayout(connectionPanel,
BoxLayout.X_AXIS));
JPanel namePanel = new JPanel(false);
namePanel.setLayout(new GridLayout(0, 1));
namePanel.add(databaseURLLabel);
namePanel.add(driverLabel);
namePanel.add(databaseLabel);
namePanel.add(usernameLabel);
namePanel.add(passwordLabel);
namePanel.add(hostnameLabel);
namePanel.add(portLabel);
JPanel fieldPanel = new JPanel(false);
fieldPanel.setLayout(new GridLayout(0, 1));
fieldPanel.add(databaseURLField);
fieldPanel.add(driverField);
fieldPanel.add(databaseField);
fieldPanel.add(usernameField);
fieldPanel.add(passwordField);
fieldPanel.add(hostnameField);
fieldPanel.add(portField);
connectionPanel.add(namePanel);
connectionPanel.add(fieldPanel);
// Connect or quit
databaseURL = databaseURLField.getText();
driver = driverField.getText();
database = databaseField.getText();
username = usernameField.getText();
password = passwordField.getText();
hostname = hostnameField.getText();
port = portField.getText();
int n = JOptionPane.showOptionDialog(null, connectionPanel,
ConnectTitle,
JOptionPane.OK_CANCEL_OPTION,
JOptionPane.PLAIN_MESSAGE,
null, ConnectOptionNames,
ConnectOptionNames[0]);
if (n == 0) {
System.out.println("Attempting login: " + username);
String url = databaseURL+hostname+":"+port+":"+database;
// load the JDBC driver for Oracle
try{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection con = DriverManager.getConnection (url, username, password);
System.out.println("Congratulations! You are connected successfully.");
con.close();
System.out.println("Connection is closed successfully.");
catch(SQLException e){
System.out.println("Error: "+e);
else if (n == 1)
System.exit(0);
public static void main (String args []) {
UserDialog ud = new UserDialog();
}thanks again,
Jamesthe reason why you can't get the text is because you are reading the value before some actually inserts anything in any fields.
Here is what you need to do:
Create a JDialog/JFrame. Create a JPanel and set that panel as contentPane (dialog.setContentPane(panel)). Insert all the components, ie JLabels and JTextFields. Add two buttons, Login and Cancel to the panel as well. Now get the username and password field values using getText() inside the ActionListener of the Login.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class LoginDialog extends JDialog
String username, password;
public LoginDialog( ){
setTitle( "Login" );
JPanel content = new JPanel(new GridLayout(0, 2) ); // as many rows, but only 2 columns.
content.add( new JLabel( "User Name" ) );
final JTextField nameField = new JTextField( "" );
content.add( nameField );
content.add( new JLabel( "Password" ) );
final JTextField passField = new JTextField( "" );
content.add( passField );
JButton login = new JButton( "Login" );
login.addActionListener( new ActionListener(){
public void actionPerformed( ActionEvent ae ){
username = nameField.getText();
password = passField.getText();
// call a method or write the code to verify the username and login here...
content.add( login );
JButton cancel = new JButton( "Cancel" );
cancel.addActionListener( new ActionListener( ){
public void actionPerformed( ActionEvent ae ){
dispose(); // close the window or write any code that you want here.
content.add( cancel );
pack( ); // pack everything in the dialog for display.
show(); // show the dialog. -
Reading value from a text file
hi ,
I have a text filed with values for this field lotid , how in PL/SQL can i make use of the values from this file
in query like select * from tbl1 a where a.lotid = values from text file ?
kindly advise
tks & rdgsFollowing the example Elyo gave:
CREATE TABLE MyTable(line VARCHAR2(4000)) ORGANIZATION EXTERNAL (
default directory MyFolder
access parameters
(fields terminated by ',')
location ('test.txt')
1- use, eg.: fields terminated by ',' to indicate your separator character.
I'm not sure I understand the second question. -
How to read value from select list
Hi,
i'm using jdev 10.1.3.1.0, adf, jsp and struts.
i've made a simple viewobject 'bestyrer' (danish for department) and it contains a list of all available department in my organization.
it appears in my jsp page as a dropdown list and when the user chose a specific department all employees in that department are shown as a master detail relationship.
It works and its standard drag'n'drop in JDev.
I need to know which department the user have chosen because the information i show to the user depends on it.
my view look like this:
SELECT KBestyrer.BESTYRER,
KBestyrer.NAVN
FROM K_BESTYRER KBestyrer
bestyrer is a number and navn is the name of the department.
the code generated in my jsp based on drag and drop is:
<html:select property="KBestyrerView"
disabled="${!bindings[\'KBestyrerView\'].updateable}"
onchange="DataForm.submit();">
<html:optionsCollection label="prompt" value="index"
property="KBestyrerView.displayData" />
</html:select>
and the corresponding HTML generated is:
<select name="KBestyrerView" onchange="DataForm.submit();"><option value="0" selected="selected">0 Vejdirektoratet</option>
<option value="1">101 København</option>
<option value="2">147 Frederiksberg</option>
<option value="3">151 Ballerup</option>
<option value="4">153 Brøndby</option>
<option value="5">155 Dragør</option>
<option value="6">157 Gentofte</option>
<option value="7">159 Gladsaxe</option>
<option value="8">161 Glostrup</option>
<option value="9">163 Herlev</option>
<option value="10">165 Albertslund</option>
<option value="104">999 Andet</option></select>
First of all i don't want the indexed values as values of my individual options but the real values as seen in fron of the name. i.e. 101 147 151 and so on.
how do i obtain this and how do i read the value the user have chosen?
hope to receive some help.
thanks
br
kim gabrielsenOk,
thanks for the pointer. it clearifies a bit but i cannot make it work.
I've created a second binding as described in the dokument which gives me another binding in the pagedef file:
<attributeValues IterBinding="KBestyrerViewIterator" id="Bestyrer">
<AttrNames>
<Item Value="Bestyrer"/>
</AttrNames>
</attributeValues>
i guess i should be able to reference this binding using 'Bestyrer' as the id.
in my JSP page i insert the following:
<html:select property="KBestyrerView"
disabled="${!bindings[\'KBestyrerView\'].updateable}"
onchange="inspect(this.form)" >
<html:optionsCollection label="prompt" value="#{bindings.Bestyrer.getInputValue()}"
property="KBestyrerView.displayData" />
</html:select>
but it fails with an error:
org.apache.commons.beanutils.NestedNullException: Null property value for '#{bindings' at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:669) at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
I've tried #{bindings.Bestyrer} and #{bindings.Bestyrer.inputValue()}
but they fail too.
so there is clearly something i don't understand regarding this binding stuff.
Assuming i get this to work how do i actually accesss the value chosen by the user?
as far as i recall in plain HTML i gave the select list a name like:
name=MyList
and called a javascript function like this:
onchange="inspect(this.form)"
in my JS function i could access the value like this:
function inspect(form){
alert(form.MyList.options[form.MyList.selectedIndex].text)
but when i name the select list i receive an error:
javax.servlet.jsp.JspException: Cannot find bean under name MyList at org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:301) at org.apache.struts.taglib.html.SelectTag.doStartTag(SelectTag.java:244) at brugeroversigt.jspService(_brugeroversigt.java:75) [brugeroversigt.jsp]
I'm a bit confused here so any input would be appreciated.
br
kim gabrielsen -
How to read value from Key flexfield added on to the newly created SIT
Hi Experts,
I have a requirrment to display a new structure in the Special Information Types (SIT) screen in SSHR. The data entered into the segment needs to be validated using PL/SQL function.
I have performed below steps to display the structure/field on SIT Page
1. Created new flexfield structure as XX_LEAVE_ENCASHMENT under the "HUMAN RESOURCE" Application (Application id- 800) and flexfield TITLE "Personal Analysis Flexfield" (PEA).
2. Added a new segment "Encash Days" for the newly created flexfiled structure "XX_LEAVE_ENCASHMENT".
3. Added this new structure in the Special Information Types form in HRMS responsibility
4. The structure is enabled on the SIT screen.
Now I want to validate the data entered in Encash Days field in this page by calling a PL/SQL function. This can be done by extending the SIT page Controller.
But how should the ID of the newly enabled segment (in the new Flexfield strucuture) be retrieved in the controller inorder to read the user-entered value (to further call the validation program)? Or is there any other way of achieving this functionality in OAF?
Please help.
Thanks.Hi,
Yes, u can get the value from the SIT and perform the relevant validation too.
Refer http://apps2fusion.com/at/43-ss/453-oaf-extension-case-study
Regards,
Gyan -
Read values from Adobe Interactive Form inside the webdynpro
Hello,
I have problems to read the values of the fields inside de adobe. I read an article on saptechincal that told:
You can see the Adobe form that we have designed, enter the data as shown below and press the submit button. (As I said earlier an activex control will be installed on to the client machine, you can see the activex control in the internet explore go to the menu: ToolsàInternet optionsàgo to the programs tab àPress button Manage add-ons.
You can see an activex control named u2018SAP ACFu2019, if you donu2019t have this control you will not see this page: Note you need to have adobe acrobat reader 7.1 installed, I have used version 9, the activex control was not working properly so down graded my adobe reader to 7.1)
This is true ??? I have the Acrobat reader 9.3 and i saw that also have the SAP ACF installed.
The value of the property displaytype on adobe interactive form on webdynpro is activeX or native.
Thank you in advance.Hi,
<p>
Thank you for the answer.
<P>
I change the value of the attribute but again i can read anything from the adobe form. So let me explain what i'm doing.
<P>
Objective: I have to create one webdynpro with an adobe interactive form for create new clients on r/3 system.
<P>
1. I create de the view with 2 elements an interactive form and one submit button.
<P>
2. Create the context of the view with the following tree:
<P>
> context (node)
<p>
> ADOBE_DATA (node)
<p>
> Clients (from KNA1 table) (node)
<p>
> KUNNR
<p>
> LAND1
<p>
> NAME1
<p>
> ORTO1
<p>
> TELF1
<p>
>PDF_SOURCE
<p>
3. Complementing the properties of the interactive form:
datasource = clients node of the context
displaytype = native
pdf_source = pdf_source attribute of the context
templatesource = name of the form
<p>
4. Create the form, and add the data source to the interface of the form
<p>
5. On the form bulider i add and subform on the hierarchy tab and the all the fields of the interface to the form and
automatically the value of the fields are binding.
<p>
6.Add a submit button from web dynpro native and add the event click to the button. Then i change the value of the layout type and save e activate the form and the interface
<p>
7. The next step is create an action for the button submit for the event "onSubmit". So i create the function and start coding this code:
<p>
DATA: adobe_node TYPE REF TO if_wd_context_node,
<p>
client_node TYPE REF TO if_wd_context_node,
<p>
client_element TYPE REF TO if_wd_context_element,
<p>
client TYPE if_create_client=>element_clients.
<p>
*Get reference to the adobe_data node from the context
<p>
adobe_node = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
<p>
*Get reference to the clients node from the context
<p>
client_node = adobe_node->get_child_node( name = wd_this->wdctx_clients ).
<p>
*Get element node
<p>
client_element = client_node->get_element( ).
<p>
*Get the values from the form
<p>
client_element->get_static_attributes(
<p>
IMPORTING
<p>
static_attributes = client ).
<p>
8. Then for finalize i add the view to the window and crate a web dynpro application and put one break point on the submit function event.
<p>
9. Activate and test the application and when the program try to add a reference to the element node always returning a null reference and the application dumped.
<p>
So please help with this situation i can't understand what is the mistake.
<p>
PS: Now i have installed the acrobat reader 7.0.8
<p>
Edited by: miglsilva on Sep 4, 2010 5:50 PM
Edited by: miglsilva on Sep 4, 2010 6:01 PM -
How to read data from field symbol containing Table
I defined a field symbols for reading output of a BRF plus rule however since fielk symbol is of type any
I cannot read its contents
Any inputs are highly appreciated
Please see attachment explaining problemThanks a lot for your help
However It did not work for me as it started giving error incompatible types
Here is my code
constants:lv_function_id type if_fdt_types=>id value '3440B5B078B21EE3BC9EB53C42F84A45'.
data:lv_timestamp type timestamp,
lt_name_value type abap_parmbind_tab,
ls_name_value type abap_parmbind,
lr_data type ref to data,
lv_counter type i value 0,
lr_target type ref to data,
lx_fdt type ref to cx_fdt,
lo_trace type ref to if_fdt_trace,
lo_lean_trace type ref to if_fdt_lean_trace,
la_z_string type if_fdt_types=>element_text,
lv_role_name type grac_role_name,
lv_result type string.
field-symbols <la_any> type any.
field-symbols <role_name> type grac_s_od_role_detail.
field-symbols <system> type string.
types:
begin of ys_access ,
role_name type string,
system_name type string,
end of ys_access .
types:
yt_access type table of ys_access .
field-symbols: <access_item> type table,
<ls_req_access> type ys_access.
data con_name type if_fdt_types=>element_text.
data ls_any type ys_access.
* All method calls within one processing cycle calling the same function must use the same timestamp.
* For subsequent calls of the same function, we recommend to use the same timestamp for all calls.
* This is to improve the system performance.
* If you are using structures or tables without DDIC binding, you have to declare the respective types
* by yourself. Insert the according data type at the respective source code line.
* GET TIME STAMP FIELD lv_timestamp.
* Process a function and record trace data, passing context data objects via a name/value table.
* Prepare function processing:
ls_name_value-name = 'Z_STRING'.
la_z_string = 'P1'.
get reference of la_z_string into lr_data.
ls_name_value-value = lr_data.
insert ls_name_value into table lt_name_value.
* Create the data to store the result value after processing the function
* You can skip the following call, if you already have
* a variable for the result. Please replace also the parameter
* EA_RESULT in the method call CL_FDT_FUNCTION_PROCESS=>PROCESS
* with the desired variable.
cl_fdt_function_process=>get_data_object_reference( exporting iv_function_id = lv_function_id
iv_data_object = '_V_RESULT'
iv_timestamp = lv_timestamp
iv_trace_generation = abap_true
importing er_data = lr_data ).
assign lr_data->* to <la_any>.
try.
cl_fdt_function_process=>process( exporting iv_function_id = lv_function_id
iv_timestamp = lv_timestamp
iv_trace_mode = if_fdt_constants=>gc_trace_mode_lean
"iv_trace_mode = if_fdt_constants=>gc_trace_mode_lean_required
importing ea_result = <la_any>
eo_trace = lo_trace
changing ct_name_value = lt_name_value ).
lo_lean_trace ?= lo_trace.
lo_lean_trace->save( ).
catch cx_fdt into lx_fdt.
* You can check CX_FDT->MT_MESSAGE for error handling.
endtry.
* Get context values after processing:
cl_fdt_function_process=>get_context_value( exporting iv_function_id = lv_function_id
iv_trace_generation = abap_true
iv_timestamp = lv_timestamp:
iv_data_object = '3440B5B078B21EE3BC9EFF599C110ADD' "Z_STRING
importing ev_data = lv_result ). " Suggested variable: la_z_string
create data lr_target type grac_s_od_role_detail.
* assign <la_any> to <role_name>.
assign lr_target->* to <la_any>.
loop at lt_name_value into ls_name_value.
if ls_name_value-name cs 'RESULT'.
assign ls_name_value-value to <la_any>.
ls_any = ls_name_value-value .
endif.
endloop.
access_item = <la_any>.
* assign ( )<la_any> to <access_item>.
* assign component 1 of structure <la_any> to <rolename>.
* assign <la_any> to <ls_req_access>.
* lr_target = <la_any>.
* assign lr_target->* to <role_name>.
* lv_role_name = <role_name>.
lv_result = lv_result.
Maybe you are looking for
-
I have just purchased an iPad 2. I have wi-fi for roku and have connected the iPad to it. I want to print to my usb printer. My connection is: Cox Cable spit to telephone and broadband. The broad band feed goes to a Cox modem and feeds the wi-fi
-
How to set up one-button embed-hotlinking for Flash SWF?
Hello, I'm publishing a webcomic in Flash.swf format and I'd like to make it as easy as possible for people to grab my comic and put it on their website. How can I set up one-button hot-linking that will automagically provide the code so that they ca
-
Weblogic and Tuxedo server : Security Audit Logs
In our application we are using the weblogic server 7.0 and Tuxedo server 7.1 (to improve performance). When the user logged in to the application, the security logs are captured from tuxedo. Can anyone tell us, how the auditing can be enabled in sec
-
Using BC to manage multiple client sites
Hi, I'm a freelance designer who has recently started delving into the world of web design due to the high demand from my clients! I am very interested in the Muse and BC software packages from Adobe and like the way that they interact with eachother
-
POXPOEPO (11.5.10) - Lov for Item Number
Dear All I need to modify the above form. I need to limit the item lov for items supplied by the vendor. I can achive this by relating it back to the sourcing rules. By how do i modify the sql of the lov. Its not implemented using the normal lov and