cancel
Showing results for 
Search instead for 
Did you mean: 

Code in smartform

Former Member
0 Kudos

Hi,

I see in the function a form for example for %CO32.

But i can not find it in smartform code.

How i can find the code.

Thanks in advance

Soufiene

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

If you smartform name, Then you can get its code using these steps.

open transaction 'SMARTFORMS' and specify its name.Click on 'Envoirnment' in menu bar and then click on 'Function module name ' . Copy that name and open it in SE37.

Former Member
0 Kudos

In the function , i found some node for example .

*----


  • FORM %CO16

  • NODE CODE_FOR_RETROAMT_TED

*----


When i go to smartforms i didn't found this code !

I know that there is some code generated in the function.

But this code was not generated , i found some comments.

Thanks in advance.

Soufiene.

Former Member
0 Kudos

Hi,

Check all the code nodes in the activated smartform, the 16th code node will be the code node you are searching (while looking don't consider text nodes or some other nodes except code node).

Try like this.

Former Member
0 Kudos

Thanks Ravi.

Former Member
0 Kudos

The function name was %CO?? while the comment line just above that routine is what you actually named the node in SMARTFORM. So using Environment from SMARTFORM provides the function for the SMARTFORM and search using name used in node will match a comment just above the node you want to find.