Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RLVSDR40

former_member599326
Participant
0 Kudos

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,

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

14 REPLIES 14

nabheetscn
Active Contributor
0 Kudos

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


0 Kudos

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.


0 Kudos

What have you maintained the config in view V_T329P. Please set the print immediately flag their

Nabheet

0 Kudos

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.


0 Kudos

Check in OMLV under warehouse movement have you marked do not check box..? Seconldy check from LT31 how it is calling this driver program


0 Kudos

Hi,

this needs to be filled to create the spool.

V_T329P-TDNEWID = 'X'.

New Spool Request (Print Parameters)

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.

Former Member
0 Kudos

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.

0 Kudos

Hi,

a little bit investigated!

Please check this following settings.  please check the screen shot headings it will refer the path also

0 Kudos

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.

0 Kudos


Please check the print checkbox also in print control data as it is refering to I_DRUCK

Nabheet

0 Kudos

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.

0 Kudos

What happen when you make both blank..provide the error message number and class details...I believe it is some config issue

0 Kudos

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.

0 Kudos

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.