Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT Question

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

6 REPLIES 6

Former Member
0 Kudos

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

0 Kudos

I am unsure of "OBJECT VBBK ID Z023". Where is Z023 defined? What is object VBBK?

Thank-You.

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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