<?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_OBJCL_CHANGE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change/m-p/904136#M55768</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;Try to use FM BAPI_OBJCL_GETDETAIL to read characteristics for one of your existing objects which contain characteristic with date type.&lt;/P&gt;&lt;P&gt;You will see in which table and in which format this value will be stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krzys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2005 21:50:52 GMT</pubDate>
    <dc:creator>krzysztof_konitz4</dc:creator>
    <dc:date>2005-06-21T21:50:52Z</dc:date>
    <item>
      <title>BAPI_OBJCL_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change/m-p/904135#M55767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing a big problem while using BAPI_OBJCL_CHANGE for updation og characteristic VALUE for time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to function module documentation Numeric, time, and date characteristics are transferred to table AllocValuesNumNew in the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I want to say update the value to 11:30:00 where do I pass this field to AllocValuesNumNew because there is no specific field for time in that structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two fields we can use for updation of time fild in the structure are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Value_From&lt;/P&gt;&lt;P&gt;2) Value_to&lt;/P&gt;&lt;P&gt;My code is given as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTPROBLEM.&lt;/P&gt;&lt;P&gt;Data: T_ALLOCVALUESCHARNEW type standard table of&lt;/P&gt;&lt;P&gt;      BAPI1003_ALLOC_VALUES_CHAR,&lt;/P&gt;&lt;P&gt;      TE_ALLOCVALUESCHARNEW type &lt;/P&gt;&lt;P&gt;      BAPI1003_ALLOC_VALUES_CHAR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      T_ALLOCVALUESNUMNEW type standard table of&lt;/P&gt;&lt;P&gt;      BAPI1003_ALLOC_VALUES_NUM,&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;TE_ALLOCVALUESNUMNEW type BAPI1003_ALLOC_VALUES_NUM,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_ALLOCVALUESCURRNEW type standard table of&lt;/P&gt;&lt;P&gt;BAPI1003_ALLOC_VALUES_CURR,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T_RETURN type standard table of BAPIRET2,&lt;/P&gt;&lt;P&gt;TE_RETURN type BAPIRET2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CHARACT is a component of BAPI1003_ALLOC_VALUES_CHAR &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Structure.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TE_ALLOCVALUESNUMNEW-charact = 'Z_SLED_AREA1'.&lt;/P&gt;&lt;P&gt;append TE_ALLOCVALUESNUMNEW to T_ALLOCVALUESNUMNEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Value_Char is a component of &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BAPI1003_ALLOC_VALUES_CHAR Structure.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TE_ALLOCVALUESNUMNEW-VALUE_FROM = '1.130000000000000E+05'.&lt;/P&gt;&lt;P&gt;append TE_ALLOCVALUESNUMNEW to T_ALLOCVALUESNUMNEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TE_ALLOCVALUESNUMNEW-VALUE_TO = '1.230000000000000E+05'.&lt;/P&gt;&lt;P&gt;append TE_ALLOCVALUESNUMNEW to T_ALLOCVALUESNUMNEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_OBJCL_CHANGE'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    OBJECTKEY                = '00000000000000079720100000000147'&lt;/P&gt;&lt;P&gt;    OBJECTTABLE              = 'MCHA'&lt;/P&gt;&lt;P&gt;    CLASSNUM                 = 'Z_SLED_DEMO'&lt;/P&gt;&lt;P&gt;    CLASSTYPE                = '022'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STATUS                   = '1'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STANDARDCLASS            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CHANGENUMBER             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  KEYDATE                  = SY-DATUM&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_DEFAULT_VALUES        = ' '&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;  CLASSIF_STATUS           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    ALLOCVALUESNUMNEW       = T_ALLOCVALUESNUMNEW&lt;/P&gt;&lt;P&gt;    ALLOCVALUESCHARNEW      = T_ALLOCVALUESCHARNEW&lt;/P&gt;&lt;P&gt;    ALLOCVALUESCURRNEW      = T_ALLOCVALUESCURRNEW&lt;/P&gt;&lt;P&gt;    RETURN                  = T_RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      WAIT          =&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;      RETURN        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me how do I append the time values in the internal table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2005 21:11:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change/m-p/904135#M55767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-21T21:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_CHANGE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change/m-p/904136#M55768</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;Try to use FM BAPI_OBJCL_GETDETAIL to read characteristics for one of your existing objects which contain characteristic with date type.&lt;/P&gt;&lt;P&gt;You will see in which table and in which format this value will be stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krzys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2005 21:50:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-change/m-p/904136#M55768</guid>
      <dc:creator>krzysztof_konitz4</dc:creator>
      <dc:date>2005-06-21T21:50:52Z</dc:date>
    </item>
  </channel>
</rss>

