Skip to Content
0

issue with the GR output using smartform

Nov 03, 2016 at 04:57 AM

67

avatar image

Hi ,

I am doing output for a GR and the smartform name is determined dynamically in the driver prog based on TNAPR table, Now I printing it for a custom output type so my requirement is it should not be printing for movement types other than 101, please suggest how to do that .

That means it should kick off the form and place an prior condition on the form for checking movement type and if the movement type is not satisfied, exit from the form without printing .

Thanks,

RG

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Kali Charan Nov 03, 2016 at 05:25 AM
0

I hope in driver program you definately capture the Gr number. Check the movement type in GR number If any 101 movement type
write If Condition like

If No

lv_name = 'Smartform1'

else if lv_name = 'Smartform2'.

else if lv_name = 'Smartform3'.

elseif lv_name = 'Smartform4'.

endif.

Any problem.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi,

Thanks for your reply, is there any possibility that the smartform is triggered and based on a condition the form should not be executed and should exit with out printing any thing.

Thanks,

RG

0

The condition is If condition only.What i said in previous.

Data:V(10) type c,

check in grn if any 101 movement is there , then make it false else True.

if v eq 'true'.

open the smart form.

endif.

0
Sivaraj Sadasivam Nov 03, 2016 at 11:58 AM
0

Hi Ramya,

You can use exception options in smartfroms.

you can find it in Form interface --> Exception tabs.

Declare one exception in this tab. Then Goto Global Definitions --> Initialization tab. Write a small piece of code that,

if (movement type) ne '101'.

(Raise your custom exception ).

endif.

Regards,

Sivaraj Sadasivam.

Share
10 |10000 characters needed characters left characters exceeded