Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with PO mail tilte while sending PO as an email.

former_member213450
Participant
0 Kudos

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

3 REPLIES 3

former_member213450
Participant
0 Kudos

Can any one please help on this?

Thanks,

Ramesh

kiran_k8
Active Contributor
0 Kudos

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.

0 Kudos

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