<?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: The INIT_TEXT/SAVE_TEXT/COMMIT_TEXT FM Sequence Doesn't Update EQKT-KZLTX ! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905255#M1482050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC will work. Didn't want to suggest that though, because I felt the (ugly) solution with implicit enhancement probably would allow one to post all the data in &lt;EM&gt;one&lt;/EM&gt; transaction. I've done similar things in the past (e.g. partner updates where partners were not part of the function's interface) and despite the bad taste such odd solutions leave, I really do appreciate the ability &lt;EM&gt;not&lt;/EM&gt; having to deal with error handling and recovery for partial updates...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 May 2010 01:19:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-05T01:19:49Z</dc:date>
    <item>
      <title>The INIT_TEXT/SAVE_TEXT/COMMIT_TEXT FM Sequence Doesn't Update EQKT-KZLTX !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905251#M1482046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok guys - someone has to "come clean" here and tell me what's what.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are a million threads here which tell you that if you want to create equipment long text, you can use the FM's &lt;/P&gt;&lt;P&gt;INIT_TEXT, SAVE_TEXT, and CDMMIT_TEXT for object EQUI and ID LTXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far so good - I have used these FM's to create long text for a piece of equioment created via BAPI_EQUI_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this sequence of FM's does NOT update EQKT-KZLTX (the long text indicator.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What FM can I use to tupdate EQKT-KZLTX safely ?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 May 2010 22:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905251#M1482046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-04T22:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: The INIT_TEXT/SAVE_TEXT/COMMIT_TEXT FM Sequence Doesn't Update EQKT-KZLTX !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905252#M1482047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What FM can I use to tupdate EQKT-KZLTX safely ?????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For lack of a SAP system I don't have a good answer and I'm not sure whether there is an officially released function module for doing that. But just in case nobody comes forward with a nice way do it, here's one suggestion that should work if you have the enhancement framework (e.g. if you're on ECC 6.0)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I remember creating equipments via transaction or BAPI results in a call to EQUIPMENT_SAVE. Here you could easily create an implicit enhancement and set the long text flag (of course there should be some conditions to prevent setting it when it's not required).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function modules you've quoted for text handling are basically universal function modules that are utilized in SAP whenever we have long texts associated with an object. Not all objects have some &lt;EM&gt;long text indicator&lt;/EM&gt; and instead the application just checks if a long text exists; unfortunately though for equipments this is different as you already observed. Since the text function modules are generic, obviously any utility for setting the &lt;EM&gt;long text&lt;/EM&gt; flag for an equipment record should be found in PM/CS area...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, if you choose to go ahead with an &lt;EM&gt;implicit enhancement&lt;/EM&gt; I'd suspect that you might even get away with calling INIT_TEXT (or maybe EDIT_TEXT?) within the BAPI for adding the text. I think there should be logic in EQUIPMENT_SAVE to deal with any long texts that are present, so saving/commit should be handled by EQUIPMENT_SAVE automatically. However, due to lack of system access this is more or less speculation, but you can test this easily...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end I hope somebody else has a clean method to offer, but just in case you don't get any good response I thought this might help (especially since this should allow you to use &lt;EM&gt;one&lt;/EM&gt; update instead of several).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 00:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905252#M1482047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-05T00:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: The INIT_TEXT/SAVE_TEXT/COMMIT_TEXT FM Sequence Doesn't Update EQKT-KZLTX !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905253#M1482048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harald &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You read my mind - I was just about ready to decide to use an enhancement point for the following reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After I create my piece of equipment via BAPI_EQUI_CREATE and store some long text for it via INIT_TEXT/SAVE_TEXT/COMMIT_TEXT, I go into EQKT and see that the KZLTX flag is NOT set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then, if I go into IE02 on the equipment number I just created, bring up the long text, and then do a save - then voila! the flag is now set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This tells me that the setting of the flag is in some piece of code in the SAPMIEQ0 module pool or the ITO0 , and that this piece of code is NOT part of the text functions per se.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And if this is the case, then I'm going to have to use a judiciously placed enhancement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for taking the time to reply and reinforcing my own opinion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;djh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 00:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905253#M1482048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-05T00:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: The INIT_TEXT/SAVE_TEXT/COMMIT_TEXT FM Sequence Doesn't Update EQKT-KZLTX !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905254#M1482049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Harald -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One afterthought - since I know that an IE02 save after visiting the long text will force the flag to be set, I may just write a BDC that just does these two keystrokes and see what happens.  If the BDC overhead was greater, it would bother me, but a two key-stroke recording isn't going to kill anybody.  (Assuming, of couse, that I can do a BDC which includes a visit to the long text editor ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;djh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 01:03:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905254#M1482049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-05T01:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: The INIT_TEXT/SAVE_TEXT/COMMIT_TEXT FM Sequence Doesn't Update EQKT-KZLTX !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905255#M1482050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC will work. Didn't want to suggest that though, because I felt the (ugly) solution with implicit enhancement probably would allow one to post all the data in &lt;EM&gt;one&lt;/EM&gt; transaction. I've done similar things in the past (e.g. partner updates where partners were not part of the function's interface) and despite the bad taste such odd solutions leave, I really do appreciate the ability &lt;EM&gt;not&lt;/EM&gt; having to deal with error handling and recovery for partial updates...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 01:19:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905255#M1482050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-05T01:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: The INIT_TEXT/SAVE_TEXT/COMMIT_TEXT FM Sequence Doesn't Update EQKT-KZLTX !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905256#M1482051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the potential solutions (two) have both been identified ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 01:26:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-init-text-save-text-commit-text-fm-sequence-doesn-t-update-eqkt-kzltx/m-p/6905256#M1482051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-05T01:26:24Z</dc:date>
    </item>
  </channel>
</rss>

