on 10-20-2008 12:11 PM
Hi,
I am creating a recording for transaction MEK1. Based on the condition type specified , the next screen comes based on key combination. I want to check in the program that out of all the key combination user have selected which combination.
For ex. for conditon type ZAVS the key combination comes as
1) county/region/material
2) country/region/vendor
3) vendor
If the vendor selects key as vendor then how to take the value for BDC program.
Thanks,
Anil N.
Hi..,
That option wl be selection indicator. Right?
Then pass the value 'X', to select reuired one.
While recording this screen, after entering the condition type , click on key combination.and then you wl get new pop up with radio buttons.
just select one by one radio button from top to bottom.
(here prefer the combination which is having more choices)
and then you should get code like this..,
perform bdc_field using 'RV130-SELKZ(01)'
'record-SELKZ_01_002
perform bdc_field using 'RV130-SELKZ(02)'
record-SELKZ_02_003.
perform bdc_field using 'RV130-SELKZ(03)'
record-SELKZ_03_004.
perform bdc_field using 'RV130-SELKZ(04)'
record-SELKZ_04_005.
perform bdc_field using 'RV130-SELKZ(05)'
record-SELKZ_05_006.
So here pass the X value in one of this where ever you want depeneding on your reuirement.
With above code you can select any one of given five, to select one of from given six we have to add one more field, thats why while recording only you have to record the combination which is having more records.
With in the loop you can implement the logic with if condition to pass the X value to reuired one.
Thanks,
Naveen.I
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.