on 04-15-2010 12:31 AM
Expert's,
is it possible, while creating a reservation in the backend system, to include a extra field in the reservation ? For example i want to add information of the shopping cart number in the reservation, but it will be great if i could read that info directly in the backend system.
Is it possible with this badi BBP_CREATE_BE_RS_NEW?
is it possible to add this extra field information in tables RESB (item reservation) or RKPF (header reservation) ?
Regards,
Mário
Dear Mário Ricardo
It's OK,1step enhancement your RESB (item reservation) or RKPF (header reservation) table in your ECC system,2 step imp the BADI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thank you for your feedback. I notice that the structure BBPS_BS_BE_RS_ERP10 in SRM 7 is not entirely equal to the structure BAPI2093_RES_ITEM in the backend system, however if i append the same field in both structures ( and pass the information with badi implementation) it will work ?
Regards,
Mário.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mário,
yes, it's possible to add additional fields to the reservation.
In addition to that what Bill mentioned, please note, that by calling the 'BAPI_RESERVATION_CREATE1' the structures on SRM and backend site must be the same.
So e.g. when you create an append in the structure of the backend table RESERVATIONITEMS (BAPI2093_RES_ITEM), you need to enhance the same on the SRM site as well: the structure of the SRM table 'as_rs_out-reservationitems' (BBPS_BS_BE_RS_ERP10) has to have consist the same field.
This is important because during the RFC call the data transfer happens in a string, and no like field-by-field. If one field is missing on the SRM site, the rest of the table fields will skip with this missing field.
CALL FUNCTION 'BAPI_RESERVATION_CREATE1'
DESTINATION av_rfc_dest
EXPORTING
reservationheader = as_rs_out-reservationheader "#EC ENHOK
reservation_external = as_rs_out-reservation_external
* testrun = as_rs_out-testrun
* atpcheck = as_rs_out-atpcheck
* calcheck = as_rs_out-calcheck
IMPORTING
reservation = as_rs_out-reservation
TABLES
reservationitems = as_rs_out-reservationitems "#EC ENHOK <----- e.g. you would like to add additional data here
profitabilitysegment = as_rs_out-profitabilitysegment "#EC ENHOK
extensionin = as_rs_out-extensionin "#EC ENHOK
return = as_rs_out-return
When you have enhanced this structures, you can go ahead with the BAdI implementation.
Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.