on 09-29-2009 8:56 AM
How to provide printer from programme if some condition fulfilled else ask use to enter printer name?
How to implement above logic?
Hi Sandeep,
Following is the logic you need to implement in your driver program -
PARAMETERS: p_tddest TYPE recptddest OBLIGATORY.
And in your function module calling teh smartform pass ont he printer as shown below:
if (Ur condition ) is true -
g_ctrl_op-no_dialog = c_x
g_output_options-tddest = p_tddest. " printer
else.
g_ctrl_op-no_dialog = ' '.
Try this out.
Hope this helps.
Cheers,
Varna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.