on 08-01-2014 7:34 PM
Dear Experts,
Please help to modify SRM PO email to Vendor. My knowledge in this area is very limited.
SRM 5.5: when buyer completes SC and clicks the Order Button an email goes to Vendor with the PO as an attachment.
REQUIREMENT: Change email body lines.
When I run BBP_PO_ACTION_CONF I see the smart form name being used, class CL_PD_PO_PROCESSING_BBP and method PROCESS_BBP_PO_MAI
The system process seems to be grabbing predefined text parts and then prepares email and sends it with smartform attachment to vendor.
Would you please provide details in how I can locate and change the email parts?.
If my guess on the process is wrong please provide leads and details to the BADIs, FMs or whatever I need to change to accomplish the email change.
Thank you for your kind guidance.
Hello Julian,
standard body text mail sent to supplier with PO layout as attachment comes from BBP_OUTPUT_COVER smartform (variable lv_smartform_mail in PROCESS_BBP_PO_MAI method).
You can create a Z smartform, then call this smartform using implemention of BBP_OUTPUT_CHANGE_SF BAdI definition name.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Laurent for your response,
I created ZBBP_OUTPUT_COVER, changed text and created implementation in BBP_OUTPUT_CHANGE_SF as follows
method IF_EX_BBP_OUTPUT_CHANGE_SF~CHANGE_FORMS.
IF iv_object_type = 'BUS2201'.
IF cv_smartform_mail = 'BBP_OUTPUT_COVER'.
cv_smartform_mail = 'ZBBP_OUTPUT_COVER'.
ENDIF.
ENDIF.
endmethod.
But System is still using form BBP_OUTPUT_COVER. Verified that ZBBP_OUTPUT_COVER and implementation are active.
I am missing a step or configuration some place. I would greatly appreciate if you can provide detailed steps to solve the issue.
Julian
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.