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

Former Member
0 Likes
1,080

Hello, partners.

How can I do to change a field in the table RKPF ?

I tryed to do with the BAPI_RESERVATION_CHANGE, but it's only available for items .

Thank you,

Alejandro Ceruti

7 REPLIES 7
Read only

prince_isaac
Active Participant
0 Likes
1,013

hie

try se16

regards

Isaac Prince

Read only

Former Member
0 Likes
1,013

Hi,

Which field in RKPF table you want to change?

Regards

Krishna

Read only

0 Likes
1,013

Hello, Krishna.

I must change the following fields :

RKPF-EBELP

RKPF-EBELN

Thank you.

Regards

Alejandro

Read only

0 Likes
1,013

have you tried MB_CHANGE_RESERVATION?

Read only

0 Likes
1,013

Hi,

Use this code

CALL FUNCTION 'MB_CHANGE_RESERVATION' IN UPDATE TASK

EXPORTING CHANGE_RKPF = UPD_RKPF

CHANGE_RESB = UPD_RESB

NEW_RESB = NEW_RESB

TABLES XRKPF = XRKPF " RKPF table

XRESB = XRESB

XRESBN = XRESBN

ZRESB = ZRESB

DIS = DIS

XREUL = XREUL

XREULN = XREULN

XREULD = XREULD.

Regards

Krishna

Read only

0 Likes
1,013

Hello, Krishna.

I have seen this function, but is modifying only a few fields.

I will equaly use it to make an update to the table, for the fields I need. They aren´t relevant fields and they are unrelated with other aplicacion .

Thank you.

Regards.

Alejandro.

(Sorry by my bad english)

Read only

0 Likes
1,013

I have also used the 'MB_CHANGE_RESERVATION'. It works if I want to do changes on RESB.

Has anyone experiences in making inserts to RESB? I tried to use the NEW_RESB-flag in combination with the TABLES-Parameter XRESBN but it doesn't work correctly. Not all of the required fields are getting filled.

Thank you.

Regards

Mike