cancel
Showing results for 
Search instead for 
Did you mean: 

trigger smartform in routine

Former Member
0 Kudos

Hi ,

i have a requirement in which i have to write some code in ROUTINE and then call the smartform based on some condition in that routine only.

so issue is how to call the smartform in routine.

thanks in advance

rahul

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rahul,

Are you talking about VOFM routine ?

If yes, then just change the sy-subrc value as 0 (smartform will be triggered) or 4 (stops the process and no output will be triggered).

Please update.

Regards,

Selva K.

Answers (4)

Answers (4)

Former Member
0 Kudos

thankx

raymond_giuseppi
Active Contributor
0 Kudos

Search some documentation on [Integrating the Smart Form into the Application|http://help.sap.com/saphelp_tm70/helpdata/EN/1c/f40c5bddf311d3b574006094192fe3/frameset.htm]

Regards,

Raymond

Former Member
0 Kudos

Refer any standard program , u can understand how to call a form from the routine.

Rajendra

Former Member
0 Kudos

hmmm you mean a form routine?

anyway i dont see a reason why the call of a smartform should change no matter where you do it.