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: 

BAPI_FLCUST_CREATEFROMDATA => Technical error, BC_IBF = 6

Former Member
0 Kudos

Hi,

i try to learn using BAPIs from JAVA-applications. To find out how the BAPIs work, i use the BAPI-test tool of the function builder in the BAPI-Explorer.

Now i tried to create a new customer in the SAP flight-data case study. So i made a call to BAPI_FLCUST_CREATEFROMDATA with the 2 needed parameters customername and customertype ("B" for business-customer).

When i run the call, i get an error "Technical error", BC_IBF is set to 6.

So i tried to debug to find out, where the error occurs. It happens in the function "NUMBER_GET_NEXT" at the system call "ThNoGet". This system call returns with sy-subrc = 4, so a "INTERVAL_NOT_FOUND" exception is raised.

If i look at the system-call, i see that in the field-structure "BNRIV" the fields "FROMNUMBER" and "TONUMBER" are complete empty.

Could this be the error? And if yes, where can i enter this interval?

I am a student and i use a system, which is hosted by a university. Should this be a configuration problem?

I thank you for your help!

Kind regards from Germany!

Harry Schuster

1 ACCEPTED SOLUTION

naimesh_patel
Active Contributor
0 Kudos

Welcome To SDN..!!

May be your customer master number range is not maintained... you can check the number range for all objects in SNRO.

I actually don't remember the name of the number range object for the Customer. But, I think you can find that out by using the F4 help.

Regards,

Naimesh Patel

3 REPLIES 3

naimesh_patel
Active Contributor
0 Kudos

Welcome To SDN..!!

May be your customer master number range is not maintained... you can check the number range for all objects in SNRO.

I actually don't remember the name of the number range object for the Customer. But, I think you can find that out by using the F4 help.

Regards,

Naimesh Patel

Former Member
0 Kudos

Hi!

Thanks for your answer!

Will this range be set if i call the transaction

SAPBC_DATA_GENERATOR

to generate me some test-data?

Thanks for your answer!

Kind regards from Germany

Harry Schuster

0 Kudos

I don't have much idea about this FM. Actually, I am away from my SAP system so, could not log in and give you the best answer.

Regards,

Naimesh Patel