2005 Nov 02 7:28 PM
Hi all,
The QDPS has 3 primary Keys.
1. MANDT
2. DYNREGEL (Dynaminc Rule)
3. PRSTUFE (Stage)
In the Selection Screen, I am getting the DYNREGEL value from the User.
In Screen 101, I have a field XXXX ( of type PRSTUFE).
I want to attach a SEARCH HELP with this field.
This Search Help should display the Possible Values of PRSTUFE(Stages) for the Entered DYNREGEL and MANDT.
It should not display all the other values.
To be more Clear:
If the User entered RL1 ( in Selection Screen DYNREGEL), then the Search Help Should Show all the possible values of PRSTUFE taking MANDT and DYNREGEL into account.
I hope, I have clearly Cascaded my requirement.
Help me please in building the Search Help.
Many Thanks
Kam
Message was edited by: Kam
2005 Nov 02 9:34 PM
Kam,
You can use the following logic to achieve the required functionality
1. First create a elementary search help on QDPS table with the following fields
DYNREGEL
PRSTUFE
KURZTEXT
Make DYNREGEL as Import field and PRSTUFFE as Export field. In default value column of DYNREGEL specify QDR (Memory ID).
2. Define a parameter for DYNREGEL in selection screen and specify the memory id as QDR.
3. In Screen 101, include the field QDPS-PRSTUFFE as input field and in attributes specify the search help created in step 1.
Just execute the Main program containing the selection screen and enter any value for DYNREGEL and press F8. On execute you might be calling the Call screen 101, so you will see the 101 screen and when you press f4 for PRSTUFFE field you can see the values restricted as per the DYNREGEL.
If you need any further help please let me know.
Thanks
Giridhar
2005 Nov 02 8:07 PM
2005 Nov 02 9:34 PM
Kam,
You can use the following logic to achieve the required functionality
1. First create a elementary search help on QDPS table with the following fields
DYNREGEL
PRSTUFE
KURZTEXT
Make DYNREGEL as Import field and PRSTUFFE as Export field. In default value column of DYNREGEL specify QDR (Memory ID).
2. Define a parameter for DYNREGEL in selection screen and specify the memory id as QDR.
3. In Screen 101, include the field QDPS-PRSTUFFE as input field and in attributes specify the search help created in step 1.
Just execute the Main program containing the selection screen and enter any value for DYNREGEL and press F8. On execute you might be calling the Call screen 101, so you will see the 101 screen and when you press f4 for PRSTUFFE field you can see the values restricted as per the DYNREGEL.
If you need any further help please let me know.
Thanks
Giridhar