Skip to Content
0
Former Member
Apr 05, 2011 at 07:58 AM

In BAPI_PO_CREATE - Error- Purchase Order No. is not importing

37 Views

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'.