<?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: write on database not committed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629789#M1571166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No way: I already tried to change XVBKD YVBKD and also *VBKD ...&lt;/P&gt;&lt;P&gt;I know that I cannot commit in a exit, otherwise this post would not exist &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Feb 2011 09:07:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-02T09:07:45Z</dc:date>
    <item>
      <title>write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629779#M1571156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I am working on a exit of a transaction at save moment. &lt;/P&gt;&lt;P&gt;the problem is this: data has already sent to database, but commit is not yet done. So if I try to modify data in program, modifies are ignored because the modify is not sent. If I try to search data in database, I cannot find them because commit has not yet executed.&lt;/P&gt;&lt;P&gt;I cannot do a commit because I don't know the impact of a commit in this exit in case of error on the rest of the transaction.&lt;/P&gt;&lt;P&gt;Any hint is welcome.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 09:29:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629779#M1571156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T09:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629780#M1571157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please provide exit name and tcode that you are referring to&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 09:43:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629780#M1571157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T09:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629781#M1571158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i right understand you, you want to access data which you send to database and haven't written to database?&lt;/P&gt;&lt;P&gt;Right? &lt;/P&gt;&lt;P&gt;The idea is to build a seperate program which writes the data to database. This program is called through the first program via job. This means the second runs in a separate LUV. After the job is finished the data is accessible in the first program. The only thing you have to ensure, the first program has to wait for the second one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    regards,&lt;/P&gt;&lt;P&gt;        W.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 09:49:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629781#M1571158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T09:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629782#M1571159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;the transaction is VA01 (02 03) and there is no suitable exit for save: googling and searching on the sdn it seems that modifying FORM USEREXIT_SAVE_DOCUMENT of V45AFZZ is the only way.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 09:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629782#M1571159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T09:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629783#M1571160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes &lt;/P&gt;&lt;P&gt;you understand correctly, but the problem is that the write on database, is not made by me, but by the VA01 code (don't know where). I would like to modify data sent to database by VA01 before commit. This is the timeline:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VA01 insert/update data on db (not committed)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the user exit I can handle &amp;lt;----&lt;/P&gt;&lt;HR originaltext="--------------------------------" /&gt;&lt;P&gt; here data have been sent so modify internal table has no effect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VA01 retrieve control&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(VA01 operations)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data here are present in DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am pretty sure of this, because if I insert a COMMIT in exit, I find data on db, but I cannot COMMIT in this way ... the VA01 decides if commit ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 09:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629783#M1571160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T09:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629784#M1571161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure of your requirement. But to update data in this exit, you have to update corresponding internal tables available during run time. For eg: tables like xvbap, xvbuv, hvbuv.... are available. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Put a break point inside this form and check for the required internal table and carryout the changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 10:12:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629784#M1571161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T10:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629785#M1571162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have already did it: &lt;/P&gt;&lt;P&gt;if I set for example a data in VBAP, data are not carried out to db because UPDATE OF VBAP has already be done BEFORE the form I am working is called. And data are not present on db yet because no commit has been done.&lt;/P&gt;&lt;P&gt;I don't know if a solution exists .. what I need is something allowing me to modify data sent to db before commit, but I don't know if abap/sap has visibility of this data and only dbms has visibility..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 11:19:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629785#M1571162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-01T11:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629786#M1571163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exit your are using is meant for you to make some last minute changes to the data in the internal tables available to you in this exit.  At this point in the program &lt;STRONG&gt;no&lt;/STRONG&gt; data has been commited to the DB. This done by the function RV_SALES_DOCUMENT_UPDATE which is triggered after this exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So any changes you want to pass on to the DB should be done at this point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also never trigger your own explicit commit work in an user-exit as this will mess up your LUW and can result in DB inconsistencies...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 00:25:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629786#M1571163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T00:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629787#M1571164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suggest you to try to modify any data: I did not say that COMMIT has been done. I know it is not done because data are not present on db (putting a breakpoint on save form I watch se16 to see if data were present). But anyway data has already been sent to database: the proof is that changing any data, the change is not written on db. For example, if in this form i change the value of VBKD-BSTKD, the change is not saved. Why? I think because WRITE DB command has been given before (and COMMIT has not been given) and data has been sent to db BEFORE I can modify them in this form. So the problem remains: &lt;STRONG&gt;how to change data already sent to database but not yet committed&lt;/STRONG&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 08:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629787#M1571164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T08:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629788#M1571165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be aware that in VA01/VA02 SAP uses internal tables like XVBKD and YVBKD, XVBAP and YVBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The X-versions are the ones actually used for the updates. So if you want to make a change in VBKD, update the corresponding entry in internal table XVBKD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as a rule: never use COMMIT in a user-exit/BADI/enhancement point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 08:50:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629788#M1571165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T08:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629789#M1571166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No way: I already tried to change XVBKD YVBKD and also *VBKD ...&lt;/P&gt;&lt;P&gt;I know that I cannot commit in a exit, otherwise this post would not exist &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 09:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629789#M1571166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T09:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629790#M1571167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for precision I try to change value in &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CVBKD-BSTKD
SVBKD-BSTKD
HVBKD-BSTKD
*HVBKD-BSTKD
KVBKD-BSTKD
*KVBKD-BSTKD
NA_VBKD-BSTKD
VBKD-BSTKD
YVBKD-BSTKD
XVBKD-BSTKD
*VBKD-BSTKD&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 09:14:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629790#M1571167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T09:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629791#M1571168</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;I would rather use the BAdI BADI_SD_SALES instead of the user-exit. Beacuse the interface parameters are defined &amp;amp; you know which params you would be working with. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method of interest for you would be SAVE_DOCUMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 09:15:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629791#M1571168</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-02-02T09:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629792#M1571169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, you are using the wrong user exit, You should modify the data in user exit MV45AFZZ, form-routine "USEREXIT_SAVE_DOCUMENT_PREPARE" which is called just before saving the data.  Changes made to the structures/internal tables in "USEREXIT_SAVE_DOCUMENT" will not have any effect while writing to DB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 09:20:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629792#M1571169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T09:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629793#M1571170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But did you, like Maen Anachronos suggested, mark the corresponding field in the X-structure with an ' X'? Just trying to rule out possibilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck with your problem!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 09:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629793#M1571170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T09:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629794#M1571171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read the SAP help documentation for this exit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if maybe the USEREXIT_MOVE_FIELD_TO_VBAK,  USEREXIT_MOVE_FIELD_TO_VBAP, etc. work for your requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. Another thing is to verify that the UPDKZ field is set in the internal table in question. &lt;/P&gt;&lt;P&gt;PPS. In case you turn on update debugging you will be able to debug the update routine (RV_SALES_DOCUMENT_UPDATE ) to determine where your value is being "lost".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 18:08:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629794#M1571171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-02T18:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629795#M1571172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriele,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;very praiseworthy that you already asked google and sdn. Another sueful source is SAP online documentation for [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if this won't help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_MOVE_FIELD_TO_VBKD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this user exit to assign values to new fields for business data of the sales document. It is described in the section ["Copy customer master fields into sales document" .|http://help.sap.com/saphelp_46c/helpdata/en/08/f62c7dd435d1118b3f0060b03ca329/content.htm]&lt;/P&gt;&lt;P&gt;The user exit is called up at the end of the FORM routine VBKD_FUELLEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.&lt;/P&gt;&lt;P&gt;The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 21:28:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629795#M1571172</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-02-02T21:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629796#M1571173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks both to RJ. Schamhart and Clemens Li. &lt;/P&gt;&lt;P&gt;I did not see that document, but anyway tried to use that forms (and I use it succesfully for other purposes); I don't need to chang VBKD .. VBKD was just an example. That forms (for anyone will read in the future) change data while transaction is running .. so if you change for example the WBS vale in form USEREXIT_MOVE_FIELD_TO_VBAP, the WBS field is updated in transaction. What I was looking for was the proof for what I was thinking:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this user exit to fill user-specific statistics update tables.&lt;/P&gt;&lt;P&gt;The user exit is called up by the FORM routine BELEG-SICHERN &lt;STRONG&gt;before the COMMIT command&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I did not see &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;USEREXIT_SAVE_DOCUMENT_PREPARE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this user exit to make certain changes or checks immediately &lt;STRONG&gt;before saving a document&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem still is change data just before saving and the forms you told me act while processing VA01 data (header and positions .. for example USEREXIT_MOVE_FIELD_TO_VBAP is called each row I insert )&lt;/P&gt;&lt;P&gt;The USEREXIT_SAVE_DOCUMENT_PREPARE was suggested by Vinod Kumar , but trying it, I get no result. Anyway it's obvious that the solution must be searched in this form instead of USEREXIT_SAVE_DOCUMENT.&lt;/P&gt;&lt;P&gt;So I'll try again and I will let you know ...&lt;/P&gt;&lt;P&gt;Thanks to you all&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 07:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629796#M1571173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-03T07:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: write on database not committed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629797#M1571174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;it works. I made tries with VBKD, but it seems that VBKD is a bad example (there are many many table in this user exit ... really annoying to find the one you really need): instead trying to change data in VBAP (changing XVBAP data that is not the X structure as someone suggested) data modified are correctly saved.&lt;/P&gt;&lt;P&gt;Thanks to all of you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Feb 2011 08:03:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-on-database-not-committed/m-p/7629797#M1571174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-03T08:03:59Z</dc:date>
    </item>
  </channel>
</rss>

