AIF Input Parameters - How to access the form interface?
Hi Experts,
i am trying to integrate Adobe Interactive Forms in SAP Records Management, which is working quite good so far. We implemented a Service Provider which uses an Interactive Form as a document template and uses the KPro document attributes as input.
Now my problem: To implement a more generic approach, i need to automatically read the input parameters for the generated funtion module of the form. I debugged quite a lot, but i cannot find any solution. Is there a dictionary table with the name of the form and its input parameters? Or is there a method/funtion module to find out the input parameters for a specific form?
Thanks for ur support,
Jan
Hi Jan,
Perhaps function module FP_FIELD_LIST provides already the information you are looking for. It lists the fields which are required for the form context.
Otherwise you may need to use classes like CL_FP_INTERFACE(IF_FP_INTERFACE~GET_INTERFACE_DATA), which returns IF_FP_INTERFACE_DATA. Here, you could call GET_PARAMETERS, then GET_IMPORT_PARAMETERS. The structure of each parameter is of type SFPIOPAR.
How to get the interface reference? You could use CL_FP_WB_HELPER=>INTERFACE_LOAD_FOR_RUNTIME.
CL_FP_WB_HELPER=>FORM_WHICH_INTERFACE_USED returns the name of the interface for a given form.
Hope that helps.
Best regards,
Andreas
Similar Messages
-
How to access the form items dynamically
The issue here is that I want to acces the value in the textboxes dynamically
Here is the code ( I know its wrong )
<cfset temp = TaskEntryIDs.Split(',') />
<cfloop index="x" from="1" to="#arrayLen(temp)#">
<cfset TempControl = "Form.t"&temp[x]>
<cfif isdefined("Form.t"&temp[x])>
<cfoutput>#"Form.t"&temp[x]#</cfoutput><br/>
</cfif>
</cfloop>
I don't know the correct way to access it, I know that the textbox name start with T and the task number
I know that the textbox for the task number 74 is t74, but how can I access the value of this text box so I can insert it into to the database ?
Please help me
ThanksArray Notation:
Form["t" & temp[x]]
StuctKeyExists() is an easier function to determine dynamic form fields exist.
<cfif structKeyExists(form,"t" & temp[x])> rather then isDefined(). -
How to access the form while processing?
Hello ,
how can one access his form while its processing a certain task - like a query or running a report - in order to cancel or abort this process?..
Thanks...For being able to interrupt a query you can set the property "Interaction Mode" at form-level.
For any other interruption you have to program it one your own. -
When in the TAB Racing site at a particular race I click on Form to access the form guide for that race. Instead of the form guide I get an error message " Java Script Void " This has only started recently and not as a result of anything I have done ..... HELP !!!
Delete the song from your library and re-download it from the Purchases section of the iTunes Store.
http://support.apple.com/kb/PH12491 -
Accessing the FORM tag with Javascript.
I ran into the following problem when writing the customization portion of a Java portlet.
I have some JavaScript that I would like to have run when the customization form is submitted (ie, when the user clicks OK or APPLY).
Normally, this is easy to do by specifying the 'onSubmit' event on the <FORM> tag. But I don't seem to have access to the FORM tag
since it's being generated on the fly by Oracle Portal.
So, how do I set up my code/portlet so that I can have some Javascript executed due to the onSubmit event?I may not be understanding the problem correctly so you may have already tried this:
You should be able to dynamically adjust any form tag's attributes after the form's been generated, you just need to know how it's identified. If Portal isn't assigning it a consistant name you can use, you still might be able to adjust it. If you can place a piece of code "inside" the form, you could access the form tag with: "this.form.onSubmit = ..." That might be your best bet, but the "this" scope can be weird if I remember right. If you don't know that your code will always be inside the form tags, your other choice would be to write a function that will iterate over each form in the frameset and test for a input field name/value that you know is unique to your form. Then you'll be able to identify the form, and finally set the onSubmit value to whatever you want.
Here's some pseudo javascript (I'm too lazy to go grab my reference guide to refresh my memory about the actual syntax you'd use) that might get you started:
foreach form in parent.forms {
if (form.foobar.value == "myUniqueValue") {
var gotmyform = form;
I think. :) It's been a while since I've done such a thing, but that's what I remember.
I don't know squat about Portal (that's why I'm here poking at these forums), so I could be completely off base. If so, I'm sorry.
Good luck,
Sean
null -
How to access the hidden variable in jsp
hi all,
i need help to know how to access the hidden variable in the same jsp.
Following is the code snippet just have a look at that.
ArrayList arrRankingSummary = (java.util.ArrayList)session.getAttribute("arrRankingSummary");
<logic:iterate id="rankingSummary" name="arrRankingSummary">
<input type="hidden" name="allApplicantID" value='<bean:write name="rankingSummary" property="APPLICANTID"/>' />
<input type="hidden" name="allAdmissionRank" value='<bean:write name="rankingSummary" property="ADMISSIONRANK"/>' />
</logic:iterate>
<input type="hidden" name="applicantID" value='<bean:write name="rankingSummary" property="APPLICANTID"/>' />
<TD align=center><Input type=Text name="admissionRank" class=Textverysmall size=2 value='<bean:write name="rankingSummary" property="ADMISSIONRANK"/>' maxlength="10" /> </TD>
I want to remove the element from arraylist on these condition
if(allApplicantID.value ==applicantID.value){
arrRankingSummary .remove("admissionRank");
Now the pbm is i m not getting how to access the hidden variable in jsp or how to use the values of hidden variable for the condition.
Pls help me out.
Thanks in adv.
Regards,
Rituhi ram,
as i mentioned i m creating hidden variables & i m doing some validation on form submit.
The following is js code snippet for validation.
for (var i = 0; i < document.forms[0].admissionRank.length; i++)
admissionRank = document.forms[0].admissionRank.value;
for(var j = 0; j < document.forms[0].allAdmissionRank.length; j++)
//alert ("admissionRank : " + admissionRank + " document.forms[0].allAdmissionRank[" + j + "].value : " + document.forms[0].allAdmissionRank[j].value + "\ndocument.forms[0].allApplicantID[" + j + "].value : " + document.forms[0].allApplicantID[j].value + " document.forms[0].applicantID[" + i + "].value : " + document.forms[0].applicantID[i].value);
if(admissionRank == document.forms[0].allAdmissionRank[j].value && document.forms[0].allApplicantID[j].value != document.forms[0].applicantID[i].value && admissionRank != "" && document.forms[0].allAdmissionRank[j].value != "")
flag = false;
document.forms[0].admissionRank[i].focus();
document.forms[0].admissionRank[i].select();
break;
if (flag == false)
break;
In this validation i want admissionRank to be removed from the original arraylist if following condition gets satisfied
"(document.forms[0].allApplicantID[j].value == document.forms[0].applicantID[i].value )"
Thanks in adv
Ritu -
How to run the form that is only installed on a PC and not using a server?
Hi
I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server).
I have started the OC4J, made sure the listener was started, compiled the form and then when I run it, it automatically goes to the HTTP:
ERROR: res://ieframe.dll/acr_depnx_error.htm#,http://kevin:8889/forms/frmservle
I connected to the database correctly. I can process a report and it does nor try to access the internet. My only issue is running the form. I verified it compiled.
Sorry for a basic question. Could someone please help, I tried reviewing other questions, but not sure if they are connecting to a server or not.
I see webutil but is it required if I don't have a server? Thank you in advance.Regardless of the version, it appears that you may not have configured the Builder. Do the following:
1. Open the Builder
2. From the menu, select Edit > Preferences > Runtime
3. In the box labeled "Application Server URL:", enter a local URL needed to run a form OR click the button labeled "Reset to Default". If you decide to manually enter a value, it would looks something like this:
http://localhost:8889/forms/frmservlet
4. In the field labeled "Web Browser Location:", enter the path and executable to your preferred browser. So for example if IE is your browser of choice the entry would most likely look like this:
C:\Program Files\Internet Explorer\IEXPLORE.EXE
5. Click on OK and retest.
By the way, you can manually enter a URL in the browser. Clicking the RunForm button from the Builder is strictly optional. To run the "test" form directly from the browser enter the following into the browser's address field:
http://localhost:8889/forms/frmservlet?form=test
More information about Forms can be found on OTN:
http://www.oracle.com/technology/products/forms/index.html -
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 access the Custom Data type variable given in Expression edit control To and From LabVIEW
Hello, I would like to know how to access the custom data type variable given in the Espression Edit Control from LabVIEW and vice-versa
Say, the FileGlobals.Reference_Handle (Custom Data Type Variable) contains the
VISA I/O session (Which in turn contains VISA_DeviceName: String, Session: Number),
Channel1: Number and
Channel2: Number
I am expecting the user to give FileGlobals.Reference_Handle as the input at the ExpressionEdit Control in the edit screen of the VI Call.
I would like to know how to get the values of this custom data type to LabVIEW?
Say, if I have the Cluster in LabVIEW like VISA I/O session (Deive Name and Session Number), Channel1 and Channel2
how do i need to set this cluster to the Custom Data type variable in TestStand?
Thanks and Regards
PrakashHi,
TestStand to LabVIEW: i didnt understand what you r trying to achieve. But if you are using references, Use Property nodes and Invoke nodes to achieve what you want in LabVIEW.
LabVIEW to TestStand: check the image below: You need to click the button next to 'container'. I have used a cluster output in the VI.
Hope this helps
.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
Attachments:
1.JPG 187 KB -
How to pass the FORM Fields value by Form Personalization
Hi ALL,
I want to pass form filds values in to procedure. I am calling this procedure through form personalization of that form..... But it's not accepting any form field's value there... when i am passing hardcoded vales procedure is executing fine...
can any one suggest what to do???
i tried with these syntax
TEST_EMP_FP(:ADDR.ADDRESS_ID,'ABC')
TEST_EMP_FP(${item.ADDR.ADDRESS_ID.value},'ABC')
Regards
RaviHi,
Iam calling an SRS from forms personlization. Can any body tell me how to pass the Form field values as parameters to the Reports. (Example when they call this Concurrent request from Transact5ions screen, The invoice number should be defaulted in the report parameter).
Regards,,
Anil. -
How to access the Approvals task using url
Hi,
Please let me know how to access the approval tasks in BPM using the url.
I need to access the approval tasks from outside BPM
ThanksHi Latha,
There are many ways to pass parameters to 2nd page.
However try using hashmap.
1st page code in processformrequest:
import com.sun.java.util.collections.HashMap;
HashMap hashmap = new HashMap();
hashmap.put("var_enpid",enpid);
pageContext.forwardImmediately("XX_SECOND_PG", //Function Name of the 2nd page
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
hashmap, // put Null if no parameters to pass thru hashmap
true, // Retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO
2nd page code in processrequest:
String empid = (String)pageContext.getParameter("var_enpid");
Regards
Sanu -
How to access the pre-delivered XI Integration Content for APO ,SCM or CRM
Guys,
Do anyone know how to access the pre-delivered XI Integration Content for APO ,SCM or CRM and load onto the XI server.
Any inputs in this direction is appreciated.
Thanks, -Vara.Hi VaraPrasad,
you can try:
1. https://websmp204.sap-ag.de/swdc
2. Search for all Categories
3. type: XI content
then unpack and the easiest way is to import with the file system:
http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/content.htm
and you have the content on your XI
Regards,
michal -
How to access the *.java file corresponding to a TypeElement T?
Here is a problem:
How to access the *.java file corresponding to a TypeElement T from a AnnotationProcessor environment?
Let us say the hook method
public boolean process(Set<? extends TypeElement> annos, RoundEnvironment roundEnv)
is invoked with a TypeElement T such that T.getQualifiedname() = "a.b.c.X"
And the problem is how to locate the file that has the *.java source code for a.b.c.X?
That is the file that has the source code for a.b.c.X say "some/path/a/b/c/X.java"?
For simplicity, let us assume that TypeElement T corresponds to a top-level Java class.Pinaki wrote:
That is not something you as the annotation processor author should be asking about. That is something you the person configuring the javac environment should set up via the -d option or its equivalent.
I strongly recommend using a separate output directory hierarchy.That is the way the current implementation is. The annotation processor takes a -Aout= <some directory path> to write generated output relative to a user-specified location (which defaults to the class output location).That is contrary to the design of the annotation processing facility. The intended use is for that information to be configured via options like "javac -d".
Additionally, IMO it is a serious configuration error to put generated files and input files, presumably tracked under version control, in the same directory. Interesting you said that. We are just running some "field trial" with these things and some users want them to be in the same directory of the original *.java files (especially when their source files are spread across many roots) .
Who knows what the user wants?The user does and the user is free to (mis)configure their environment however they like ;-) However, that is the user's option and the user has control of this via the javac command line. The annotation processor is not the proper place to configure this setting; see slide 7 of http://blogs.sun.com/darcy/resource/J1_2006-BOF-0606.pdf for some thoughts on different roles in annotation processing.
presumably tracked under version control, in the same directory.version control is another 'usability issues' that we are trying to get our heads around with this stuff. "To check-in or not?" - that seems to be the question. When presented these facilities without any cue, "the users" were divided -- some wanted them to be checked-in, some did not. The context where these generated files being used -- there exists some rationale to check them in a version control system.The right answer depends on the circumstances, but IMO generally generated files should not be checked in under version control, especially if they are derived from other source files. Checking in generated files of this nature just creates the opportunity for them to get out of date with the originating files. -
How to access the abap program from MS Excel?
Hi ,
How to access the abap program from MS Excel or MS access ?
The abap program "z..." has the below input and output attributes
Input : Date,Index and file name with location (.htm or .xls)
Output : htm or xls file downloaded at the above location.
Please help me here.Do we haev to use BAPI and RFC?If yes,please tell me how to use them
Regards
DineshMaybe this could help you up -;)
[Simple SE38 Emulator using Microsoft Excel|Simple SE38 Emulator using Microsoft Excel]
Greetings,
Blag. -
How to access the attributes from a method
Hi,
Thanks to all who replied to my previous thread. Please let me know how to access the attributes in method of component controller in the view.
Let Component_method be my method in component controller which contrains few attributes like this
method component_method.
data : node1 type ref to if_wd_context_node,
itab type standard type of mara.
endmethod.
I want to access the above attributes in method of view.
method view1.
wd_comp_controller->method_component( ).
????? how to access the data of the method_component?
endmethod.
Kindly help me out in the syntax.
Rgrds
MahathiHi mahathi
You should define the parameters in the header, not in the body of the method:
You can define it as importing, exporting, changing or returning, as you need. For example, in SE80
Parameter Cl.declar. RefTo Opt Type ref
node1 importing X if_wd_context_node
itab exporting mara
method_component().
" code here...
endmethod.
and when you have to call the method,
wd_comp_controller->method_component(
EXPORTING node1 = nodelocal " not importing!!!
IMPORTING itab = itablocal " not exporting!!!
i think that it's this what you want, don't i?
Maybe you are looking for
-
NAT support - how to obtain the public IP address?
Hi I am developing an instant messenger in which users can start a conversation with another user through obtaining the IP address of the intended recipient from a mySQL database on the web server. This works fine within a local network. However, the
-
Where can I find the bugfix list of GRC 5.3 SP13?
Is there any kind of list/document which describes the bugfixes within 5.3 SP13? Thx. Ulrich
-
How to download older base versions of iMovie?
I have a desktop mac version 10.7.4 with Mountain Lion. It didn't come with iMovie installed, which I found out is a new thing. The newest version of iMovie (11) costs $15, but my computer won't support it without Mavericks. I no longer care if I hav
-
How delete function works in apple, How delete function works in apple
How delete function works; normally, it is working as backspace?
-
Recently keep getting the message "You've been signed out" [was:dew1188]
Why do i keeps getting the message "You've been signed out" when I try to enter CC? This is new. I've always been able to get into CC and have downloaded Photoshop and many other apps.