Application Development 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: 

SMARTFORM CONDITION

Former Member
0 Kudos

HI EXPERTS,

I NEED TO COMBINE 2 SMART FORMS INTO ONE SMART FORM AND THAT SHOULD HAVE INTELLEGENCE TO DIPLAY EACH FORM INDIVIDUALLY BASED ON LABEL TYPE CONDITION

SO MY DOUBT IS WHETHER WE NEED TO WRITE 2 PRINTPROGRAMS OR NOT AND CAN YOU GIVE LOGIC FOR CONDITION AND WHERE I HAVE TO WRITE THIS LOGIC ( MARA-ETIAR(LABEL TYPE),MARA-ETIFO(LABEL FORM))

REGARDS

NAYAK

5 REPLIES 5

Former Member
0 Kudos

Hi,

one print program will do, for two smartforms you will have two function modules based on the condition you can pick any of these and display it.

Regards,

Manohar.

Former Member
0 Kudos

hi Nayak,

if both forms are same output except some few changes like headings then no need to write two smartforms.

while printing Label type in output conditions add required condition.

Regards

Ashok P

0 Kudos

Thanks Ashok wonderful

can you ensure

1)i need to write one print program for 2 forms

2)reg condition i need to write condition in both form and print program

so finally i need to call separate FM for each form based on condition

if u dont mind can send sample logic for condition then i wil gohead

points sure

regards

nayak

Former Member
0 Kudos

hi heilman

could you look on my query

regards

nayak

Former Member
0 Kudos

HI

GOOD

I DONT THINK IT IS POSSIBLE TO COMBINE TWO SMARTFORMS AND RUN AS A SINGLE ONE, YES IT MAY BE POSSIBLE TO CALL A SMARTFORM INTO ANOTHER SMARTFORM USING FORM AND PERFORM STATEMENT AND FOR THAT YOU HAVE TO WRITE ONLY ONE DRIVER PROGRAM BUT YOU HAVE TO DESIGN TWO SMARTFORM SCREENS.

THANKS

MRUTYUN