Purchase order driver program and configuration for nace
i have copied the medruck in script and i need to write the driver program for that and need to configure to nace can any one tell me how to do this.
Hi Rocky,
Below are steps to configure:
1. Go to transaction NACE
2. Select EF application, click on output types
3. Select Output type NEU and double click on processing routines
4. Here you can give ur driver program name and script name
Hope it will solve the problem.
Regards
Krishnendu
Similar Messages
-
Assigning customised purchase order driver program and form ?
Hi ,
I have a created my own driver program and form form for purchase order.........after developing where should i assign it..
i tried in nace but im getting the following error :
Processing routine ENTRY_NEU in program ZSK_PO does not exist.
wats the error i have made ?
thanks,
Siva.Hi
You have to attach in the NACE itself. Check IF your program is activated and did you use:
Form ENTRY_NEU.
"all your code should be here.
ENdform.
IN your program??
Regards,
VIshwa.
Edited by: Vishwa Sri Hari on Oct 22, 2008 4:18 PM -
How to find out the driver program and script for print preview for PO
Hi All,
We are getting some text output on the print preview of a purchase order.
How can we determine the driver script and the corresponding print program for this.
Can you please guide on this.
Thanks in advance.
Regards,
SanjeetHi,
check with below table
TNAPR --- Processing programs for output
and NACE Transaction code
NACE -- out types
Regards,
Madhu -
Hi all
Am using the Standard Smartform /SAPDII/SPP_ORDER for my purchase order rather than the script MEDRUCK.Now please tell me what is the driver program i need to submit for /SAPDII/SPP_ORDER in NACE.Please Help
Vijayhii
pls chk this in TNAPR table.
thanks
Edited by: pardeep kumar on Aug 11, 2008 3:26 PM -
Purchase Order Driver Program Not loading SMARTFORM
Hi,
I have developed Z smartform by copying from standard form and tried to call from standard program only but here I am not able to call my Z smartform and I am able to call only Z SAPSCRIPT from this standard program.
I have done all the necessary changes in NACE transaction but then also only when I keep the script name its working fine but when I replace this by smartform name the driver program is not calling smartform .!! why?
Please do let me know why is it like this?
Thanks
SudharshanHi,
PO driver program is written to support only SAPSCRIPT. So if you want to assign smartform in NACE, you should take a Zcopy of the driver program SAPFM06P with its include FM06PE02 as ZFM06PE02. And give the zprogram against the driver program field in NACE.
Then you need to replace the entry_nue subroutine in ZFM06PE02 with the below code.
form entry_neu using ent_retco ent_screen.
data: l_druvo like t166k-druvo,
l_nast like nast,
l_from_memory,
l_doc type meein_purchase_doc_print.
* Data Declaration for PO smartform Modification
DATA: fname TYPE rs38l_fnam,
xkomk TYPE TABLE OF komk,
gs_output TYPE ssfcompop,
gs_dialog TYPE ssfctrlop.
clear ent_retco.
if nast-aende eq space.
l_druvo = '1'.
else.
l_druvo = '2'.
endif.
call function 'ME_READ_PO_FOR_PRINTING'
exporting
ix_nast = nast
ix_screen = ent_screen
importing
ex_retco = ent_retco
ex_nast = l_nast
doc = l_doc
changing
cx_druvo = l_druvo
cx_from_memory = l_from_memory.
check ent_retco eq 0.
IF tnapr-sform NE ' '.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = tnapr-sform
IMPORTING
fm_name = fname
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc EQ 0.
gs_dialog-no_dialog = 'X'.
gs_dialog-preview = 'X'.
gs_output-tddest = 'LP01'.
gs_output-tdnoprev = ' '.
gs_output-tdnoprint = ' '.
gs_output-tdimmed = 'X'.
gs_output-tdnewid = 'X'.
CALL FUNCTION fname " modify the interface as per your needs
EXPORTING
control_parameters = gs_dialog
output_options = gs_output
user_settings = ' '
zxekko = l_doc-xekko
zxpekko = l_doc-xpekko
TABLES
l_xekpo = l_doc-xekpo
l_xekpa = l_doc-xekpa
l_xpekpo = l_doc-xpekpo
l_xeket = l_doc-xeket
l_xtkomv = l_doc-xtkomv
l_xekkn = l_doc-xekkn
l_xekek = l_doc-xekek
l_xkomk = xkomk
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
ELSE.
CALL FUNCTION 'ME_PRINT_PO'
EXPORTING
ix_nast = l_nast
ix_druvo = l_druvo
doc = l_doc
ix_screen = ent_screen
ix_from_memory = l_from_memory
ix_toa_dara = toa_dara
ix_arc_params = arc_params
ix_fonam = tnapr-fonam "HW 214570
IMPORTING
ex_retco = ent_retco.
ENDIF.
ELSE.
CALL FUNCTION 'ME_PRINT_PO'
EXPORTING
ix_nast = l_nast
ix_druvo = l_druvo
doc = l_doc
ix_screen = ent_screen
ix_from_memory = l_from_memory
ix_toa_dara = toa_dara
ix_arc_params = arc_params
ix_fonam = tnapr-fonam "HW 214570
IMPORTING
ex_retco = ent_retco.
ENDIF.
endform.
While calling the smartform modify the fm interface to your needs.
This will solve your problem.
Regards
Karthik D -
Class for Purchase order item components and Production order components
I'm looking for a some classes. I'm very new to objects, so I could be searching for them incorrectly.
The first class I'm looking for is a purchase order class that contains the item components. I've looked at CL_PO_ITEM_HANDLE_MM and CL_PO_HEADER_HANDLE_MM. I couldn't find components as a part of either of the classes.
The second one I'm looking for is not as critical. It is for the components for a production order. I have a function module: BAPI_PRODORD_GET_DETAIL that gets the components for the order. However, to take advantage of objects - I read somewhere - that if possible I should avoid calling a function module.
Any help that you could give would be greatly appreciated.
Thank you!
MichelleHello Michelle
I do not think there are already classes available on ERP 6.0 for reading production order (yet I might be wrong...). However, regarding purchase order you are already on the right track.
*& Report ZUS_SDN_OO_READ_PO
*& Thread: Class for Purchase order item components and Production order components
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1206523"></a>
"& NOTE: Coding adapted from BAPI_PO_GETDETAIL1
REPORT zus_sdn_oo_read_po.
TYPE-POOLS: abap, mmpur.
PARAMETER:
p_ebeln TYPE ebeln DEFAULT '3000000045'.
DATA: gs_document TYPE mepo_document,
go_po TYPE REF TO cl_po_header_handle_mm,
gs_header TYPE mepoheader,
gd_tcode TYPE sy-tcode,
gd_result TYPE mmpur_bool.
data: gt_items type PURCHASE_ORDER_ITEMS,
gs_itm type PURCHASE_ORDER_ITEM,
gs_item type mepoitem.
START-OF-SELECTION.
* prepare creation of PO instance
gs_document-doc_type = 'F'.
gs_document-process = mmpur_po_process.
gs_document-trtyp = 'A'. " anz. => display
gs_document-doc_key(10) = p_ebeln.
* object creation and initialization
** l_ebeln = purchaseorder.
CREATE OBJECT go_po.
CALL METHOD go_po->po_initialize( im_document = gs_document ).
CALL METHOD go_po->set_po_number( im_po_number = p_ebeln ).
CALL METHOD go_po->set_state( cl_po_header_handle_mm=>c_available ).
* read purchase order from database
gd_tcode = 'ME23N'.
CALL METHOD go_po->po_read
EXPORTING
im_tcode = gd_tcode
im_trtyp = gs_document-trtyp
im_aktyp = gs_document-trtyp
im_po_number = p_ebeln
im_document = gs_document
IMPORTING
ex_result = gd_result.
* there was a problem in reading the PO
IF ( gd_result EQ mmpur_no ).
** l_messages = l_handler->get_list_for_bapi( ).
** PERFORM return TABLES l_messages return
** poitem poschedule poaccount.
** CALL METHOD l_po->po_close( ).
ELSE.
gs_header = go_po->if_purchase_order_mm~get_data( ).
WRITE: / gs_header-ebeln,
gs_header-bukrs,
gs_header-bsart,
gs_header-lifnr.
ENDIF.
gt_items = go_po->if_purchase_order_mm~get_items( ).
LOOP AT gt_items INTO gs_itm.
gs_item = gs_itm-item->get_data( ).
write: / gs_item-ebelp,
gs_item-matnr,
gs_item-menge.
ENDLOOP.
END-OF-SELECTION.
Regards
Uwe -
Regarding purchase order Driver progrram
Hi..,
I am developing one smartform which is purchase order
"/smb40/mmpo_l "
and Driver programm is
"/smb40/fm06p"
i searched in TNAPR table but i didn't find driver program
I am using ECC6.0
can any one answer me how to download into "smb40" package
replay to [email protected]
waiting for geniues replay
Thanks in advanceHi,
You cannot enable the Copy From button on the purchase order window. This is because there is no originating document for a purchase order (which is the first document in the chain on the purchasing side).
Perhaps if you explain your reasons for needing this functionality someone can come up with a suitable workaround.
Kind Regards,
Owen -
Purchase Order History Program - not working properly
Dear friends
i am developing purchase order history program in ALV,
which shows the report of purchase order status
i.e (fields as below).
document no
PO date
line item
material number
material name
purchase org
plant
purchase group
orderd quantity
ordered amount
delivered quantity
delivered amount
to be delivered quantity
to be delivered amount
invoice quantity
invoice amount
to be invoiced quantity
to be invoiced amount
how to test from me23n
open me23n
enter PO number
press status tab
you can get some fields for verification..
the problem is
i can get all the details correctly except delivered amount and to be delivered amount
it works fine in both ( material purchase order and service purchase order )
sometimes i am getting incorrect values in service purchase order specifically in delivered amount and to be delivered amount
why i am getting these incorrect values ??
only couple of POs generate these things.
i am getting these values from EKBE table and using proper filtration like movement type and etc...
if anyone can resolve ... would be appreciable
avirat.Hi,
for getting proper Po History you need to select PO's details from EKKO table and
Header details from CHANGEDOCUMENT_READ_HEADERS based on the details got from this FM pass
to the FM CHANGEDOCUMENT_READ_POSITIONS and get proper details.
This is the logic used by the standard program also to get the PO History.
Hope this helps.
Regards
Bikas -
Error While submitting Import Standard Purchase Order Concurrent Program
Hello All,
When I am trying to submit Import Standard Purchase Order Concurrent Program from front end, it gets submitted properly.
and from backend,I am getting Following error.
To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
AUDSID = 27810853
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
When I looked in Parameters in both program(manually submitted and called from backend) I found a difference.
difference is Parameter Operating Unit. It not get submitted while program calling from backend.
Please anybody tell me solution for this. for setting this parameter.
(Also I have applied for patch 13001705 as per Metalink suggested).
Thanks in advance.
Regards
Ravi Raj.
Edited by: Ravi Raj on Jan 23, 2013 10:50 PMPlease paste the code here.. there may be some parameter issue while submission.
-
Purchase order print program error
hi experts!
am facing a problem in my purchase order print program. the problem is that when i am trying to see the print preview the following dump error is throughing, which am not able to understand.
the P.O total amount should be change into words( like one million then thousand thirty three kuwait dinars)
but the total amount is not converting into as mentioned, instead the dump is encountered.
please give me solution,
thnaks
*DUMP*
Runtime Errors CONVT_NO_NUMBER
Exception CX_SY_CONVERSION_NO_NUMBER
Date and Time 05.05.2008 19:04:43
Short text
Unable to interpret "1760,778.71 " as a number.
What happened?
Error in the ABAP Application Program
The current ABAP program "ZMM_SUBROUTINES" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_CONVERSION_NO_NUMBER', was not
caught in
procedure "GET_AMT_IN_WORDS" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The program attempted to interpret the value "1760,778.71 " as a number, but
since the value contravenes the rules for correct number formats,
this was not possible.
How to correct the error
Whole numbers are represented in ABAP as a sequence of numbers, possibly
with an algebraic sign.
The following are the possibilities for the representation of floating
point numbers:
[algebraic sign][mantissa]E[algebraic sign][exponent]
[algebraic sign][whole number part].[fraction part]
For example, -12E+34, +12E-34, 12E34, 12.34
If the error occurred in your own ABAP program or in an SAP
program you modified, try to remove the error.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"CONVT_NO_NUMBER" "CX_SY_CONVERSION_NO_NUMBER"
"ZMM_SUBROUTINES" or "ZMM_SUBROUTINES"
"GET_AMT_IN_WORDS"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
The exception must either be prevented, caught within proedure
"GET_AMT_IN_WORDS" "(FORM)", or its possible occurrence must be declared in the
RAISING clause of the procedure.
To prevent the exception, note the following:
System environment
SAP-Release 700
Application server... "EHPAP1"
Network address...... "10.100.150.103"
Operating system..... "AIX"
Release.............. "5.3"
Hardware type........ "00C3B3F04C00"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "EHPDB"
Database type..... "DB6"
Database name..... "EHP"
Database user ID.. "SAPEHP"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Mar 19 2007 20:40:49"
create on........ "AIX 2 5 005DD9CD4C00"
Database version. "DB6_81 "
Patch level. 102
Patch text.. " "
Database............. "DB6 08.02., DB6 09."
SAP database version. 700
Operating system..... "AIX 1 5, AIX 2 5, AIX 3 5"
Memory consumption
Roll.... 16192
EM...... 29328936
Heap.... 0
Page.... 1359872
MM Used. 19180992
MM Free. 1764848
User and Transaction
Client.............. 400
User................ "FADISULAIMAN"
Language key........ "E"
Transaction......... "ME22N "
Program............. "ZMM_SUBROUTINES"
Screen.............. "SAPLMEGUI 0014"
Screen line......... 22
Information on where terminated
Termination occurred in the ABAP program "ZMM_SUBROUTINES" - in
"GET_AMT_IN_WORDS".
The main program was "RM_MEPO_GUI ".
In the source code you have the termination point in line 398
of the (Include) program "ZMM_SUBROUTINES".
The termination is caused because exception "CX_SY_CONVERSION_NO_NUMBER"
occurred in
procedure "GET_AMT_IN_WORDS" "(FORM)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "ZMM_SUBROUTINES "; its source code begins in line
358 of the (Include program "ZMM_SUBROUTINES ".
Source Code Extract
Line SourceCde
368 DATA: lt_spell LIKE spell.
369
370 READ TABLE in_tab WITH KEY 'CURR'.
371 IF sy-subrc = 0.
372 lf_curr = in_tab-value.
373 ENDIF.
374
375 READ TABLE in_tab WITH KEY 'NETWR'.
376 IF sy-subrc = 0.
377 lf_netpr_01 = in_tab-value.
378 REPLACE ',' IN lf_netpr_01 WITH ' '.
379 CONDENSE lf_netpr_01 NO-GAPS.
380
381 IF lf_curr = 'KWD'.
382 lf_netpr_kwd = lf_netpr_01.
383
384 CALL FUNCTION 'SPELL_AMOUNT'
385 EXPORTING
386 amount = lf_netpr_kwd
387 currency = lf_curr
388 filler = ''
389 language = sy-langu
390 IMPORTING
391 in_words = lt_spell
392 EXCEPTIONS
393 not_found = 1
394 too_large = 2
395 OTHERS = 3.
396
397 ELSE.
>>>>> lf_netpr = lf_netpr_01.
399 CALL FUNCTION 'SPELL_AMOUNT'
400 EXPORTING
401 amount = lf_netpr
402 currency = lf_curr
403 filler = ''
404 language = sy-langu
405 IMPORTING
406 in_words = lt_spell
407 EXCEPTIONS
408 not_found = 1
409 too_large = 2
410 OTHERS = 3.
411 ENDIF.
412 IF sy-subrc <> 0.
413 * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
414 * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
415
416 ELSE.
417
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 17
SY-TABIX 1
SY-DBCNT 18
SY-FDPOS 1
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY NORMAL
SY-UCOMM PREVOUTPUT
SY-TITLE Held Imp. Pur. O r - ESG 5000000021 Created by Fadi Sulaiman
SY-MSGTY A
SY-MSGID TD
SY-MSGNO 426
SY-MSGV1 NEXTPAGE
SY-MSGV2 ZMEDRUCK_PO
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20080505
SY-UZEIT 190441
SY-XPROG SAPCNVE
SY-XFORM CONVERSION_EXITHi Prasad,
Check the FM's
SPELL_AMOUNT --> for display in millions
HR_IN_CHG_INR_WRDS --> for display in lakhs and crores -
Re: BulletinBoard and configuration for Touchpad
Win7 x64
L505-10M
There ware all sorts of problems after a windows security update a few months ago for this system.
I have to put a backup of C:\ back, but various functions did not work .
I have most of them work again now. I installed Flashcard again but Bulletin Board and configuration for Touch pad are missing yet.
Mouse drivers are HID-mouse and PS/2 version: 6.1.7600.16385 of Microsoft.
I downloaded Touch Path Driver-20091202155841.zip but this cannot be installed.
C: \Program Line\TOSHIBA\Bulletin Board is present but probable damaged and not present in Windows Start-menu\Toshiba.
How can I repair this?
arnold12I understand you that recovery installation is your last step and possibility.
What kind of backup do you have? How have you created this backup?
Obviously you have problems with typical Toshiba stuff so I dont understand what kind of backup do you use. Was your preinstalled OS screwed up and you try to install back up.
Anyway, bulletin board try to check Toshiba download page and install ReelTime for your notebook model, if it is offered.
What is wrong with touch pad driver? Why you cannot install it? Can you see some error message?
Have you tried to install both offered touchpad drivers? Which one cannot be installed? -
Driver program and a print program
hi all,
wat is the basic difference between a driver program and a print program in scripts.
How do we do modification for FI scripts
Thanks & Regards,
Saroja.hi Saroja,
Driver program or print program both r same... u can call either driver program or print progam.
Modifying the scripts depends upon your requirement,
basically if u have standard scripts better to copy it to zscript then make the chages like adding company logo or adding the company address or adding the terms and conditon what ever u asked to do then use the same print program write the extra logic in a subroutine in an executable program and call this routine in the script.
This is the method to modify the scripts with out modifying the print program because sometimes its not advisable to change the print program or
u can copy the print program to z program and u can add u r extra logic into it
~~Guduri -
I have two hard drives on my mac 10.5.8 power pc and hear the clickking sounds of the first hard drive and think that it may be dying, can I install everything on the other hard drive also and wait for the first drive to die before i use the other drives? Or, what is the best way to handle this?
I do not know what you are waiting for.
I'd make a backup of your important stuff before cloning the entire disk.
Carbon Copy Cloner will copy your startup drive to an external firewire drive. You can boot from the external drive to verify that you have a good clone. When you upgrade your existing startup drive, you can at any time boot from your external drive and go back to your existing system.
http://www.bombich.com/software/ccc.html
SuperDuper is the wildly acclaimed program that makes recovery painless, because it makes creating a fully bootable backup painless. Its incredibly clear, friendly interface is understandable, easy to use, and SuperDuper's built-in scheduler makes it trivial to back up automatically. And it runs beautifully on both Intel and Power PC Macs! -
SRM: "Purchase Order Change Approval " and "Invoice Approval"
Hi,
I would like to know the availability and details of the backend services for "Purchase Order Change Approval " and "Invoice Approval".
Any pointers ?
regards
SachinI want to know what are the Backend services exposed for the following processes :
Purchase Order Change Approval in MM
and Invoice Approval. -
Purchase order print priview and spool print output are different.
Hi Friends,
there is problem with purchase order print priview and spool print output are different.
mean : in me23n .. for a perticular po .. in po priview the TAX VALUES value is 120 coming..
when i am giving print with spool.. the amount value is showing TAX VALUE
is 443..why it is showing wrong..
this is for perticular output type.
why TAX VALUES are showing different in print view and
spool print.
help me.
regards,Hi Neil,
thanks for your reply.
but the valiadtions are happening in standard functional module PRICING.
it is realted script(medruck)...but there is no code point for spool or printer side..
and the issue is realted one PO OUTPUT TYPE..
it is sap standard debugging... when i am debugging the functional module PRICING.
the values are coming dynammically.
help me.
regards,
Maybe you are looking for
-
I just rented a movie from iTunes, there is an image but no sound.
I just downloaded Argo onto my MacBook. When I played the movie the image appeared but there was no sound. This has never happened before with movies that I downloaded to my laptop.
-
Hello everyone. I have recently set up DS 5.2. I plan to not allow anonymous access. I noticed however that on o=Netscaperoot and below, anonymous access is enabled by default. I would like to ask if it is ok to remove these acis, or this could cause
-
Transparency Issue. Can't get Complete Opacity while using NICEST Mode
I am trying to make a shape transparent and using NICEST transparency mode and COLOR_4 (byte). I provide color value for each coordinate point of the geometry (QuadArray) used. But even I set alpha to 255 for all points I get geometry slightly transp
-
Why won't Internet live tv streaming work on iPad
I am connecting to the Internet via wifi. However when I try to watch live streaming from a website the screen will not load. I can watch bbci plate and love film fine. But can't watch videos from many other Internet sites.
-
Currently using the nightly 39.0a2 (2015-04-07) and my active tab styles are gone. I have no idea which tab is the currently opened one. I have tried with two different themes and same issue on both. Now tab mix plus offers active tab style but they