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: 

Update field DRAT-LTXIN ?

miquel_bullon
Discoverer
0 Kudos

I have created a document with function modules 'CV116_TEXT_DRAT_INIT' and 'CV116_TEXT_DRAT_SAVE'.

The document is created, but how can I set the flag DRAT-LTXIN to 'X' ???

Somebody in another thread said that i could use BAPI_DOCUMENT_GETDETAIL2 and BAPI_DOCUMENT_CHANGE2, but I tried and I did not manage to do it.

Maybe I could have a sample code?

Thank you

2 REPLIES 2

former_member200754
Participant

Try field BAPI_DOC_DRAT-TEXTINDICATOR in BAPI_DOCUMENT_CHANGE2

miquel_bullon
Discoverer
0 Kudos

It did not work using BAPI_DOCUMENT_CHANGE2

Can anybody provide a sample code where it is working?

Thank you very much