cancel
Showing results for 
Search instead for 
Did you mean: 

Print Program to call 2 smartforms

former_member215781
Active Participant
0 Kudos

Hi,

Is there any standard print program that can be used to call 2 smartforms?

Any such custom program would also be helpful.

Regards,

Sim.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

we can write a custome program to call the smartform.

it is very simple. we need to just call the function module which is generated by the smartform.

DATA: smf_name TYPE TDSFNAME VALUE u2019ZSMARTFORM01u2019,   
   fn_name TYPE RS38L_FNAM.

CALL FUNCTION u2019SSF_FUNCTION_MODULE_NAMEu2019 
 EXPORTING   
 FORMNAME = smf_name 
 IMPORTING  
  FM_NAME  = fn_name.

CALL FUNCTION fn_name 
 EXPORTING  
  WA       = wa_doc.

Best regards,

raam

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

check out the gate pass <standard> - it will call two 2 smartforms, one for visitor pass and other for vehicle pass..

tcode : LECI

regards,

Chakri

former_member215781
Active Participant
0 Kudos

Hey how do I see the print program for tcode LECI??

Former Member
0 Kudos

Hi,

If you want to develop smartform for Invoices then you can use standard print program 'RLB_INVOICE'.

Thanks.

Swati.

former_member673464
Active Contributor
0 Kudos

hi,

You can use call any number of smartforms from a single program.Generally When smartforms are activated they will generate a function module for it. You can get that function module generated using the function 'SSF_FUNCTION_MODULE_NAME'.

Regards,

Veeresh