07-19-2007 4:37 PM
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.
07-19-2007 4:43 PM
It is sales header text ... can create from VA01, VA02
Message was edited by:
Pawan Kesari
07-19-2007 4:40 PM
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
07-19-2007 4:52 PM
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.
07-19-2007 4:43 PM
It is sales header text ... can create from VA01, VA02
Message was edited by:
Pawan Kesari
07-19-2007 5:34 PM
07-19-2007 5:38 PM
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