‎2005 Oct 13 7:33 PM
Hi,
In VL03N I could see the text for internal note at the header level. I want to retrieve that text. How should i know the Id, Object & Name to pass in read_text FM.
Thanks.
‎2005 Oct 13 7:50 PM
Enter some text in VL02N for that text in question.
Go to SE16, enter STXH as your table name, now enter your name is the create by field and maybe even the date. Take a look at the entry that you see. This is probably the text that you just created, here you will find the object and id and even how the name is built. Probably the delivery note number.
See SE75. Take a look at the text objects and the ids behind the objects. This is just for your information.
You can now use the object id and name to send to the function module READ_TEXT.
call function 'READ_TEXT'
exporting
client = sy-mandt
id = id
language = sy-langu
name = name
object = object
tables
lines = xtext
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.Regards,
Rich Heilman
Message was edited by: Rich Heilman
‎2005 Oct 13 7:50 PM
Enter some text in VL02N for that text in question.
Go to SE16, enter STXH as your table name, now enter your name is the create by field and maybe even the date. Take a look at the entry that you see. This is probably the text that you just created, here you will find the object and id and even how the name is built. Probably the delivery note number.
See SE75. Take a look at the text objects and the ids behind the objects. This is just for your information.
You can now use the object id and name to send to the function module READ_TEXT.
call function 'READ_TEXT'
exporting
client = sy-mandt
id = id
language = sy-langu
name = name
object = object
tables
lines = xtext
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.Regards,
Rich Heilman
Message was edited by: Rich Heilman
‎2005 Oct 13 7:58 PM
Hi Rich,
I did not get you clearly. In se16 it will ask me the table name. where from will i get the text id, text object and name.
Pls. be more clear.
thanks in advance.
‎2005 Oct 13 8:02 PM
I guess I forgot to tell you the table name, huh? Sorry
The text in VL03n, we have to find out the object and id. So here is a little tip. Get a delivery note that does not have the text in question. Go into Vl02n and put some text in the text editor for the specific text, you mentioned "internal note". Save it. Now go to SE16, enter STXH as the table. This table holds all of the text headers. Enter your user name in the selection screen and today's date as the date. You should get the header record for the text that you just created. This will give you the object, id, and name. Name is probably going to be the delivery note number.
Is it clear?
Regards,
Rich Heilman
‎2005 Oct 13 8:09 PM
I want this text to be included in the SAP Script. Can I write an include statement to do this. If so, pls. give me the syntax.
‎2005 Oct 13 8:17 PM
‎2005 Oct 13 8:18 PM
<b>/: INCLUDE STXH-TDNAME OBJECT STXH-TDOBJECT ID STXH-TDID LANGUAGE EN PARAGRAPH P1.</b>
In your program define STXH as TABLES STXH and fill it with correct values. The paragrapgh P1 can be replaced with the one which exists on your script.
Cheers.
( Dont forget to reward if answers were helpful )
‎2005 Oct 13 8:00 PM
Hi
Object - VBBK
Name - Delivery Number
ID - ( Either find from TTXID for Object = VBBK and see
if there is match to "Internal Note" in
description cloumn.
or simply goto table STXH , object = VBBK,
name = deliv number with correct input in 10
digits , pad it with leading 0s to make it 10
digits. Here you can see the text id.
Cheers
‎2005 Oct 13 8:05 PM
‎2005 Oct 13 8:27 PM
Hi,
Another way to get all the text ids is:
In transaction VL03N, in second screen use menu:
"Goto->Header->Texts"
In the next screen, there should be a button for
"Display Log" (Icon looks like a scroll).
Click that and you should see all relevant Text OBJECTs and IDs.
Hope that helps.
‎2005 Oct 13 8:30 PM
‎2005 Oct 13 9:19 PM
Subbu,
Text Maintenance and determination is specific to implementation. The Internal Note you specified in your mail may be specific to your implimentation and at other projects, they might be calling it with another name.
I would advise you to do one thing. Open the Delivery Document using VL03N and from the menu bar option GOTO-HEADER-TEXTS..
From the resulting window, you will see the Text Object and associated long text box. Under Long text box you will see an Icon for CALL LOG. Hit the Call Log Push Botton which will take you to "Text Determination Analysis:Basic View". Hit on the Text + Icon attached to Internal Note. You will see the Text Object ID etc.,
Hopefully this answers your query and there are at least two more ways I know this can be done and could many other. But this most preferred way to know the text determination at the Document level.
Let me know if you are looking for anything else.
Thanks,
Srini.
‎2005 Oct 13 11:38 PM