<?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: mm02 view position in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mm02-view-position/m-p/4182422#M999775</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;open OMT3U transaction and click on view selction.there u can check the views.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jul 2008 05:29:36 GMT</pubDate>
    <dc:creator>GauthamV</dc:creator>
    <dc:date>2008-07-25T05:29:36Z</dc:date>
    <item>
      <title>mm02 view position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mm02-view-position/m-p/4182420#M999773</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;i need to know the view position for mm02 upload as it is changing for diiferent materilas ........is there any way tho find out the postion of the view depending on type of the material.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but,depending on type of material i ubsoreved for HALB type it is different for two different HALB type materials please do suggest .................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 05:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mm02-view-position/m-p/4182420#M999773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T05:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: mm02 view position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mm02-view-position/m-p/4182421#M999774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code it may be useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: begin of bildtab occurs 30.
        include structure mbildtab.
data: end of bildtab.
data: tkstatus(15),
      dispstatus like t130m-pstat.
call function 'MATERIAL_INIT'
     exporting
          tcode                = 'MM02'
          kz_berprf            = 'X'
     importing
          tkstatus             = tkstatus
     exceptions
          no_authority         = 01.
call function 'SELECTION_VIEWS_FIND'
     exporting
          bildsequenz     = '21'
          pflegestatus    =  tkstatus"mara-pstat
     tables
          bildtab         = bildtab.

*select single * from mara where matnr = p_matnr.
call function 'MARA_SINGLE_READ'
     exporting
          matnr             = ITAB-MATNR "material
     importing
          wmara             = mara
     exceptions
          lock_on_material  = 01
          lock_system_error = 02
          not_found         = 03
          others            = 04.

call function 'MARA_DUMMY_STATUS'
     exporting
          wmara_in    = mara
     importing
          wmara_out   = mara
     exceptions
          call_wrong  = 1
          imara_error = 2
          tmara_error = 3
          others      = 4.
if sy-subrc &amp;lt;&amp;gt; 0.
  message id sy-msgid type sy-msgty number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
select single * from t134 where mtart = mara-mtart.

call function 'ANZGSTATUS_SETZEN'
      exporting
           aktyp      = 'V'
           marastatus = mara-vpsta
           t134status = t134-pstat
           tkstatus   = tkstatus "mara-pstat
      importing
           anzgstatus = dispstatus
           tkbstatus  = tkstatus.

translate dispstatus using ' $'..

loop at bildtab.
  if bildtab-pstat ca dispstatus.
     if bildtab-kzanz is initial.
        bildtab-kzanz = 'X'.
        modify bildtab.
     endif.
  else.
     if not bildtab-kzanz is initial.
        clear bildtab-kzanz.
        modify bildtab.
     endif.
  endif.

ENDLOOP.
DELETE BILDTAB WHERE KZANZ = ''.
READ TABLE BILDTAB WITH KEY DYTXT = 'MRP 1'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 05:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mm02-view-position/m-p/4182421#M999774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-25T05:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: mm02 view position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mm02-view-position/m-p/4182422#M999775</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;open OMT3U transaction and click on view selction.there u can check the views.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jul 2008 05:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mm02-view-position/m-p/4182422#M999775</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-07-25T05:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: mm02 view position</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mm02-view-position/m-p/4182423#M999776</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 got the answer.....&lt;/P&gt;&lt;P&gt;we can use..&lt;/P&gt;&lt;P&gt;MATERIAL_BTCI_SELECTION_NEW fm...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 10:29:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mm02-view-position/m-p/4182423#M999776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T10:29:31Z</dc:date>
    </item>
  </channel>
</rss>

