<?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_QPMK_SAVEREPLICA  MIC Assignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-qpmk-savereplica-mic-assignment/m-p/1436485#M208034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function BAPI_QPMK_SAVEREPLICA will create master inspection characteristics in the internal number range. There is no indicator in any of the table structures that determines internal or external number assignment. The BAPI will create master inspection characteristics in either the internal number range or the external number range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before calling the BAPI get the next internally assigned master inspection characteristic number with function NUMBER_GET_NEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: plant      like BAPIQPMK_QPMK-PLANT_QPMK,
      number     like BAPIQPMK_QPMK-MSTR_CHAR
      rc         like INRI-RETURNCODE.

call function 'NUMBER_GET_NEXT'
  exporting
    nr_range_nr = '01'
    object      = 'QMERKMALE'
    subobject   = plant
    quantity    = '1'.
  importing
    returncode  = rc     
    number      = number.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use NUMBER returned from NUMBER_GET_NEXT to set the value of MSTCHA-MSTR_CHAR for function BAPI_QPMK_SAVEREPLICA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeff Shafer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2006 21:32:02 GMT</pubDate>
    <dc:creator>jeff_shafer2</dc:creator>
    <dc:date>2006-08-01T21:32:02Z</dc:date>
    <item>
      <title>BAPI_QPMK_SAVEREPLICA  MIC Assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-qpmk-savereplica-mic-assignment/m-p/1436484#M208033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I only use external number assignment for the M.I.C. when using this BAPI? It appears so, but thought perhaps there was an indicator I missed. &lt;/P&gt;&lt;P&gt;Thanks for your help, Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 18:41:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-qpmk-savereplica-mic-assignment/m-p/1436484#M208033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T18:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_QPMK_SAVEREPLICA  MIC Assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-qpmk-savereplica-mic-assignment/m-p/1436485#M208034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function BAPI_QPMK_SAVEREPLICA will create master inspection characteristics in the internal number range. There is no indicator in any of the table structures that determines internal or external number assignment. The BAPI will create master inspection characteristics in either the internal number range or the external number range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before calling the BAPI get the next internally assigned master inspection characteristic number with function NUMBER_GET_NEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: plant      like BAPIQPMK_QPMK-PLANT_QPMK,
      number     like BAPIQPMK_QPMK-MSTR_CHAR
      rc         like INRI-RETURNCODE.

call function 'NUMBER_GET_NEXT'
  exporting
    nr_range_nr = '01'
    object      = 'QMERKMALE'
    subobject   = plant
    quantity    = '1'.
  importing
    returncode  = rc     
    number      = number.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use NUMBER returned from NUMBER_GET_NEXT to set the value of MSTCHA-MSTR_CHAR for function BAPI_QPMK_SAVEREPLICA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jeff Shafer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2006 21:32:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-qpmk-savereplica-mic-assignment/m-p/1436485#M208034</guid>
      <dc:creator>jeff_shafer2</dc:creator>
      <dc:date>2006-08-01T21:32:02Z</dc:date>
    </item>
  </channel>
</rss>

