cancel
Showing results for 
Search instead for 
Did you mean: 

two copies of the smartform

Former Member
0 Kudos

Hello everyone,

does anyone knows how to get 2 copies of the same smartfrom .

Please give the easiest alternative as i am not a programming genius .

Any help will be appreciated .

Honey

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi goto TCODE "SMARTFORMS" and give your smartform name then goto smartforms ->copy (CTRL + F5) give another name for same copy and then save in your package.

Regards,

Vijay

Former Member
0 Kudos

hello ,

thanks for the reply.

however ur suggestion does not work.

let me explian you the scenarios.

in smartform we have a condition , if the condition is fulfilled then only it has to print 2 copies of the form.

So we have to make some programming changes.

Any further suggestions.

Honey

Former Member
0 Kudos

Hello Honey,

As you said "no of cpoies' depends upon conditions.

Then after calling smart form or say before Exporting and Importing write

in Import Parameters:

if condition is this:

then.

"JOB_OUTPUT_OPTIONS-TDCOPIES = '2'."

else.

endif.

I hope it will help you!

Regards.

Supriya

Former Member
0 Kudos

Hello Honey,

As you said "no of cpoies' depends upon conditions.

Then after calling smart form or say before Exporting and Importing write

in Import Parameters:

if condition is this:

then.

"JOB_OUTPUT_OPTIONS-TDCOPIES = '2'."

else.

endif.

I hope it will help you!

Regards.

Supriya

Former Member
0 Kudos

Hello Honey,

As you said "no of cpoies' depends upon conditions.

Then after calling smart form or say before Exporting and Importing write

in Import Parameters:

if condition is this:

then.

"JOB_OUTPUT_OPTIONS-TDCOPIES = '2'."

else.

endif.

I hope it will help you!

Regards.

Supriya

Former Member
0 Kudos

Hello Honey,

As you said "no of cpoies' depends upon conditions.

Then after calling smart form or say before Exporting and Importing write

in Import Parameters:

If condition is this:

then.

"JOB_OUTPUT_OPTIONS-TDCOPIES = '2'."

else.

endif.

I hope it will help you!

Regards.

Supriya

Former Member
0 Kudos

Sorry network problem...posted 5 times.

Sorry for Inconveinence..

Hello Honey,

As you said "no of cpoies' depends upon conditions.

Then after calling smart form or say before Exporting and Importing write

in Import Parameters:

If condition is this:

then.

"JOB_OUTPUT_OPTIONS-TDCOPIES = '2'."

else.

endif.

I hope it will help you!

Regards.

Supriya

Edited by: Supriya Bhatt on Aug 27, 2009 2:10 PM

Former Member
0 Kudos

Hi Supriya ,

thanks for the reply.

just one silly question.

Where this condition should be written

1) the smartform print program that i uploaded ,or

2) t-code : smartform and there between some nodes i need to insert this condition.

please let me know.

Thnaks once again,

Honey

Former Member
0 Kudos

In your Program...

I mean not in Smart Forms.....Code Line...

After CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

If condition..

then.

<this.>

else.

Endif.

CALL FUNCTION form_name

EXPORTING

<A1..................>

IMPORTING

<A2..................>

TABLES

<A3...................>

EXCEPTIONS

<A4.....................>

Regards.