12-17-2013 6:21 AM
Hi,
I am trying to generate spool through tcode LT31 for label printing.
But when I execute LT31 it just give message 'printing completed' but spool not generatetd.
Internally it is calling program "RLVSDR40" for label printing.
I have attached label sapscript form in configuration.
All the necessary settings have been done. But still spool not getting generated.
Can you please help ?
Regards,
12-17-2013 7:33 AM
Hi Santosh,
before doing the debug, please check the OMLV settings. The OMLV settings are just like NACE settings in WM management.
check the label assignment to the print controls.
12-17-2013 6:25 AM
Hi Santosh
Can you please put execute this program in SE38 and check. Before that put break point in L_PRINT_TO_SINGLE and L_PRINT_TO_MULTIPLE. Check in dbeugging what is happening in them
Nabheet
12-17-2013 7:05 AM
Hi,
I have open the program "LLTOPF1F" and i have made itcpo-tdimmed = 'X' in debug mode.
Further, on LT31 I have given Transfer Order Item along with TO number . also I have to give large quantity and code 0 on LT31 screen..
After doing this spool is coming. but this is not solution.
12-17-2013 7:10 AM
What have you maintained the config in view V_T329P. Please set the print immediately flag their
Nabheet
12-17-2013 8:23 AM
I have done the configuration in V_T329P, now no need to do itcpo-tdimmed = 'X' in debug mode.
But still I have to do below thing in debug mode.
Program : LLTOPF1F - LAYOUT_OPEN
I_DRUCK = ‘X’
And also I am not able to print Labels through LT31 by just giving Transfer Order.
12-17-2013 8:37 AM
Check in OMLV under warehouse movement have you marked do not check box..? Seconldy check from LT31 how it is calling this driver program
12-17-2013 8:39 AM
Hi,
this needs to be filled to create the spool.
V_T329P-TDNEWID = 'X'.
With 'X', a new spool order is created, with ' ' it is tried to attach to an existing spool order. Therefore, name, output device, number of prints and the format must match. In addition, the existent spool order must not already be completed. This can occur if a spool order is released for output. If no matching spool order can be found, then, a new spool order is created for this case as well.
12-17-2013 7:33 AM
Hi Santosh,
before doing the debug, please check the OMLV settings. The OMLV settings are just like NACE settings in WM management.
check the label assignment to the print controls.
12-17-2013 8:05 AM
Hi,
a little bit investigated!
Please check this following settings. please check the screen shot headings it will refer the path also
12-17-2013 8:49 AM
All settings mentioned by Kiran are already in place. See it is not that label is not getting printed at all. By doing below things label is getting is printed. But it is not final solution.
1) As per screenshot below , give parameters in LT31.
2) In debug mode go to program "LLTOPF1F" and give 'X' to variable I_DRUCK.
By doing above 2 things label is getting printed. But my purpose is give only Transfer Order and print lables and not to give Transfer order item and large qty on LT31 screen.
12-17-2013 8:52 AM
Please check the print checkbox also in print control data as it is refering to I_DRUCK
Nabheet
12-17-2013 8:54 AM
Ya.. u r right nabheet. Now i dont need to go to debug mode at all. Only concern is to print without giving transfer order item & large qty.
12-17-2013 8:58 AM
What happen when you make both blank..provide the error message number and class details...I believe it is some config issue
12-17-2013 9:11 AM
Hi Santosh,
I_DRUCK is (Document has been printed). If the TO is already printed again you want to reprocess you need to provide the tick again. the field will be available in LTAP-druck.
this will be controlled in the program RLDRU-RLDRUDRUCK.
if you want to modify the program, will have the exit.
form user_exit.
call customer-function '001'
endform.
12-17-2013 11:00 AM
After putting below code in user exit "ZXDRUU01" - enhancement "MWMD0001" my problem resolved.
if sy-tcode = 'LT31' and c_label = 'X'.
xrldri-vsola = 1.
modify xrldri transporting vsola
where lgnum = xrldri-lgnum
and tanum = xrldri-tanum.
xrldrc-anzkz = 0.
modify xrldrc transporting anzkz
where tanum = xrldri-tanum.
endif.