Skip to Content

Enhance the FM "BBP_PD_SC_TRANSFER"

Hi All,

I am trying to enhance the FM " BBP_PD_SC_TRANSFER" but for each object inside this FM  I am getting message 'function group BBP_PD_SC'

can not be enhanced. Is there any object where I can put my custom code in SRM after PO is getting created in ECC and PO# is passed to SRM.

Regards,

Sachin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jan 20, 2015 at 11:00 AM

    Hi All,

    Is there BADI or EXIT  in SRM after PO is created in ECC using BAPI_PO_CREATE1 and EKKO ,EKPO, NAST etc tables are updated.

    Regards,

    Sachin

    Add comment
    10|10000 characters needed characters exceeded

    • Hi All,

      This issue has been resolved. I found one implicit enhancement point in Method CREATE_DOCUMENT where we are calling one Custom RFC to trigger an email with PO as PDF attachment once all the Database tables are updated.

      RFC FM ZMM_RFC_PO_EMAIL_ATTCH_SEND will be invoked from SRM system after all the database values are updated to in the backend ECC system.

      Implicit enhancement ZMM_SRM_PO_PDF_EMAIL will be created in if_bbp_sc_be_crt~do in SRM .Check if Success message regarding PO creation exists in status message table ET_MESSAGE.

      If yes, FM ‘FUNCTION_EXISTS’ is used to check if RFC implementation exists in target system. If exists, then only RFC FM ZMM_RFC_PO_EMAIL_ATTCH_SEND will be triggered.

      Regards,

      Sachin

  • Jan 07, 2015 at 12:59 AM

    Hi. SRM generates the PO number and passes it into ECC as an external reference, but I guess that is not that important to your issue.

    What exactly are you trying to achieve? If you can not use the PO_CREATE_BACKEND_NEW BADI then you could probably enhance somewhere a bit after it. Set a breakpoint in this BADI, then setp up once or twice and go onto the next bit of code. SRM will call something (depends on a few things exactly what it calls) and create the PO in ECC. Then you can try and enhance wherever you are at that point.

    You could also use the ME_PROCESS_PO_CUST BADI in ECC which will be called once the PO posts into ECC. You could RFC back into SRM to do things, it really depends on exactly what you want to do.

    Regards,
    Dave.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sachi,

      I am an ABAPer. I am not well aware of benefits of automatic determination of output types.

      Can you let me know if it is possible to achieve below goals with automatic Output type determination and corresponding configuration settings ...

      1. Send an email to desired recipients.

      2. Populate email body with desired message.

      3. Add dynamic subject to the email

      4. Send PO as PDF attachment in email

      Regards,

      Sachin