SAPFM06P - ENTRY_NEU
Hi all!
I've got a problem with understanding the process when sending a message (extenal email from ME21N). When sending an eMail with a purchase order, the program SAPFM06P, form routine ENTRY_NEU is called.
We need to send a eMail with custom subject and custom text content. The attached PDF file should be deleted. I wonder where I could realize this? Where the eMail will be created?
Thanks for help!
Greetings,
Florian
Hi
I suppose u've created a MAIL message type, this message (just like the print) should be managed by fm OPEN_FORM: if it's used MAIL a device type, the system'll create the print as pdf and attach it to the mail.
So u need to change the driver program for message type MAIL, so I suppose u need to change the fm ME_PRINT_PO, ME_READ_PO_FOR_PRINTING: these fm should be called in routine entry_new.
The best solution is to create a new Z_function as copy of std ones.
Max
Similar Messages
-
Question print PO SAPFM06P ENTRY_NEU ZMEDRUCK
Hi, to printi in PO i have customized tha tr. NACE with sapscript ZMEDRUCK.
My layout is quite different from the standard layout, and to follow my layout, I had to modified a little bit the structure.
i'am a little bit worried about the changes because is the first time that i modified i Standard sapscript and i didn't know well the sequence when are printed the elements in tha main.
To understand this i debugged the sapscript when i print the PO from the transaction ME9F.
Two question:
*I see the sequence of printing PO, i write the new layout of the main in the element ITEM_HEADER_F and i write the values in the element ITEM_LINE_3F_PRICE ( the other elements are been commented)
*I commented the total amount and i moved it in the footer printing the variable &EKKO-WAERS&,,&KOMK-FKWRT& ( those variable are global in the program and i can print these also in the footer).
It's correct this approach at the problem? will work correctly as in test fase to print the PO?
Thanks
/E TOTAL_AMOUNT
/: PROTECT
/* &ULINE(71)&
/* ,,&EKKO-WAERS&,,&KOMK-FKWRT&
/* IF &SUM-EURO-PRICE& NE ' 0,00'
/* IF &SUM-EURO-PRICE& NE ' 0.00'
/* ,, EURO,,&SUM-EURO-PRICE&
/* ENDIF
/* ENDIF
/: ENDPROTECThi,
yes you can do it in that way., also please note that you need to use the some precaution before doing this.. first PRotect EndProtect is used to display it in one page.
Thanks,
Chidanand -
How to get the PO no in the smart form and in the print program from ME23N
hello all,
I am new to smart form printing.I want to make a smartform along with print program that will show PO Details.It has to be created as an o/p type in ME23N. I have created an o/p type ZPO using NACE ..Can some one tell me how to get the PO number in the smart form and in the print program from ME23N ,so that I can then program the necessary calculations?plz help me with the code.Thanks in advance.
Subhabrata.Hello Everyone,
I am new to the forum and also to abap.
Excuse me if it is a basic question.
I am taking care of the output types.
This is 1st time SAP will be implemented .
For purchase order , I go to NACE ---EF----NEU---Processing routines
print output---SAPFM06P---ENTRY_NEU----MEDRUCK
FAX-----------SAPFM06P---ENTRY_NEU----MEDRUCK
EDI------------RANASTED--EDI_PROCESSING
DISTRIBUTION(ALE)---RANASTED---ALE_PROCESSING
Are the above settings fine ?
What are the standard programs for the PO outputs . I am looking for the smartforms and the driver program .
I searched and found that IN ECC 6 , we have to install OSS notes .
Gurus, please help me . Let me know what all oss notes be implemented and how to proceed from here .
Any help will be greatly appreciated ,
Monalisa -
Email on the release of purchase order
hi,
the requirement is that, when the purchase order is released and saved in me28/me29n .then a email should be triggered to the concernd vendor .
is there any standard procedure for this.
As in NACE tcode,there is output type(NEU) for purchase order(EF),in the processing routines view- there is a processing routine with the row.
External send SAPFM06P ENTRY_NEU MEDRUCK
what does this signify.
plz help
regards,
johnson
Edited by: johnson george on May 30, 2008 3:01 PM
Edited by: johnson george on May 30, 2008 3:04 PMSAP marketplace - notice 191470 - Purchase order as an e-mail -
regards Jörg -
Currently Iam able to send the PO as an email attachment
using NACE settings as
Medium Program Form-routine Form
External SAPFM06P ENTRY_NEU MEDRUCK
send
My requiremnet is to send a custom designed form(PDF based)
when ever a new PO is created and saved.
Could any one please help me in finding out the exact program
where the current code for converting and sending the email
is present so that I can replace that one with the custom program
I have developed.Check
Re: Send Purchase Order via email?
Re: Send Purchase Order via email�
Regards,
Santosh -
PO Item Text Not Printing correctly
Hello,
Per the config settings, the PR Item Text is transferred to the PO Item text while creation of a PO.
When the PO is created, one can see the PO Item Text maintained in ME23N, but when you do the print
preview / print output, it is not displayed.
Few observations I would like to point out:-
1) Tables STXH and STXL are maintained correctly for PR.
2) Tables STXH and STXL are not maintained when the PO is created.
3) If you do the changes in PO Item text through ME22N for say Line Item 0010 and save, then print preview / print output shows only for Item 0010 since the entries are not present in STXH and STXL.
4) In T-code ME23N, when you go to PO Item Text tab for Line item 0010, then interestingly PO Print Preview shows only for 0010 even though there are no table entries. If you drill down for all line items, the print preview shows for all.
Can anyone please suggest why the print preview / print output does not show for all line items and why SAP is behaving this way?
Is there any other config settings to be done?
Regards,
SanjivHi Sanjeev,
Can you tell me what did u do for the item text to appear on the foem. Am having the same issue. Did u do any cnahes in teh form / driver program?....Pls let me know.
What was the customisation that was affecting it.
I am using the same
SAPFM06P ENTRY_NEU ZMEDRUCK(standard program).
Did u do any changes in the form? I want the item text to appear below the item no.
Please let me know.
Thanks
Micky -
Email to triggerd to the concerned vendor on the release and save of the PO
hi,
the requirement is that, when the purchase order is released and saved in me28/me29n .then a email should be triggered to the concernd vendor .
is there any standard procedure for this.
As in NACE tcode,there is output type(NEU) for purchase order(EF),in the processing routines view- there is a processing routine with the row.
External send SAPFM06P ENTRY_NEU MEDRUCK
what does this signify.
plz help
regards,
johnson
Edited by: johnson george on May 30, 2008 3:00 PM
Edited by: johnson george on May 30, 2008 3:13 PMhi,
u can do this using workflow.
workflow paths
hi,
Workflows
http://www.sap-img.com/workflow/sap-workflow.htm
http://www.sapgenie.com/workflow/index.htm
https://sapneth9.wdf.sap.corp/workflow
http://help.sap.com/saphelp_webas620/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Follow this link for examples with screen shots.
http://www.****************/Tutorials/Workflow/Workflow.htm
Check the demo of workflow from the following link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b90536a6
for tutorials:
http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
http://workflowgenie.com/index.php?option=com_content&task=view&id=56&Itemid=45
http://sapmaterial.com/workflow.html
Check the demo of workflow from the following link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b90536a6
for tutorials:
http://www.sapbrainsonline.com/TUTORIALS/TECHNICAL/WORKFLOW_tutorial.html
http://workflowgenie.com/index.php?option=com_content&task=view&id=56&Itemid=45
http://sapmaterial.com/workflow.html -
What is Sap Scripts for purchase order
hai,
what is the sap script or smart form for purchase order,
and how to modify the existing standerd one.
explain me in step by step.hi
Please ask question on sapscript in sapscript forum.
use sap script form medruck for PO
SmartForm /BPR3PF/MMPO_L is the standard delivered Purchase Order in 4.6c
Transaction code m/34 allows you to associate your 'Y' copy of the standad PO to your included company specific PO requirements such as company log graphic and other particulars.
Go to transaction OMFE. Tell me what you see there for the output type you are interested in. Let me take the standard output type NEU. The entry looks something like this.
NEU Purchase order 1 SAPFM06P ENTRY_NEU MEDRUCK.
The first one is your output type, next is its description, next is the medium, then the program, routine, and the form name.
You already copied the layout MEDRUCK to ZMEDRUCK. Now copy SAPFM06P to ZZSAPFM06P. Now ENTRY_NEU routine is in the include FM06PE02. You need to make your changes here to accommodate for the new field. So copy this include to ZZFM06PE02 and make your changes. Also, in ZZSAPFM06P, change the line where it says INCLUDE FM06PE02 to INCLUDE ZZFM06PE02.
Now in this routine ENTRY_NEU, there is a function module call ME_READ_PO_FOR_PRINTING which reads in the PO data from the tables. We need to copy this function module as well as this is where you will do your extra selections for the new fields. You will do the same with the other function call ME_PRINT_PO, if you need to change anything on the print.
after this to define output type...
NACE
You can track the form and the print program used for that form
NACE is used to create output type while creating the output type you will mention forms, and driver program.
that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
so check in NAST, TNAPR table
http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
Condition records in NACE?
EX--in simple terms..take a transaction say ME21N ( Purchase Order ), u can see a Print icon there. now when u click on this icon, it has to print the PO document. Now how does it do that? when u click Print, the control gets transffered to a print program, now which program gets triggered is decided by what program name u specify in NACE.
So in NACE>EF>Output Type>NEU>processing routine--> u can see some standard program already configured( maybe SAPFM06P n form MEDRUCK )..these are the programs n sapscript that gets executed wen u say "PRINT" in the transactrion...so u can customise the print program for customer changes over here by copying the standard program n form into a Z/Y one and replacing the program names in NACE.
Yogesh N
Edited by: Yogesh N on Aug 20, 2008 3:19 AM -
What is the standard print prg for Purchase Order
Hi,
I am working on forms, what is the standard print program for purchase order.
Already i have gone to nace and found that the program assigned to the customized print prg, so i am not able to find out the print program, so can u tell me how to solve it.
Regards,
claraHere are the default entries in the configuration
NEU Purchase order 1 SAPFM06P ENTRY_NEU MEDRUCK
NEU Purchase order 2 SAPFM06P ENTRY_NEU MEDRUCK
NEU Purchase order 6 RSNASTED EDI_PROCESSING
NEU Purchase order A RSNASTED ALE_PROCESSING
Regards,f
Ravi
Note : Please mark the helpful answers -
Cript - Message type- Error in Printing
Hi,
We have developed the custom srcipt for the PO printing and configured it NACE.
Now we are facing strange porblem that when we creat message type using this output type then it works for one PO and does not work with the other PO. The status is shown in yellow. Please let me know what could be the reason.
Regards,
Shweta.SAP Standard Scripts ( how to Modify Standard Scripts)
Go to transaction OMFE. Tell me what you see there for the output type you are interested in. Let me take the standard output type NEU. The entry looks something like this.
NEU Purchase order 1 SAPFM06P ENTRY_NEU MEDRUCK.
The first one is your output type, next is its description, next is the medium, then the program, routine, and the form name.
You already copied the layout MEDRUCK to ZMEDRUCK. Now copy SAPFM06P to ZZSAPFM06P. Now ENTRY_NEU routine is in the include FM06PE02. You need to make your changes here to accommodate for the new field. So copy this include to ZZFM06PE02 and make your changes. Also, in ZZSAPFM06P, change the line where it says INCLUDE FM06PE02 to INCLUDE ZZFM06PE02.
Now in this routine ENTRY_NEU, there is a function module call ME_READ_PO_FOR_PRINTING which reads in the PO data from the tables. We need to copy this function module as well as this is where you will do your extra selections for the new fields. You will do the same with the other function call ME_PRINT_PO, if you need to change anything on the print.
after this to define output type...
NACE
You can track the form and the print program used for that form
NACE is used to create output type while creating the output type you will mention forms, and driver program.
that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
so check in NAST, TNAPR table
http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
Condition records in NACE?
EX--in simple terms..take a transaction say ME21N ( Purchase Order ), u can see a Print icon there. now when u click on this icon, it has to print the PO document. Now how does it do that? when u click Print, the control gets transffered to a print program, now which program gets triggered is decided by what program name u specify in NACE.
So in NACE>EF>Output Type>NEU>processing routine--> u can see some standard program already configured( maybe SAPFM06P n form MEDRUCK )..these are the programs n sapscript that gets executed wen u say "PRINT" in the transactrion...so u can customise the print program for customer changes over here by copying the standard program n form into a Z/Y one and replacing the program names in NACE.
SAPScripts
http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
SAP SCRIPT FIELDS
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
scripts easy material
http://www.allsaplinks.com/sap_script_made_easy.html
Debugging Document.
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_47x200/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://www.cba.nau.edu/haney-j/CIS497/Assignments/Debugging.doc
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/84/1f624f4505144199e3d570cf7a9225/frameset.htm
http://help.sap.com/saphelp_bw30b/helpdata/en/c6/617ca9e68c11d2b2ab080009b43351/content.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/b3/d322540c3beb4ba53795784eebb680/frameset.htm
Reward points for useful Answers -
ZMEDRUCK PO how generate pdf on the server
Good morning experts,
i need to generate a PDF when the PO it's printed and save it on a server.
In the tr. NACE i have already defined ZMEDRUCK: SAPFM06P ENTRY_NEU ZMEDRUCK
The question is, i need also to copy the program SAPFM06P and SAPLMEDRUCK to manage the creation of the PDF via function or it's possible get the spool number outside the program to generate it anda save the PDF on the server.
If it's possible to get the spool id outside the program SAPFM06P i avoid to modify thew standard program creating a Z program.
help please
thanksHi,
Can you take the below code as a reference. this will guide you how to fix your problem.
REPORT zxx_viewer_zoom.
* T A B L E S D E C L A R A T I O N
*---Tables Used.
TABLES: afpo,
mara,
marc,
aufk,
afko,
itcoo,
nast, "Messages
*nast, "Messages
tnapr, "Programs & Forms
addr_key,
arc_params, "Archive parameters
toa_dara. "Archive parameters
* I N T E R N A L T A B L E S D E C L A R A T I O N
*--Internal Tables Used.
* D A T A D E C L A R A T I O N
*--Global Variables Used.
DATA: ws_matnr LIKE afpo-matnr,
ws_werks LIKE aufk-werks,
ws_mtart LIKE mara-mtart,
ws_wrkst LIKE mara-wrkst,
ws_fname TYPE rs38l_fnam,
ws_ctrlp TYPE ssfctrlop,
ws_optns TYPE ssfcompop,
w_padest LIKE tsp03l-padest. "BMC01+
DATA: da_message_printed(1) TYPE c,
da_preview_processed(1) TYPE c,
repeat(1) TYPE c,
da_subrc LIKE sy-subrc.
DATA: w_otfdata TYPE ssfcrescl.
DATA: BEGIN OF it_itcoo OCCURS 0.
INCLUDE STRUCTURE itcoo.
DATA: END OF it_itcoo.
DATA: w_otf TYPE itcoo.
*--Data Declaration for Printing Layout
DATA: ls_itcpo TYPE itcpo.
DATA: lf_repid TYPE sy-repid.
DATA: lf_device TYPE tddevice.
DATA: cf_retcode TYPE sy-subrc.
DATA: ls_recipient TYPE swotobjid.
DATA: ls_sender TYPE swotobjid.
DATA: ls_control_param TYPE ssfctrlop.
DATA: ls_composer_param TYPE ssfcompop.
DATA: ls_addr_key LIKE addr_key.
DATA: w_screen(1) TYPE c.
DATA: xscreen(1) TYPE c.
DATA: da_mess LIKE vbfs OCCURS 0 WITH HEADER LINE.
* C O N S T A N T S
CONSTANTS: c_fas1(8) TYPE c VALUE 'PRINTFAS',
c_fas2(15) TYPE c VALUE 'PRINTFASDRAWING',
c_wip1(8) TYPE c VALUE 'PRINTWIP',
c_wip2(15) TYPE c VALUE 'PRINTWIPDRAWING'.
* S E L E C T I O N - S C R E E N.
SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-bl1.
* Production order
PARAMETERS: p_aufnr LIKE afpo-aufnr OBLIGATORY.
SELECTION-SCREEN END OF BLOCK bl1.
START-OF-SELECTION.
*--Get Partially processed orders
MOVE: sy-mandt TO nast-mandt,
'V1' TO nast-kappl,
p_aufnr TO nast-objky,
p_aufnr TO nast-parnr,
sy-langu TO nast-spras,
sy-datum TO nast-erdat,
'1' TO nast-nacha,
'3' TO nast-vsztp,
'X' TO nast-manue,
sy-uname TO nast-usnam,
'DFLT' TO nast-ldest,
sy-langu TO nast-tdspras,
'Shop Floor Papers' TO nast-tdcovtitle,
'1' TO nast-tdarmod,
'BUS2032' TO nast-objtype.
*--Printer settings
CALL FUNCTION 'WFMC_PREPARE_SMART_FORM'
EXPORTING
pi_nast = nast
pi_repid = sy-repid
IMPORTING
pe_returncode = cf_retcode
pe_itcpo = ls_itcpo
pe_device = lf_device
pe_recipient = ls_recipient
pe_sender = ls_sender.
MOVE-CORRESPONDING ls_itcpo TO ls_composer_param.
ls_control_param-device = 'PRINTER'.
ls_control_param-no_dialog = 'X'.
ls_control_param-preview = 'X'.
ls_control_param-getotf = ls_itcpo-tdgetotf.
ls_control_param-langu = sy-langu.
CLEAR: ws_werks.
SELECT SINGLE werks
INTO ws_werks
FROM aufk
WHERE aufnr = p_aufnr.
CLEAR: ws_matnr.
SELECT SINGLE plnbez
INTO ws_matnr
FROM afko
WHERE aufnr = p_aufnr.
CLEAR: marc.
SELECT SINGLE matgr
INTO marc-matgr
FROM marc
WHERE matnr = ws_matnr
AND werks = ws_werks.
* CHECK NOT ws_matnr IS INITIAL.
IF NOT ws_matnr IS INITIAL.
SELECT SINGLE matgr
INTO marc-matgr
FROM marc
WHERE matnr = ws_matnr
AND werks = ws_werks.
ELSE.
marc-matgr = c_wip1.
ENDIF.
END-OF-SELECTION.
PERFORM call_smartform.
* F O R M R O U T I N E S
*& Form call_smartform
* text
FORM call_smartform.
CLEAR: ws_ctrlp, ws_optns, ws_fname.
TRANSLATE marc-matgr TO UPPER CASE.
IF marc-matgr = c_fas1 OR
marc-matgr = c_fas2.
PERFORM call_paper_a.
ELSEIF marc-matgr = c_wip1 OR
marc-matgr = c_wip2.
PERFORM call_paper_b.
ENDIF.
ENDFORM. "call_smartform
*& Form call_paper_a
* text
FORM call_paper_a.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZPPSF_SHOP_FLOOR_PAPER_C'
IMPORTING
fm_name = ws_fname
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CHECK NOT ws_fname IS INITIAL.
CLEAR w_otfdata.
ls_control_param-getotf = 'X'.
CALL FUNCTION ws_fname
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
aufnr = p_aufnr
flag_orig = 'X'
IMPORTING
job_output_info = w_otfdata
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
LOOP AT w_otfdata-otfdata INTO w_otf.
APPEND w_otf TO it_itcoo.
ENDLOOP.
CALL FUNCTION 'HR_IT_DISPLAY_WITH_PDF'
TABLES
otf_table = it_itcoo.
ENDFORM. "call_paper_a
*& Form call_paper_b
* text
FORM call_paper_b.
DATA: ws_doknr TYPE draw-doknr,
ws_dokvr TYPE draw-dokvr.
CLEAR: ws_doknr, ws_dokvr.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZPPSF_SHOP_FLOOR_PAPER_B'
IMPORTING
fm_name = ws_fname
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CHECK NOT ws_fname IS INITIAL.
CLEAR w_otfdata.
ls_control_param-getotf = 'X'.
CALL FUNCTION ws_fname
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
user_settings = ' '
is_nast = nast
aufnr = p_aufnr
doknr = ws_doknr
dokvr = ws_dokvr
flag_orig = 'X'
IMPORTING
job_output_info = w_otfdata
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
LOOP AT w_otfdata-otfdata INTO w_otf.
APPEND w_otf TO it_itcoo.
ENDLOOP.
CALL FUNCTION 'HR_IT_DISPLAY_WITH_PDF'
TABLES
otf_table = it_itcoo.
ENDFORM. "call_paper_b
Thanks,
Chidanand -
what is the exact use of the form routine assigned in nace?
eg:
o/p type script drv prog form routine formname
NEU (Purchase order) SAPFM06P ENTRY_NEU MEDRUCK
if i create any modifications in the form routine using itcsy then will i have to write all the code within this form routine?
eg:
perform <form routine name> in program zprog1.
using
changing
endperform.
i have searched sdn but cudnt find a suitable answer. pls explain with an example.Hi,
The routine mentioned in the Nace will have the logic to Get the data required to ptint on the form and also it call the Form using the function modules lije Open_Form Start_form Write_form. If it is a smartform it calls the Smart form generated FM.
Ex NACE--> ENTRY_NEU
Driver Program in NACE is ZSAPFM06P
This prgram contains the form ENTRY_NEU
Form ENTRY_NEU.
*get the data
*Call the form
Endform.
I hope it is clear. -
Attach a Smart form to a output type .
Hi,
May i know how to attach a smart form to a output type in NACE transaction.
So that when we take PO printout from me9f it should work fine.
Is it same as we do for a script or any thing extra need to be done??/
Regards,
NehaHi Neha,
If you want to print a PO with smartform, please maintain it in t-code
NACE with SAP standard settings.
1- normal method using the standard PO printing:
Out type Print program Form Routine Form Smartform
NEU SAPFM06P ENTRY_NEU MEDRUCK Not applicable
2- for smartforms:
Out type Print program Form Routine Form Smartform
NEU /BPR3PF/FM06P ENTRY_NEU Not Indicate the
Applic template to use
Please find notes which explains on where to find Standard
Smartforms , assistance and documentation on this issue.
526824 Smart Forms: Which information sources are available?
430621 Delivered print programs and form templates
Best Regards,
Arminda Jack -
External Send PO as email with PDF attachment not working
hi,
we are using ECC6, and in txn NACT, Processing routine we can use Sapscript External send > SAPFM06P > ENTRY_NEU > MEDRUCK > PDF and in MN04/5 i create Output record, and in SCOT my PO is ready for transmission from either ME21N/2 and ME9F - works well - email sent with pdf PO attached.
<b>HOWEVER,</b> we have just created a SMARTFORM PO, and with similar settings, i cannot create External send OUTPUT!!! (Output failed in ME9F/ME23N) NACT settings External Send > /SMB40/FM06P > Z_MMPO_A > PDF
In SCOT > SMTP > Internet X > Sapscript/SmartForm = PDF.
Does special code need to be entered into Smartform to generate PDF email similar to Sapscript? Any code would be appreciated.
regards AdamHi,
You need to build a code to create the Spool OTF output into PDF.
This can be done in Print program, which converts the spool into PDF & sends a mail with PDF attachment.
Please refer this sample program:
http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
Best regards,
Prashant -
SAPFM06P - Can this program be used for triggering a Smartform Output??
Hi Experts!
I researched a lot and came to a conclusion that Program SAPFM06P can only be used trigger either a SAP SRIPT Output or a PDF FORM output. It cannot be used to trigger a SMARTFORM output directly as there is no code in it to trigger a SMARTFORM.
My understanding:
I will have to either create an Enhancement to the Program or a Zcopy of SAPFM06P where I need to write the logic in form routine ENTRY_NEU to call a SMARTFORM.
Please tell me if my understanding is correct and please guide me if there is any easier way to achieve the same functionality.
Thanks for help!
Greetings,
AmitHi,
U can Copy this standard Program to ZProgram and Insert the FM SSF_FUNCTIONMODULE_NAME and call ur smartform and assign the same combination to the Output type Given to u in NACE Transaction..
This is the Driver Program which I used for PO Smartform
[http://vjkvijaya.blogspot.com/2009/03/puchace-order-smartform-driver-program.html]
Regards,
Vijaya Lakshmi.T
Maybe you are looking for
-
My iMessage on Macbook Air quit unexpectedly and I cannot open it now
My imessage cannot work now!! When I try to open it, it just shows that "The last time you opened Messages, it unexpectedly quit while reopening windows. Do you want to try to reopen its windows again?" When I click reopen, it comes out the problem r
-
How do I create a path so scans to a Windows server come to my iMac.
I'm the only Mac user in a PC office. Scanned docs for me now go into a folder on the server which I have to access from a PC and then move contents to my DropBox. Is there a way to configure the scanners so my scanned docs come into a folder on my
-
CS6 crashes on exporting to PDF
When I try to export a document as a PDF, CS6 keeps crashing. I've got a few PDFs in the document and have tried deleting them completely to see if they were the reason for the crashing. However it still keeps crashing. This is really frustrating as
-
Problem: Camera pictures in mode "Photo" don't fix screen...
After installing io7 yesterday, I've noticed this problem... I'ld be glad if someone could tell me what to do...
-
Firefox is not working with youtube.
For whatever reason, youtube will no longer work in my firefox browser anymore. Every time I try to play a video I get a message saying "An error has occurred. Please try again later." I have tried running firefox in safe mode, but that didn't help.