<?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: Help w/ABAP code during Packing Instruction Determination in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489365#M1745879</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You choose the worst &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1474/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you try the break-point in your routine to see if the KOMGP or XKOMGP is readable ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not try &lt;/P&gt;&lt;P&gt;data : w_field type char20.&lt;/P&gt;&lt;P&gt;field-symbols &amp;lt;KOMGP&amp;gt; type table of KOMGP. "I'm not sure about this declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move '(SAPLV61P)KOMGP' to w_field&lt;/P&gt;&lt;P&gt;assign (w_field) to &amp;lt;KOMGP&amp;gt;.&lt;/P&gt;&lt;P&gt;check sy-subrc eq space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&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;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 18:28:24 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2013-05-21T18:28:24Z</dc:date>
    <item>
      <title>Help w/ABAP code during Packing Instruction Determination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489362#M1745876</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 write some logic during out Packing Instruction Determination routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have all of the Config done and we have created requirement 901.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am coding in FORM KOBED_901 and FORM KOBEV_901.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is this:&amp;nbsp; How do I gain access to the data at this point.&amp;nbsp; I have found other code that looks like this in another requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;data&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;ex_komgp &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;komgp&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;import &lt;/SPAN&gt;komgp &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;ex_komgp &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;memory &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SAPLVHUPO01'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;but this does not get me access to anything in ex_komgp after the import statement has executed.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please direct me as to how to gain access to the internal variable/data at this point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope that question makes sense...thanks for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 14:56:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489362#M1745876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-21T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ABAP code during Packing Instruction Determination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489363#M1745877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sometimes, you could see it in debug. &lt;/P&gt;&lt;P&gt;standard debug --&amp;gt; call stack &lt;/P&gt;&lt;P&gt;go to the calling of the routine or just before, you will see the tables / structure in parameters. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or worst go in standard debugger --&amp;gt; menu Goto --&amp;gt; System Areas --&amp;gt; Abap memory (and find a table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or worst worst .... (again one time: worst)&amp;nbsp; (PROGRAM)table[]&lt;/P&gt;&lt;P&gt;with this you could access any table of the calling area, you have to put the programme name between () ... &lt;/P&gt;&lt;P&gt;&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;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 16:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489363#M1745877</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2013-05-21T16:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ABAP code during Packing Instruction Determination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489364#M1745878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the information...very helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to find the data in the KOMGP table in the previous program (SAPLV61P) in the call stack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea why this will not allow me access to the data from my ABAP code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;data&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;ex_komgp &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;komgp&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;import &lt;/SPAN&gt;komgp &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;ex_komgp &lt;SPAN class="L0S52"&gt;from &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;memory &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;id &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SAPLVHUPO01'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;I tried using '&lt;/SPAN&gt;&lt;/SPAN&gt;SAPLV61P' and 'SAPLV61P901' in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 17:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489364#M1745878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-21T17:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ABAP code during Packing Instruction Determination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489365#M1745879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You choose the worst &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1474/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you try the break-point in your routine to see if the KOMGP or XKOMGP is readable ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not try &lt;/P&gt;&lt;P&gt;data : w_field type char20.&lt;/P&gt;&lt;P&gt;field-symbols &amp;lt;KOMGP&amp;gt; type table of KOMGP. "I'm not sure about this declaration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move '(SAPLV61P)KOMGP' to w_field&lt;/P&gt;&lt;P&gt;assign (w_field) to &amp;lt;KOMGP&amp;gt;.&lt;/P&gt;&lt;P&gt;check sy-subrc eq space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&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;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 18:28:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489365#M1745879</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2013-05-21T18:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help w/ABAP code during Packing Instruction Determination</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489366#M1745880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fred...thank you very much for this info.&amp;nbsp; You got me very close and I was able to get it setup for my specific situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my final code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;data w_field &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;char20&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;FIELD-SYMBOLS &lt;/SPAN&gt;&amp;lt;x_likp&amp;gt; &lt;SPAN class="L0S52"&gt;type &lt;/SPAN&gt;likpvb&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;move &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'(SAPMV50A)XLIKP' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;w_field&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ASSIGN &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;w_field&lt;SPAN class="L0S55"&gt;) &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;&amp;lt;x_likp&amp;gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Thank you again...could never have gotten this without your help!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Andy&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 12:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-w-abap-code-during-packing-instruction-determination/m-p/9489366#M1745880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-22T12:35:08Z</dc:date>
    </item>
  </channel>
</rss>

