Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

1 REPLY 1

Former Member
0 Kudos

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?