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

Code for Print Program

Former Member
0 Likes
887

Dear Friend,

I want the print program code for Smartform, Is there any sample code of print program call the smart form.If u have the code please send it to me as soon as possible.

Expecting UR Replay

Regards,

Dhanush.S.T

5 REPLIES 5
Read only

Former Member
0 Likes
811

Hi,

if you want to find smart form print program then goto se37 and use smartform function module and look at where used list ,it will show corresponing print program.

other way - Use nace transaction ->select v2 -> click on output type.

now select LD00(Delivery Output Type) and click on processing routine.

here you can able to see program and layout

There are diffrent ways to find out Print programs :

FI Module :

Use T001F Table -> here enter form name -> you get corresponding print program

SD,MM Module :

use NACE Transaction or TNAPR Table

PP and PM Modules :

OMD1 and OPK8 Transactions

Reward Points if found helpfull..

Cheers,

Chandra Sekhar.

Read only

0 Likes
811

Hi friend,

I want to create a new Print program for J1IV T-Code, for that I have to create a smart form..I don't know the customized Print Program name..If u have plz send it immediately.

Regards,

Dhanush.s.T

Read only

0 Likes
811

hello dhanush,

please the tcode desscription so that i find whc Forms is for this tcode.

Regards

santhosh

Read only

Former Member
0 Likes
811

Hi Dhanush,

Just create 1 window and enter some data in Text in that window.Save the smartform,activate and press execute.

save the name which u find in the function module input field.

Open se38 and press "ctrl+F6" paste it in "call function module" and press enter.

simply save,activate and execute the print program.

Bcaz smartform generates a function module.we can use directly from se38 editor.

reward points,if it i useful,

Thanks,

chandu.

Read only

Former Member
0 Likes
811

hai ,

DATA: FM_NAME TYPE RS38L_FMNAME.

CALL FUNCTION 'SSF_FUNCTION_MODULE'

EXPORTING

FORMNAME = Z_SMARTFORM_NAME

IMPORTING

FM_NAME = FM_NAME.

CALL FUNCTION MODULE THAT IS GENERATED AND AFTER THAT

REPLACE THE FUNCTION MODULE NAME WITH FM_NAME.

SUPPOSE.

CALL FUNCTION '\D1243536464758'.

THEN AFTER GETTING THE ENTIRE FUNCTION MODULE.

JUST DO THE FOLLOWING.

CALL FUNCTION FM_NAME. " '\D1243536464758'.

plz see the example program SFEX_01.

YOU CAN GET GOOD IDEA ON HOW TO WRITE PRINT PROGRAM FOR SMART FORMS.

IF HELP FULL MEANS PLZ REWARD