cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect reort to smartform

Former Member
0 Kudos

hi

I have one report which is successfully working but now I have to change its

output to smart form .what will be its the exporting and importing parameters of 'SSF_FUNCTION_MODULE_NAME '.what should I do.

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In addition to what Raymond wrote:

there is an option in smartform to migrate a sapscript to a smartform.

Seems hopefull but it isn't

It only copies the pages and windows positions and sizes. nothing else.

So you have an emptty form, but with the windows on the same places (with no content) as in the sapscript.

But it is a start

Gr., Frank

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

That will not be a "migration" but a rewriting,

- In the current report, the write statements, will be replaced by statement that fill some structures (header) and internal tables (items)

- perform some optimization as the program may now be in a bad shape...

- Then build a forms via transaction SMARTFORMS, declare the structure and internal table of the new driver report as import parameter of the form

- Activate the form

- At the end of the report call SSF_FUNCTION_MODULE_NAME with the name of the form, you will get back the name of the FM to call to execute the form

Look at documentation like [Smart Forms at help.sap.com|http://help.sap.com/saphelp_nw04/helpdata/EN/a5/de6838abce021ae10000009b38f842/frameset.htm] and perform some search at sdn on the keywords [smartforms tutorial|https://www.sdn.sap.com/irj/scn/advancedsearch?query=smartforms+tutorial&cat=sdn_all].

Regards,

Raymond