Skip to Content
0
Feb 10, 2011 at 03:22 PM

Issue with FD32 bdc program

199 Views

Team

I have done a bdc program and i am using the call transaction method. when i execute it is successful and there are no error messages also but the transaction is not updating with the new values. I am trying to update the debt at risk value(ie customized filed) which is popup screen.(ie PERFORM f_bdc_dynpro USING 'SAPLZFZF_POPUP' '9501'.).

I have tried manually and it is success and the value is updating to the customized field of KNKK table but when i record and process the recording, it is not success. pls check and suggest accordingly.

Please check my program as below

FORM f_bdc_upload.

PERFORM f_bdc_dynpro USING 'SAPMF02C'

'0100'.

PERFORM f_bdc_field USING 'BDC_CURSOR'

'RF02L-D0210'.

PERFORM f_bdc_field USING 'BDC_OKCODE'

'/00'.

PERFORM f_bdc_field USING 'RF02L-KUNNR'

wa_final-kunnr. " '3000027'.

PERFORM f_bdc_field USING 'RF02L-KKBER'

p_kkber." '3600'.

PERFORM f_bdc_field USING 'RF02L-D0210'

'X'.

PERFORM f_bdc_dynpro USING 'SAPMF02C'

'0210'.

PERFORM f_bdc_field USING 'BDC_CURSOR'

'KNKK-KLIMK'.

PERFORM f_bdc_field USING 'BDC_OKCODE'

'/00'.

PERFORM f_bdc_dynpro USING 'SAPLZFZF_POPUP'

'9501'.

PERFORM f_bdc_field USING 'BDC_CURSOR'

'KNKK-ZZDAR'.

PERFORM f_bdc_field USING 'BDC_OKCODE'

'=CONT'.

PERFORM f_bdc_field USING 'KNKK-ZZDAR'

wa_final-l_darflag. " '0'.

PERFORM f_bdc_field USING 'KNKK-ZZISUF'

'1'.

PERFORM f_bdc_dynpro USING 'SAPLSPO1'

'0300'.

PERFORM f_bdc_field USING 'BDC_OKCODE'

'=YES'.

CALL TRANSACTION c_fd32 USING t_bdcdata

MODE c_n

UPDATE c_s

messages into t_bdcmsg..

Reg

Rj