05-01-2018 7:25 AM
Hi All,
My requirement is to create PO in ECC in stand of SAP SRM, and i tried following way, but i don't get desired result.
1. Implement BADI: BBP_DRIVER_DETERMINE, but in which it call META_BAPI_DISPATCH to itself and create an error.
Error application is coming up.
20180501
TEST_STPPS
105126
http://gipclsrmd.gipcl.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif
SYSTEM_NO_ROLL
The memory request for 1680000 bytes could not be complied with.
Function: BBP_LOGICAL_SYSTEM_GETDETAIL of program SAPLBBP_BD_DISPATCHER
Function: META_BAPI_DISPATCH of program SAPLBBP_BD_DISPATCHER
Method: IF_EX_BBP_DRIVER_DETERMINE~DETERMINE_DRIVER of program ZCL_IM_SRM_CRT_PO_ECC=========CP
Method: IF_EX_BBP_DRIVER_DETERMINE~DETERMINE_DRIVER of program CL_EX_BBP_DRIVER_DETERMINE====CP
Function: META_BAPI_DISPATCH of program SAPLBBP_BD_DISPATCHER
Method: IF_EX_BBP_DRIVER_DETERMINE~DETERMINE_DRIVER of program ZCL_IM_SRM_CRT_PO_ECC=========CP
Method: IF_EX_BBP_DRIVER_DETERMINE~DETERMINE_DRIVER of program CL_EX_BBP_DRIVER_DETERMINE====CP
Function: META_BAPI_DISPATCH of program SAPLBBP_BD_DISPATCHER
Method: IF_EX_BBP_DRIVER_DETERMINE~DETERMINE_DRIVER of program ZCL_IM_SRM_CRT_PO_ECC=========CP
Method: IF_EX_BBP_DRIVER_DETERMINE~DETERMINE_DRIVER of program CL_EX_BBP_DRIVER_DETERMINE====CP
http://gipclsrmd.gipcl.com:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif
2. Check FM: META_BAPI_DISPATCH , in which it pick data from table bbp_function_map, but it not getting any entry because METHOD = CreateFromData not maintain in table. Then a function name in getting blank.
So, is there any other solution or suggestion to full fill my requirement?
05-02-2018 3:22 AM
Hiren,
Take time to read this SAP Community Wiki - BBP_DRIVER_DETERMINE and Table BBP_FUNCTION_MAP (attached files), and as you can see for the Purchase Orders (BUS2012).
Regards,
05-02-2018 7:05 AM
Hello,
Thanks for your reply.
as per your solution, i did that (create badi: - BBP_DRIVER_DETERMINE, but it call to fm: META_BAPI_DISPATCH
and fm call to that badi, so process become infinite as define in topic 1, )
So, please suggest me other solution.
05-03-2018 11:55 AM
Hello Hiren,
You should not call FM META_BAPI_DISPATCH in the BADI, because FM META_BAPI_DISPATCH calls the BADI. In the BADI you need to change or fill variable FUNCTIONNAME based on your own logic.
Best regards,
Daniel