<?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: Dynamic Actions with Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027620#M715930</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Srimantra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply. Here iam sending the code where i used my function module.&lt;/P&gt;&lt;P&gt;Kindly check this and tell me any modifications to be done.&lt;/P&gt;&lt;P&gt;But here i should not use any sql statements or commands to delete the record&lt;/P&gt;&lt;P&gt;from database table. And this is really urgent.&lt;/P&gt;&lt;P&gt;Hope u all help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u,&lt;/P&gt;&lt;P&gt;Tara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2007 06:19:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-06T06:19:39Z</dc:date>
    <item>
      <title>Dynamic Actions with Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027617#M715927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai all,&lt;/P&gt;&lt;P&gt;I got a problem while doing Dynamic Actions. I want to delete a record from 0105 infotype and it is through dynamic actions using function module. All things going correct but in the database table the entry was not deleted. While debugging it was giving as deleted but actually it is not deleting in database table. I hope u help me out.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 04:38:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027617#M715927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T04:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Actions with Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027618#M715928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tara,&lt;/P&gt;&lt;P&gt;Can u tell what FM u r using to delete the records from infotype 0105?&lt;/P&gt;&lt;P&gt;If in debugging mode it is showing. So why is it not happend in ur database table?&lt;/P&gt;&lt;P&gt;Pls breif ur problem quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srimanta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 04:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027618#M715928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T04:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Actions with Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027619#M715929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;I used HR_INFOTYPE_OPERATION function module.&lt;/P&gt;&lt;P&gt;and in that i passed the operation as delete.&lt;/P&gt;&lt;P&gt;And i should not use any sql statements to delete&lt;/P&gt;&lt;P&gt;the records from database tables.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Tara Lakshmi Padala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 04:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027619#M715929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T04:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Actions with Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027620#M715930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Srimantra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply. Here iam sending the code where i used my function module.&lt;/P&gt;&lt;P&gt;Kindly check this and tell me any modifications to be done.&lt;/P&gt;&lt;P&gt;But here i should not use any sql statements or commands to delete the record&lt;/P&gt;&lt;P&gt;from database table. And this is really urgent.&lt;/P&gt;&lt;P&gt;Hope u all help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u,&lt;/P&gt;&lt;P&gt;Tara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 06:19:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027620#M715930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T06:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Actions with Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027621#M715931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Srimantra,&lt;/P&gt;&lt;P&gt;Thanks for ur response and here iam sending the code where i used the function module. and i called the subroutine from sm30.&lt;/P&gt;&lt;P&gt;I should not use any sql statements or commands to delete the records from database tabels. hope u will help me out.&lt;/P&gt;&lt;P&gt;Thank u,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES p0105.&lt;/P&gt;&lt;P&gt;*data: lw_0105 type p0105.&lt;/P&gt;&lt;P&gt;TABLES: pspar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  HR_INFOTYPE_OPERATION&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM hr_infotype_operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DATA: l_it_pa0105 TYPE STANDARD TABLE OF pa0105.&lt;/P&gt;&lt;P&gt;  DATA: l_it_p0105 TYPE STANDARD TABLE OF p0105.&lt;/P&gt;&lt;P&gt;  DATA: l_p0105 TYPE p0105.&lt;/P&gt;&lt;P&gt;  DATA: wa_pa0105 TYPE pa0105.&lt;/P&gt;&lt;P&gt;  DATA: l_return TYPE bapireturn1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  break developer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM pa0105 INTO CORRESPONDING FIELDS OF l_p0105&lt;/P&gt;&lt;P&gt;  WHERE pernr EQ p0105-pernr AND&lt;/P&gt;&lt;P&gt;        subty EQ p0105-subty AND&lt;/P&gt;&lt;P&gt;        begda EQ p0105-begda AND&lt;/P&gt;&lt;P&gt;        endda EQ p0105-endda AND&lt;/P&gt;&lt;P&gt;        seqnr EQ p0105-seqnr AND&lt;/P&gt;&lt;P&gt;        objps EQ p0105-objps AND&lt;/P&gt;&lt;P&gt;        sprps EQ p0105-sprps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       infty                  = '0105'&lt;/P&gt;&lt;P&gt;       number                 = l_p0105-pernr&lt;/P&gt;&lt;P&gt;       subtype                = l_p0105-subty&lt;/P&gt;&lt;P&gt;       objectid               = l_p0105-objps&lt;/P&gt;&lt;P&gt;       lockindicator          = l_p0105-sprps&lt;/P&gt;&lt;P&gt;       validityend            = l_p0105-endda&lt;/P&gt;&lt;P&gt;       validitybegin          = l_p0105-begda&lt;/P&gt;&lt;P&gt;       recordnumber           = l_p0105-seqnr&lt;/P&gt;&lt;P&gt;       record                 = l_p0105&lt;/P&gt;&lt;P&gt;       operation              = 'DEL'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      TCLAS                  = 'A'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      NOCOMMIT               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      VIEW_IDENTIFIER        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      SECONDARY_RECORD       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      return                 = l_return.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      KEY                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  MESSAGE l_return-message TYPE 'S'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "HR_INFOTYPE_OPERATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 06:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027621#M715931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T06:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Actions with Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027622#M715932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls follow the sample code.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_INFOTYPE_OPERATION'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            INFTY          = '0002'&lt;/P&gt;&lt;P&gt;            NUMBER         = EMPLOYEENUMBER&lt;/P&gt;&lt;P&gt;            SUBTYPE        = SUBTYPE&lt;/P&gt;&lt;P&gt;            OBJECTID       = OBJECTID&lt;/P&gt;&lt;P&gt;            LOCKINDICATOR  = LOCKINDICATOR&lt;/P&gt;&lt;P&gt;            VALIDITYEND    = VALIDITYEND&lt;/P&gt;&lt;P&gt;            VALIDITYBEGIN  = VALIDITYBEGIN&lt;/P&gt;&lt;P&gt;            RECORDNUMBER   = RECORDNUMBER&lt;/P&gt;&lt;P&gt;            RECORD         = P0002&lt;/P&gt;&lt;P&gt;            OPERATION      = DELETE&lt;/P&gt;&lt;P&gt;            NOCOMMIT       = NOCOMMIT&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            RETURN         = RETURN&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS         = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change accordingly.&lt;/P&gt;&lt;P&gt;Or u can use FM BAPI_PERSDATA_DELETE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Srimanta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 06:29:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027622#M715932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T06:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Actions with Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027623#M715933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Srimanta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur suggestion and i passed the same parameters u have given tht.&lt;/P&gt;&lt;P&gt;But eventhough it is not able to delete the record.&lt;/P&gt;&lt;P&gt;I also used the bapi which u have given but i getting the same problem.&lt;/P&gt;&lt;P&gt;So through tht also i am not able to delete the record.&lt;/P&gt;&lt;P&gt;So do u know any other way, kindly help me.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2007 07:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-actions-with-function-module/m-p/3027623#M715933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-06T07:31:28Z</dc:date>
    </item>
  </channel>
</rss>

