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: 

Accounting Document - Text (RFBIBL00)

Former Member
0 Kudos
200

Hello everyone,

I am writing some code which will post documents via RFBIBL00. The

field BBSEG-SGTXT will hold only 50 characters. However, if I go in to

the transaction FBL5N (Display Document) and from the menu bar choose

Extras and then Texts, there is space here for lots of characters (i.e. long text).

My question is how can I populate this field by using the batch method

like submitting RFBIBL00 with a text file made up of BKPF and BSEG

records.

Thanks

Andy

2 REPLIES 2

former_member194669
Active Contributor
0 Kudos
65

Hi,

Write a custom program with first call program RFBIBL00 using submit statement with standard fields and then followed by explicit calls to function module SAVE_TEXT to add the long text. The thing with the long texts is, that they are not stored together with the rest of the data but are kept separately. They can therefore only be read and maintained via function modules (like READ_TEXT and SAVE_TEXT).

Theoretically you can use RFBIBL00 for transaction FB01, but you'll have no way of directly knowing, whether or not you can add the long texts. The FM SAVE_TEXT has the document-number as part of the key, so you need to know that before you can call the FM.

aRs

Former Member
0 Kudos
65

Thanks mate for taking the timeout to reply.

I will have a go at your suggestion.

Cheers

Andy