‎2008 Jun 25 11:05 AM
hi,i want to avoid false declarations and ask you how to work with the following statements when switching over to a unicode system.
PERFORM xyz using Z-BLA
..
...
....
FORM xyz using Z-BLA
Z-BLA=.....
ENDFORM.
for what i understand PERFORM xyz using Z-BLA (structure element Z-BLA well defined) is ok,as i need to tell the form what data it has to work with.
unfortunately the validator tells me that Z-BLA in FORM xyz using Z-BLA is not allowed because of the minus so i change it to Z_BLA.
so now for what me newbie does not know for sure: Do i have to change Z-BLA=..... to Z_BLA ? I ask because the validator does not tell me to change that!
points will be of course awarded
‎2008 Jun 25 11:13 AM
In the form you have to change it to Z_BLA. You could also name it z_bla_input if you want. It is just a mapping.
Also you need to type it:
FORM xyz using z_bla_input type any. (or the exact type if it is known).
z_bla_input =.....
ENDFORM.
Regards,
Edwin.
‎2008 Jun 25 11:08 AM
HI,
Declare the TYPE of datatype or structure in FORM and if Z_BLA is a structure then you can directly use the fields with the hyphen.
ex:
FORM form1 using VAR1 type <DATATYPE>.
ENDFORM.
PERFORM form1 using <VALUE1>
Reward points if it is helpful.
‎2008 Jun 25 11:13 AM
In the form you have to change it to Z_BLA. You could also name it z_bla_input if you want. It is just a mapping.
Also you need to type it:
FORM xyz using z_bla_input type any. (or the exact type if it is known).
z_bla_input =.....
ENDFORM.
Regards,
Edwin.