‎2007 Jun 07 9:00 AM
Hi,
I have to design two similar sapscripts with barcodes. The difference between them is two fields.
My question is if it's possible to design only one sapscript with all these fields overlapped and print the fields needed every time?
And with smartforms?
thnks
‎2007 Jun 07 9:03 AM
hi
s...u can do it by placing the same two fields in two different text elements in the script and call them each based on the condition in your driver program
something like this in your write_form
if.
call text-element a
else.
call text-element b
endif
if helpful, reward
Sathish. R
‎2007 Jun 07 9:03 AM
hi
s...u can do it by placing the same two fields in two different text elements in the script and call them each based on the condition in your driver program
something like this in your write_form
if.
call text-element a
else.
call text-element b
endif
if helpful, reward
Sathish. R
‎2007 Jun 07 9:04 AM
yes just put conditon when printing that field...or you can either put same field but changed its value in the print program before printing..
‎2007 Jun 07 9:06 AM
Hi Alberto
It is possible with smartforms i'm not sure about scripts
But in smartform u can use IF condition to check the related field
U try to use the same if condition in scripts also check whether it is possible or not
Reward if helpfull
Regards
Pavan