Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Value help problem

Former Member
0 Likes
458

Hi,

I have 6 tables which are build up hierarchically. That means, the first table for example has the key "<b>key1</b>", the second "<b>key1</b>" & "<b>key2</b>", the third "<b>key1</b>", "<b>key2</b>" & "<b>key3</b>".... and so on.

All of them have the keys of the upper tables as foreign keys and also descibed as own keys.

I have build up dynpros to populate the tables. For each table one dynpro.

The third table, for example, has input fields for the keys of the second table and one field for the own key.

(In this case: <b>key1</b>, <b>key2</b> and <b>key3</b>)

All fields are bound to the corresponding fields in table 3 defined as TABLE structure in the program. (<b>DDIC_table3-key1</b>, <b>DDIC_table3-key2</b>, <b>DDIC_table3-key3</b>)

If I now want to add a new record, I have value helps for the keys of the upper table (<b>key1</b> & <b>key2</b>).

When I use the value help of the first key, it only shows the records of the upper table (In this case: table2). If I now choose one record, the second key field on the dynpro is getting populated automatically, too.

My problem now is, that the value help only shows the keys of the upper tables and not the descriptions. Therefore I have created my own value helps and defined a view behind each help.

In the dynpro, I have bound the new value helps to the fields. The value help shows now the keys and also the descriptions. But if I now choose one record, the other key fields <b>ARE NOT</b> going to be populated automatically.

How can I build up my own value helps to fill in also the other key fields automatically, like the standard value help is doing?

I hope You can understand, what I mean!

Thank You!

Cheers Arne

3 REPLIES 3
Read only

kanthimathikris
Advisor
Advisor
0 Likes
432

I guess you have created a serach help for your requirement with the selection method as the view.

In the search help parameter; select the appropriate keys and set them as importing and exporting parameter;it would solve ur pblm

Regards,

Mathi

Read only

Former Member
0 Likes
432

These threads may help:

Rob

Read only

0 Likes
432

I have now bound the value helps directly for every field for the table in the dictionary and it´s working.

But now, I want to show the choosed text of the value help on the right side of the dynpro field.

But the pai or pbo of the dynpro are not processed after choosing a record of the value help.

How can I make the system doing a new round trip (processing pbo and pai of the dynpro).

Thank You!