<?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: Set Deleteindicator on Purchasing Info Record in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452225#M829383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please record the transaction ME15 to delete the info record. and write a BDC program to do the acutal deletion (Flag).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2008 08:37:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-25T08:37:42Z</dc:date>
    <item>
      <title>Set Deleteindicator on Purchasing Info Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452223#M829381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to set the delete indicator on a purchase inforecord. I have tried to test with function module ME_UPDATE_INFORECORD. But I cannot get the indicator set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could any of you please expaline, how to use the function module, or advise an other way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Mikkel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 08:27:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452223#M829381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T08:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Deleteindicator on Purchasing Info Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452224#M829382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    this can be done using BDC call transaction method ,&lt;/P&gt;&lt;P&gt;first record the tcode and then using perform statements u can assign a delete, block and unblock indicator.&lt;/P&gt;&lt;P&gt;while recording in menu path u will find the delete indicator.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Narendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 25, 2008 5:44 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 08:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452224#M829382</guid>
      <dc:creator>narendar_naidu</dc:creator>
      <dc:date>2008-02-25T08:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Deleteindicator on Purchasing Info Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452225#M829383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please record the transaction ME15 to delete the info record. and write a BDC program to do the acutal deletion (Flag).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 08:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452225#M829383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T08:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Deleteindicator on Purchasing Info Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452226#M829384</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;Under Deletion Flags, there are 2 categories:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Complete Info record : EINA-LOEKZ&lt;/P&gt;&lt;P&gt;b) Purch Org data : EINE-LOEKZ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls set both these fields as required to 'X' while passing as a import parameter to the FM. This should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the Fm executes also give a COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;JLN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 25, 2008 5:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 08:38:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452226#M829384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T08:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Deleteindicator on Purchasing Info Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452227#M829385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using ME15 transaction to delete the Info record. This would be quite easy compared to usinng FM ME_UPDATE_INFORECORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 08:54:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452227#M829385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T08:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Deleteindicator on Purchasing Info Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452228#M829386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi mikkel,&lt;/P&gt;&lt;P&gt;                  if this issue is resolved plz put the code in the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards narendar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 09:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452228#M829386</guid>
      <dc:creator>narendar_naidu</dc:creator>
      <dc:date>2008-02-25T09:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Deleteindicator on Purchasing Info Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452229#M829387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the below example code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

DATA: it_eina TYPE STANDARD TABLE OF eina WITH HEADER LINE,
      it_eine TYPE STANDARD TABLE OF eine WITH HEADER LINE.

SELECT * FROM eina INTO TABLE it_eina WHERE infnr = '5300000042'.
IF sy-subrc = 0.
  SELECT * FROM eine INTO TABLE it_eine WHERE infnr = '5300000042'.
ENDIF.

DATA: lt_eina TYPE eina,
      lt_eina1 TYPE eina,
      lt_eine TYPE eine.

LOOP AT it_eina.
  LOOP AT it_eine WHERE infnr = it_eina-infnr.
    LT_eina = it_eina.
    LT_eina1 = it_eina.
    LT_eine = it_eine.
"IT_EINA-LOEKZ will be updated with 'X' and not for LT_EINA-LOEKZ
    it_eina-loekz = 'X'.     
"IT_EINE-LOEKZ will be updated with 'X' and not for LT_EINE-LOEKZ
    it_eine-loekz = 'X'.
"XEINA and YEINA will contain same values for all fields except for the fields to be 
"updated.
"XEINE and YEINE will contain same values for all fields except for the fields to be 
"updated.
    CALL FUNCTION 'ME_UPDATE_INFORECORD'
      EXPORTING
        xeina    = it_eina
        xeine    = it_eine
        yeina    = lt_eina
        yeine    = lt_eine
        reg_eina = lt_eina1.
  ENDLOOP.
ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 10:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452229#M829387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T10:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Deleteindicator on Purchasing Info Record</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452230#M829388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all, this solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Mikkel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 11:51:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/set-deleteindicator-on-purchasing-info-record/m-p/3452230#M829388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T11:51:27Z</dc:date>
    </item>
  </channel>
</rss>

