on 07-02-2007 5:00 PM
Hi,
I have a Smartform issue.
I defined a simple structure in TYPES.
TYPES: BEGIN OF TY_ZDIP,
VTEXT TYPE KOMVD-VTEXT,
KWERT TYPE KOMVD-KWERT,
END OF TY_ZDIP.
In global data I refer to this type structure.
The smartform works correctly but while compiling I get a warning message 'Field ZDIP-VTEXT has no defined value'.
I tried with default value but it didn't help.
Any suggestions?
Thanks in advance.
Kind regards,
Amel Alic
Hi Amel,
you need to do the following:
Go Global Defininitions. Now go to INITILIZATION tab here clear this structure & field. This will resolve your problem.
Reward points for helpful answers.
Ashvender
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
It means there's no abap node where you fill that field.
It's a variable created inside of the smartform, so the system supposes you need to create an abap node where you'll inizialize it.
If you don't need it you can delete it, if you need it you should use the INIZIALIZATION or create an ABAP node and transfer the value to it.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Give the field name in the input and output parameters of the initialization of the global definitions.
Thanks,
Vamsi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepak,
this is what I was searching for.
thanks! it was helpful.
mainly for those who have Field SEATS_AVAIL has no defined value as their query while solving this exercise on SAP TECHNICAL.
please refer to the answer given by Deepak for this query-
Deepak Soni wrote:
Hi ,
This issue is faced due to one more reason .When in the main window TEXT NODE is defined above the Programme lines . So switch the position of TEXT node and keep it below the Programme logic.And execute the smart form this issue will be resolved.
If you can not Clear your variable (comes from mail program):
Define a global variable in SmartForms and move your original-variable to "SmartForms defined variable.
It solve the problem.
Regards
Hassan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I solved the problem(issue) by clearing the structure in the initialization.
Thanks everybody.
Regards,
Amel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi amel,
actually this message generally comes when u are not exporting the field
ZDIP-VTEXT in output parameters....
just check the field where u are getting this value..and in that output parameter just define ZDIP-VTEXT...
this will solve ur problem...
please reward in case usefull...
regards,
prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This warning comes when the defined Variable dont have a fixe value or whose value cannot be defined till runtime.
This warning can be ignored. This comes for almost all the local variables and locally calculated fields in SMARTFORMS.
Regards,
Amit
Reward all helpful replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.