<?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 MONI table data encoding logic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852977#M46594</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how the MONI table data is encoded. Where can I find this information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For background, I want to extract transaction usage information from MONI. I do not want to use any SAP report for that. I want to pull data directly from MONI and do custom decoding of that data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in anticipation,&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Nitin M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Feb 2005 07:44:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-02-16T07:44:00Z</dc:date>
    <item>
      <title>MONI table data encoding logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852977#M46594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how the MONI table data is encoded. Where can I find this information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For background, I want to extract transaction usage information from MONI. I do not want to use any SAP report for that. I want to pull data directly from MONI and do custom decoding of that data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in anticipation,&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Nitin M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 07:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852977#M46594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T07:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: MONI table data encoding logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852978#M46595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume that you refer to the last field in the structure (which is a raw data field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must define a structure like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:
  begin of statx occurs 100.
      include structure mdstats.
data: mddat like mdkp-dsdat,
      ezeit like rm61x-ezeit,
      plobj like cm61x-plobj,
      puwnr like cm61x-puwnr,
      werks like cm61x-werks,
      paral like rm61x-paral,
      versl like rm61x-versl,
      plmod like rm61x-plmod,
      trmpl like rm61x-trmpl,
      uname like umd01-uname,
      btmod like am61x-flg01.
data end of statx.
data stats like mdstats.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After this you you fill the structure with data like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*--&amp;gt; Read MONI
select * from moni where relid = 'MD'
                     and srtfd &amp;gt; datum
                     and srtf2 = 0.
  catch system-exceptions conne_import_wrong_comp_type = 09.
    import cm61x-plobj cm61x-puwnr cm61x-werks
           rm61x-paral rm61x-versl rm61x stats
           uname mandt btmod
           from database moni(md) id moni-srtfd.
  endcatch.
*--&amp;gt; Use only actual client
  check mandt eq sy-mandt          "from rel 46A
     or ( mandt eq space
          and uname is initial ).  "before
  if sy-subrc = 9.
*--&amp;gt; read from 30-Structure
    perform import_30 changing stats.
  endif.
*--&amp;gt; transfer
  mddat = moni-srtfd(8).
  move-corresponding stats to statx.
  move mddat to statx-mddat.
  move rm61x-ezeit to statx-ezeit.
  move cm61x-puwnr to statx-puwnr.
  move cm61x-werks to statx-werks.
  move rm61x-paral to statx-paral.
  move rm61x-versl to statx-versl.
  move rm61x-plmod to statx-plmod.
  move rm61x-trmpl to statx-trmpl.
  move uname       to statx-uname.
  move btmod       to statx-btmod.
  move cm61x-plobj to statx-plobj.
* Number conversion
  statx-readt = statx-readt / 1000.
  statx-lotst = statx-lotst / 1000.
  statx-explt = statx-explt / 1000.
  statx-schet = statx-schet / 1000.
  statx-arbpt = statx-arbpt / 1000.
  statx-einzt = statx-einzt / 1000.
  statx-postt = statx-postt / 1000.
  statx-mdtbt = statx-mdtbt / 1000.
  statx-rqitt = statx-rqitt / 1000.
  statx-resbt = statx-resbt / 1000.
  append statx.
endselect.
*-----------------------------------
form import_30 changing stats_40 like mdstats.
  statics:
  begin of stats,
    anzmt like mdstats-anzmt,
    rtime like sy-uzeit,
    plafi like mdstats-plafi,
    plafu like mdstats-plafu,
    plafd like mdstats-plafd,
    ebani like mdstats-ebani,
    ebanu like mdstats-ebanu,
    eband like mdstats-eband,
    ebanl like mdstats-ebanl,
    resbi like mdstats-resbi,
    resbu like mdstats-resbu,
    resbd like mdstats-resbd,
    resbl like mdstats-resbl,
    mdsmi like mdstats-mdsmi,
    mdsmu like mdstats-mdsmu,
    mdsmd like mdstats-mdsmd,
    mdlpi like mdstats-mdlpi,
    mdlpu like mdstats-mdlpu,
    mdlpd like mdstats-mdlpd,
    kbedi like mdstats-kbedi,
    kbedu like mdstats-kbedu,
    kbedd like mdstats-kbedd,
    kbkoi like mdstats-kbkoi,
    kbkou like mdstats-kbkou,
    kbkod like mdstats-kbkod,
    readt like mdstats-readt,
    lotst like mdstats-lotst,
    explt like mdstats-explt,
    schet like mdstats-schet,
    postt like mdstats-postt,
  end of stats.
  clear stats_40.
  import cm61x-plobj cm61x-werks paral stats
         from database moni(md) id moni-srtfd.
   move-corresponding stats to stats_40.
endform.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually this is an excerpt from form select_data in program RMMDMONI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 08:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852978#M46595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T08:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: MONI table data encoding logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852979#M46596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that this is your first post here and would like to welcome you to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to your question, there have been some discussions on this topic in the past. So I suggest that you first try to search for the inormation that you require. Here are some of the links to some of the discussions at SDN which I thought might be relevant for your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="18949"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="12256"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="21874"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="15492"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. : Since you are a new member here, I'd like to introduce you to the SDN Points system. Please do read the weblog &lt;A href="https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/680" target="test_blank"&gt;https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/680&lt;/A&gt;. &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt; &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 09:14:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852979#M46596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T09:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: MONI table data encoding logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852980#M46597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Rob. Will see whether this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 09:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852980#M46597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T09:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: MONI table data encoding logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852981#M46598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well I do want to give points to the answer but I cant find any star button on the page. I did read the link you had given (stuff about the points).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2005 14:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852981#M46598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-16T14:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: MONI table data encoding logic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852982#M46599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you open a new thread, there's an option &amp;lt;b&amp;gt;Mark this topic as a question. And I promise to return and reward the answers&amp;lt;/b&amp;gt;, which is selected by default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that you have unchecked this option. &lt;/P&gt;&lt;P&gt;1. Please edit your first message (by clicking the pencil icon) and mark the post as a question. &lt;/P&gt;&lt;P&gt;2. Save the message.&lt;/P&gt;&lt;P&gt;3. Now again get into the thread and you will find the stars.&lt;/P&gt;&lt;P&gt;4. Reward each answer that has helped you, as you deem appropriate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, have been able to obtain the information that you needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2005 10:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/moni-table-data-encoding-logic/m-p/852982#M46599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-02-17T10:23:00Z</dc:date>
    </item>
  </channel>
</rss>

