Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling a Smartform from different driver programs

Hi everyone,

I have two driver programs and from both these programs i'm calling the same Smartform.

I have a field in smartform. and i want it to be printed for one program but not printed when the

smartform is called from the second program.

Pls. can anyone help me out about how this can be achieved.

Thanks in advance.

Regards

Tanu

Former Member
replied

Create an import parameter (flag) in your smartform interface and when you call your smartform from one of these drivers pass assume 'X' value to this flag. And add a condition for the field you want to hide. like below.

if flag = 'X'

show or don't show.

endif.

Edited by: Gungor Ozcelebi on Jul 3, 2009 5:08 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question