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: 

fb05 recording screen field does not exist

Former Member
0 Kudos

hi  i am doing recording for Fb05 and below is eg code f , i am getting error in screen 710 for a field in last screen ie 302 that sgtext does not exist ie error thrown from last screen last field.  the screen 710 does not have that field sgtext at all and neither we have recorded it, but it is throwing error of last screen and last fields from last screen 302 what can be the posible cause of error ?? or isssues. its a S message but in error mode the screen stops at the screen 702 giveing the field sgtext does not exists.

recording has been done several times and same error pops if in code i replace last field for eg here in screen 302 from sgtext to  UZAWE for eg if i interchance their place the error is thrown for that particular fields now ie Uzawe now.

need help on pausible causes or some code is missing.


perform bdc_dynpro      using 'SAPMF05A' '0302'.
perform bdc_field       using 'BDC_CURSOR'
                              'BSEG-SGTXT'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
WRITE ls_final-dmbtr TO lv_curr.
perform bdc_field       using 'BSEG-WRBTR'
                              lv_curr.
perform bdc_field       using 'BSEG-MWSKZ'
                              '**'.
perform bdc_field       using 'BSEG-BUPLA'
                              LS_FINAL-BUPLA.
perform bdc_field       using 'BSEG-ZTERM'
                              'B000'.
perform bdc_field       using 'BSEG-ZFBDT'
                              '31.08.2013'.
*perform bdc_field       using 'BSEG-SKFBT'
*                              '11,030.00'.
perform bdc_field       using 'BSEG-ZLSCH'
                              ls_final-zlsch.
perform bdc_field       using 'BSEG-UZAWE'
                              ls_final-paysupl.
perform bdc_field       using 'BSEG-SGTXT'
                              ls_final-itemtxt.


perform bdc_dynpro      using 'SAPMF05A' '0710'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-XPOS1(03)'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'RF05A-AGBUK'
                              LS_FINAL-BUKRS.
perform bdc_field       using 'RF05A-AGKON'
                               ls_final-lifnr.
perform bdc_field       using 'RF05A-AGKOA'
                              'k'.
perform bdc_field       using 'RF05A-XNOPS'
                              'X'.
perform bdc_field       using 'RF05A-XPOS1(01)'
                              ''.
perform bdc_field       using 'RF05A-XPOS1(03)'
                              'X'.

perform bdc_dynpro      using 'SAPMF05A' '0731'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-SEL01(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.
perform bdc_field       using 'RF05A-SEL01(01)'
                              ls_final-belnr.

perform bdc_dynpro      using 'SAPMF05A' '0731'.
perform bdc_field       using 'BDC_CURSOR'
                              'RF05A-SEL01(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '=BU'.

regards

Arora

1 REPLY 1

shaik_sajid
Active Contributor
0 Kudos

Hi,

While Recording try to tick "Simulate Background Mode" .

Regards

Sajid