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

BAPI_RESERVATION_CREATE1

eyal_alsheikh
Active Participant
0 Likes
3,560

Hi,

I try to use the parameter RESERVATION_EXTERNAL of the BAPI BAPI_RESERVATION_CREATE1.

I defined the RB Number range in transaction OMJK as Ext:

RB 0040000000 0049999999 X

However, when I run the BAPI I get Error messages:

1. For object RESB , number range interval does not exist OMJK.

2. No instance of object type BUS2093 has been created. External reference:

What I need to do in order to make this work?

Thanks,

Eyal.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,350

Hi,

You also have to enter the same number range interval in OMC2 under <b>No. range res/dep.rq</b> (Push Button)

Sri

Message was edited by: Srikanth Pinnamaneni

4 REPLIES 4
Read only

Former Member
0 Likes
2,351

Hi,

You also have to enter the same number range interval in OMC2 under <b>No. range res/dep.rq</b> (Push Button)

Sri

Message was edited by: Srikanth Pinnamaneni

Read only

eyal_alsheikh
Active Participant
0 Likes
2,350

Hi Sri,

In transaction OMC2 the possible input values that I see are only those that the Ext flag is unchecked in the OMJK table.

Thanks,

Eyal.

Read only

0 Likes
2,350

Hi Eyal,

If you look at BAPI_RESERVATION_CREATE1 interface parameters, it does not accept an external number.

It always generates a number internally.

Look at this part of code inside the fm,

  • create reservation

PERFORM GET_NUMBER TABLES RETURN

USING RESERVATION.

So I think you can uncheck the Ext flag for the number range interval that you have created.

Hope this helps..

I am adding this for your information,

BAPI_RESERVATION_CREATE seems to allow external numbers,

please check that out..

Sri

Message was edited by: Srikanth Pinnamaneni

Read only

eyal_alsheikh
Active Participant
0 Likes
2,350

You need:

1. To set first the table T460D with key Object: '3'

Order type: 'RS' and the field NUMKE to 'RB'.

2. You also need to set Number Interval of Number range

number 'RB' of Number Range Object RESB or in

transaction OMJK.