10-16-2015 8:18 AM
Good morning All,
we have set up a printer device (called MAIL) in SPAD for sending PO as e-mails for new plant. every thing is fine but the Mail title and subject are coming wrongly. i.e. title is coming as <SYSTEM ID><SPOOL NUMBER>-1:<Actual PO title maintained in NACE>.
we have rectified this issue by using the note 1101211 by activating the entry USE_SPOOL_TITLE in the report RSPO0021.
here the problem is, because of activating the above entry the Mail title is changed for all the plants and all the output types ( previously coming with initials <SYSTEM ID><SPOOL NUMBER>-1:),which the users not agreeing for the sudden change in the title. they want the title as previous one.
is there any way to activate the USE_SPOOL_TITLE based on condition or is there any way to change the MAIL title through programmatically?
Thank you
Ramesh
10-16-2015 10:06 AM
10-16-2015 1:03 PM
Ram,
I achieved a similar requirement by the following method for Billing Documents.
NACE
Select V3 Billing.
Click on Output types
In the next screen select your Z output type and click on "Mail Title and Texts"
Here for EN maintain as "Service_Invoice_&XNAST-OBJKY&.
After this Click on Details ICON
in the Mail tab maintain Program as SAPLV61B and Form Routine as TEXT_SYMBOL_REPLACE.
Now when the output type is triggered,you will get to see the mail getting triggered in SOST with DOCTITLE as "Service_Invoice_0001234567".
You can also refer to SAP Note 537832.
You can explore if the same will work for PO output types as well.I believe it should.
K.Kiran.
10-16-2015 2:03 PM
Hi Kiran,
Thanks for your reply.
I have maintained that program and routine name. the mail title is also coming but the problem is for that mail title is , its coming with some initials
SYSTEM ID><SPOOL NUMBER>-1:Actual mail title
this can be corrected by using the program RSPO0021, but it will effect for all the output types. I want to remove those initials only for one particular output type.
thanks,
Ramesh