Application Development 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: 

BDC

Former Member
0 Kudos
82

Hi all

i have a done a recording in which at one stage i shuold double click one record to get a field value.when i am processing the session, it is giving the error "function code XXX does not exist ".actually the XXX is the Ok code . how to solve this?

4 REPLIES 4

Former Member
0 Kudos
61

Please try 'PICK' (F2) for BDC OK_CODE.

also try <b>SEL</b> OK_CODE

0 Kudos
61

hi chandrasekhar

can u please elaborate that.

Former Member
0 Kudos
61

Hi..

can u plz tell which transaction u r recording and in which screen u r getting error.?

Regards,

kamal

Former Member
0 Kudos
61

check you have passes the OK_Code while recording like this :

PERFORM bdc_field       USING 'BDC_OKCODE‘  'XXX'.

FORM bdc_field  USING   p_fnam TYPE any
                        p_fval TYPE any.

  CLEAR wa_bdcdata.
  wa_bdcdata-fnam = p_fnam.
  wa_bdcdata-fval = p_fval.
  CONDENSE wa_bdcdata-fval.
  APPEND wa_bdcdata TO i_bdcdata.

ENDFORM.                    " bdc_field