Application Development and Automation 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: 
Read only

PR Creation using BAPI

Former Member
0 Likes
449

Hi Guru's,

I am uploading the PR by using the FM " BAPI_REQUIREMENT_CREATE".

I am able to generate the PR with external no. using this FM(Direct input from the FM).

For the same data when i am running from the program it is giving an error "Document number 90000XXX not within defined interval"

with MSG_ID - 06

and MSG_NO - 223

Is there any method to generate an Internal number range for the PR.

The number ranges for the PR are set as Follow's:

No. From No. To No. Current No. Ext

01 0010000000 0019999999 10000XXX

02 0090000000 0099999999 X

03 2000000000 2999999999 X

04 3000000000 3999999999 0

Thanks in Advance.

2 REPLIES 2
Read only

Former Member
0 Likes
382

Closed.

The problem is that when we pass it from program the conversion rule is to be applied.

Read only

Former Member
0 Likes
382

Can you share the source code of your uploader program.