Skip to Content

help in bdc for tcode MEK1


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.


Anil N.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Oct 20, 2008 at 11:29 AM


    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)'
    perform bdc_field       using 'RV130-SELKZ(02)'
    perform bdc_field       using 'RV130-SELKZ(03)'
    perform bdc_field       using 'RV130-SELKZ(04)'
    perform bdc_field       using 'RV130-SELKZ(05)'

    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.



    Add comment
    10|10000 characters needed characters exceeded