Application Development and Automation 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: 
Read only

SAPscript include table field

Former Member
0 Likes
698

Hello all,

I've an question about the include statement in sapscript;

We have a sapscript that has the line:

INCLUDE &VBDKL-TDNAME& OBJECT VBBK ID 0001 PARAGRAPH HT

For my understanding, text can be included with the INCLUDE statement.

But VBDKL-TDNAME is a structure field, how does this work? How do I know where the value is coming from and what does VBBK mean?

Anyway, I need to use the value of this INCLUDE statement within an IF statement:

I've tried this, but it does not work:

IF(INCLUDE &VBDPL-TDNAME& OBJECT VBBP ID Z005 NE ""

Any help??

Thanks

Anne

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
478

Hi ,

You cant use if statement like this.

If you want to read the text try to fetch it form the table.

2 REPLIES 2
Read only

Former Member
Read only

Former Member
0 Likes
479

Hi ,

You cant use if statement like this.

If you want to read the text try to fetch it form the table.