Skip to Content

Problem to create PO in ECC in stand of SAP SRM

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.

fm.png

So, is there any other solution or suggestion to full fill my requirement?

fm.png (64.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 02 at 02: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,

    Add comment
    10|10000 characters needed characters exceeded

  • May 02 at 06: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.

    Add comment
    10|10000 characters needed characters exceeded

    • 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