2005 Oct 27 1:58 PM
In the sost transaction,for messages of type neu (fax
or telex or email) for purchase orders the system create a line with text like this:
SAPLMEDRUC/xxxxxxx
in the Document title column.
Is it possible to customize this title, for example with the PO number ?
I have seen in ME/34 the possibility of customize title of messages in the output types,filling the fields
Replacement of text symbols
Program SAPMM06E
FORM routine
TEXT_SYMBOL_REPLACE,
after in the title of the message i write like so
in Mail title and texts:
Purchase order &EKKO-EBELN&.
When i generate the message, the title DOES NOT changes from the original SAPLMEDRUC/xxxxxxx, and setting a breakpoint in the TEXT_SYMBOL_REPLACE form, the standard does not stop itself.
Is there anyone with some ideas ?
Thanks in advance
Riccardo Galli
In the sost transaction,for messages of type neu (fax
or telex or email) for purchase orders the system create a line with text like this:
SAPLMEDRUC/xxxxxxx
in the Document title column.
Is it possible to customize this title, for example with the PO number ?
I have seen in ME/34 the possibility of customize title of messages in the output types,filling the fields
Replacement of text symbols
Program SAPMM06E
FORM routine
TEXT_SYMBOL_REPLACE,
after in the title of the message i write like so
in Mail title and texts:
Purchase order &EKKO-EBELN&.
When i generate the message, the title DOES NOT changes from the original SAPLMEDRUC/xxxxxxx, and setting a breakpoint in the TEXT_SYMBOL_REPLACE form, the standard does not stop itself.
Is there anyone with some ideas ?
Thanks in advance
Riccardo Galli
2005 Oct 27 2:23 PM
Hi Riccardo,
Did you put the text "&EKKO-EBELN" in the field "text for cover page" in the condition record for NEU?
Regards,
John.
2005 Oct 27 5:21 PM
We have a NEU2 message for fax messages.
In M/34 customizing transaction,
output types> general data,
the program and form for text replacement,
under
output types> mail title and texts,
i wrote &EKKO-EBELN& for all languages, but no changes in SOST.
Pheraps we are talking about two different points in the customizing, where do you refer (tell me the transaction name)
whith your replay ?
2005 Oct 27 8:02 PM
HI Riccardo,
I'm not pointing to customizing, but to master data: You have defined condition records for your NEU2 output type.
Go to the relevant condition record (transaction MN05), select the record and go to communication. Then fill in the field cover page with &EKKO-EBELN&.
Regards,
John
2005 Oct 28 8:51 AM
John, i have changed the condition record in MN05 for our
document type(NB),message NEU2(fax by us), with &EKKO-EBELN& in page title.
I have replicate the output in the purchase order, but in SOST i see always SAPMEDRUCK/yyyymmddhhss in the document title.
2005 Oct 28 9:40 AM
Hi Riccardo,
I finally got the answer...
You also have to create a program with routine to do the replacement (and fill in for output type in customizing).
The program should look like this:
&----
*& Form test
&----
FORM test TABLES tlines STRUCTURE tline
USING xhead TYPE thead
nast TYPE nast.
LOOP AT tlines.
REPLACE '&EKKO-EBELN' WITH nast-objky
INTO tlines-tdline.
MODIFY tlines.
ENDLOOP.
ENDFORM. " test
Regards,
John.
2007 Oct 09 8:55 AM
Hi John
I'm having the same problem.
I see you solved your problem.
I just don't understand how you did it.
Please clarify your solution
Ash
2009 Apr 20 5:50 PM
John, i have the same problem, need modify the title of the email, but i dont understand your solution. Can you explain a little it, please. i use TX V/34 and need the title be some like 'xxxxxx' &LIKP-TRAID&
but it not work. help please.
thanks
JC
Edited by: darill on Apr 20, 2009 6:51 PM