<?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 Problem with Commit_text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437350#M545341</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;i am using the following code to save the text into the object. in the importing parameter of save_text lv_fun i am getting value I (insert) But while committing is lv_count is 0( in the commit_text).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit_text is not working.Please can any one help me in getting the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;   CLIENT                = SY-MANDT&lt;/P&gt;&lt;P&gt;    header                = ithead(VBBPZ007 vbeln- posnr)&lt;/P&gt;&lt;P&gt;   INSERT                =  X&lt;/P&gt;&lt;P&gt;   SAVEMODE_DIRECT       =  X&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    lines                 = li_tline1( 11 lines )&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt; fucntion   = lv_fun&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   ID                    = 1&lt;/P&gt;&lt;P&gt;   LANGUAGE              = 2&lt;/P&gt;&lt;P&gt;   NAME                  = 3&lt;/P&gt;&lt;P&gt;   OBJECT                = 4&lt;/P&gt;&lt;P&gt;   OTHERS                = 5.&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'COMMIT_TEXT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   OBJECT                = lc_tdobject&lt;/P&gt;&lt;P&gt;   NAME                  = lw_ithead-tdname&lt;/P&gt;&lt;P&gt;   ID                    = lc_tdid&lt;/P&gt;&lt;P&gt;   LANGUAGE              = sy-langu&lt;/P&gt;&lt;P&gt;   SAVEMODE_DIRECT       = lc_true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;commit_count = lv_count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me it s urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarda&lt;/P&gt;&lt;P&gt;pave...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2007 16:30:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-02T16:30:11Z</dc:date>
    <item>
      <title>Problem with Commit_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437350#M545341</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;i am using the following code to save the text into the object. in the importing parameter of save_text lv_fun i am getting value I (insert) But while committing is lv_count is 0( in the commit_text).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit_text is not working.Please can any one help me in getting the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;   CLIENT                = SY-MANDT&lt;/P&gt;&lt;P&gt;    header                = ithead(VBBPZ007 vbeln- posnr)&lt;/P&gt;&lt;P&gt;   INSERT                =  X&lt;/P&gt;&lt;P&gt;   SAVEMODE_DIRECT       =  X&lt;/P&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    lines                 = li_tline1( 11 lines )&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt; fucntion   = lv_fun&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   ID                    = 1&lt;/P&gt;&lt;P&gt;   LANGUAGE              = 2&lt;/P&gt;&lt;P&gt;   NAME                  = 3&lt;/P&gt;&lt;P&gt;   OBJECT                = 4&lt;/P&gt;&lt;P&gt;   OTHERS                = 5.&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'COMMIT_TEXT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   OBJECT                = lc_tdobject&lt;/P&gt;&lt;P&gt;   NAME                  = lw_ithead-tdname&lt;/P&gt;&lt;P&gt;   ID                    = lc_tdid&lt;/P&gt;&lt;P&gt;   LANGUAGE              = sy-langu&lt;/P&gt;&lt;P&gt;   SAVEMODE_DIRECT       = lc_true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;commit_count = lv_count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me it s urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regarda&lt;/P&gt;&lt;P&gt;pave...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 16:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437350#M545341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T16:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Commit_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437351#M545342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try by passing "SAVEMODE_DIRECT" parameter also in 'COMMIT_TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashvender&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 16:39:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437351#M545342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T16:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Commit_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437352#M545343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing the savemode_direct = 'X'. But still it is not committing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any configuration part that is avoiding the saving of the text lines( Number of lines is it limited) .&lt;/P&gt;&lt;P&gt;in Va02 the code is working very fine . But in Va01 it is giving problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;pave....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 16:43:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437352#M545343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T16:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Commit_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437353#M545344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do one thing, create a FM(zfm) of type update funcation module, call save_text in the created FM(zfm).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call zfm in IN UPDATE TASK. It will work fine in both VA01 and VA02.&lt;/P&gt;&lt;P&gt; no need to call commit_text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shaik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 18:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437353#M545344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T18:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Commit_text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437354#M545345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi basha ,&lt;/P&gt;&lt;P&gt;I have created ZfM and called that FM with update task. But i am not getting the address in the text. Can u Please help me ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'YDSD_SAVE_TEXT'&lt;/P&gt;&lt;P&gt;        in update task&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           client          = sy-mandt&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            header          = ithead( VBBP Z007)&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           insert          = space&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           savemode_direct = lc_true&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          TABLES&lt;/P&gt;&lt;P&gt;            lines           = li_tline&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            id              = 1&lt;/P&gt;&lt;P&gt;            language        = 2&lt;/P&gt;&lt;P&gt;            name            = 3&lt;/P&gt;&lt;P&gt;            object          = 4&lt;/P&gt;&lt;P&gt;            OTHERS          = 5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 10:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-commit-text/m-p/2437354#M545345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T10:03:32Z</dc:date>
    </item>
  </channel>
</rss>

