on 07-25-2008 7:20 AM
Dear experts,
In smartforms , i have discovered a warning and i actually could not find a way out to get rid out of this warning.Though it has no implications to execution but still its not acceptable.
At present i have warning
Field I_TOTSF-SUMG has no defined value
Now i have declared this table in global definition .If i try to give this particular field I_TOTSF-SUMG ,it says invalid value as a result i cannot put this in global definition or trying giving any default val.
Further thing is that i get this warning only if i put it in text control but not if i put it in table control.
I searched forums and i get declare it as import parameter and use pass by value as told by Swetha but on attempting to do
I_TOTSF-SUMG ,i get error invalid field entered and i have to delete that node.
Regards,
Aditya Sharma
hi,
you can always proceed futher not an issue but if you want to get rid of that message u can very do it.
just initialise that variable with a default value.
reward points if useful,
siri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adithya,
This warning occurs when you are displaying a particular field before working with it in any nodes that occurs before it. And it is just a warning so there would be no issues when you activate and execute the form. So you can continue to work with it.
Regards,
Swapna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you pls tel me from where exactly you are passing this field??
I mean if its a internal table then you must pass this in form interface tables
Otherwise if you are passin it as a import parameter then in your print program-> smart forms function module pass it there as well.
Now if you are looping that internal table I_TOTSF seperately what i mean if you are creating a table- > main area -> create a loop here then in data of table give this i_totsf into wa_totsf(define wa_totsf in global definitions) under loop insert table line and rows. Make sure u pass under loop not after loop. There in a row create a cell under this text element and now insert your field name wa_totsf-sumg.
So this incase if you are printing in a table and you want to loop.
Now,
If you are passing as a variable. In print program you must be having smart forms dynamic FM there you must be having this
Exporting
i_totsf-sumg = i_totsf-sumg (this would be the variable which you used in program)
Importing
Tables
Now in import parameters give this variable type your relevent variable check both optional and pass by value. Only thn it will work. Otherwise you will end up in deleting node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it happens all the time..u can ignore that and activate..not a worry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.