Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Automatically fill input fields based on selection from dynamic drop down

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 !!!

Not what you were looking for? View more on this topic or Ask a question