2015 Apr 17 9:15 AM
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
2015 Apr 17 9:45 AM
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
2015 Apr 25 11:59 AM
@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?
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |