2008 Dec 29 11:35 AM
Hi !
We are in the Realization phase of implementing SAP CRM, and also undercone a ECC 6.0 migration 3 months back. We are faced with the foll problem....
Whenever a reservation is to be created from the CRM system a functional module u2018'CRM_SRV_LOG_PROCESS_RSRV' is called in the ERP system. Within this functional module, another functional module u2018MB_RESERVATION_CREATE_INTERNALu2019 is called. It is this functional module which actually creates a reservation and performs ATP check.
In the ECC system a new import parameter ATPCHECK has been added in u2018MB_RESERVATION_CREATE_INTERNALu2019 functional module and this is not filled whereas in R/3 this parameter does not exist at all.
This parameter needs to hold a value X for ATP to happen in THE ECC system.
It is proposed to fix this problem by adding the parameter ATPCHECK with value X in the functional module 'CRM_SRV_LOG_PROCESS_RSRV' when 'MB_RESERVATION_CREATE_INTERNALu2019 is called.
We have not modified any function modules so far, hence would like to know...
1. Whether the proposed solution is correct?
2. What would be the imact (things to watch out for) while carrying out changes in the function module?
Would be grateful to get a reply.
Thanks & Regards,
Ajeetha.
2008 Dec 29 2:23 PM
Hello
I have referred to the systems ECC 6.0 and SAP 4.7. In SAP 4.7, function module MB_RESERVATION_CREATE_INTERNAL never had ATP check inbuilt. See below:
***************Start if Snap from 4.7*********************
FUNCTION mb_reservation_create_internal.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(I_RKPF) LIKE RKPF STRUCTURE RKPF
*" REFERENCE(TESTRUN) TYPE BAPI2093_TEST OPTIONAL
*" EXPORTING
*" REFERENCE(RESERVATION) TYPE BAPI2093_RES_KEY-RESERV_NO
*" TABLES
*" IT_RESB STRUCTURE RESB
*" PROFITABILITYSEGMENT STRUCTURE BAPI_PROFITABILITY_SEGMENT
*" RETURN STRUCTURE BAPIRET2
*"----
comments:
- no availibility check*
- no field selection*
- no calender check*
***************End of Snap from 4.7*********************
This is additional functionality provided in ECC 6.0 by giving additional parameters:
***************Start if Snap from ECC6*********************
FUNCTION MB_RESERVATION_CREATE_INTERNAL.
*"----
""Lokale Schnittstelle:
*" IMPORTING
*" REFERENCE(I_RKPF) LIKE RKPF STRUCTURE RKPF
*" REFERENCE(TESTRUN) TYPE BAPI2093_TEST OPTIONAL
*" REFERENCE(ATPCHECK) TYPE BAPI2093_ATPCHECK OPTIONAL
*" REFERENCE(CALCHECK) TYPE BAPI2093_CALCHECK OPTIONAL
*" REFERENCE(RESERVATION_EXTERNAL) TYPE BAPI2093_RES_KEY-RESERV_NO
*" OPTIONAL
*" EXPORTING
*" REFERENCE(RESERVATION) TYPE BAPI2093_RES_KEY-RESERV_NO
*" TABLES
*" IT_RESB STRUCTURE RESB
*" PROFITABILITYSEGMENT STRUCTURE BAPI_PROFITABILITY_SEGMENT
*" RETURN STRUCTURE BAPIRET2
*"----
***************End of Snap from ECC6*********************
So, I think there should not be any change which need to be made to these function modules.
Thanks
Amol Lohade