Showing results for 
Search instead for 
Did you mean: 

Smartform subroutine

0 Kudos

Hi to all

Please Help me Regarding This i Have to convert integer value into Text format , in smartform

how to call Function Module in Smartform or how to call subroutine from smartform?

Please help me regarding this.

thanks In Advancd

Somnath K.

Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

depends on from where in the smartform you want to call it:

1. Define subroutine globally. Do this on the first screen where you define the interface, global variables etc. There is also a tab with subroutines. In here you define a FORM xxxx ENDFORM. You can't do this via forward navigation. On other tab call this subroutine.

2. Insert a piece of coding right there where you need it just like you would when adding a table. Right mouse click on object in tree on the left and add coding. In here you can do whatever abap you want.

Answers (1)

Answers (1)

Former Member
0 Kudos

In global definition there is tab for form routines, write ur form routine inside it, and call respective perform whereever u want ur code, insert codelines node for this purpose.

check this smartform documentation

see page 64 and 95 in it.


Edited by: kartik tarla on Jan 30, 2009 1:53 PM