‎2008 Aug 05 5:42 AM
Hi,
When I perform recording of FB50 tcode thru SM35, generate program file and run that program, following error message occurs:
"CALL_TRANSACTION FB50 Return code = 1,001 RECORD: 0
E Parking not possible during batch input "
how can I resolve it?
sample code is :
**********************
report ZTEST1
no standard page heading line-size 255.
include bdcrecx1.
start-of-selection.
perform open_group.
perform bdc_dynpro using 'SAPMF05A' '1001'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'ACGL_HEAD-BLDAT'
'01.07.2008'.
perform bdc_field using 'ACGL_HEAD-WAERS'
'PKR'.
perform bdc_field using 'ACGL_HEAD-BUDAT'
'04.08.2008'.
perform bdc_field using 'ACGL_HEAD-XBLNR'
'dsff'.
perform bdc_field using 'ACGL_HEAD-BKTXT'
'sdfds'.
perform bdc_field using 'ACGL_HEAD-BVORG'
'df'.
perform bdc_field using 'BDC_CURSOR'
'ACGL_ITEM-WRBTR(02)'.
perform bdc_field using 'ACGL_ITEM-HKONT(01)'
'102010'.
perform bdc_field using 'ACGL_ITEM-HKONT(02)'
'102010'.
perform bdc_field using 'ACGL_ITEM-SHKZG(01)'
'H'.
perform bdc_field using 'ACGL_ITEM-SHKZG(02)'
'S'.
perform bdc_field using 'ACGL_ITEM-WRBTR(01)'
' 300'.
perform bdc_field using 'ACGL_ITEM-WRBTR(02)'
' 300'.
perform bdc_dynpro using 'SAPMF05A' '1001'.
perform bdc_field using 'BDC_OKCODE'
'=BP'.
perform bdc_field using 'ACGL_HEAD-XBLNR'
'DSFF'.
perform bdc_field using 'ACGL_HEAD-BKTXT'
'sdfds'.
perform bdc_field using 'BDC_CURSOR'
'ACGL_ITEM-HKONT(03)'.
perform bdc_transaction using 'FB50'.
perform close_group.
*****************
Regards,
Syed Tayab Shah
‎2008 Aug 05 7:19 AM