<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: User-Exit for document changes (status) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163256#M121072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the below useexit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPLCV00_001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here we have table DRAW and field DOKST (status).&lt;/P&gt;&lt;P&gt;based on this u can know the staus and also change the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Feb 2006 11:23:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-27T11:23:11Z</dc:date>
    <item>
      <title>User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163255#M121071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm looking for an user-exit where I can check if the status of the document has been changed. Therefore I found the exit "EXIT_SAPLCV110_004" with the include "ZXCV110U04" which is triggered when a document (transaction CV02N) is saved. The problem is that there is no structure of the document provided so I cannot check the status of it! The interface if this exit is just&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION EXIT_SAPLCV110_004.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*" CHANGING&lt;/P&gt;&lt;P&gt;*" REFERENCE(PFX_OKCODE) TYPE SY-UCOMM&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE ZXCV110U04 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another exit or how can I check if the status has changed for each document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 11:10:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163255#M121071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T11:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163256#M121072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Konrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the below useexit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXIT_SAPLCV00_001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here we have table DRAW and field DOKST (status).&lt;/P&gt;&lt;P&gt;based on this u can know the staus and also change the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 11:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163256#M121072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T11:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163257#M121073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can try the following in the exit. However this exit is for custome screen and I hope u have developed this screen or atleast this exit is trigered in ur normal processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:f1(30) value '(SAPLCV110)draw-dockt'&lt;/P&gt;&lt;P&gt;field-symbols:&amp;lt;fs1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assign (f1) to &amp;lt;fs1&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if &amp;lt;fs1&amp;gt; = status u want to check&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 11:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163257#M121073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T11:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163258#M121074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds great but the exit "EXIT_SAPLCV00_001" is not triggered when I open a document in CV02N and save it again... When is this exit triggered?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 14:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163258#M121074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T14:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163259#M121075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can U explain this a little more detailed? I'm not quite sure what this code is supposed to do! Should I use this code in the exit I mentioned? Do I have to replace &amp;lt;fs1&amp;gt; by the status field? ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exit is triggered by the way!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 14:21:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163259#M121075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T14:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163260#M121076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can code in EXIT_SAPLCV00_001. Write your code in the program  ZXCV001U01. This has DRAW structure valeus and also DRAZ Item details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION EXIT_SAPLCV00_001.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"       IMPORTING&lt;/P&gt;&lt;P&gt;*"             VALUE(I_DRAW) LIKE  DRAW STRUCTURE  DRAW OPTIONAL&lt;/P&gt;&lt;P&gt;*"             VALUE(I_OK_CODE) OPTIONAL&lt;/P&gt;&lt;P&gt;*"             VALUE(SOURCEPATH) LIKE  DRAW-FILEP OPTIONAL&lt;/P&gt;&lt;P&gt;*"             VALUE(SOURCEFILE) LIKE  DRAW-FILEP OPTIONAL&lt;/P&gt;&lt;P&gt;*"             VALUE(TARGETPATH) LIKE  DRAW-FILEP OPTIONAL&lt;/P&gt;&lt;P&gt;*"             VALUE(TARGETFILE) LIKE  DRAW-FILEP OPTIONAL&lt;/P&gt;&lt;P&gt;*"       TABLES&lt;/P&gt;&lt;P&gt;*"              I_INTDRAZ1 STRUCTURE  DRAZ OPTIONAL&lt;/P&gt;&lt;P&gt;*"              I_INTDRAZ2 STRUCTURE  DRAZ OPTIONAL&lt;/P&gt;&lt;P&gt;*"       EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"              ERROR&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE ZXCV001U01 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you to check the conditions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 14:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163260#M121076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T14:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163261#M121077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I already mentioned before: This exit is NOT triggered when I open and save a document. Do I have to activate this exit somewhere?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 15:50:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163261#M121077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T15:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163262#M121078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; You need to activate this Userexit,you can do that from CMOD from where you create.Project--&amp;gt;Activate.You will see green colored tick marked,if the exit is activated.Put a break point in your code &amp;amp; check whether it is triggering this exit while saving your document.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 16:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163262#M121078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T16:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163263#M121079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if this is initial implementation.&lt;/P&gt;&lt;P&gt;For the Enhancement if you have assigned it to a new custom project using CMOD. If yes, just activate this project.&lt;/P&gt;&lt;P&gt;Else firsty create custom project using CMOD, assign the SAP enhancement.&lt;/P&gt;&lt;P&gt;Get into the user exit program. Finish coding and activate the project. After this, in debug mode you should be able to see your code getting executed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2006 16:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163263#M121079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-27T16:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163264#M121080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Can you please tell me more detailed how I can assign the exit to a newly created project in CMOD? I have created a project "test1", but now I cannot find the option to assign and activate the needed exit...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2006 12:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163264#M121080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-06T12:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163265#M121081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After u have created test1 in CMOD. Press Enhancement Assignment button and enter CV110001 as enhancemnet.Save this and press component button. Here u will be able to c all the exits. Double click on the EXIT_SAPLCV110_004. it will opne the FM with ZXCV110U04 as include. Double click on this and after saveing the development class it will open u the editor screen.&lt;/P&gt;&lt;P&gt;Now u can put in ur code.&lt;/P&gt;&lt;P&gt;as for the code which I had given it is already pointing to the table field draw-dockt. what u need to do is replace the if condition with the status code which u are looking for and have the processing logic. This is offcourse based on the fact that exit is called as u have indicated.&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2006 12:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163265#M121081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-06T12:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: User-Exit for document changes (status)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163266#M121082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Some more questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;How do I know to use "CV110001" for the enhancement? I know that I need EXIT_SAPLCV110_004, but where can I find the "CV110001" for it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;I need the "EXIT_SAPLCV00_001" with include "ZXCV001U01" which provides me the needed information. I found by accident that I need CV000001 as enhancement.&lt;/P&gt;&lt;P&gt;Problem: This enhancement is use by another project not created by me. When I check this project and the enhancement, the exit "EXIT_SAPLCV00_001" is included and there is a green light next to it. But still the exit isn't called when I save a document using CV02N!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something else to check?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2006 12:52:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-document-changes-status/m-p/1163266#M121082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-07T12:52:08Z</dc:date>
    </item>
  </channel>
</rss>

