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

BAPI for FCH5

Former Member
0 Likes
1,061

Hello,

Which is the BAPI for FCH5.

Thanks.

Hello,

Which is the BAPI for FCH5.

Thanks.

3 REPLIES 3
Read only

mvoros
Active Contributor
0 Likes
793

Hi,

as far as I know there is no BAPI for checks. I remember that we had to use batch input for transaction FCH6.

Cheers

Read only

Former Member
0 Likes
793

HI Martin,

I am trying to create BDC session for more than one checks for transaction FCH6, but only one check is getting processed.

Can you please suggest me some solution for this.

PFB my code :

PERFORM bdc_open_group.

REFRESH t_bdcdata[].

LOOP AT t_bdc_err INTO wa_bdc_err.

*Fill the initial screen BDC data.

PERFORM bdc_dynpro USING 'SAPMFCHK' '0600'.

PERFORM bdc_field USING 'BDC_CURSOR'

'PAYR-ZBUKR'.

PERFORM bdc_field USING 'PAYR-ZBUKR'

wa_bdc_err-zbukr.

PERFORM bdc_field USING 'PAYR-HBKID'

wa_bdc_err-hbkid.

PERFORM bdc_field USING 'PAYR-HKTID'

wa_bdc_err-hktid.

PERFORM bdc_field USING 'PAYR-CHECT'

wa_bdc_err-chect.

PERFORM bdc_field USING 'BDC_OKCODE'

'/00'.

PERFORM bdc_dynpro USING 'SAPMFCHK' '0601'.

PERFORM bdc_field USING 'BDC_CURSOR'

'PAYR-BANCD'.

PERFORM bdc_field USING 'BDC_OKCODE'

'=UPDA'.

*FM to convert the sap internal date format into user defined

*Date format saved for that particular system

CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'

EXPORTING

input = wa_bdc_err-bancd

IMPORTING

output = l_bancd.

PERFORM bdc_field USING 'PAYR-BANCD'

l_bancd.

CLEAR : wa_bdc_err.

ENDLOOP.

PERFORM bdc_insert.

PERFORM bdc_close_group.

CLEAR : w_open.

Read only

brad_bohn
Active Contributor
0 Likes
793

Well, it seems fairly obvious looking at your code. Surely you can debug that and figure it out? Next time, use code tags and don't call up an old post which isn't related to your question...