06-11-2012 10:25 AM
Hi,
Currently i'm updating long text for CV03N using CREATE_TEXT function module.
It is updating the text properly, but the problem is with the long text icon(like notepad) is missing.
When i double click the data it is there, but user wants the icon.
I have tried SAVE_TEXT ,COMMIT_TEXT and commit work after the update.
The data is uploading correctly but the icon is missing.
Tried debugging the standard and found that if the entry LTXIN (Indicator: long text exists) in table DRAT is set it is writing the icon to screen.
How to set the indicator using above function modules.
When i do this operation manually in CV02N and the long text icon is visible in CV03N and the table indicator is set to 'X'.
Also i found this thread with no answer.
http://scn.sap.com/thread/756463
Please help me on this.
Regards,
Nandha
06-11-2012 11:00 AM
None of the text FM will update DRAT-LTXIN (they don't care/have knowledge of such flags)
You have to find a BAPI to update this field like BAPI_DOCUMENT_CREATE/CHANGE2.
Regards,
Raymond
06-11-2012 11:00 AM
None of the text FM will update DRAT-LTXIN (they don't care/have knowledge of such flags)
You have to find a BAPI to update this field like BAPI_DOCUMENT_CREATE/CHANGE2.
Regards,
Raymond
06-14-2012 9:49 AM
Hi,
BAPI_DOCUMENT_GETDETAIL2 and BAPI_DOCUMENT_CHANGE2 solved the problem.
Thank you.
Regards,
Nandha