cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically fill input fields based on selection from dynamic drop down

Former Member
0 Kudos

Hi All,

I tried to search before posting, but i cannot find appropriate thread (maybe wrong keyword).

My scenario:

1. In my offline interactive form, I have:

    a. Material Number --> drop down field with "Allow Custom Text Entry" ticked

    b. 1 execution button to call web service

    c. Material Group - Input Field (Read Only)

2. User will enter material number with wild card character (eg: ABC*).

    User will then click the execution button.

    Web Service in result will return all materials that match the entered material number.

    Dynamic binding will do the magic to generate the drop down list.

3. Beside material number, web service will also return material description and material group.

    Below is the illustration:

     Material        Description       Material Group

     ABC             Material ABC              GRP01

     ABCDE        Material ABCDE          GRP02

--- so far so good ---

My requirement:

Every time user select material from the drop down list, i want to auto-populate field "Material Group" (which value is also returned by web service).

I know i need to put the script on event change of the drop down field.

But i don't know how to read internal table returned by web service.

Hope someone can enlighten me.

Thanks in Advance !!!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Solved after reading:

1. /people/juergen.hauser2/blog/2007/09/03/accessing-data-nodes-in-sap-interactive-forms

2. Chapter 7 of Live Cycle Designer Scripting Basics

(http://help.adobe.com/en_US/livecycle/9.0/LiveCycle_Designer_Scripting_Basics.pdf)

Thanks.