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: 

Viewing Long Texts in FB03

Former Member
0 Kudos

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?

1 ACCEPTED SOLUTION

ThomasZloch
Active Contributor
0 Kudos

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

7 REPLIES 7

ThomasZloch
Active Contributor
0 Kudos

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

0 Kudos

Hi Thomas,

Length of Name is extactly 21.

And Langu = 'E' since in CREATE_TEXT has length 1.

Thanks,

Praveen

0 Kudos

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

raymond_giuseppi
Active Contributor
0 Kudos

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.

0 Kudos

... as the menu only navigates to header texts.

Fifty cents that this is it

Thomas

0 Kudos

Hi All,

Where the text can viewed for objectid DOC_ITEM?

Thanks,

Praveen

Former Member
0 Kudos

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.