Adobe Form inputs -passing to BAPI
Hi,
I have a requirement where i need to update SAP using an Adobe Interactive form.
I got a BAPI which can do this job.It worked fine with BAPI standard inputs...
But my requirement is to show something different in form and its corresponding value should be passed to BAPI.
Eg: I should provide a dropdown box which has A,B,C...etc if A is selected I should pass 100 as input value to BAPI and if B is selected in dropdown I should pass 200.
Along with this I should also pass few more standard inputs..
Any help is greatly apprecited.
FYI.. I developed this using JAVA Webdynpro .
Rgds
Vara
Hi Vara,
For dropdown list, in object view of the element you have "cell" tab where you can add the texts(A,B,C etc) you want to display. There itself you will find "Binding " tab where you can give the value to the specific texts which you want to submit to the back end(100,200,300 etc).
Hope this helps you.
Thanks & Regards
Sagar
Similar Messages
-
Hi,
SET_ATTRIBUTE is not working for the adobe forms in WDP-ABAP. Is there any other funtion to set the value in the input field of adobe forms in WDP-ABAP.
Please let me know at the earliest
Thanks,
Kesav.Hello,
set_attribute should work also in this case. The context element has to be bound to the given inputfield on the form.
Can you please check your binding on the form?
Kind regards,
Dezso -
How to pass multiple items in Adobe forms to a Webservice
Hello, all.
I'm trying to create Interactive Form to create a sales order in R/3.
Please somebody tell me how to pass the multiple line item data to the Webservice.
For example, the Webservice I'm using was generated from BAPI_SALESORDER_CREATEFORMDAT2.
The BAPI has tables for item data in sales order.
However, when I create the form with table for item data, the only last line of the table is passed to the Webservice.
How can I create Adobe forms to pass multiple line item to the Webservice.Hi,
I have worked on the same application for the creation sales order and has used the same BAPI.
You should first extract the data from the table node through the method "get_static_attributes_table" and take all the result into a table of type same as element of that particular node.
Now pass the data from this table into the internal table of type as mentioned in the BAPI using work area.
And pass this table to BAPI.
This will work .
Regards,
Shruti -
Call XML Schema based Adobe form from ABAP Program
Hi,
I have a scenario where an online Interactive form is designed and its working fine. Now i have a requirement to call the same Adobe form from a report for viewing purpose. Since it is XML Schema based Interface, is it possible to call the same form instead of creating a new one with the same template? Because i tried to call the same Adobe form by passing the values and converting those to XML(By Creating Transformation). Then i converted the XML to XSTRING and passed to the Generated Function Module for Input paramter "/1bcdwb/docxml". This resulted in an error "com.adobe.ProcessingException: com.adobe.Processin".
Please help me out in solving this and check the attachment for code.
Thanks,
RajHi,
outputparams-NODIALOG = 'X'.
outputparams-PREVIEW = 'X'.
outputparams-dest = 'LP01'. "give ur printer name.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4
OTHERS = 5.
and Now call the generated function module
pass the following in docparams
docparams-langu = 'E'.
docparams-country = 'US'.
and finally close the job.
It should work.
Please let me know if u need further details.
Regards,
sasi -
Steps to create adobe form in WD
hi
could any body send me the step by step procedure to create Adobe Form generation using RFC (BAPI) in Web Dynpros
regards
mmukeshHi,
Go to the following link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
Regards
Suresh -
Trouble with xhtml text in adobe forms
Hellow!
I try to show xhtml text in adobe forms
I pass string as text value to element like this::
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
xfa:APIVersion="2.4.5325.0">
<body> <p>Hellow, world!</p></body></html>
Next, in Initialization text element event I do next:
$.value.#exData.loadXML($)
So In adobe form I see text "Hellow world", it means that html support works.
But
If a Pass Next text
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
xfa:APIVersion="2.4.5325.0">
<body> <p><strong>Hellow
</strong>world!</p></body></html>
I see only "world!". Text between <stromg></strong> tag dosn't display.
What I do wrong? Why xhtml text works, but it don't understand <strong></strong> text?
(The value I get from WEB DynPro application)
Edited by: Mordyasov Petr on Jul 16, 2010 9:43 PMUse
<b>
instead of
<strong>
See http://partners.adobe.com/public/developer/en/xml/xfa_spec_2_5.pdf -> Part 3 -> Rich Text Reference for a list of supported xhtml tags.
Sebastian -
Printing ADDRESS in Adobe form in capitals only
Hi
I am using Address Node in Adobe form by passing ADRNR ( Address Number) and country to it to print Address .
It is coming in small letters. I need only in CAPITALS. Please guide.Î fear you then need to print the adress manually.
As far as i know there is a parameter you can set which will result in printing the COUNTRY in dapitaly letters, but thats all. so if you need all in capitals, you need to code it line by line yourself. -
Problem in Alignment - Adobe Forms
I am new to Adobe forms technology.
I have an production issue: When they run a standard report to generate a PDF pay stub in R/3, it looks fine with all the columns. But when the same pay stub is viewed though our ESS on portal (Company website), few values in the columns are good but few of them are not aligned. They are moved to the left.
So what can be the problem?
What are the things I need to check?
How do I see the Adobe form? How is the adobe form being passed to the portal?
Thanks
Kiran
Edited by: kiran dasari on Jan 23, 2009 2:08 AMFew fields have reference to table XBT. But when I see this in SE 11, such a table is not existing at all.
Can any of you share some ideas or clues?
Thanks in anticipation.
Regds,
Kiran
Edited by: kiran dasari on Jan 26, 2009 7:53 AM -
How to Fill value in Input fields before displaying ADOBE FORM
Hi to all,
Please can anyone tell me how to fill the entry in ADOBE FORM before displaying?
I have written a program to generate ADOBE FORM, but I need while displaying ADOBE FROM some input field should already be filled by value and can not be changed.
Please can anyone tell me how to do that in program?
Below is the program.
DATA: fm_name TYPE rs38l_fnam,
fp_docparams TYPE sfpdocparams,
fp_outputparams TYPE sfpoutputparams.
Parameters: p_pdf_form_name type fname.
fp_docparams-langu = 'E'.
fp_docparams-country = 'IN'.
fp_outputparams-preview = 'X'.
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
ie_outputparams = fp_outputparams
EXCEPTIONS
cancel = 1
usage_error = 2
system_error = 3
internal_error = 4.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
i_name = p_pdf_form_name
IMPORTING
e_funcname = fm_name.
E_INTERFACE_TYPE = E_INTERFACE_TYPE
CALL FUNCTION fm_name
EXPORTING
/1bcdwb/docparams = fp_docparams
IMPORTING
/1BCDWB/FORMOUTPUT = fp_outputparams
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3.
CALL FUNCTION 'FP_JOB_CLOSE'
IMPORTING
E_RESULT =
EXCEPTIONS
usage_error = 1
system_error = 2
internal_error = 3
OTHERS = 4.
I shall be thankful to you for this.
Regards
Pavneet Rana
Edited by: pavneet rana on Jul 25, 2011 2:57 PMHello,
you need to provide the information via the interface, which you create for the Adobe form.
And then pass this values via the following function module inside your generation report.
CALL FUNCTION fm_name
check standard report : FP_EXAMPLE_01 as an example! -
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 -
Adobe form not saving user-input data into saved pdf file
Hi forumers,
I'm a new abap developer and I'm tasked to create an interactive adobe form that will require the user to input data in the form.
No data is passed and received from PDF, but PDF has to be u2018Fillableu2019. I am able to fill out the form but when I actually save the form, it will be saved as a blank form again. I've seen the relevance of the LS_DOCPARAMS-FILLABLE = 'X' on this forum and I have incorporated it in my code. But how should I code the abap program to enable to save the user input as well into the form.
DATA: GV_FMNAME TYPE FPNAME,
LS_DOCPARAMS TYPE SFPDOCPARAMS,
LS_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS.
CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
EXPORTING
I_NAME = 'ZSC_ZRUFORREP'
IMPORTING
E_FUNCNAME = GV_FMNAME
* E_INTERFACE_TYPE =
* EV_FUNCNAME_INBOUND =
CALL FUNCTION 'FP_JOB_OPEN'
CHANGING
IE_OUTPUTPARAMS = LS_OUTPUTPARAMS
EXCEPTIONS
CANCEL = 1
USAGE_ERROR = 2
SYSTEM_ERROR = 3
INTERNAL_ERROR = 4
OTHERS = 5
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LS_DOCPARAMS-FILLABLE = 'X'.
LS_DOCPARAMS-DYNAMIC = 'X'.
CALL FUNCTION GV_FMNAME
EXPORTING
/1BCDWB/DOCPARAMS = LS_DOCPARAMS
* IMPORTING
* /1BCDWB/FORMOUTPUT =
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
OTHERS = 4
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'FP_JOB_CLOSE'
* IMPORTING
* E_RESULT =
EXCEPTIONS
USAGE_ERROR = 1
SYSTEM_ERROR = 2
INTERNAL_ERROR = 3
OTHERS = 4
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks,
dgracheeNot quite yet, I have to say...
If you check the domain "FPINTERACTIVE", you'll see these values:
Print Form
X Interactive Form with Additional Usage Rights
N Interactive Form Without Additional Usage Rights
F
So, you are not providing "additional usage rights" (Adobe Form Credentials), meaning there could be a problem when you want to use those forms in a Production environment. -
Input via ABAP Webdynpro - Display data Adobe form
Hi,
My requirement is I will pass input via ABAP webdynrpo selection screen and I want to get output in ADOBE FORM.Do we have any blogs or tutorials ? BTW this will not be interactive form right?
rgds
varaHi Vara,
Do follow these steps:
1) Goto SE80 and create a WDC.
2) Create a main view, and in the view go to context, and create a node and an attribute in it to fill the values from WDA.
3) Goto layout of the View, and create an inputfield UI element, and bind the attribute created in the context.
4) Now create an Interactive form UI element and give some name in the Template source of that UI element.
5) On press of enter, it asks you to create a new SFP, and say yes for that. Also choose context as the data source during that process.
6) Now SFP tcode is opened for you to design the layout.
7) Similarly desing the layout and bind the copied node from webdypro component.
8) Save and activate the form.
9) Save and activate the WDC.
10) Create an application and test it.
This completes the scenario mentiond by you..
I Hope it helps you.
Good day!
Regards,
Shashikanth. D -
Adobe form created in LiveCycle does not remember user input
Adobe form created in LiveCycle does not remember user input when the file has been re-opened after it has been saved.
Example:
"Check box" that has been selected and who have registered Action script (may be that it should be disabled), seems to be reset when the file is re-opened, although it apparently is checked.
Are there settings or script that can prevent this?Hi there,
usually if the values are not kept in form after saving and re-opening the form, it would be because of your code... or because it is not Reader Extended PDF...
If your code has a function which is to return a value to your field without it to be working based on your Design, it will reset any data..(variables)
Which means...
e.g.: You have an array/var/JSONobject which you populate varying on the data entered in the design, as long as you are in the actual form, without closing and re-opening the form, it will keep all values inside that array / variables / JSONobject. But, once the form closed and re-opened, if you have a function that returns a value to your field, whatever the field, from any variable in the script it will return nothing because every variables are reset. To avoid such a thing, you must repopulate all variables that were assigned previously before closing the PDF Form. To do so, I recommend to have a page(hidden) which contains every important values according to that function and you must repopulate those variables according to the values in the keepVar page...
If you do not have any function that returns a value to a field based on your variables, this is not the solution you are looking for and I am not aware of the reason why it behaves like this... Maybe more information on the behaviour of your form would help locate the issue...
Hope this help -
Input data in adobe form not geting saved to desktop
Dear All,
I have adobe form incorporated in a wed dynpro component. It's an interactive form and user has option to fill in details in the form. There is a submit button which user can click in order to submit details. This submit in turn does posting. Method is written in wed dynpro view for validation and posting.
My problem starts here, when user has clicked on submit and posted, posting happens and finally the data is present in adobe form with the new PR no crated. When i try to save this form in my desktop it saves a blank form and not the data which is present in it. However if i don't click on submit and save the pdf with the manually entered values it save properly with the data.
Please help in getting to bottom of this issue. One point, i have no idea about adobe forms, so pleae let me know for some obvious case as well.
Thanking everybody in advanc.
Regards,
SaudThanks for your reply.
1. I tried finding similar questions but was not able to do so.
2. Yesterday itself i found out that it's working fine for some users but not for others. So i am just wondering whether it's a problem related to version of softwares like Adobe or IE?
I have IE7 and Adobe Reader 9.4
Please give some inputs, friends.
Regards,
Saud -
XML based Adobe form is not allowing to input values while display on IE
Hi Experts
I have intergarted an XML based adobe form in webdynpro with inputs fields and submit button.
But on display on Internet expolrer it doesn't allow to input values even button dosen't work.
Please help me how would it will allow to input values .
Many thanks in advancehi dear
yes the enabled property is checked but still form doesn't allow to enter value and submit button is also disabled.
Is there any setting or some program code is required.
It would be great if some body can help us in this ....
many thanks in advance.
thanks
Maybe you are looking for
-
ITunes will not open (no error message and not running Norton 2005)
I have recently upgraded to iTunes 7 and I now cannot get it to open after clicking on the icon. The iTunes.exe process comes up in the task manager briefly then disappears. There is NO accompanying error message and I am NOT running Norton Antivirus
-
Is Ibook available for Mac and PC Desktops and Laptops?
I would love to read my purchased books on my Macbook. If Ibook is not available for Desktops and Laptops, how does one suggest this to Apple? Thank you, Troy S-G
-
How to maintain data in tables using maintenace view of the tables in ECC6
Hi, I have two table SBUSPART (Business partner) and STRAVELAG (Travel agency). SBUSPART is foreign key table while STRAVELAGE is a reference table. The relationships is : SBUSPART-MANDANT = STRAVELAGE-CLIENT SBUSPART
-
Investment support: How to create a Transaction type? (t.code AO83)
Hi All, with reference to the Investment supports in ASSETS, I need to create a transaction type (t.code AO83) to link to the "transaction type group" 50. That's as I need it to post an Investment support (ABIF) for an asset created and valorized in
-
Print output throwing up an error
I have been able to generate print word output from Robohelp projects without any issues. But since yesterday, I am seeing this error at the end of the print output process. I can still see the Word output, but I don't know why this compilation error