on 07-06-2010 9:36 AM
Hi all,
I am using BAdI BBP_OUTPUT_CHANGE_SF to use an own SMARTFORM for the e-mailText when a PO is sent to Vendor.
I just want to change the e-mail Text.
I set Parameter CV_SMARTFORM_MAIL
Everythign fine so far.
My problem:
How can I define own text formats within the body?
Every style or text format within my SMARTFORM is not used when EMAIL is sent to vendor.
Format seems to be RAW, even if I change the e-mail FORMAT within BAdI (using cs_parameters-mail_format) my e-mail does not accept any styles or Text formats.
Any ideas?
Thanks and regards
Andreas
There are two ways to use the z-smartform.
1. Manually enter the z-smartform name in customizing.
2. Or the second option is, you have to implement the badi
BBP_OUTPUT_CHANGE_SF and pass your z-smartform to via this badi. In
this case, you have to use the standard smartform 'BBP_PO' in
customizing. Check if you are passing the correct smartform name via debug.
3. Go to Transaction SPPFCADM.
Under 'PPF: Applications in Customizing',
select the entry 'BBP_PD'. Check all the options in the 'Clean Up
Inconsistencies' box and confirm by choosing,
'Clean Up Inconsistencies' pushbutton.
Regards
Lauren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lauren,
thanks. Yes, my SMARTFORM is called, I receive the text I declared within my Z Smartform.
Problem:
Any text format used within the Z Smartform is not transferred into my E-mail body.
For example:
I declared my text within Z Smartform as ARIAL 12px.
E Mail which I receive seems to be standard RAW Format --> text is shown as Courier.
Any idea how to influence the mail body (formats)?
Regards
Andreas
Note: We are using SRM 7.0 SP5
Notes 1439058 and 1445130 seem to describe the problem but do not fit to system environment.
Hi Andreas,
the format of the Mail Body is hardcoded set to RAW and so the Output of the Mail Body Smatrform is converted to plain text (displayed in Courier by the mail program you use for reading).
This happens in Method PROCESS_BBP_PO_MAI of class CL_PD_PO_PROCESSING_BBP which is per default customized as the processing class for PO output via email.
We haven't changed the Format of the mail Body but to do that you will have to copy that class into customer namespace, change the config with transaction BBP_PO_ACTION_DEF and change the Mail_format parameter in structure LS_PARAMETER to bbpex_conttype_html.
Hope that helps!
Cheers
Oliver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.