<?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: USEREXIT_SAVE_DOCUMENT_PREPARE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368242#M1401450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      After checking status vbap-KTGRM i have to maintain incompletion log accordingly...I thing I have to see another table XVBUV for  incompletion procedure (item category)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2009 14:13:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-17T14:13:29Z</dc:date>
    <item>
      <title>USEREXIT_SAVE_DOCUMENT_PREPARE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368239#M1401447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI EXPERT!,&lt;/P&gt;&lt;P&gt;                      I have requirement in said user exit . I have to check status for vbap-ktgrm (AAG account assignment group )for each line item.&lt;/P&gt;&lt;P&gt;how would I procedd? If possible plase help code&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 13:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368239#M1401447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-17T13:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXIT_SAVE_DOCUMENT_PREPARE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368240#M1401448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to loop the internal table XVBAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 13:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368240#M1401448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-17T13:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXIT_SAVE_DOCUMENT_PREPARE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368241#M1401449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Just right your validation inside the Subroutine. it will trigger for all the line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Main Program: SAPMV45A&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Program: MV45AFZZ&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Subroutine:  USEREXIT_SAVE_DOCUMENT_PREPARE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Sample Code&lt;/STRONG&gt;:&lt;/EM&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: C_VA01(4) TYPE C VALUE 'VA01',
      C_VA02(4) TYPE C VALUE 'VA02'.

IF SY-TCODE = C_VA01 OR SY-TCODE = C_VA02.        "CREATE SALES ORDER
   MOVE-CORRESPONDING ZSDSTRC_VBAK TO VBAK.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: This subroutine will trigger at the time of creation as well as change.&lt;/P&gt;&lt;P&gt;          Using this you can validate your screen data and check the data before saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VBAK - Header&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VBAP - Item&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saravanan M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 14:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368241#M1401449</guid>
      <dc:creator>saranwin</dc:creator>
      <dc:date>2009-11-17T14:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXIT_SAVE_DOCUMENT_PREPARE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368242#M1401450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      After checking status vbap-KTGRM i have to maintain incompletion log accordingly...I thing I have to see another table XVBUV for  incompletion procedure (item category)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 14:13:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368242#M1401450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-17T14:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXIT_SAVE_DOCUMENT_PREPARE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368243#M1401451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both XVBUV and VBUV were triggering in the same subroutine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saravanan M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 14:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368243#M1401451</guid>
      <dc:creator>saranwin</dc:creator>
      <dc:date>2009-11-17T14:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: USEREXIT_SAVE_DOCUMENT_PREPARE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368244#M1401452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sarvanan M,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the actual requirement.&lt;/P&gt;&lt;P&gt;  If AAG (ktgrm) is NE space (AAG field having some value), &lt;/P&gt;&lt;P&gt;	It should not be displayed in the &lt;STRONG&gt;incompletion log.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else,&lt;/P&gt;&lt;P&gt;	It should be displayed in the &lt;STRONG&gt;incompletion log.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What I'm trying to do is,just  deleting from Xvbuv field fehgr. I thing it will serve my purpose.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2009 14:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/userexit-save-document-prepare/m-p/6368244#M1401452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-17T14:43:56Z</dc:date>
    </item>
  </channel>
</rss>

