cancel
Showing results for 
Search instead for 
Did you mean: 

how to create dynamic windows in smartforms

Former Member
0 Kudos

Hi All,

i am creating a smartform wherein i have to print different layout for different company codes,

like if the company code belongs to an Indian company then i need to display cost center window. so can you please guide me through the procedure to create windows dynamically.

thanks in advance

pooja.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Pooja.......

There is only main window is Dynamic and u cannot create it..........

each page of smartforms contain main window...........so use it......

Reward is useful......

Former Member
0 Kudos

U can create different layouts for different company codes.

Declare a variable p_bukrs i.e. company code form interface.

Made u r window as condition like in the condition tab.

p_bukrs = '1000'.

Then it will call corresponding to the company code.

or

u can create different forms for different company code and u can differentiate in the driver program.

if p_bukrs = '1000'.

call function ssf .

if p_bukrs = '1500'.

call

endif.

with regards,

Kiran.G

Former Member
0 Kudos

Hi,

1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.

company -code = '2201'.

2.Then that window can trigger ofr that condition.

3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .

Regards,

Shiva.