Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

importing SAP Script to Smartform . What about printprogram ??

Former Member
0 Likes
409

Dear SAP Techs,

I have imported SAP Script into Smartform.

T - Code : Smartforms

Utilities-> Import SAP Script.

Given SAP Script Name and Then a Smartform name.

Now I have to retreive Data to form with Print Program.

Here is my Question.

If I import a SAP Script to Smartform then What will be the Print program that I should use for my Smartform.

Can I use the same Print Program which is associated with SAP Script.

Thanks for your efforts.

Regards

Kiran

Dear SAP Techs,

I have imported SAP Script into Smartform.

T - Code : Smartforms

Utilities-> Import SAP Script.

Given SAP Script Name and Then a Smartform name.

Now I have to retreive Data to form with Print Program.

Here is my Question.

If I import a SAP Script to Smartform then What will be the Print program that I should use for my Smartform.

Can I use the same Print Program which is associated with SAP Script.

Thanks for your efforts.

Regards

Kiran

2 REPLIES 2
Read only

Former Member
0 Likes
389

Hi ,

You have to write your own program to retive data and pass that data to the function module generated by smartform.

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm">SAPSCRIPT to SMARTFORM</a>

Regards,

Lanka

Read only

Former Member
0 Likes
389

Hi,

You can use the same driver program.But remove all 'Open Form,Write Forms statements, Close Form etc...i.e.You must make the required changes to the respective print program yourself.

Those fields which you want to print move them into internal tables.

Pass these internal tables using fn module 'SSF_FUNCTION_MODULE_NAME'.

Regards,

Gayathri