Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ME_PROCESS_PO_CUST->POST method not updating the line item texts on using set_text method

Hi Guys,

I am adding the long text during the save operation of the PO using the POST method and calling im_itm->IF_LONGTEXTS_MM~SET_TEXT method and populating the TDID and textlines table and passing them. On debugging I could see the save_text being called and returning a sy-subrc = 0 but the text is not seen in PO item long texts.

On further investigating I found that it is referring the parameters of the TTXOB table for EKPO(tdobject field) and the savemode is set as V(Changes in the text file are carried out via update task) if I change this parameter to D(Changes in the text file are carried out online) in the table then the text gets perfectly updated in the PO item. I also read from the documentation of the BADI to specifically avoid a COMMIT in the POST method.

Can you suggest me a better way of updating the long text.



Former Member
Not what you were looking for? View more on this topic or Ask a question