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 Query

Former Member
0 Likes
700

Hi Gurus,

1) What is the table - stxh & strut - thead used for ?

2) When are the values populated in this tables ?

3) What is the importance of these tables in sapscript ?

Points Guaranteed ....

Rgds,

Aryan.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
657

1) What is the table - stxh & strut - thead used for ?

Strut???

STXH is the master data table with header data of std text and sapscript, so here you find the keys of a text:

TYPE (TDOBJECT), NAME (TDNAME), ID TEXT (TDID) and LANGUAGE (TDSPRAS).

2) When are the values populated in this tables ?

When a std text or sapscript is saved?

3) What is the importance of these tables in sapscript ?

It's master data table: so a std text or sapscript exist only if it's in that table.

Max

5 REPLIES 5
Read only

Former Member
0 Likes
658

1) What is the table - stxh & strut - thead used for ?

Strut???

STXH is the master data table with header data of std text and sapscript, so here you find the keys of a text:

TYPE (TDOBJECT), NAME (TDNAME), ID TEXT (TDID) and LANGUAGE (TDSPRAS).

2) When are the values populated in this tables ?

When a std text or sapscript is saved?

3) What is the importance of these tables in sapscript ?

It's master data table: so a std text or sapscript exist only if it's in that table.

Max

Read only

0 Likes
657

Hi Max,

Tks for the reply

The first q is abt table stxh which you answered the other one structure thead ??

Rgds,

Aryan

Read only

0 Likes
657

Hi

THEAD is only a structure like STXH, it's used as structure to design the screens showing the header data of a text and to build the interface of some fms:

See FM READ_TEXT for example.

Max

Read only

0 Likes
657

Hi Aryan,

Don't worry much about the structures here.

Below tables are very important in SAPScript and SMARTFORMS context...

<b>STXB

STXBITMAPS

STXFADM

STXFADMI

STXFADMT

STXFCONT

STXFCONTR

STXFCONTS

STXFCONTV

STXFIMP

STXFOBJT

STXFSTDPAR

STXFTXT

STXFTXTA

STXFTXTV

STXFVAR

STXFVARI

STXFVART

STXH

STXITFD

STXITFR

STXL

STXOTFD

STXOTFR

STXRDID

STXRDIR

STXSADM

STXSADMT

STXSCHAR

STXSFPATT

STXSFREPL

STXSHEAD

STXSOBJT

STXSPARA

STXSTAB

STXSVAR

STXSVARL

STXSVART

STXTRACE

STXTRACEHD

STXTRCUSR

STXXFILTER</b>

Cheers,

Abdul Hakim

Read only

abdul_hakim
Active Contributor
0 Likes
657

>>1) What is the table - stxh & strut - thead used for ?

>>2) When are the values populated in this tables ?

STXH contains the SAPscript text file header data.

For eg it contains your texid say for eg whether it is a short text or long text and langu and other header details.there is no such table exists with the name STRUT.

>>3) What is the importance of these tables in sapscript ?

All the info related to texts got stored in the table STXH.so it will be very helpful when you want to fetch a long text from sapscript document.Usually you will use READ_TEXT fm for fetching the long text.The parameters need to be passed to this FM are contained in the STXH table.This is the importance of this table.

Cheers,

Abdul Hakim