cancel
Showing results for 
Search instead for 
Did you mean: 

Error : No items Exists (Not Possible to save)

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi

Goto this link and download the configuration guide. Page 11 of this guide describes how you can test the config of the ADS

[https://www.sdn.sap.com/irj/sdn/adobe#section14]

Regards

Thashin

Former Member
0 Kudos

Tashin:

Can you please confirm whether ADS configurations can be checked from the client system.

Regards

Vijai

Former Member
0 Kudos

Hi

What exactly do you mean by "checked from the client system"? You mustperform these tests from the same backend system that you are doing the development on

Regards

Thashin

vaibhav_tiwari
Contributor
0 Kudos

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.