Skip to Content
0
Former Member
Jul 27, 2013 at 10:33 AM

Parallel processing for account posting skipping records

324 Views

Hello All,

I am using parallel processing method for account posting. I have created a Zbapi for bapi_acc_document_posting and have committed in the same zbapi.

CALL FUNCTION 'ZBAPI_ACC_DOCUMENT_POST' STARTING NEW TASK 'POST' DESTINATION 'NONE'

EXPORTING
documentheader = gs_header
TABLES
accountgl = gt_item
accountreceivable = gt_acctr
accountpayable = gt_acctpy
currencyamount = gt_curr
criteria = gt_crit
return = gt_return
it_bapiret = gt_bapiret2
EXCEPTIONS
communication_failure = 1 MESSAGE msg
system_failure = 2 MESSAGE msg
resource_failure = 3.

When I am scheduling the program in background for uploading suppose 1.5lakh records at a time, some records are gettinng skipped (somtimes 7000 records somtimes100 records). We are not getting the total count in bkpf table. I tried using wait up to '0.5' secs in zbapi too after commit.Please tell me what can be the issue.