Application Development and Automation 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: 
Read only

Modify document title in SOST transaction

Former Member
0 Likes
3,113

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

7 REPLIES 7
Read only

Former Member
0 Likes
1,849

Hi Riccardo,

Did you put the text "&EKKO-EBELN" in the field "text for cover page" in the condition record for NEU?

Regards,

John.

Read only

0 Likes
1,849

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 ?

Read only

0 Likes
1,849

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

Read only

0 Likes
1,849

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.

Read only

0 Likes
1,849

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.

Read only

0 Likes
1,849

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

Read only

0 Likes
1,849

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