Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

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

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 08 at 10:07 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 09 at 06:03 AM
      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.
    
    Add comment
    10|10000 characters needed characters exceeded

    • 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!