‎2008 Feb 27 12:18 PM
we are created text for delivery at item level.we need to modify the that text .in READ_TEXT Fm.we have the text id and object
but what will be tha name.
object:VBBP
ID:0008
Thanks
‎2008 Feb 27 12:20 PM
Table STXH holds the text header and STXL the text lines.
A text is identiefied by the fields: TDOBJECT, TDNAME, TDID, TDSPRAS.
For a delivey item text:
TDOBJECT = 'VBBP'
TDNAME = VBELN + POSNR (Delivery number + delivery item number)
TDID = the ID of the item text, can be found in the delivery, display item text, goto header. Then Text ID shows the TDID for this delivery item text
TDSPRAS = the language the text is created
To get the lines of a text funtion module 'READ_TEXT' can be used.
‎2008 Feb 27 12:20 PM
‎2008 Feb 27 12:20 PM
Table STXH holds the text header and STXL the text lines.
A text is identiefied by the fields: TDOBJECT, TDNAME, TDID, TDSPRAS.
For a delivey item text:
TDOBJECT = 'VBBP'
TDNAME = VBELN + POSNR (Delivery number + delivery item number)
TDID = the ID of the item text, can be found in the delivery, display item text, goto header. Then Text ID shows the TDID for this delivery item text
TDSPRAS = the language the text is created
To get the lines of a text funtion module 'READ_TEXT' can be used.
‎2008 Feb 27 12:21 PM
Hi,
The name of the object in such a case is normally a concatenation of the delivery number and line item.
To see the pattern of name, create a sample text from the online transaction for the delivery and then go to text header. There you shall get the pattern for the text object name.
Cheers.
‎2008 Feb 27 12:29 PM
Hi ,
When displaying the text go to the header which will be under goto in the menu bar you can get the details of the standard text.
Regards,
Himanshu Verma
‎2008 Feb 27 12:34 PM
Hi,
Double click on the text, then it will open one line editor screen then after follow the menu path GOTO->Header-> then it will give one popup with all the values in your case the name would be the VBELN+POSNR.
Cheers,
Bujji
‎2008 Feb 27 12:49 PM
You need to concatenate the Delivery Number and Item Number with Leading zeros and pass as Name.
Say the delivery number is 12345 and item number is 1
delivery number = 0000012345 (12345)
Item number = 000001 (1)
So
Name = 0000012345000001
Hope this helps.
Thanks,
Balaji