Skip to Content
1

Where to get the long text data of hold documents in FICO module

Mar 08 at 01:30 AM

79

avatar image
Former Member

How do i get the long text data of hold documents in FICO.

Long text data not in RFDT table when extracted thru read_temp_document

Thanks

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

avatar image
Former Member Mar 09 at 01:54 AM
1

Objective is to print the hold documents
I created entries using tcode F-43 and in line items I input long texts
then save as hold.
The basic data already retrieved using FM READ_TEMP_DOCUMENT

no data returns after I use

GET_TEXT_MEMORY

e.g.

DATA: DATT TYPE STANDARD TABLE OF TCATALOG WITH HEADER LINE,

DATY TYPE TCATALOG.

CALL FUNCTION 'GET_TEXT_MEMORY'

* EXPORTING
* LOCAL_CAT =

TABLES

TEXT_MEMORY = DATT
.

LOOP AT DATT INTO DATY. ENDLOOP.

WRITE: DATY-TDNAME, DATY-TDID.

Thanks

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Mar 08 at 10:07 AM
0

Once READ_TEMP_DOCUMENT is successfully executed the long texts should be available in memory. To access those use function group STXD, FMs like GET_TEXT_MEMORY and READ_TEXT.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Could you also try/debug FI text FMs like FI_TEXTS_DOC_ITEM_READ_TMP and FI_TEXTS_DOCUMENT_READ_TMP?

0
Melih Mercan Mar 09 at 06:03 AM
0
  CALL FUNCTION 'READ_TEXT'
    EXPORTING
      client                  = sy-mandt
      id                      = '0001'
      language                = sy-langu
      name                    = lv_objname
      object                  = 'DOC_ITEM'
    TABLES
      lines                   = lt_lines
    EXCEPTIONS
      id                      = 1
      language                = 2
      name                    = 3
      not_found               = 4
      object                  = 5
      reference_check         = 6
      wrong_access_to_archive = 7
      OTHERS                  = 8.
Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

where to get the value of lv_objname?

thanks

0

Hi Julian,

For FI document its combination of bukrs belnr gjahr buzei

0

Hi Melih, I have the same issue, but BELNR is the document number right? how about the hold documents? it has no document number aside from the temporary document number inputted by the user. i tried the STXL and STXH,also the fuction modules inside the fuction group ftxt and and stxd. it returns nothing. Need help. thanks!

0