‎2007 Jul 11 2:14 PM
I am new to SAPSCRIPT. What is this line doing exactly in the text editor MAIN:
INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID Z023 PARAGRAPH T1?
Thank-You.
‎2007 Jul 11 2:28 PM
hi,
in scripts INCLUDE is a statement which is used for including required programs, fields ........
in your case INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID Z023 PARAGRAPH T1?
for paragragh P1 fields like tdname from vbdka is added.
& tablename-fieldname & -
>>>> to add a databse table field in script.
if helpful reward some points.
with regards,
Suresh.A
‎2007 Jul 11 2:28 PM
hi,
in scripts INCLUDE is a statement which is used for including required programs, fields ........
in your case INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID Z023 PARAGRAPH T1?
for paragragh P1 fields like tdname from vbdka is added.
& tablename-fieldname & -
>>>> to add a databse table field in script.
if helpful reward some points.
with regards,
Suresh.A
‎2007 Jul 11 2:38 PM
I am unsure of "OBJECT VBBK ID Z023". Where is Z023 defined? What is object VBBK?
Thank-You.
‎2007 Jul 11 2:41 PM
Tom,
These will not be defined in SO10 as standard texts. u can find Z023 for one of the header text in va01 or va02 T-code.VBBk and Z023 are assigned to that particular text.
Thanks,
Kamal
‎2007 Jul 11 2:32 PM
this line is prinitng standard text field which is created through so10 tode.
where &vbidka-tdname& is the text name
vbbk is the object
id z023 is text id
Paragraph menas it's creating in t1 paragraph
‎2007 Jul 11 2:32 PM
Hello,
Include : Includes respective data into ur script.
&VBDKA-TDNAME& : It's a vraible holding the values from the structure VBDKA of field TDNAME.
Object is the parent thru which this Include functions.
Id : the id for this include object.
Paragraph : Paragraph format.
Regards,
Deepu.K
‎2007 Jul 11 2:33 PM
HI,
This line actually captures the header texts in the sales order,inquiry or quotation.if you go to sales order transaction , u have texts tab in header as well as in items. so the text what u r writing there will display in the script by including INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID Z023 PARAGRAPH T1 statement.Hope u got it.
Reward if helpful.
Thanks ,
Kamal