Skip to Content
author's profile photo Former Member
Former Member

Accounting Document - Text (RFBIBL00)

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 12, 2007 at 03:26 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 13, 2007 at 06:28 AM

    Thanks mate for taking the timeout to reply.

    I will have a go at your suggestion.

    Cheers

    Andy

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.