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

Mulitple Smartforms for single output type

Former Member
0 Likes
449

Hi Experts,

I have 4 programs and 4 smartforms and One output type Z999.

Depends on Company code i need to generate appropriate smartform using VF02.

( 4 programs & 4 smartforms means,

US invoice, US Creditmemo, Canada Invoice and Canada creditmemo).

Is it possible to assign 4 smartforms & 4 programs in NACE transaction in single output type?

If it is not possible what is the way? Please adivise me.

1 ACCEPTED SOLUTION
Read only

mvoros
Active Contributor
0 Likes
426

Hi,

I don't think so that you can not do it directly. But there is a workaround for your problem. You can define your output type as SAP script and enter program name and entry routine. You can ignore a SAP script name because you are going to use Smartforms. In this entry routine you will call different Smartforms based on company code of your document.

But why don't you use different output types for different documents? That would be the best solution.

Cheers

Hi Experts,

I have 4 programs and 4 smartforms and One output type Z999.

Depends on Company code i need to generate appropriate smartform using VF02.

( 4 programs & 4 smartforms means,

US invoice, US Creditmemo, Canada Invoice and Canada creditmemo).

Is it possible to assign 4 smartforms & 4 programs in NACE transaction in single output type?

If it is not possible what is the way? Please adivise me.

1 REPLY 1
Read only

mvoros
Active Contributor
0 Likes
427

Hi,

I don't think so that you can not do it directly. But there is a workaround for your problem. You can define your output type as SAP script and enter program name and entry routine. You can ignore a SAP script name because you are going to use Smartforms. In this entry routine you will call different Smartforms based on company code of your document.

But why don't you use different output types for different documents? That would be the best solution.

Cheers