Production order print program
Experts,
could some one please help me understand the following terms and functions in very layman terms
1. print program (report name?), form routine, sap scriptform with respect to Production order in OPK8. Can some one please explain who each one of these is interlinked when printing an order
2. what is output type and why it is not necessary for production order? I mean why standard sap does not provide output type for production order.
Hi there,
I would like to suggest to check out some information / available documents which will give You a good overview, such as general OSS note about prod. order printing; ex. 11104 is a good one:
http://www.sapossnotes.com/2010/12/sap-note-11104-pppr-general-note-on.html
Here You could also find, that there is no output type but list name - used in prod. ord printout forms.
I hope this will help.
Br
Similar Messages
-
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 -
Hi friends,
i would like to know the configuration setting required for shop floor paper print out like producton order, confirmation, time ticket etc. i have checked execute printing in opkp. in control key, print, print time ticket, print confirmation are checked . in co04, and co04n i am not able to get the production order print out.
in opk8 please tell the required confirmation in detail (step by step)
regards'
ArunNeed to do the setting in OPK8
first check the configutaion link below and then come bsck w/yr doubt
http://help.sap.com/saphelp_40b/helpdata/en/3a/72369adc56d11195100060b03c6b76/frameset.htm -
Production order Printing status
Hello,
In which table , the status for the production order printing is stored, say , it printed n times or never printed etc,,
Thanks for the help
NicHi,
The table JEST stores the status PRT indicating that order was printed (Original), any subsequent printing is only a reprint.
There is no logging of reprints.
Regards,
Vivek -
Production Order Printing has no WBS Reference
Dear Sir,
We have Make-To_order scenario and using PP & PS both . All our Production Order have Assignment as "WBS Element" . In the Production Order Print , we are not getting WBS Element printed . We need that WBS Element also must be printed on the Production Order Print .
I request SAP experts , to kindly guide me as how can we resolve the problem .
Regards
S M MittalDear Sir,
Thanks for reply .
We are using Strategy 40 .
Regards
B Mittal -
Error in Production Order print
Hi PP experts
I am trying to print a production order using co02. It gives the following error.
[Element_ROU_TEXT_SHORT window MAIN is not defined for form PSFC_PRINT_LAY]and
I am using PSFCCOBJL program
and using PSFC_PRINT_LAY form
please suggest what can be done
ThanksDear Rajesh,
Smartform PSFC_PRINT_LAY has error. It appears that Element ROUTEXT_SHORT has not been defined but is used.
You can check this:
Go to transaction SMARTFORMS -> enter SMARTFORM Name -> Choose execute -> It will take you to funciton builder with a function name (Smartforms generate a Function Module when activated) -> Execute -> Provide values -> Execute -> It will display the error.
Regards,
Naveen. -
Production order print out in CRTD status.
Dear Expert,
Please guide me for how to take print out in CRTD status for production order.Has a work around I try to create status profile but still not able to make it.
I dont want to change the settings in BS22,since its effect globally.Please let me know how to create the status profile for the same to allow system to take print out in CRTD status,since I read the others thread mentioning that it is possible with status profile.
Regards.
SwapnilSwapnil,
This is not possible without changing system status in BS22 for business transaction RMDR for status I0001.
Check below SAP note 157422 - PM/SM: Printing orders in status Created for more details.
And I do not think this can be done with Status Profile in oder.
Br
KK -
Hi,
I notified that when a Prod.Order is printed and if we delete some materials to add new ones, deleted materials will still be printed with the new materials.
Does anybody had this issue already.
Would be interested to know how to avoid this , thanks.
StephHi ,
Apart from doing the above solution which seems to be coorect one, Please also make sure that 'SAP Script Form' is properly/correctly assigned to respective order types
and the same is assigned to particular print program(report names).
And last but not the least 'Printer specifications' are duly set for your desired/required plant.
Please revert if required.
Regards
Chandra -
Production order Printing issue
Hello,
when we are trying to print the production order and pick list through co01 or co04 ,it is printing two times, where we can control the settings, we want only one printing , Thanks for the help
NickHi Nick,
Check in the OPK8 in the 'List control for transactions' in that whether you have given in column number of printout - 2. There are two fields "Number of printouts" check both and Remove it put it one.
regards
ramakant
Edited by: ramakant shekapure on May 18, 2010 12:25 PM
Edited by: ramakant shekapure on May 18, 2010 12:54 PM -
Production Order Printing CO04N
Hi,
We have a issue while printing production order with T Code CO04N. The print output shows all operations other than those which are subcontrated. I have tried changing the print option in contol key but it doesnt work.
can anyone please suggest any probable cause of the same.
Thanks
RohitHi
check below SAP help: What is the status of the operation for subcontracting?
Lists of Operations
Note the following when you print lists of operations:
Is Customizing set up in such a way that the control key for the operations is checked when printing lists?
If this is the case, you must check whether the control key:
permits the printing of operations
permits the printing of time tickets
permits the printing of confirmation slips
If the control key check is not activated in Customizing, the system does not check the control key or the status. In this case, the system also does not set a print status.
Does the status of the order and the status of the operation permit the list to be printed?
If the order status does not permit printing, the system does not print a list.
If the order status permits printing, the system prints a list. Operations whose status does not permit printing are not included in this list.
The printing of lists is permitted if
the order is either released or partially released
the order is neither technically complete nor deleted
The printing of individual operations in an order is permitted if
the order is partially released or released
the operation is released and not deleted
Do you want to print time tickets or confirmation slips?
In this case, you should ensure that the specified number of time tickets or confirmation slips for the operation is greater than zero.
The number of time tickets or confirmation slips is proposed from the work center. However, you can change this on the General operation detail screen. To reach this screen choose in the production order. Select the relevant operation and choose . -
Production Order Print - GI Slip Problem
Hello All,
First, let me Wish You all a Very Happy New Year 2009.
Coming back to my query.
I have a issue, in which i when i take Prints of the Production Order, i am not getting Print of the GI Slip.
Print settings in OPK8 are kept at SAP Default.
Can you please help me with this.
Thanks in advance,
Harris PanchalDear Sree...
Problem is not that i am NOT able the Print, the Problem is that i am ABLE to do so but not getting GI Slip from it.
Requesting you to kindly go through my question again and hoping for a solution.
Harris -
Customized Transfer Order print program
Dear friends, I am facing a TO printing related problem. Please help me.
In warehouse management, once the transfer order is saved, the system will print out the TO automatically. This can be done in configuration. However, the requirement wants also that we use customized print program and forms instead of standard SAP ones. My idea is like this. I create a SMARTFORM and a print program. The program calls the smartform inside the program. However, where can I configure this customized print program in the system?
If anybody has done a similar task like this, please enlighten me.
Your help will be mostly appreciated:DHi
Please go to t.code NACE. Select the appropriate Application for Transport Order & click on 'Output Types'. Select the Output Type if already exists (or enter the new output type if any) and click on the Processing Routines. Here you may provide the Print Program, FORM routine and the SmartForm name.
Hope this helps.
Thanks
Prashanth -
Production Order Print . table data in print output of order
Hi SAP Buddies
Can any one tell me what are the steps required for setting the SFC print output.
IMG setting for print output.. of SFC papers
Actually my main purpose is to get TABLE : MARD and Field LGPBE to printed on Goods Issue Slip.
Warm Regards
Brijesh Vermahi
IN iMG settings OPK8 you need to set the Script forms,program name, list contorls,and printer specifications. against the lists
to get your required data you need to edit the program assigend to the Goosde issue slip.
pl check
-ashok
Edited by: Ashok Keerthipati on Dec 24, 2008 10:00 AM -
Dear PP Experts,
How can I take proudction orrdr print in standard (without any Zreport)
Thanks
Jayesh
SAP PPHi Jayesh,
give a glance of Mr. Rajesha Vittal inputs
In OPK8
Name of the list - LG01, LG03, LK02, LV02
Spool parameters - User and plant = *
Reference operation - type - *, ref order = your order type
Forms -
LG01 - PSFC_OBJECT-LIST
LG03 - PSFC_ZUGL-LIST
LK02 - PSFC_GOOD-ISS-SL
LV02 - PSFC_CONF-TICKET
Print prig -
LG01 - PPPROBJU
LG03 - PPPRZUGL
LK02 - PPPRWARS
LV02 - PPPRRUEC
List control for transaction
ref order type, plant, MRP controler-*
transaction codes - CO01, CO02, CO03, CO04, CO05, CO07
Flow control for transaction - all are online
Regards
kumar -
Production order printing error in script
Hi ,
I am facing problem while running Tcode co02,
Element BARCODE_AUFNR_MATNR window MAIN is not
defined for form PSFC_PRINT_LAY
This layout is the standard one,no one has modified it.
How to rectify this.
Thanks in advance.
Regards,
BathriHi,
Try searching in the OSS messages if any available or something happened at the time of upgradation or support packs etc.. kind of stuff.
Also can approach SAP OSS help.
Regards,
Santhosh.
Maybe you are looking for
-
Want to use an iPod photo configurated for Mac on a PC
I want to use my old iPod photo (configurated for Mac) on a PC (but do not need to keep my songs and photos). Is this possible? If so, what do I do? iMac G5 Mac OS X (10.4.8) iPod 5th generation 60 GB
-
How do i knockout in illustrator???
I'm trying to send my artwork for a business card to the printer, i need to mask d to mask out certain elements of the card. in order to do so i need to knock out a white shape that is on a dark background can anyone help me???
-
Field dominance problem?
Hello: When editing DVcam footage into a dv sequence with Livetype graphics, which field dominance (none, upper, lower) should be chosen in seq settings? I take it LT graphics should be created with the same FD? Currently, my seq is LOWER fd, as are
-
User switch scenario involving BSP application
Hi I am new to BSP application design. We have requirement from a BSP application wherein different sales force personnel need to see different segments of same data on the BSP application - owing to security requirements. We are thinking of usin
-
Hi, through an ESB-Project I watn to connect to a MySql DB. I am using the DB-Adapter in JDeveloper. I already configured the DB connection in JDeveloper and I am able to explore the DB there. But when I deploy the project to SOA Suite 10g nothing is