<?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: ARBPL from Object ID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003491#M77086</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Tushar - this was just a code snippet from one of my programs. NOTIF_INT is a table of notifications from VIQMEL. It includes the notification number (QMNUM) and work center object number (ARBPL). I think you're more interested in the orders (ORDER_INT) which come from CAUFV and include the order number (AUFNR) and work center object number (GEWRK) which I get from VAFILOA as shown in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tushar - did any of this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Aug 2005 19:16:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-17T19:16:24Z</dc:date>
    <item>
      <title>ARBPL from Object ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003485#M77080</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 want to find the &amp;lt;b&amp;gt;work center(ARBPL)&amp;lt;/b&amp;gt; data for a particular Operation number(VORNR) of an order numebr(AUFNR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table which I know which has ARBPL field is CRHD. &lt;/P&gt;&lt;P&gt;Can anyone help me out if he knows the tables I should use for getting ARBPL based on above criteria ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tushar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 16:34:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003485#M77080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-17T16:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: ARBPL from Object ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003486#M77081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried AFRU?  This table ties the confirmations to the production order.  VORNR and ARBPL are both in this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 16:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003486#M77081</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-17T16:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: ARBPL from Object ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003487#M77082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Odd - I did exactly this earlier in the week:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: BEGIN OF arbpl_desc OCCURS 0,
        arbpl_o  LIKE viqmel-arbpl,
        arbpl    LIKE crhd-arbpl,
        werks    LIKE crhd-werks,
        ktext_up LIKE crtx-ktext_up,
      END   OF arbpl_desc.

  LOOP AT notif_int.
    arbpl_desc-arbpl_o = notif_int-arbpl.
    APPEND arbpl_desc.
  ENDLOOP.

  SORT arbpl_desc BY arbpl_o.
  DELETE ADJACENT DUPLICATES FROM arbpl_desc.

  LOOP AT arbpl_desc.
    SELECT SINGLE h~arbpl h~werks t~ktext_up
           FROM   crhd AS h JOIN crtx AS t
             ON   h~objty = t~objty
            AND   h~objid = t~objid
           INTO   (arbpl_desc-arbpl, arbpl_desc-werks,
                   arbpl_desc-ktext_up)
           WHERE  h~objty = 'A'
           AND    h~objid = arbpl_desc-arbpl_o
           AND    t~spras = sy-langu.
    IF sy-subrc &amp;lt;&amp;gt; 0.
      CLEAR: arbpl_desc-arbpl,
             arbpl_desc-werks,
             arbpl_desc-ktext_up.
    ENDIF.
    MODIFY arbpl_desc.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry - I thought you already had the object number. Try:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  loop at order_int.
    clear arbpl_desc.
    select  single gewrk
      from  vafiloa
      into  arbpl_desc-arbpl_o
      where aufnr  = order_int-aufnr.
    if sy-subrc = 0.
      append arbpl_desc.
      order_int-gewrk = arbpl_desc-arbpl_o.
      modify order_int.
    endif.
  endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 16:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003487#M77082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-17T16:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: ARBPL from Object ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003488#M77083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The data element for object ID in AFRU is OBJEKTID and actually I am looking for an Object ID with data element CR_OBJID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tushar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 17:30:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003488#M77083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-17T17:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: ARBPL from Object ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003489#M77084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I mean AFRV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 17:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003489#M77084</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-17T17:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: ARBPL from Object ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003490#M77085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;Can you tell me how and where we define notif_int ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tushar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 18:47:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003490#M77085</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-17T18:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: ARBPL from Object ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003491#M77086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Tushar - this was just a code snippet from one of my programs. NOTIF_INT is a table of notifications from VIQMEL. It includes the notification number (QMNUM) and work center object number (ARBPL). I think you're more interested in the orders (ORDER_INT) which come from CAUFV and include the order number (AUFNR) and work center object number (GEWRK) which I get from VAFILOA as shown in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tushar - did any of this help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rob Burbank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2005 19:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003491#M77086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-17T19:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: ARBPL from Object ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003492#M77087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am not from this line, but i think i can give small suggestion, ignore it if not suitable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried F1 on that field and then click technical detail, it might show some structure or table,&lt;/P&gt;&lt;P&gt;if it show some structure , copy that structure and paste in se11. then click where used list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this way you might be able to find what you are looking for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just a try.but not sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2005 15:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003492#M77087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-18T15:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: ARBPL from Object ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003493#M77088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Thanks for your answers but I solved it myself like this:&lt;/P&gt;&lt;P&gt;Like this we can find OBject ID for querying on ARBPL using AUFNR and VORNR. But we have to use table CRHD, AFKO and most importantly the &amp;lt;b&amp;gt;view called V_QAPO.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE CRHD~ARBPL&lt;/P&gt;&lt;P&gt;FROM AFKO&lt;/P&gt;&lt;P&gt;INNER JOIN V_QAPO ON V_QAPO&lt;SUB&gt;AUFPL = AFKO&lt;/SUB&gt;AUFPL&lt;/P&gt;&lt;P&gt;INNER JOIN CRHD ON CRHD&lt;SUB&gt;OBJID = V_QAPO&lt;/SUB&gt;ARBID&lt;/P&gt;&lt;P&gt;INTO XARBPL&lt;/P&gt;&lt;P&gt;WHERE AFKO~AUFNR = '007200000059'&lt;/P&gt;&lt;P&gt;AND V_QAPO~VORNR = '0010'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2005 16:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/arbpl-from-object-id/m-p/1003493#M77088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-18T16:33:42Z</dc:date>
    </item>
  </channel>
</rss>

