Application Development and Automation 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: 
Read only

Invoice header and position text

Former Member
0 Likes
5,758

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
Read only

RaymondGiuseppi
Active Contributor
3,478

(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

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

7 REPLIES 7
Read only

RaymondGiuseppi
Active Contributor
3,479

(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

Read only

0 Likes
3,478

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

Read only

0 Likes
3,478

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.

Read only

0 Likes
3,478

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

Read only

0 Likes
3,478

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

Read only

0 Likes
2,788

Is there any possible to get invoice number from text data?

Read only

Former Member
0 Likes
3,478

Thank you all very much!