‎2006 Jul 08 11:11 AM
hi Friends,
Could u please send me the Details
my problem is actually i fetch the data from some tables and store in one field i.e <b>Inco1</b>
in my smartforms Myrequirement point of view
if INOC1 = "opp", Print "FOB Origin-Prepay"
if INCO1 = "Opa", Print "FOB Origin-Prepay&Add"
if INCO1 = "Oco", Print "FOB ORigin-Collect"
in Smart forms
for I have witten Like this
Data:value(10) type c.
if INOC1 = "opp",
Value = "FOB Origin-Prepay"
endif.
if INCO1 = "Opa"
Value = "FOB Origin-Prepay&Add"
endif.
in Text I have call like this &value&
but it showing some error message like use Select-options Here
Regrads
Srinu
‎2006 Jul 08 11:43 AM
Hi Srinu
Have you declared data in Global Definitions. If this is not the case, firstly declare variables of data statement in Glaobal Definition. Then in Code's General attribute tab declare this variable as input parameter.
If this doesnt rectify you problem reply.
‎2006 Jul 08 11:43 AM
Hi Srinu
Have you declared data in Global Definitions. If this is not the case, firstly declare variables of data statement in Glaobal Definition. Then in Code's General attribute tab declare this variable as input parameter.
If this doesnt rectify you problem reply.
‎2006 Jul 08 11:53 AM
Hi Srinu,
In order to display the value in the Script, the variable has to be declared globally. You have declared it locally in the program lines part.
Click on the Global declaration in that declare the variable <b>"value"</b>
<b>value type char10</b>
Your value will be displayed.
Reward if helpful.
Regards,
Tushar
‎2006 Jul 08 11:56 AM
Hi Srinu,
Declare the variable VALUE TYPE CHAR10 in the GLOBAL DATA tab and place your code in INITILIZATION tab.
Thanks and Regards,
Bharat Kumar Reddy.V
‎2006 Jul 08 1:10 PM
hi,
you can use PROGRAM LINE node to solve your problem .
Regards
vikas
‎2006 Jul 10 1:23 AM
Hi,
Instead of coding, create 3 text elements (for example opp, Opa & Oco) and use value of INOC1 as a condition to print the correct one?
Br,
Hannu