<?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: BAPI_BATCH_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660044#M613587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT ZUPDATE_TEST2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: &lt;/P&gt;&lt;P&gt;T_BATCHATTRIBUTES type standard table of BAPIBATCHATT,&lt;/P&gt;&lt;P&gt;TE_BATCHATTRIBUTES type BAPIBATCHATT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*EXPIRYDATE is a component of BAPIBATCHATT Structure.&lt;/P&gt;&lt;P&gt;TE_BATCHATTRIBUTES-EXPIRYDATE = &amp;#145;11/03/2005&amp;#146;.&lt;/P&gt;&lt;P&gt;append TE_BATCHATTRIBUTES to T_BATCHATTRIBUTES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_BATCHATTRIBUTESX type standard table of BAPIBATCHATTX,&lt;/P&gt;&lt;P&gt;TE_BATCHATTRIBUTESX type BAPIBATCHATTX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*EXPIRYDATE is a component of BAPIBATCHATTX Structure.&lt;/P&gt;&lt;P&gt;TE_BATCHATTRIBUTESX-EXPIRYDATE = 'X'.&lt;/P&gt;&lt;P&gt;append TE_BATCHATTRIBUTESX to T_BATCHATTRIBUTESX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_BATCH_CHANGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;MATERIAL = 'AF126-2_DEMO'&lt;/P&gt;&lt;P&gt;BATCH = '0000000147'&lt;/P&gt;&lt;P&gt;PLANT = '2010'&lt;/P&gt;&lt;P&gt;BATCHATTRIBUTES = T_BATCHATTRIBUTES&lt;/P&gt;&lt;P&gt;BATCHATTRIBUTESX = T_BATCHATTRIBUTESX.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BATCHCONTROLFIELDS =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INTERNALNUMBERCOM =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXTENSION1 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MATERIAL_EVG =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BATCHATTRIBUTES =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2007 21:29:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-21T21:29:49Z</dc:date>
    <item>
      <title>BAPI_BATCH_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660042#M613585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody, I am trying to modificate the expiration date of a batch of a material with the BAPI_BATCH_CHANGE function module, in the se37 transaction it works fine, but when i use it in the program the system show me a run time error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors         CALL_FUNCTION_CONFLICT_LENG&lt;/P&gt;&lt;P&gt;Except.                CX_SY_DYN_CALL_ILLEGAL_TYPE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I think that the types are ok, somebody had the same problem? Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 21:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660042#M613585</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T21:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BATCH_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660043#M613586</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; when you are passing parameters tot his bapi ensure that the data type of the parameters that you are passing is same as the data type in the bapi definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to se37 and see the data type of each and every import, export parameter and use the same type in ur program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 21:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660043#M613586</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T21:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BATCH_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660044#M613587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT ZUPDATE_TEST2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data: &lt;/P&gt;&lt;P&gt;T_BATCHATTRIBUTES type standard table of BAPIBATCHATT,&lt;/P&gt;&lt;P&gt;TE_BATCHATTRIBUTES type BAPIBATCHATT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*EXPIRYDATE is a component of BAPIBATCHATT Structure.&lt;/P&gt;&lt;P&gt;TE_BATCHATTRIBUTES-EXPIRYDATE = &amp;#145;11/03/2005&amp;#146;.&lt;/P&gt;&lt;P&gt;append TE_BATCHATTRIBUTES to T_BATCHATTRIBUTES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_BATCHATTRIBUTESX type standard table of BAPIBATCHATTX,&lt;/P&gt;&lt;P&gt;TE_BATCHATTRIBUTESX type BAPIBATCHATTX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*EXPIRYDATE is a component of BAPIBATCHATTX Structure.&lt;/P&gt;&lt;P&gt;TE_BATCHATTRIBUTESX-EXPIRYDATE = 'X'.&lt;/P&gt;&lt;P&gt;append TE_BATCHATTRIBUTESX to T_BATCHATTRIBUTESX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_BATCH_CHANGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;MATERIAL = 'AF126-2_DEMO'&lt;/P&gt;&lt;P&gt;BATCH = '0000000147'&lt;/P&gt;&lt;P&gt;PLANT = '2010'&lt;/P&gt;&lt;P&gt;BATCHATTRIBUTES = T_BATCHATTRIBUTES&lt;/P&gt;&lt;P&gt;BATCHATTRIBUTESX = T_BATCHATTRIBUTESX.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BATCHCONTROLFIELDS =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;INTERNALNUMBERCOM =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXTENSION1 =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MATERIAL_EVG =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BATCHATTRIBUTES =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 21:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660044#M613587</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T21:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BATCH_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660045#M613588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you checked that the parameters that your are passing to the FM are the same as in SE37?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Blag.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 21:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660045#M613588</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T21:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BATCH_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660046#M613589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that the parameters that i am using are ok, see the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT yff_pruebas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_batchattributes TYPE STANDARD TABLE OF bapibatchatt,&lt;/P&gt;&lt;P&gt;      te_batchattributes TYPE bapibatchatt,&lt;/P&gt;&lt;P&gt;      t_batchattributesx TYPE STANDARD TABLE OF bapibatchattx,&lt;/P&gt;&lt;P&gt;      te_batchattributesx TYPE bapibatchattx.&lt;/P&gt;&lt;P&gt;DATA: wt_ret  TYPE bapiret2 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      w_lines TYPE i,&lt;/P&gt;&lt;P&gt;      w_bapibatchatt TYPE bapibatchatt,&lt;/P&gt;&lt;P&gt;      wa_bapibatchatt TYPE bapibatchatt,&lt;/P&gt;&lt;P&gt;      w_matnr TYPE matnr,&lt;/P&gt;&lt;P&gt;      w_charg LIKE lqua-charg,&lt;/P&gt;&lt;P&gt;      w_fecha type vfdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;w_fecha = sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;te_batchattributes-expirydate = w_fecha.&lt;/P&gt;&lt;P&gt;APPEND te_batchattributes TO t_batchattributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;te_batchattributesx-expirydate = 'X'.&lt;/P&gt;&lt;P&gt;APPEND te_batchattributesx TO t_batchattributesx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_BATCH_CHANGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    material         = w_matnr&lt;/P&gt;&lt;P&gt;    batch            = w_charg&lt;/P&gt;&lt;P&gt;    batchattributes  = t_batchattributes&lt;/P&gt;&lt;P&gt;    batchattributesx = t_batchattributesx&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    batchattributes  = wa_bapibatchatt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2007 13:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660046#M613589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-22T13:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_BATCH_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660047#M613590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2008 14:39:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-batch-change/m-p/2660047#M613590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-29T14:39:00Z</dc:date>
    </item>
  </channel>
</rss>

