Error while posting data with BAPI_ACC_ACTIVITY_ALLOC_POST
I am using BAPI_ACC_ACTIVITY_ALLOC_POST to post documents but getting error as 'The document has too many line items (maximum number = 997). Even though my input file has only 900 records.
I tried reducing it to 600 . Even then I am getting same error.
Has anybody come across this , message class BK (829).
I have traced that this message comes from function module K40C_DOCUMENT_CREATE which is being called internally in the BAPI.
Please help me on this , its urgent.
Thanks & Regards