Vous êtes sur la page 1sur 2

SAPLMEDRUCK /20020709/122127 is the cover page text for the PO (NAST-TDCOVTITLE) .

This is the print program, the date (YYYMMDD) and time (hhmmss). You can have ABAP hard code a cover page title in your PO form. Via transaction SE38, you can enter your driver program name, i.e., SAPFM06P, Include FM06PE02 and enter the title you want to appear. We entered the following code: if nast-aende eq space. l_druvo = '1'. else. l_druvo = '2'. endif. IF NAST-TDCOVTITLE = SPACE OR NAST-TDCOVTITLE CS 'SAPLMEDRUCK'. CASE SY-TCODE. WHEN 'ME9F'. CONCATENATE 'State of Ark PO #' NAST-OBJKY INTO NAST-TDCOVTITLE SEPARATED BY SPACE. WHEN 'ME9A'. CONCATENATE 'State of Ark Bid/Quote #' NAST-OBJKY INTO NAST-TDCOVTITLE SEPARATED BY SPACE. WHEN 'ME9K'. CONCATENATE 'State of Ark Contract #' NAST-OBJKY INTO NAST-TDCOVTITLE SEPARATED BY SPACE. ENDCASE. You can also enter the name via configuration: Transaction NACE, choose the appl ication, i.e. EF for Purchase Order. Choose the Output type button. Select your output type, i.e., NEU Purchase Order. Then double click on Mail title and texts . It will take you to the NAST transaction. You can then select the "Change" ico n and enter the title you want to appear. For example: Purchase Order No. &EKKOEBELN& will always print out: Purchase Order No. and then the number of the PO y ou are sending. If you do not have authorization for these transactions, you can reach these screens by following the configuration path: Materials Management > Purchasing > Messages> Output Control > Message Types> Define Message Types for Purchase Order > Maintain Message Types for PO. Then follow the same procedure for transaction NAST above. If you want this to appear for specific document typ es, you can use transaction MN04 to create a condition record and enter the desi red Cover Page Text, i.e. Purchase Order No. &EKKO-EBELN&. Damita Casey State of Arkansas This is a copy of another thread in SDn(Can't find it back). try to se eif it he lps: Goto NACE . Select EF and click on OUTPUT TYPES. Then select Output Type NEU and click on processing routines . In that you have to add a new entry - medium 5 . Then you need to assign a program, form routine and form. You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK. Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function VN . For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EB ELN& . Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE . Now the subject will be PO No. 1800004202. You need to maintain your email id in tcode SU01 and also the vendor's email id. Now while creating a new purchase order , change the medium to External Send .

Then goto Communication Method and select CS01 . ALSO make sure that the Cover P age Text has value PO No. &EKKO-EBELN& . Goto tcode ME9F . Execute. Select the checkbox and click on Output Message. You will get a message MAII 00000000000001 generated

Vous aimerez peut-être aussi