‎2006 May 31 7:39 AM
Hi all!
I had declared the IT definition in smartform as below:
In global definitions:
g_lips_new type table of t_lips
in types i declared as follows:
types: begin of t_lips,
vgbel type vgbel,
end of t_lips.
But when i am using this IT in the form i am getting an error.
"g_lips_new is a table without an header line and hence no field called vgbel."
Any suggestions please
Praneeth
‎2006 May 31 7:58 AM
Hi,
check this link ; Good reference for smartforms for any query. it also includes examples
Smartforms & SapScript Black Book
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
Smartforms
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
http://help.sap.com/saphelp_nw04/helpdata/en/26/849b22b65911d4b62d006094192fe3/frameset.htm
Mark Helpfull answers
‎2006 May 31 7:42 AM
after you have declared the
types: begin of t_lips,
vgbel type vgbel,
end of t_lips.
add
types:
t_lips_table type t_lips OCCURS 0.
use this type in global declaration
g_lips_new type table of t_lips_table
‎2006 May 31 7:52 AM
Hi All!
I tried all your suggestions but still i am getting the same error.
Mukesh i tried yours but it didn't work
Regards
Praneeth
‎2006 May 31 7:42 AM
Praneeth,
In your TYPES
types: begin of t_lips occurs 0 with header lines,
vgbel type vgbel,
end of t_lips.
Then you just specify
g_lips_new type t_lips
Regards,
Ravi
‎2006 May 31 7:43 AM
‎2006 May 31 7:58 AM
Hi,
check this link ; Good reference for smartforms for any query. it also includes examples
Smartforms & SapScript Black Book
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
Smartforms
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
http://help.sap.com/saphelp_nw04/helpdata/en/26/849b22b65911d4b62d006094192fe3/frameset.htm
Mark Helpfull answers