cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform and Sapscript in the same output Type

dp_prasad
Participant
0 Kudos

Dear All,

We are migrating from  SAPSCRIPTS to smartforms , but in phases by Country. But the problem is same output type is assigned to all countries( say SG,MY,IN). If SG is changed to SMARTform, we wanted MY & IN to use the sapscript.

Currently, my NACE(tcode) looks as below for my output type.

and we wanted to included smartform also for the same output as below.

after maintaining the above output type config, we wanted to control this in the print program( if company code SG means call smartform functin modules and other countries means execute sapscript function moudles).

1.If we maintain the sapscript & Smartform for an output which one will considered first. ?

2.Any other better idea/solution to maintain for the above scenario ?

Thank you.

best Regards

DP

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186077
Active Participant
0 Kudos

Hi,

Here we can see that you are using custom processing program and form.

In that case in the routine processing you can check if the country is XX then call smartform logic if YY then call form logic.

Thanks and Regards,

Sriranjani Chimakurthy.

former_member212002
Active Contributor
0 Kudos

DP

As you are using custom driver program, how about checking the region in the program and call the scirpt / smart form accordingly?

E:G - If Region = 'SG', Call Smartform Else, Call Script Endif.

Cheers!

Abhinab