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 Okcode was not populating for FEBA Tcode

Former Member
0 Likes
746

HI All,

After running the BDC recording for FEBA tcode, While execution through program in All screens mode OK CODE popup was not populating in SAPMF05A 710 (screen) and Reference radio button is not getting selected. Could you please let me know what could be the possible reasons. Please find the below code snippet &screen shot of recorded transaction.


perform bdc_dynpro      using 'SAPLNEW_FEBA' '0060'.

perform bdc_field       using 'BDC_CURSOR'

                               'SL_AZDAT-LOW'.

perform bdc_field       using 'BDC_OKCODE'

                               '=CRET'.

perform bdc_field       using 'SL_HKTID-LOW'

                               'AR04'.

perform bdc_field       using 'SL_AZDAT-LOW'

                               '06.12.2010'.

perform bdc_dynpro      using 'SAPLNEW_FEBA' '0100'.

perform bdc_field       using 'BDC_OKCODE'

                               '=BS_SAVE'.

perform bdc_dynpro      using 'SAPMF05A' '0710'.

perform bdc_field       using 'BDC_CURSOR'

                               'RF05A-XPOS1(06)'.

perform bdc_field       using 'BDC_OKCODE'

                               '=RW'.

perform bdc_field       using 'RF05A-AGBUK'

                               '1000'.

perform bdc_field       using 'RF05A-AGKOA'

                               'S'.

perform bdc_field       using 'RF05A-XNOPS'

                               'X'.

perform bdc_field       using 'RF05A-XPOS1(01)'

                               ''.

perform bdc_field       using 'RF05A-XPOS1(06)'

                               'X'.

perform bdc_dynpro      using 'SAPMF05A' '0731'.

perform bdc_field       using 'BDC_OKCODE'

                               '/EEND'.

perform bdc_field       using 'BDC_CURSOR'

                               'RF05A-SEL01(01)'.

perform bdc_dynpro      using 'SAPLSPO1' '0200'.

perform bdc_field       using 'BDC_OKCODE'

                               '=YES'.

perform bdc_dynpro      using 'SAPLNEW_FEBA' '0100'.

perform bdc_field       using 'BDC_OKCODE'

                               '=BS_BACK'.

perform bdc_transaction using 'FEBA'.



1 REPLY 1
Read only

VenkatRamesh_V
Active Contributor
0 Likes
589

Hi Hima,

Use FM  POSTING_INTERFACE_CLEARING.

Hope it helpful,

Regards,

Venkat.