04-05-2011 8:58 AM
Hi,
I have a Report for PO creation - Where records get entered from Excel.
FM - ALSM_EXCEL_TO_INTERNAL_TABLE, BAPI_PO_CREATE
Problem -
Excel has app. 100 similar records out of them 7 to 8 records are giving Error.
In RETURN - Itab - Error msg - " Document No. 45... not within defined interval ".
But same record get entered using ME21N.
Number Range is same for all excel records. even doc. type & plant is same.
When debugg - In BAPI_PO_CREATE - IMPORTING - It's giving Purchaseorder 'Blank'.
04-05-2011 4:12 PM
If you're using external numbering (number supplied in incoming data), fix the contents of the Excel file....it appears to contain blanks....file error in data content or in importing the file?