01-27-2012 12:38 PM
Hi Gurus,
Created a Long text using FM CREATE_TEXT
With Following Parameters:
ID = '0001'
LANGUAGE = 'E'
NAME = 'Company Code + Posted Document No + Fiscal Year + Line item No'
OBJECT = 'DOC_ITEM'
I see text exist in STXH table.
But when I see text in FB03 using Following paths Notes texts is not displyed:
1. FB03 -> Extras -> Text -> Notes (Display)
2. FB03 -> Double Click on line item -> Extras -> Text -> Notes (Display)
How to view the texts?
01-27-2012 12:44 PM
Did you pad the ingredients of NAME with leading zeros to lengths 4, 10, 4 and 3 respecitively, i.e. their internal format? The name must have length 21 for DOC_ITEM.
Compare to a STXH entry for a text that you entered manually via FB02.
Also try filling language as 'EN', might or might not make a difference.
Thomas
01-27-2012 12:44 PM
Did you pad the ingredients of NAME with leading zeros to lengths 4, 10, 4 and 3 respecitively, i.e. their internal format? The name must have length 21 for DOC_ITEM.
Compare to a STXH entry for a text that you entered manually via FB02.
Also try filling language as 'EN', might or might not make a difference.
Thomas
01-27-2012 12:47 PM
Hi Thomas,
Length of Name is extactly 21.
And Langu = 'E' since in CREATE_TEXT has length 1.
Thanks,
Praveen
01-27-2012 12:51 PM
Still you seem to be doing something wrong. Compare STXH entries in SE16, some that you created by program, and some you entered manually through the application. There must be a difference.
Thomas
01-27-2012 1:04 PM
Did you use a structire to build the key like in
data: begin of keydata,
bukrs like bseg-bukrs,
belnr like bseg-belnr,
gjahr like bseg-gjahr,
buzei like bseg-buzei,
end of keydata.
Then in FB03, display line item by double-click and then click on "long text", right after item line, as the menu only navigates to header texts.
Regards,
Raymond
PS: language is internally only 1 character long, 2 characters displayed via conversion exit.
01-27-2012 1:08 PM
... as the menu only navigates to header texts.
Fifty cents that this is it
Thomas
01-27-2012 1:21 PM
Hi All,
Where the text can viewed for objectid DOC_ITEM?
Thanks,
Praveen
01-27-2012 9:38 PM
Is there a table with the long text indicator field? I've often seen text saved programatically, and if that long text exists indicator is not turned on, SAP will not "see" that there is long text associated with this document.