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

cascade search help

Former Member
0 Likes
721

Hello Experts,

   First of all sorry if my Question is stupid but i am new to SAP Abap. I want to have cascade search help.

say there are three select option A B C... C depends on B and B depends on A.

A to B  has many to many relation and B to C has also one to many relation.

if use enter value in A then relative value should be shown in search help for B and C.

but now if User directly enters value in B then search help for A and C should also show relative value(related to value entered  in B).

if user enters value in C then also A and B search help should have relative entry(related to value entered  in C).

so there is no specific order in which user enters number.

how to implement this?

Thanks in advance

Hello Experts,

   First of all sorry if my Question is stupid but i am new to SAP Abap. I want to have cascade search help.

say there are three select option A B C... C depends on B and B depends on A.

A to B  has many to many relation and B to C has also one to many relation.

if use enter value in A then relative value should be shown in search help for B and C.

but now if User directly enters value in B then search help for A and C should also show relative value(related to value entered  in B).

if user enters value in C then also A and B search help should have relative entry(related to value entered  in C).

so there is no specific order in which user enters number.

how to implement this?

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
584

Hi Zubin,

Design like this:

AT SELECTION SCREEN ON VALUE-REQUEST FOR so_a-low.

  select a from table1 into itab1.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

       EXPORTING   itab1.

AT SELECTION SCREEN ON VALUE-REQUEST FOR so_b-low.

  select b from table2 into itab2 where a = s_a-low.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

       EXPORTING   itab2.

AT SELECTION SCREEN ON VALUE-REQUEST FOR so_c-low.

  select c from table3 into itab3 where b = s_b-low.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

       EXPORTING   itab3.

regards,

Archer

Read only

0 Likes
584

@Dengyong Zhang : what if user wants to enter value in B first then enter values in C and then in A. in that case search help should be working. there is no specific order in which user enters the value.. is it possible to implement this?