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:D
Hi
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
Similar Messages
-
Smartform in LT31 Transfer Order Printing
Hi,
I have designed a smartform in LT31 Transfer Order Printing for SU Contents .
I have to inclued in it user exit MWMD0001.
I have an requirement in abap and I need more details on what exactly to modify in the program.
What modifications should I make in exit_rlvsdr40_001?
I need to print fields from tables ltap, ltak, rl03t, and mean.
Your help will be greatly appreciated with required code,if anyone implemented before.
Regards
Manohar SI worked on same requirement LT31 Transfer Order Pick list. For Form configuration part Functional consultants will do in spro--->Warehouse management.
They assigned a paricular warehouse number to this form. Weather it is multiple / single TO.
Design a smartform and goto se38, give it program name : RLVSDR40.
In this program find user exit 'CALL CUSTOMER '001'.
when ever u double click on this exit. This will take to function module exit. i.e. RLVSDR40 . Here include, we have to call the smartform function module.
let me know , any clarrification required.
Regards,
Vishvesh. K -
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 -
Hello,
I have two issue with tranfer order
1) We are printing transfer order through network order CN23 .The part has been issued to network order from 3 Group WBS element .So when we are printing the Transfer order it is just printing one WBS element on transfer order not the other two of them.So is there a configuration setting for the trnasfer order to print all the WBS element?
2) When the user is printing tasfer order from his profile LT31 and including all the setting plus defined printer as LOCL the transfer order is not getting printed .Only when he is going to SP02 it is getting printing .So i guess there must be some setting that is missing in printer config .I checked in OMLV but couldnt find one .Can any one pls help.?Thanks for the reply Abhijit.I saw in OMLV in Print code that the printer has been set to 02 so does that mean it is going to Spool? If so how can i change the setting back to print immediately ?what needs to be done in printer setting to get that print immediately.
My first question is related to Transfer order print out .We have network order which has 3 WBS elements from which the component has been issued.So when we print the transfer order via LT31 it is only printing one WBS not the other two of them.So my question is is there a way in config to change the Transfer order so that it print all the WBS element or it should be done via coding? -
Hi
Currently transfer Order Print output is sorting by Material Number. I want to take
print sorting by Source Stroage type.
How should i change this settings ?
Thanx
KeyHi Key rams,
You must define sort profile for your warehouse number, with 1st sort criterion is VLTYP field(Source Storage Type) in OMLV. Then you must assign this sort profile into your print code that you use for print transfer order.
I hope this solution can answer your problem.
Please rewards point if helpfull.
Regards
Gunawan -
Transfer Order Printing using smart forms
Hi All
Our requirement is to print Transfer Order ( WM ) for Goods Receipt & Delivery using Smart forms.
Can we change the existing standard format (SAP script ) and use our own form(smart form ) to include some other data & print.
If possible how to replace the SAP script to Smart form.
Request someone could guide in detail.
Thanks in advance.
SamsonHi
When you create Smartform try to replace it in customizing OMLV. Not sure if it will work as it refers to Sap Scirpt in help description.
It is also possible to write Z program for TO printing and hardcode SmartForm there.
Regards
Mariusz -
Hi,
We have a requirement, in which we have to print the transfer order details.
This has to be called from the LT31. We have to create our own script/smartform.
The problem is ,
whether to create a script or smartform.
After creating it, the exact location to configure that script/smartform in NACE.
Or is there anyother place ...
Please help me with it...
rewards assured for a helpfull answerI worked on same requirement LT31 Transfer Order Pick list. For Form configuration part Functional consultants will do in spro--->Warehouse management.
They assigned a paricular warehouse number to this form. Weather it is multiple / single TO.
Design a smartform and goto se38, give it program name : RLVSDR40.
In this program find user exit 'CALL CUSTOMER '001'.
when ever u double click on this exit. This will take to function module exit. i.e. RLVSDR40 . Here include, we have to call the smartform function module.
let me know , any clarrification required.
Regards,
Vishvesh. K -
How can i display the MRP controller in transfer order print?
Dear all:
When i print the transfer order(Tcode: LT31) ,i want to display the MRP controller in the output form.
How can i get that ?
I found the user exit MWMD0001 and add the code in the include like this:
select single dispo from marc
where matnr = ltap-matnr
and werks = ltap-werks.
zdispo = marc-dispo.
But caz the "zdispo" could not been brought to the "print form " of the report RLVSDR40 which control the print LT31.So ,i failed.
Anyone advice?The problem is as zdispo is declared in your user exit it doesn't become available. Had it been declared variable in the include of the program for LT31 you would be able to use it directly in the script.
Try doing this instead in your layout set.
/: PERFORM MRP_CONTROLLER IN PROGRAM ZABCXYZ
/: USING <AP-MATNR&
/: USING <AP-WERKS&
/: CHANGING &ZDISPO&
/: ENDPERFORM
in your program ZABCXYZ.
FORM MRP_CONTROLLER tables in_par structure itcsy
out_par structure itcsy.
tables: marc.
data: matnr like marc-matnr.
data: werks like marc-werks.
READ TABLE IN_PAR WITH KEY LTAP-MATNR.
CHECK SY-SUBRC = 0.
MATNR = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY LTAP-WERKS.
CHECK SY-SUBRC = 0.
WERKS = IN_PAR-VALUE.
select single dispo from marc
where matnr = ltap-matnr
and werks = ltap-werks.
IF SY-SUBRC = 0.
READ TABLE OUT_PAR WITH KEY ZDISPO.
CHECK SY-SUBRC = 0.
OUT_PAR-VALUE = MARC-DISPO.
ELSE.
CLEAR OUT_PAR-VALUE.
ENDIF.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
This should work. -
Dear all,
How to configure form and Driver program for Transfer order LT31.
I want to create it through smartform.
Please let me know configuration way and design with smartform possiblities.
Regards
MohitHi,
LT 31 is a standard tcode for transfer order. Standard program for printing transfer order is RLVSDR40 which internally calls sap scripts.
However you can design your customised code which is a copy of RLVSDR40 program but in your customised program, you have change logic of calling sapscript and replace it with smartform logic.
Like you have to commnt OPEN FORM,WRITE FORM, CLOSE FORM function modules and call below code :-
Get the name of the function module
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lw_form
IMPORTING
fm_name = lw_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE a003(zqsvmessage) WITH fs_irldrc-formu.
ENDIF. " IF sy-subrc <> 0
here you have to pass form name(SMARTFORM name)
However we can make changes in configration by using Tcode OMLV here you have to specify:-
warehouse number,
print code number,(putaway, picking,kanban etc)
form name(here you can assign SMARTFORM name)
Hope this works for you.
Thanks.............. -
Transfer order printing.
Hi,
To print the Picklist and labels we are using the sap standard Tcode LT31. Here we can print a single document. Is there any other hwere i can print multiple transfer orders or a series of transfer orders at a timeHi Sunil,
The system determines how to print combined pick lists based on a table entry in customizing. For this task, the system branches to the report RLKOMM40 "Print Combined Pick List". You can also enter a printing status in a table that instructs the system to print individual transfer orders (TOs). In this case, the system prints transfer orders normally.
With report RLKOMM40, you can print both combined pick lists and individual items. The advantage of printing single items with RLKOMM40 instead of RLVSDR40 lies in the capability to sort transfer order items for release as a group at a particular time.
For details check : http://help.sap.com/saphelp_45B/helpdata/en/c6/f83e334afa11d182b90000e829fbfe/content.htm
For Printing Process : http://help.sap.com/saphelp_45B/helpdata/en/c6/f83e404afa11d182b90000e829fbfe/content.htm
Edited by: m_n_novice on Aug 31, 2009 12:28 PM -
Transfer order printing in release ECC6.0
Hi all.
My question is very short. Is it possible to print transfer orders in release ECC 6.0 using smartforms or PDF-forms? I have been checking some SAP notes, and in previous releases the TOs can be printed only in sapscript, but I am not sure if it is already possible in release 6.0 to print them in PDF-form or smartform.
If it is possible, do you know which standard print program manage the smartform or PDF-form printing, instead of sapscript print program RLVSDR40?
Thanks in advance.Thanks for your reply, Chenna.
Finally we are going to develop this form in Sapscript. I hope that in future releases it will be ready to develop in smartform or pdf-form. -
Transfer order label of building A are printed automatically in building B instead of building A. how to check why it is happening, data avaialble is Process order number and transfer order number." what are the steps to select the right printer?
for answer: Printing process order issue
tcode : OMLV -
Hi
I have set in the config (OMLV) when printing from storage type *** to ***, print to printer "ABCD". When I create a TO I see that printer "ABCD" in the LTAP-LDEST field on the screen but when I save the transfer order, it overrides the printer and prints it to the printer maintained in my default user parameters. If I check in the table LTAP, it still shows it printed on ABCD but in my spool and in reality it is printing to the printer in my default parameters user profile. Do you know why this is happening?
Edited by: Vik Luthra on Aug 17, 2011 6:13 AMThanks Jurgen,
It's nice to hear peoples production experience.
We have considered a watermark on the label and TO output (Pick Slip/Putaway Slip). I think we will end up developing this... I just need to find the time.
What do you do when the production printer fails, needs ribbon or label stock change? Do you ever need to make a quick change to the printer definition in production environment. Is that handled by config, A/B box, IP config change for the output device?
George -
Transfer order printing-Urgent
Hi
Do anybody know how to print multiple transfer orders in a single go rather than printing TOs one by one using LT31.
ThanksHi Terry,
How about LX21?
Regards -
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
Maybe you are looking for
-
I thought they worked together.... Isn't that why iWork rocks?? How do I save my Keynote so it can be opened in Power Point? It currently is not recognizing it... THANK YOU THANK YOU THANK YOU!!!!!!
-
Sorry if this has been asked before, i couldn't find an answer with google and the search function doesn't seem to work today (i see results but there is no link to the post, only a link to the user and subforum ) I recently discovered 9 slice scalin
-
Install datamining and unicode support using dbca template
Hi All We are creating a 11g release 1 db on linux using the Amazon AMI. There is this script in /home/oracle/run_dbca.sh And we would like to have uni-code support so we can display Chinese/Japanese or whatever multibyte character. We would also lik
-
Lightroom 3 on OSX version 10.8.5 - not reading raw files
I have a new mackbrook pro, osx, version 10.8.5 with Lightroom 3. The program will open but will not read my raw files. Do I need an update for Lightroom 3? If so, which update? Iphoto will read the raw images and I can drag images from iphoto into l
-
I can not connect to ITunes Store to download updates. I have no trouble connecting to the internet. It worked OK up to about a last month. can any body help.