cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer order print LT31

mohit_bansal3
Active Participant
0 Kudos

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

Mohit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please find the answers inline.

1.How to configure form and Driver program for Transfer order LT31

>>In TCODE OMLV you can do the configuration for the driver program with respect to ware house number.In the driver program you can set the smartform name.

2.I want to create it through smartform.

>> Yes the Transfer Order can be printed using smartforms.

Former Member
0 Kudos

Hi, standard SAP uses a script for transfer order print. Can I replace the script with a form. If yes where and how?

Kindly help

jajati

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

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..............

Former Member
0 Kudos

Hello Mohit,

you check driver program 'RVADOR01'

application 'V1'

and output type 'KO00'

Regards,

Vijay

Former Member
0 Kudos

Hi,

LT31 tcode is used to print transfer order. However standard calling program for this tcode is RLVSDR40.

Goto tcode SE38 and give name of program as RLVSDR40.

However to maintain configuration setting, use Tcode OMLV.

Goto PrintCode option-> Then click on Position.

Here you have to give warehouse number (LTAK-LGNUM) and print code option ie 01(Picking Ticket) , 02(Putaway ticket), 41(Kanban Ticket) and form/Sap script name.

hope this works for you.

Thanks..............