<?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: automatically assign measuring point while saving the work order in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-assign-measuring-point-while-saving-the-work-order/m-p/11205369#M1910547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not the best approach but it could work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you declare a Field Symbol and assing the pointer to a (Program)Table/variable you can access the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following example I get the values of table JEST_BUF of the program SAPLBSVA&lt;/P&gt;&lt;P&gt;(SAPLBSVA)JEST_BUF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of t_jest.&lt;/P&gt;&lt;P&gt;&amp;nbsp; include structure jest_upd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:&lt;/P&gt;&lt;P&gt;&amp;nbsp; mod,&lt;/P&gt;&lt;P&gt;&amp;nbsp; inact_old like jest-inact,&lt;/P&gt;&lt;P&gt;&amp;nbsp; end of t_jest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; lf_text(40) type c,&lt;/P&gt;&lt;P&gt;&amp;nbsp; lt_jest type standard table of t_jest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols:&amp;nbsp; &amp;lt;ls_jest_buf&amp;gt; type any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lf_text = '(SAPLBSVA)JEST_BUF[]'.&lt;/P&gt;&lt;P&gt;assign (lf_text) to &amp;lt;ls_jest_buf&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check sy-subrc = 0.&lt;/P&gt;&lt;P&gt;lt_jest[] = &amp;lt;ls_jest_buf&amp;gt;. "now everything is in lt_jest !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So find out in wich program and table you need the info so you can access them without having the parameter available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2015 22:45:50 GMT</pubDate>
    <dc:creator>Rodrigo-Giner</dc:creator>
    <dc:date>2015-06-29T22:45:50Z</dc:date>
    <item>
      <title>automatically assign measuring point while saving the work order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-assign-measuring-point-while-saving-the-work-order/m-p/11205366#M1910544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;My requirement is automatically assign measuring point while saving the work order in IW31.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Is there is any BADI or Exit available ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 08:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-assign-measuring-point-while-saving-the-work-order/m-p/11205366#M1910544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-27T08:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: automatically assign measuring point while saving the work order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-assign-measuring-point-while-saving-the-work-order/m-p/11205367#M1910545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kalpesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, use the BADI WORKORDER_UPDATE it has 2 method AT_SAVE and IN_UPDATE in one of them you could set a value before saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 15:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-assign-measuring-point-while-saving-the-work-order/m-p/11205367#M1910545</guid>
      <dc:creator>Rodrigo-Giner</dc:creator>
      <dc:date>2015-06-27T15:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: automatically assign measuring point while saving the work order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-assign-measuring-point-while-saving-the-work-order/m-p/11205368#M1910546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rodrigo Ariel Giner de la Vega,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for quick responce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In BADI WORKORDER_UPDATE PRT allocation table contain routing number of operation and it's item, so we can not identify which measuring point number is in the operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in PRT allocation table there is no provision to create PRT using measuring point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help on same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Kalpesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 06:57:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-assign-measuring-point-while-saving-the-work-order/m-p/11205368#M1910546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-29T06:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: automatically assign measuring point while saving the work order</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-assign-measuring-point-while-saving-the-work-order/m-p/11205369#M1910547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not the best approach but it could work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you declare a Field Symbol and assing the pointer to a (Program)Table/variable you can access the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following example I get the values of table JEST_BUF of the program SAPLBSVA&lt;/P&gt;&lt;P&gt;(SAPLBSVA)JEST_BUF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of t_jest.&lt;/P&gt;&lt;P&gt;&amp;nbsp; include structure jest_upd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types:&lt;/P&gt;&lt;P&gt;&amp;nbsp; mod,&lt;/P&gt;&lt;P&gt;&amp;nbsp; inact_old like jest-inact,&lt;/P&gt;&lt;P&gt;&amp;nbsp; end of t_jest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;&amp;nbsp; lf_text(40) type c,&lt;/P&gt;&lt;P&gt;&amp;nbsp; lt_jest type standard table of t_jest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols:&amp;nbsp; &amp;lt;ls_jest_buf&amp;gt; type any table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lf_text = '(SAPLBSVA)JEST_BUF[]'.&lt;/P&gt;&lt;P&gt;assign (lf_text) to &amp;lt;ls_jest_buf&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check sy-subrc = 0.&lt;/P&gt;&lt;P&gt;lt_jest[] = &amp;lt;ls_jest_buf&amp;gt;. "now everything is in lt_jest !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So find out in wich program and table you need the info so you can access them without having the parameter available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 22:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-assign-measuring-point-while-saving-the-work-order/m-p/11205369#M1910547</guid>
      <dc:creator>Rodrigo-Giner</dc:creator>
      <dc:date>2015-06-29T22:45:50Z</dc:date>
    </item>
  </channel>
</rss>

