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 Text Include Question

Former Member
0 Kudos

I am new to SAPSCRIPT:

I am trying to grasp how to create text objects. In one SAPSCRIPT form a hardcoded sentence is written. In the SAPSCRIPT debugger bottom window at top I see: Include VBBK, 0050805900, ZZH3, E. I can plug these values into function module READ_TEXT and I can see the message. But what steps, or transaction do I use to create a new one. Or how was this created?

The MAIN looks like this:

TOTAL_WEIGHT

INCLUDE &DOCNO& OBJECT VBBK ID 'ZZH3' PARAGRAPH 'S1' .

Thank-You.

1 ACCEPTED SOLUTION

Pawan_Kesari
Active Contributor
0 Kudos

It is sales header text ... can create from VA01, VA02

Message was edited by:

Pawan Kesari

5 REPLIES 5

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

YOu want to create a new text object, or simply a new standard text? If you want a new object/id, then use transaction SE75, if you simply want to have a new standard text in which you can put your text and include in your sapscript and it never changes, then use transaction SO10.

Regards,

Rich Heilman

0 Kudos

Hello Rich,

I am still unclear. If I go to SE75 and I select text objects and IDs and display. I then scroll down and select the object VBBK it takes me to the text IDs. I now see my ZZH3. But how do I see this sentence that lives in there, or create one in there?

Thank-You.

Pawan_Kesari
Active Contributor
0 Kudos

It is sales header text ... can create from VA01, VA02

Message was edited by:

Pawan Kesari

Former Member
0 Kudos

Goto transaction SO10 & there u can create any text..

former_member196280
Active Contributor
0 Kudos

GOTO SO10 Tcode, Create Standard text with

name = DOCNO

OBJECT = VBBK

ID = 'ZZH3'

Write down the required text. " this will be displayed in form output.

and thisis how it is called in your sAPScript.

INCLUDE &DOCNO& OBJECT VBBK ID 'ZZH3' PARAGRAPH 'S1' .

Regards,

SaiRam