Application Development and Automation 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: 
Read only

Transfer order printing

Former Member
0 Likes
1,142

Hi Friends,

I need to print the transfer order layout automatically, and the layout is custom layout. I have checked the transaction OMLV, and I found one standard program u2018RLVSDR40u2019 as a print program. My doubt is do I need to copy that program and put my logic then where I need to put that logic and where I need to call the layout or if I create one new z program and z script as per my requirement and If I add the same Z details in the transaction OMLV will it work? Suppose If I need to copy the standard program RLVSDR40 then where I need to add my logic, more or less I need to add transfer order logic only but I need to add some more details in the layout which are not available in standard program. And do I need to copy the layout also or is it ok if I create one new layout as per my requirement and If I add that in print control of OMLV transaction. Please help me any help will be highly appreciated.

Thanks a lot in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
979

Actually, depending on the requirement/logic, u need to go that weather new Z print prog. or not.

Bcoz, you can write a PERFORM my_routine_in_a_Z_report(with ITCSY) statement in ur Z scripts it self........so,in this case no need to create a new Z print prog. And write ur custom logic in this FORM my_routine_in_a_Z_report and put this FORM in a Z report. thanq

Hi Friends,

I need to print the transfer order layout automatically, and the layout is custom layout. I have checked the transaction OMLV, and I found one standard program u2018RLVSDR40u2019 as a print program. My doubt is do I need to copy that program and put my logic then where I need to put that logic and where I need to call the layout or if I create one new z program and z script as per my requirement and If I add the same Z details in the transaction OMLV will it work? Suppose If I need to copy the standard program RLVSDR40 then where I need to add my logic, more or less I need to add transfer order logic only but I need to add some more details in the layout which are not available in standard program. And do I need to copy the layout also or is it ok if I create one new layout as per my requirement and If I add that in print control of OMLV transaction. Please help me any help will be highly appreciated.

Thanks a lot in advance.

4 REPLIES 4
Read only

Former Member
0 Likes
980

Actually, depending on the requirement/logic, u need to go that weather new Z print prog. or not.

Bcoz, you can write a PERFORM my_routine_in_a_Z_report(with ITCSY) statement in ur Z scripts it self........so,in this case no need to create a new Z print prog. And write ur custom logic in this FORM my_routine_in_a_Z_report and put this FORM in a Z report. thanq

Read only

Former Member
0 Likes
979

Hi Ramesh,

I have the same issue. I have created custom SmartForm and now like to call this smartform in RLVSDR40 or ZRLVSDR40.

Please tell me how can I achieve this. Well I have copied RLVSDR40 into ZRLVSDR40 and in END-OF-SELECTION part I have called this smartform. I am passing TANUM to smartforms from here and rest of the detail I am trying to select in smartform only.

but LTAK and LTAP tabkes donest have corresponding values.

Please help.

Read only

0 Likes
979

Hi Ramesh,

I have solved this issue by passing RLDRH (Header details) and RLDRI (Item details) to the Smartform and printing.

Read only

0 Likes
979

Hi Virendra,

Could you share how to passing RLDRH (Header details) and RLDRI (Item details) to the Smartform?