Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CV03N long text icon missing in display mode

former_member576008
Active Participant
0 Kudos

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

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

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

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

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

0 Kudos

Hi,

BAPI_DOCUMENT_GETDETAIL2 and BAPI_DOCUMENT_CHANGE2 solved the problem.

Thank you.

Regards,

Nandha