Application Development and Automation 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: 
Read only

BDC

Former Member
0 Likes
444

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
Read only

Former Member
0 Likes
423

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

also try <b>SEL</b> OK_CODE

Read only

0 Likes
423

hi chandrasekhar

can u please elaborate that.

Read only

Former Member
0 Likes
423

Hi..

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

Regards,

kamal

Read only

Former Member
0 Likes
423

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