Smartform Driver Program for Purchase Order & Request For Quotation
Hi All,
We are in ECC 6.0 EHP 4
I am unable to find Driver Program /SMB40/FM06P for Smartform
Purchase order = SMB40/MMPO_L.
Request For Quoation = /SMB40/MMRFQ_L
So can anyone help me how to get the Driver Program into my SAP system.
Regards
Rakesh
We had a similar problem... The package /SMB40/ is not installed by default with the ECC 6.0 system, so your Basis team should install it now.
See this thread for more information, I hope it can be useful for you.
/SMB40 and /SMB11
Similar Messages
-
Authorization Object for Purchase order Message control
Hi ,
Is there any stadard authoriztion object to control the print and print preview options for Message control .
I am requied to control the print and print preview options for purchase order messages for certain users depeding on there authorizaion.
Thanks in advane.Hi,
When you click on the 'print preview' button on ME22N/ME23N the system
makes an authority check on transaction ME9F activity 04. The current
logic forces the print preview functionality to be accessed ONLY by the
users who print. Therefore, only users that have authorization to use
ME9F are authorized to use the Print Preview button in ME22N/ME23N.
Kindly try the authorization objects M_BEST_EKG, M_BEST_BSA and
M_BEST_EKO = 04.
You can
also have a look the user exit
EXIT_SAPLMEDRUCK_001 in enhancement LMEDR001 for print program
SAPLMEDRUCK.
INCLUDE ZXM01U04
you can create own coding for all possible AUTHORITY-CHECK.
BR
Nadia Orlandi -
Dump in smartform driver program for purchase order
i created one smartform with driver program for purchase order.
in smartfrom i gave
form interface: p_ebeln as import,
tables as it_ekpo like ekpo.
global definitions are
wa_ekko type ekko for printing the ekko data in one window,
wa_ekpo type ekpo .
in main window i took the one table and loop the ekpo table for printing the item details.
no errors is there.but ; when i call this generated function module to my driver program it goes to dump.
in driver program i declare structures,internal tables,work areas, and parameter as p_ebeln .
and also select statements for my table all are good.but its not work.
in function module i pass the details as export p_ebeln = p_ebeln and table it_ekpo = it_ekpo.
and also i done debugging in this data come to the internal table and work areas.
but it goes to dump.
if u dont mind plz solve my problem.
Thanks
Navya.
Moderator message: empty lines removed, subject corrected, please use meaningful subject lines when posting!
Edited by: Thomas Zloch on Mar 24, 2011 10:10 AMHi Navya,
Your smartform is correct. But, as per my understanding, the dump comes when you call the smartform from the driver program. If that is the case, please check the input parameters and all th parameters in the program should be same as used in samrtform. Any deviation would lead to a dump.
Analyse and resolve!!!
Regards
Atul Sachdeva -
DRiver program for Purchase order smartform
Hi,
I am trying to use "smartform" for purchase order printout.
But not getting any driver program to attach in NACE for this output type(NEU). Is there at all any standard SAP delivered program for this purpose ?
If Yes, then what is it ?
Thanks for your response..
TSHI,
Try this ..
goto the program RS_ABAP_SOURCE_SCAN
in the selection screen give the form name in the search string it will display the all driver programs .
let me know any help.... -
Driver program for Purchase Order form "/SMB40/MMPO_A"
Hi All
Could you please suggest me Driver program for Purchase Order form "/SMB40/MMPO_A" ?
Driver program "/SMB40/FM06P" does not have the same interface structure as this form, hence can not be used.
<< Text removed>>.
Regards
Ansh
Edited by: Matt on Mar 27, 2009 7:22 AM - Please do not offer pointsHi Ansh
see this link
[Driver program |https://forums.sdn.sap.com/click.jspa?searchID=24089230&messageID=6810108]
Regards
HAreesh Menon -
Custom SmartForm for Purchase Order Printing
Hi,
I need a customized smartform for purchase order, which is called after the standard transaction ME9F.
I adjusted "Conditions for Output Control" by using transaction NACE ( Erased the name of the form MEDRUCK, Entered my customized smartform's name under smartform Form part and chose the type as smartform )
However, I couldn't success to see my printview whereas I continued to see the printview of Medruck.
I'd searched for the problem through here and the net, I found some names of smartforms such as: /SMB40/MMPO_L and /SMB40/MMPO_A and their driver programs like: /SMB40/FM06P . The package which consists of these elements was mentioned as " /SMB40/ "... but despite I downloaded it, my system still doesn't have the elements.
So, how can I use my own purchase order smartform or if i need the forms mentioned, in which best practice package i can find them?
SAP ECC 6.0
SAP_APPL 604
SAP_BASIS 701
Thanks in advance,Hi,
If your SAP doesnt have a standard smartform for PO, it is quite complicated to use smarform rather than sapscript.
I guess that you will need to modify the program SAPFM06P that calls the sapscript and make it call the smartform.
I will take a few time to adapt the sapscript.
Regards
Miguel -
Smartform for purchase order.
Hello friends,
I am creating the smartform for purchase order printing whih is attached to output type ZNEU and that output type is used in ME23N.
But at the time of creating versions in PO in ME22N it is giving error messages of diffrant types like form routine not present.
Now I want your opinion in deciding whether to go for new smartform for PO printing or I shoud procede with script MEDRUCK. If anyone have developed smartform for PO which supports versions, please suggest the wayout.
Rgds,
MadanHello,
You have to write form routines in the Driver program to trigger the form.
Please Reward if helpful.
Srujan. -
For Purchase order, is any Smartform available
Hi,
for Purhcase order Medruck Script is available but I want a smart form for purchase
is there smart form available for purchase order if exists plz. give me the name.
it is very urgent.
GaneshHi Ganesh,
There is standard smartform for PO (pre-configured forms) but you have to import package :/SMB40
PO Form: /SMB40/MMPO_L
Print Program: /SMB40/FM06P
See the note 595812: it explain how to download the preconfigured smartforms.
Anyway this is an extract of that note:
Detailed information can be accessed at the site:
http://service.sap.com/preconfiguredforms OR
http://service.sap.com/smb/development/preconfiguredforms.
To download preconfigured smartform package, please:
1. Go to http://service.sap.com/installations, select tab "download".
2. On the right hand side screen, locate navigation tree node
SAP Software Distribution Center->Download->Installations and Upgrades->
Entry by Application Group.
3. In the main window (right hand side), follow the path
SAP Best Practices->Best Practices for mySAP All-in-One-> PRECONFIGURED
SMART FORMS, you can find available preconfigured smartform versions.
Here you can also download the PO smartform.
Hope this will help.
Regards,
Ferry Lianto -
Smartform output to pdf in ECC 6.0 for Purchase Order
Hi Experts,
I am developing the Smartform to print Purchase Order. For this I have copied the standard Smartform of PO and modifying according to Client requirement. But I did not do any modifications on Print Program. Our client wants to save the PO into PDF format as local file after seeing the print preview . How to achieve this.I have already searched some threads, for this I need to modify the print program also. Is there any way to save PO as PDF file format with out modifying the Print Program?. Further I have another doubt, is there any possible way to save the PO as PDF after seeing the print preview?
For this the standard Print Program Is YBAA_FM06P.
Thanks and Regards,
Jagadeesh.
Edited by: Jagadeesh on Jan 22, 2009 5:33 PMHi Jagdeesh,
I hope the given code will solve your problem 100%
You just change the Parameters and your Smartform Name.
*variable declaration
DATA : fm_name TYPE rs38l_fnam. " Name of the Function Module
DATA: it_otf TYPE STANDARD TABLE OF itcoo,
it_docs TYPE STANDARD TABLE OF docs,
it_lines TYPE STANDARD TABLE OF tline,
st_job_output_info TYPE ssfcrescl,
st_document_output_info TYPE ssfcrespd,
st_job_output_options TYPE ssfcresop,
st_output_options TYPE ssfcompop,
st_control_parameters TYPE ssfctrlop,
v_len_in TYPE so_obj_len,
v_language TYPE sflangu VALUE 'E',
v_e_devtype TYPE rspoptype,
v_bin_filesize TYPE i,
v_name TYPE string,
v_path TYPE string,
v_fullpath TYPE string,
v_filter TYPE string,
v_uact TYPE i,
v_guiobj TYPE REF TO cl_gui_frontend_services,
v_filename TYPE string,
v_fm_name TYPE rs38l_fnam.
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = v_language
i_application = 'SAPDEFAULT'
IMPORTING
e_devtype = v_e_devtype.
st_output_options-tdprinter = v_e_devtype.
st_output_options-tdprinter = 'locl'.
st_control_parameters-no_dialog = 'X'.
st_control_parameters-getotf = 'X'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZDTK_MM_57FC'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION fm_name
*CALL FUNCTION '/1BCDWB/SF00000044'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = st_control_parameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = st_output_options
USER_SETTINGS = 'X'
SFP_BUKRS = P_BUKRS
SFP_WERKS = P_WERKS
SFP_EXNUM = P_EXNUM
IMPORTING
DOCUMENT_OUTPUT_INFO = st_document_output_info
JOB_OUTPUT_INFO = st_job_output_info
JOB_OUTPUT_OPTIONS = st_job_output_options
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
*ENDIF.
ELSE.
.........................CONVERT TO OTF TO PDF........................
CALL FUNCTION 'CONVERT_OTF_2_PDF'
IMPORTING
bin_filesize = v_bin_filesize
TABLES
otf = st_job_output_info-otfdata
doctab_archive = it_docs
lines = it_lines
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
.....................GET THE FILE NAME TO STORE.......................
CONCATENATE P_EXNUM '.pdf' INTO v_name.
CREATE OBJECT v_guiobj.
CALL METHOD v_guiobj->file_save_dialog
EXPORTING
default_extension = 'pdf'
*default_extension = 'doc'
default_file_name = v_name
file_filter = v_filter
CHANGING
filename = v_name
path = v_path
fullpath = v_fullpath
user_action = v_uact.
IF v_uact = v_guiobj->action_cancel.
EXIT.
ENDIF.
....................DOWNLOAD AS FILE..................................
MOVE v_fullpath TO v_filename.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = v_bin_filesize
filename = v_filename
filetype = 'BIN'
*filetype = 'DAT'
TABLES
data_tab = it_lines
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
Regards,
Devalla T Kumar -
Standard smartform for Purchase Order
What is the standard smartforms for purchase order?Where can i find this?Give me print program for the same.
Hi
Preconfigured smartforms are not available on ECC 6.0. You have to either download from service.sap.com or migrate existing script to smartforms.
Regards,
Vishwa. -
Any standard SMARTFORMS available for purchase order, sales order, invoice
Hi,
Any standard SMARTFORMS available for purchase order, sales order, invoice ?
RR.Hi Rama,
Goto NACE tcode-> choose the application u want( like billing for invoice, PO)->output type->output type->processing routineon left side
Here u will find the standard program name and smartform .
Hope it helps.
Regards,
Sonika -
Assign Form and Output Program for Purchase Order
Hi,
in SPRO, Assign Form and Output Program for Purchase Order I see the following data:
- IMG Activity Assign Form and Output Program for Purchase Order
- View Maintenance: Data
- VV_TNAPR_EF
- TNAPR
- 007ZNEU2EF
What is 007ZNEU2EF ?
Yours faithfullyI dont have enough knowledge on this one. However i will try to clarify this
007 i think its a version
ZNEU2 its a Process type
EF Purchase order -
Standard smartforms for purchase orders in scm server
hi
what are standard smartforms for purchase orders in scm server(not on R/3 server)
in R/3 i know
/SMB40/MMPO_UK
/SMB40/MMPO_L
/SMB40/MMPO_A
but i want to know in SCM(Supply Chain Management) server
Thanks,
Phanicheck below may be u r looking for the same
/SCA/ORDER_DESCRIPTION_AUTO
/SCA/ORDER_NUMBER_AUTO
/SCA/ORDER_NUMBER2_AUTO
~~Guduri -
Need the SMARTFORM name for Purchase Order in ECC 6.0
Hi experts,
I have been working on ECC 6.0 version and I need your help in finding out the name of the SMARTFORM for Purchase Order. Please let me know the SmartForm name if anybody knows. Waiting for your replies.
Regards,
RaviHI,
We have the Smartforms in the Service.sap.com, you need to download from this one. in our SAP we do not have these smartforms .
smartform name is /smb40/mmpo_l. Look at the SAP Note 695891
Look at the below link
Re: PURCHASE ORDER SMARTFORM IN ECC 6.0
<i>Mark all the helpful answers</i>
Regards
Sudheer -
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
Maybe you are looking for
-
Loading data from Cube to Planning area
Hi, If I am loading data from a cube to a planning area using transaction TSCUBE, does the system load data into planning area for the combinations that exist in the cube or does it load for all CVCs? For example, I have my CVC as Plant, Mat
-
Hello! Here's the question with explaniation: How can i format the USB or Drive by clicking a button what's meant for it? and the second question what's also in vb.net: How can i remove all files from folder ? Here's the Look of program: * Using th
-
How to give paths to icons.
ImageIcon audioIcon = new ImageIcon("music.gif"); with this declaration, i can't see the icon,which is in the same folder with the source file. If i give the FULL path, everything is ok.. the problem is that i want to create a JAR file, and of course
-
Can the submit button be deleted
For the convenience of our learners, my manager would like me to delete the submit button from the multiple choice questions we are using in our movie. He would Captivate to provide feedback immediately after the learner clicks his/her answer in the
-
Every time i hit the F1 key on my HP Pavilion 7965 Desktop I get the HP screen and at the bottom of it, the message "Entering SETUP". However that is as far as it goes. It just seems to freeze and does not enter setup. Does any one knows why and h