Passing value from Webdynpro ABAP to Adobe form..
Hi experts,
In first view of web dynpro, im getting employee id as input and after clicking the create new button, an adobe form is called
to create the employee details ( in form i used the submit button and i stored the details ). so, in tat form i used the employee id as read only mode and it has to display the value which i given as input. But in tat form im not getting the value from web dynpro..
can anyone plz help me out for this..
Thanks in advance..
Hi,
Try to set your values in Method->"wddomodify" of the View in which Adobe Form is present. If you want to pass values from one view to another then check this link [Passing Local Parameters between views in an ABAP Web Dynpro Application|http://wiki.sdn.sap.com/wiki/display/stage/PassingLocalParametersbetweenviewsinanABAPWebDynproApplication] or use Context declared in Component Controller.
Regards
Pradeep Goli
Similar Messages
-
Pass value from webdynpro ABAP to service "Sicf"
Hello Gurus,
We need to call a transaction from WebDynpro application. For this purpose I have created a service for transaction, this service I will then call from my webdynpro application.
My issue is I also want pass a parameter to the service u201CTcodeu201D from webdynpro application, how can I do that? I have tried Set parameter ID and export but these do not work.
Regards,
Abhi.Thank you Thomas for your reply.
I am using the following URL
http://<url>:portno/sap/bc/gui/sap/its/webgui/?~transaction=*rsh1%20p_iobj=0costcenter;DYNP_OKCODE=SHOP
Now, I am able to retrieve the value from the above URL. There is another problem, the users are able to type any transaction code in the menu. I want to restrict the user to only 1 transaction, how can I restrict the user to a single transaction.
Regards,
Abhi. -
Pass value from webdynpro abap application to bsp application
Hello,
I want call api bsp javascript from WDA exchanging values between the two applications.
I have a solution but it is with portal integration.
I would like a procedure without using the portal.
Webdynpro and BSP only.
How can I do this ?
Thanks for your help.Hi,
Refer these threads-
Re: Passing Object ref to Webdynpro Application while calling from BSP screen
Both BSP and WDA has an URL associated with it.
In the WDA, create an LinkToUrl UI element upon which triggers the BSP application and pass the parameters to this BSP application. Check for this BSP application has also parameters in it.
Refer this link Re: Read SICF URL
Regards,
Lekha. -
Search Help from SAP values using WebDynpro ABAP in ADOBE Interactive Form
Hi,
How to populate search help on ADOBE interactive online form which is residing on a WebDynpro ABAP application?
Thanks & Regards,
Sandip amarHI,
Adobe from is integraated with R/3 just like smartform.
So if u use any DDIC tabel field which have inbuilt search help then it will automatically intergrated with Adobe form.
If not then u have to make at ztable via foreign key or via FM at program level.
Regards
ricky -
Iview from webDynpro ABAP with Adobe interactive form
Hi gurus.
Can I make an iview from a webDynpro ABAP that generates an Adobe Interactive Form, and generate this form from the portal as well?
thanks in advanced,
DieubaChintan thanks for your reply.
Using Adobe Cycler Designer you can design an interactive Form (fields to be filled by the client, buttons, etc.) and you can integrate this with webDynpros ABAP and JAVA. I want to make an iview that connects with this webDynpro and also generates this form to be filled by the user, so it can send the data back to the sap system. -
ADS Error while calling WebDynpro Abap with Adobe Form
Hi Experts,
I have created an Adobe Form and its interface in Transaction SFP. In a WebDynpro Abap Component I created an UI-element "Interactive Form" with the context of my form. So the WebDynpro Context was created automatically. Then I tried to call the WebDynpro Application in the Internet Explorer but got the error message:
german(original):
WebDynpro Exception: Der Aufruf des ADS schlug fehl. Informationen zur Ursache finden Sie im error.pdf auf dem Applikationsserver.
english:
WebDynpro Exception: The call of ADS failed. You find information in error.pdf on Application server.
How can I call error.pdf and what can that be? One WebDynpro Component with the form runs without any problems, the other one doesn't do this. I have no idea if it is a problem with context or server or something else.
I hope you can help.
Thanks al lot.
Best regards,
IngmarHi,
Check the note in this site...
https://websmp204.sap-ag.de/notes
Regards,
<i><b>Raja Sekhar</b></i> -
Passing value from mdi child to parent form
Hallo
I design project in which is main window with mdi container and mdi child windows. My problem is that so i want to save value from TextBox1 from child form using main menu which is in main window. I don't know how to call content of TextBox1. Here is part
of code about saving file.
Private Sub MenuItem5_Click(sender As Object, e As EventArgs) Handles MenuItem5.Click
If Me.ActiveMdiChild IsNot Nothing Then
SaveFileDialog1.FileName() = "Nowa metryka"
SaveFileDialog1.Filter() = "Metryka zaworu bezpieczenstwa (*.mzb) | *.mzb"
If SaveFileDialog1.ShowDialog() = DialogResult.OK Then
Dim ZapisywanieTekstu As New IO.StreamWriter(SaveFileDialog1.FileName)
Dim varZapisywanyTekst As String = ZapisywanieTekstu.AutoFlush
ZapisywanieTekstu.WriteLine("HERE SHOUL BE A CALL TO TextBox1 VALUE")
ZapisywanieTekstu.Close()
End If
End If
End Sub
If somebody have any idea ho to call value of TextBox1 in child form using main form save menu plase give me any help.
Thank You
And Best RegardsHello,
I'd ask in
Windows Forms General.
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog:http://unlockpowershell.wordpress.com
My Book:Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
Passing value from child to parent (flash form)
Dear all,
I have 2 pages (both flash form): First.cfm (parent) and
Second.cfm (child).
In First.cfm, I have a textbox and a button. Once I click the
button it will load the Second page.
In Second.cfm, I have a button. Both pages are still active.
Now the question is .. when I click the button on the Second
page, how to pass the value back to the First page and assign it to
my textbox in my First page? I want the value to be displayed in my
textbox without reloading the First page.
Any suggestions and examples?
This codes do not work in Flash Form. But if I use HTML with
a bit of modification then it works. How to make it work in Flash?
++++++++++++++++
this is first.cfm
++++++++++++++++
<cfoutput>
<cfform format="flash" name="myform">
<cfinput type="text" name="txtCustomerID" width="100"
label="Customer ID">
<cfinput type="button" name="btnGetCustomer" value="Get
Customer" onclick="getURL('second.cfm','_blank')">
</cfform>
</cfoutput>
++++++++++++++++
this is second.cfm
++++++++++++++++
<cfform format="flash">
<cfformitem type="script">
function buttonclick():Void {
getURL('javascript:window.opener.document.forms["myform"].elements["txtCustomerID"].value
= "XXX";');
</cfformitem>
<cfinput name="btnClick" type="button" value="xx"
onclick="buttonclick()">
</cfform>
Thanks in advance
KeikoYou address the parent from the child using:
this._parent.sMyVariableName = "whatever";
Remove '_spamkiller_' to mail -
Pass image from webdynpro app through context nodes
Hi All,
Just wondering is there any way I can pass dynamically images from my WDA app to my interactive form through an XML interface?
I can upload my images into the MIME repository during design time, can I get the XSTRINGs of these, bind it to a context attribute then use the XML interface into the Interactive Form and have it bind that into an image field ? (do I need to convert XSTRINGs into base64 encoded formats?)
Sorry I'm a bit confused, a lot of the blogs I've seen all use ABAP dictionary based interfaces, is this the only way you can pass graphics from WDA into an Adobe Form dynamically?
Also, what do we need to do to pass values from our WDA context into an ABAP dictionary interface form?
Edited by: Danny Yee on Oct 7, 2011 10:10 AMHi Danny,
If you use file upload UI element in webdynpro, it will store the file in xstring format. Am not sure about images, but i think it will upload images also.
what do you mean by ABAP dictionary interface form? is it adobe form? if yes, then in your case quite simple.
first use upload ui element then read the xstring attribute value then try to bind the same value to datasource property of adobe interactive form.
Regards
Srinivas -
Error when Interative Adobe Form is called from Webdynpro ABAP.
Hi Experts,
I trying to call a Interactive adobe form from ABAP Webdynpro application but I am facing the below error.
Line: -
The following error text was processed in the system GJD : User session (HTTP/SMTP/..) closed after timeout
The error occurred on the application server az18u021_GJD_01 and in the work process 0 .
The termination type was: ERROR_MESSAGE_STATE
The ABAP call stack was:
Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
Module: %_HTTP_START of program SAPMHTTP
Line: -
When I uncheck the enabled property of the Interactive From in the Page of the WebDynpro I am able to execute the application successfully.But the Adobe form behaves as a Static Form when I uncheck the enabled property.
So kindly provide your valuable suggestions to avoid the above error when I am calling a Interactive adobe form from Webdynpro ABAP.
Thanks in Advance.
Regards,
Arun.Hello,
Hello, are you sure you have your ADS credentials configured correctly and valid? I guess you know that is the only difference between clicking enabled on true or false. If you are not sure, you can use SE38, search for FP_* and pick some reports to check the licencing. The names of the reports are good enough to recognize the right one.
Or maybe that is a security problem? Have you checked the ADS_ERROR string? Did you use the ADS trace?
check: http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/content.htm
and especially note 999998
Regards, Otto -
OnSubmit function Error in passing values from WDA Adobe Form to Ztable
Friends,
I am trying to pass values from Adobe Interactive Form to ztable.
I am using WDA to display the form. I have created the form context with attributes that are bound to the form fields using the Adobe Livecycle Designer.
Once the user presses the Submit button, the data is passed to the ztable. In the onSubmit function assigned to the Submit button, I am using the "Read Context" feature of WD Code Wizard to read the values of the attributes
I am able to read and populate the ztable with values of the first 3 attributes. But am unable to read the value of 4th attribute using the "Read Context" feature of WD Code Wizard. All 4 attributes are of string type.
I am not sure if this is a buffer size problem or is there a limitation that only 3 attributes can be read per Adobe form / onSubmit function.
Please let me know what is missing.
Thanks and Regards.Resolved
-
Passing values from a FORM to another FORM
Hi,
I have to pass values from FORM "A" to FORM "B". What is the best way to do this?\
Can I use a GLOBAL variable?
Thanks,
Marc.I think he meant the global namespace.
You set a :global_your_name_here to a value and that value is available in your entire application. See the help file section on the global namespace for more information.
Forms parameters are parameters that you form picks up from the outside when it starts. The calling entity must supply them in the URL or they will be set to null. You set them up in the object navigator in the Parameters node. -
Re: Help needed in passing values from workflow to Approve Forms
Dear Experts,
how do I pass values from a workflow to a step (Form) - approve form?
I am using a customized table structure as my data source (FORMCONTAINERELEMENT) but am stuck on how to access the data when i get to to the screen painter's flow logic... What am i missing? Can you give me a step by step example. the ones i see on the net are input fields that update the screen... nothing that shows value being passed from the outside.
I need to pass an exisitng value in the workflow into the form for approval of the the assigned agent.
Please help!!
Thank you.Hello !
Create a method just before the form step.This method should populate the values for the fields maintained in the form.
Pass the values populated from this method to your customized table structure (data source).In other words, you have to pass all the values to the workflow container.
To the step, pass this workflow container by binding.In the control tab of form step, you have to do the binding.
Regards,
S.Suresh -
Passing value from JavaScript window to form
Hi,
Coul'd You help me?
I have a test form. I open new JavaScript window from this form. I generate list of authors in this window by the procedure show_list. I want to pass value from JavaScript window back to test form, but
the command "window.opener.document.forms[idx_form].elements[idx_fld].value = val;"
don't pass value to test form. Where is mistake?
Thanks Vaclav
-------------- test form --------------
<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=windows-1250">
<TITLE>Edit</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!-- Comment out script for old browsers
function get_list(frm, fld)
var idx_form, idx_fld;
idx_form = get_idx_form(frm);
idx_fld = get_idx_field(idx_form, fld);
var w = open ("http://vasekora/pls/portal309/ahs.RD_CISEL.SHOW_LIST" + "?startPg=1" + "&master_fld=" + "ID_AUTHOR" + "&slave_fld=" + "NAME" + "&ownr=" + "REDAKCE" + "&tbl_name=" + "AUTHORS" + "&cmd_qry=" +"" + "&idx_form=" + idx_form + "&idx_fld=" + idx_fld,"wn_Authors","width=500,height=600,resizable=yes,menubar=yes, location=yes");
if (w.opener == null)
w.opener = self;
w.focus();
function get_idx_form(p_form_name)
var v_index, v_full_name, v_return;
for(v_index=0; v_index < document.forms.length; v_index++)
v_return = -1;
v_full_name = document.forms[v_index].name.split(".");
if (v_full_name == p_form_name)
v_return = v_index;
break;
return v_return;
function get_idx_field(idx_form, field_name)
var v_index, v_full_name, v_return;
for(v_index=0; v_index < document.forms[idx_form].length; v_index++)
v_return = -1;
v_full_name = document.forms[idx_form].elements[v_index].name.split(".");
if (v_full_name == field_name)
v_return = v_index;
break;
return v_return;
//-->
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="f_aut_new" ACTION="javascript:testclose()" METHOD=POST TARGET="_blank">
<INPUT TYPE="text" NAME="id_aut">
<IMG SRC="images/list.gif" alt="Seznam" border="0" align=bottom><BR><BR>
<INPUT TYPE="submit" VALUE="Save">
<INPUT TYPE="reset" VALUE="Cancel">
</FORM>
</BODY>
</HTML>
-------------------- end test form --------------
procedure show_list
startPg integer,
master_fld varchar2,
show_fld varchar2,
ownr varchar2,
tbl_name varchar2,
cmd_qry varchar2,
idx_form integer,
idx_fld integer
is
TYPE cur_typ IS REF CURSOR;
c cur_typ;
c_cnt cur_typ;
i integer;
pg rd_types.pages_t;
odkaz varchar2(4000);
bk_url varchar2(4000);
s1 varchar2(4000);
var_mfld integer;
var_sfld varchar2(8000);
bl boolean;
var_cmd varchar2(2000);
begin
htp.HTMLOPEN;
htp.HEADOPEN;
htp.p('<SCRIPT LANGUAGE="JavaScript">');
htp.p('<!-- Comment out script for old browsers');
htp.p('function Close_List(val, idx_form, idx_fld)');
htp.p('{');
htp.p('window.opener.document.forms[idx_form].elements[idx_fld].value = val;');
htp.p('self.close();');
htp.p('}');
htp.p('//-->');
htp.p('</SCRIPT>');
htp.HEADCLOSE;
htp.BODYOPEN;
if cmd_qry is null then
s1 := 'SELECT a.'||master_fld||', a.'||show_fld||' FROM '||ownr||'.'||tbl_Name||
' a ORDER BY a.'||show_fld;
else
var_cmd := UPPER(cmd_qry);
s1 := 'SELECT a.'||master_fld||', a.'||show_fld||' FROM '||ownr||'.'||tbl_Name||
' a WHERE UPPER(a.'||show_fld||') LIKE ''%'||var_cmd||'%'' ORDER BY a.'||show_fld;
end if;
i := 1;
OPEN c FOR s1;
LOOP
FETCH c INTO var_mfld, var_sfld;
IF c%FOUND THEN
IF i >= pg.StartRec AND i <= pg.EndRec THEN
odkaz :=''||var_sfld||'';
htp.p(i||': '||odkaz||' ('||var_mfld||')<BR>');
ELSE
IF i > pg.EndRec THEN
EXIT;
END IF;
END IF;
ELSE
EXIT;
END IF;
i := i + 1;
END LOOP;
htp.p('<BR><B><INPUT TYPE=BUTTON ONCLICK="javascript:self.close();" VALUE="Close"></B><BR><BR>');
CLOSE c;
htp.BODYCLOSE;
htp.HTMLCLOSE;
end;If this makes any difference: Instead of using "var w = open..." try "var w = window.open..."
-
How to pass a value from a menu to a form
I have a scenario where I'd like to take a value set in a menu and pass it to the form that refers that menu. Using a Global seem to work on one instance but not another. While I try to figure out the instance problem, has anybody else passed values from menus to forms without using a global variable?
How would that work? I've tried by defining a package in the menu but how do I have the form refer to that value?
I try to refer to the package item in the form like
package_name.variable_name
but the form does not know what that is.
Maybe you are looking for
-
How to display multiple signals on the same chart/graph
Hello, I have a text file that has 21 different signals acquired through NI DAQ. I am able to read the file and display on the chart but the problem is all the signals have the same dynamic range -6 to +6 so when plotted they all show up on top of ea
-
3G iPod no longer mounts in iTunes
My 3G iPod with Click Wheel no longer appears in iTunes on any of the three computers that I have authorized -- including the brand new Mac Pro that I just installed at work this week -- even after I performed a clean install of OS X 10.4.10. I have
-
Import from Word- all links linking too low down so that bread crumbs don't display
When I import from Word, all the links being created are linking to the topic title, instead of just to the topic: e.g. href="CreateLineOfSight.htm #CreateLineOfSight">CreateLineOfSight</a></p></td> As a result, whenever the topic is longish, opening
-
IWork 09 system requirement for 9.0.4 update
iWork 09 installs and runs on my iBook running OS X 10.4.11. However the update to iWork 9.0.4 will not install and gives the message that OS X 10.5 is required. I was surprised that there seems to have been a change in system requirement between iWo
-
Performance issue with NOT LIKE 'VA%' in Sql Query
I'm fetching vendor details from po_vendor_sites_all , in the where clause i use vendor_site_code NOT LIKE 'VA%'. Database:10g NOT LIKE is reducing the performance, any other option to increase the performance. Any suggestions? Thanks dow005