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: 

Invoice header and position text

Former Member
0 Kudos

Dear all,

I need to read to a given invoice (i have access to VBRK and VBRP) the header and position text. Does anyone have an idea where I can find this data?

Thx in advance

Best regards,

Alexander Suckow

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor

(FAQ) Call VF03 to display an invoice, then navigate to display header and item text tabs. For  the text you want to read by program, select and double-click in the text windows, you will get fullscreen mode display, there in the menu navigate to go to, header.  There will be displayed the ID, LANGUAGE, NAME and OBJECT field values that you will use to call FM READ_TEXT. (Just identify VBELN and POSNR fields in the NAME field)

Regards,

Raymond

6 REPLIES 6

raymond_giuseppi
Active Contributor

(FAQ) Call VF03 to display an invoice, then navigate to display header and item text tabs. For  the text you want to read by program, select and double-click in the text windows, you will get fullscreen mode display, there in the menu navigate to go to, header.  There will be displayed the ID, LANGUAGE, NAME and OBJECT field values that you will use to call FM READ_TEXT. (Just identify VBELN and POSNR fields in the NAME field)

Regards,

Raymond

0 Kudos

Thank you

I need to read all text (header and position) that has been saved to a specific invoice. Is there a mapping table to get all this data for a specified invoice?

Thx in advance,

Best regrads,

Alexander Suckow

0 Kudos

On the maintain Text screen, at the Bottom, there is a button "Display Log". This one lists down all the Text which can be maintained for the Item or Header level. Basically it navigates through the Customizing table.. which are combination of Access Sequence tables. Check if you can figure out any FM by debugging the execution of thta Button Press event.

0 Kudos

Hi,

In order to get all the text details, go to table STXH and give the text name as '*<Inv Num>*' and execute.

you will get the list of entries which has the long text. You can get the text by calling READ_TEXT 

using the data from STXH.

Thanks,

Lakshmi

0 Kudos

Warning, not every text which contains the number of the invoice is related to the invoice (this can be text of a purchase order, an accounting document, etc.)

For a list of available texts in system, look at Customizing table TTXOB (definition of the text objects) via transaction SE75. (there are some entries for Invoice like 'VBRK' or 'VBRP')

For invoices, during Customizing, many texts can be defined : There is a field at item level which link to text determination, look via transaction VOTXN for Header (text object VBBK) and item texts (text object VBBP) - Tables behind are TTXG , text table TTXGT, and TTXERN which links to TTXID, text table TTXIT.

Regards,

Raymond

Former Member
0 Kudos

Thank you all very much!