<?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_GETDETAIL inquiry in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-getdetail-inquiry/m-p/7402400#M1547002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not that i know of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But: you can read the characteristics as defined for the class. And then you can check the results of the function against the characteristics you read from the class (or the other way around). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way you can determine if a batch characteristic is filled (present) or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Oct 2010 09:11:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-21T09:11:51Z</dc:date>
    <item>
      <title>BAPI_OBJCL_GETDETAIL inquiry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-getdetail-inquiry/m-p/7402399#M1547001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement that needs to update and fill values of batches that doesn't have values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble looking for a related BAPI to call batches that doesn't have value in MSC3N. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this BAPI BAPI_OBJCL_GETDETAIL, it only retrieves under table parameters allocvaluenum, allocvaluechar etc, where fields in MSC3N have value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any related BAPI that captures blank values in batches? Here's my sample coding below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    lw_table         = 'MCH1'.&lt;/P&gt;&lt;P&gt;    lw_class         = '023'.&lt;/P&gt;&lt;P&gt;    lw_class_desc    = 'BA_PAPER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        objectkey       = lw_objectkey&lt;/P&gt;&lt;P&gt;        objecttable     = lw_table&lt;/P&gt;&lt;P&gt;        classnum        = lw_class_desc&lt;/P&gt;&lt;P&gt;        classtype       = lw_class&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        allocvaluesnum  = li_num&lt;/P&gt;&lt;P&gt;        allocvalueschar = li_char&lt;/P&gt;&lt;P&gt;        allocvaluescurr = li_curr&lt;/P&gt;&lt;P&gt;        return          = li_bapiret2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes: lw_objectkey = concatenated matnr and batch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your &amp;lt;impatient vocabulary removed by moderator&amp;gt; feedback here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aura&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Oct 21, 2010 12:56 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 08:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-getdetail-inquiry/m-p/7402399#M1547001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-21T08:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_GETDETAIL inquiry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-getdetail-inquiry/m-p/7402400#M1547002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not that i know of.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But: you can read the characteristics as defined for the class. And then you can check the results of the function against the characteristics you read from the class (or the other way around). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way you can determine if a batch characteristic is filled (present) or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 09:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-getdetail-inquiry/m-p/7402400#M1547002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-21T09:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_OBJCL_GETDETAIL inquiry</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-getdetail-inquiry/m-p/7402401#M1547003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your comment. It was helpful, but after series of tests, I've found out the solution. For the sake of others, here's what I've done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just flagged the UNVALUATED_CHARS in exporting and bravo, it selects all batch characteristics w/ or w/o value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;objectkey = lw_objectkey&lt;/P&gt;&lt;P&gt;objecttable = lw_table&lt;/P&gt;&lt;P&gt;classnum = lw_class_desc&lt;/P&gt;&lt;P&gt;classtype = lw_class&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;unvalueted_chars = 'X'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;allocvaluesnum = li_num&lt;/P&gt;&lt;P&gt;allocvalueschar = li_char&lt;/P&gt;&lt;P&gt;allocvaluescurr = li_curr&lt;/P&gt;&lt;P&gt;return = li_bapiret2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again SDN!&lt;/P&gt;&lt;P&gt;Aura&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aura Yu on Oct 23, 2010 11:49 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Oct 2010 21:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-objcl-getdetail-inquiry/m-p/7402401#M1547003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-23T21:49:01Z</dc:date>
    </item>
  </channel>
</rss>

