‎2007 Oct 04 8:19 PM
Can nyone pls tell how to include long texts in the tables parameter o that when the document is created in the long text field I am able to see the long text. In my case the document is created without long text?
‎2007 Oct 04 8:26 PM
See standard include program LCDESKF13 which uses this BAPI. Here Long text is populated. You can check this and rectify error in your program.
data: lt_longtexts LIKE bapi_doc_text_keys OCCURS 0 WITH HEADER LINE,
data: lt_bapi_longtexts LIKE bapi_doc_text OCCURS 0 WITH HEADER
LINE,
fill table lt_bapi_longtexts
CLEAR: lt_bapi_longtexts.
LOOP AT lt_longtexts WHERE tab_index = wa_plm_document-index.
APPEND lt_longtexts TO lt_bapi_longtexts.
ENDLOOP.
‎2007 Oct 04 8:27 PM
Hey Papiya,
Are you building your internal table for Long text using the structure 'BAPI_DOC_TEXT' ?? Did you do a Where-Used List for the BAPI to check it's usage?
Regards,
Vivek