on 2020 May 14 11:50 PM
Hi Abapers,
I spent too much time to find solution for change email text for PO once shopping cart approved, when I looked for solution I found some hints for that but does not working with me, proposed solution using this badi (BBP_OUTPUT_CHANGE_SF). from this body I have changed notification of shopping cart based on object type as you can see code in down, but for PO I can't get object type for PO.
CASE iv_object_type.
*
WHEN 'BUS2121'. " Shooping cart
*
IF ev_decision EQ 'APPROVED'.
IF cv_smartform_mail = 'BBP_OUT_EXCEPTION'.
cv_smartform_mail = 'ZBBP_OUT_EXCEPTION'.
ENDIF.
ENDIF.
IF ev_decision EQ 'REJECTED'.
IF cv_smartform_mail = 'BBP_OUT_EXCEPTION'.
cv_smartform_mail = 'ZBBP_OUT_EXCEPTION_REJ_SC'.
ENDIF.
ENDIF.
WHEN 'BUS2201'.
IF cv_smartform_mail = 'BBP_OUTPUT_COVER'.
cv_smartform_mail = 'BBP_OUTPUT_COVER_TST'.
ENDIF.
ENDCASE.
So, please how we can use this badi to change PO notification or is there any other solution?
Thanks
Request clarification before answering.
Hello,
there is no filter name defined for this BAdI, so your implementation should be called for object type BUS2201 (Purchase Order).
If it is not the case, check for OSS notes or create an OSS message.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ibrahim
Can you pl check the blog I had written sometime back and see if that helps?
https://blogs.sap.com/2017/03/23/emails-and-notifications-in-srm/
The above BADI that you followed should have worked as well for changing the smartform I dont think it is for customizing the email.
Please try above and see if any of the methods listed here works for you?
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinita,
unfortunately, it does not working with me, I got object type for SC not for PO as you can see in Picture>
debugging.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.