cancel
Showing results for 
Search instead for 
Did you mean: 

Filling dynamic drop down in adobe interactive form( webdynpro ABAP)

Former Member
0 Kudos

HI all,

Im new in Webdynpro ABAP, my requirement is to fill drop down list in adobe interactive form. i created adobe form and its working fine.

I Created context like ROOT(cardinality 1:1)->DATANODE cardinality 0:n. This context is for drop down and in wddoinit i did like this.

IN WDDOINIT ,

DATA lo_nd_root TYPE REF TO if_wd_context_node.

DATA lo_nd_datanode TYPE REF TO if_wd_context_node.

DATA lo_el_datanode TYPE REF TO if_wd_context_element.

DATA ls_datanode TYPE wd_this->elements_datanode.

  • navigate from <CONTEXT> to <ROOT> via lead selection

lo_nd_root = wd_context->get_child_node( name = wd_this->wdctx_root ).

  • navigate from <ROOT> to <DATANODE> via lead selection

lo_nd_datanode = lo_nd_root->get_child_node( name = wd_this->wdctx_datanode ).

  • get element via lead selection

lo_el_datanode = lo_nd_datanode->get_element( ).

ls_datanode[] = lt_dna_value[].

CALL METHOD lo_nd_datanode->bind_table

EXPORTING

new_items = ls_datanode

set_initial_elements = ABAP_TRUE.

  • index =

.

while executing i'm getting this error ": WebDynpro Exception: ADS: com.adobe.ProcessingException: No output was generated while rendering: Stream for: PDFOut.(200,101). " . can u please tell me how to bind value for drop down.

I created sample table in same form and i binded same value to table, that time its executing fine.

can u please tell me solution for this Scenario.

Thanks

Hemachandran.

Edited by: hemachandran R on Sep 12, 2008 2:27 PM

Accepted Solutions (1)

Accepted Solutions (1)

chintan_virani
Active Contributor
0 Kudos

Hemchandran,

While I am not a ABAP expert, see if below blog helps you:-

[Using DDLB in Interactive Forms in Webdynpro for ABAP|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6793] [original link is broken] [original link is broken] [original link is broken];

Chintan

Former Member
0 Kudos

hi,

That blog is very useful, my problem solved

thanks

R.hemachandran

Answers (1)

Answers (1)

former_member189058
Active Contributor
0 Kudos

Hi hemachandra,

How have you bound the drop down on the adobe form?

What you have done in WDABAP is correct.

Reema

Former Member
0 Kudos

hi,

ya that one wrong, i solved my problem

thanks

hemachandran

Former Member
0 Kudos

hi,

My requirement, is to use dynamic drop down in dynamic table. I am using webdynpro abap.

i populated the value in drop down.

Its working fine but the problem is how to fill the default value in drop down. because i want to bind the default value which im getting specify value from the table.because each row

im getting different values, like first row

CAR

, that CAR want to fill as a default value in drop down and second row as

BIKE

that BIKE want to fill as default value in drop down ( example drop down contain car , bike , cycle).

In adobe form i binded like this

  $record.DATANODE.DATA[*].DNA_RATING 

i dont know whether this one is correct or wrong .

im getting default value as empty.

please give me some solution how to do this.its very urgent

thanks

hemachandran.