on 08-20-2008 10:41 AM
Experts:
I am working on Adobe Online Interactive Form. For this I am using webdynpro for ABAP. I am facing an issue. Let me explain the steps that I have done.
In WD I have created a service all and added the bapi 'BAPI_REQUISITION _CREATE'. to create purchase requisition.
From view context, mapped the bapi's Changing->requisition_item node to view context.
From the view layout, I have configured the UI element properties. I have selected the data source from the view context, pdf source also from view context and selected the event in the onsubmit property.
Inside the interactive form, I have binded all my UI element with the context elements that is displyed in data view.
After this while testing I am able to generate the PDF form, Enter details (line item and header details).
When I press the 'Create Purchase Requisition' submit button (which is linked to the action defined in webdynpro), in debugging mode the control is going to my method.
The issue I am facing is, the code is not able to read the elements. The code
'lt_elements = lo_requisition_items->get_elements( )' does not return anything. lt_elements is empty.
So in the following loop, it is not able to create the requisition_item itab, which should contain all the details that I have entered in the adobe form.
LOOP AT lt_elements[] INTO lo_element.
lo_element->get_static_attributes( IMPORTING static_attributes = ls_c_requisition_items ).
INSERT ls_c_requisition_items INTO TABLE lt_c_requisition_items[].
ENDLOOP.
Because of this empty it_c_requisition_item is passed to the bapi which results in the error 'No items Exists (Not Possible to save)'.
Can any one tell me why the elements are not getting read. Am I missing anything? I am literally struck here and could not proceed further.
Any help on this will be highly appreciated.
Thanks
VijaiAnand
Vaibhav:
Thanks for the suggestion.
I have incorporated the OSS notes 1104060 as you have mentioned , but still the problem is not solved.
Is there any way to check and confirm ADS is not installed properly.
Regards
Vijai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There could be two reasons either the ADS is not properly configured or the ACF is not installed on your machine. Install ACF on your machine as its required to read data from adobe form fields and for more details read SAP Note 1104060.
Regards,
Vaibhav Tiwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.