<?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: Modify Std. code to get value for User Exit. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164512#M121432</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;Thanks for your quick replies. I wrote code below in my exit. But I am getting Compilation error at following line ( In Bold )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_name(50).&lt;/P&gt;&lt;P&gt;DATA: my_tkomv TYPE TABLE OF komv.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FIELD-SYMBOLS: &amp;lt;tkomv&amp;gt; type standard table of komv.&amp;lt;/b&amp;gt;l_name = '(SAPMMM06E)TKOMV[]'.&lt;/P&gt;&lt;P&gt;ASSIGN (l_name) TO &amp;lt;tkomv&amp;gt;.&lt;/P&gt;&lt;P&gt;my_tkomv[] = &amp;lt;tkomv&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	"," expected after "TABLE".		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know whether TYPE TABLE OF is correct or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be glad If I get some further help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jan 2006 12:09:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-16T12:09:39Z</dc:date>
    <item>
      <title>Modify Std. code to get value for User Exit.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164509#M121429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am executing release strategry at user exit EXIT_SAPLEBND_002  ( Exit Name M06E0004 ), for the field ( USRN1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has got user program ZXM06U22 in it. In this exit I get values from I_CEKKO , IT_BEKPO, IT_BEKET, IT_EKKNU&lt;/P&gt;&lt;P&gt;and I have to pass the PO value from these structures to E_CEKKO-USRN1   ( This field has set in SPRO setting ) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the PO value as per standard calculation in the field IT_BEKPO-EFFWR , I also get a value in I_CEKKO-GNETW. However not one of both these values satisfy any one of my conditions. My document condition is defined in SPRO as ZVPA and values against it is calculated considering Taxes On PO. The fields EFFWR or GNETW does not include taxes. And my release startegy should get executed after considering the amount with taxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After debugging a lot I have found that the PO_AMOUNT can be obtained from the Internal Table TKOMV. In this it is stored at TKOMV-KAWRT. I can get the TKOMV values at the point where this user-exit is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. in program MM06EF0S_STRATEGIE_CEKKO    in the last you can see the call to user exit wriiten as below&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'EXIT_SAPLEBND_002'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_cekko  = cekko&lt;/P&gt;&lt;P&gt;        it_bekpo = pot[]&lt;/P&gt;&lt;P&gt;        it_beket = ett[]&lt;/P&gt;&lt;P&gt;        it_ekknu = knt[]&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        e_cekko  = cekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I put the debugger on  CALL FUNCTION 'EXIT_SAPLEBND_002 and go to TABLES tab and enter there 'TKOMV'&lt;/P&gt;&lt;P&gt;I can get the table and it's values. However If I press F5 then I go inside my exit code i.e. ZXM06U22. But Here I Don't Get access to the internal table TKOMV , which is  accessible from main calling program MM06EF0S_STRATEGIE_CEKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My job can be done if I get value from TKOMV inside the code of ZXM06U22. However to get that code in ZXM06U22 what right now I can do is to get the access key of MM06EF0S_STRATEGIE_CEKKO and write code before exit Call and pass the ZVPA from TKOMV there. However many people here advised me not to do that since it is a STANDARD CODE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I would like to know your suggestion in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 10:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164509#M121429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T10:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Std. code to get value for User Exit.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164510#M121430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this : (MM06EF0S_STRATEGIE_CEKKO)tkomv, that will give you the value of the TKOMV table in the program MM06EF0S_STRATEGIE_CEKKO (must be in memory)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgd&lt;/P&gt;&lt;P&gt;Frédéric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(made an error :  (program_name)table_name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 10:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164510#M121430</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-01-16T10:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Std. code to get value for User Exit.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164511#M121431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the customer function add the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: l_name(50).
data: my_tkomv type table of komv.

  FIELD-SYMBOLS: &amp;lt;tkomv&amp;gt; TYPE table of komv.

  l_name = '(SAPMMM06E)TKOMV[]'.

  ASSIGN (l_name) TO &amp;lt;tkomv&amp;gt;.

  my_tkomv[] = &amp;lt;tkomv&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didnt tried this with table yet, but it worked for me with workareas. Try entering (SAPMMM06E)TKOMV[] while debugging also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 10:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164511#M121431</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T10:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Std. code to get value for User Exit.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164512#M121432</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;Thanks for your quick replies. I wrote code below in my exit. But I am getting Compilation error at following line ( In Bold )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_name(50).&lt;/P&gt;&lt;P&gt;DATA: my_tkomv TYPE TABLE OF komv.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;FIELD-SYMBOLS: &amp;lt;tkomv&amp;gt; type standard table of komv.&amp;lt;/b&amp;gt;l_name = '(SAPMMM06E)TKOMV[]'.&lt;/P&gt;&lt;P&gt;ASSIGN (l_name) TO &amp;lt;tkomv&amp;gt;.&lt;/P&gt;&lt;P&gt;my_tkomv[] = &amp;lt;tkomv&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	"," expected after "TABLE".		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know whether TYPE TABLE OF is correct or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be glad If I get some further help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 12:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164512#M121432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T12:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Std. code to get value for User Exit.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164513#M121433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, my fault. try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: l_name(50).&lt;/P&gt;&lt;P&gt;DATA: my_tkomv TYPE TABLE OF komv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;tkomv&amp;gt; type table.&lt;/P&gt;&lt;P&gt;l_name = '(SAPMMM06E)TKOMV[]'.&lt;/P&gt;&lt;P&gt;ASSIGN (l_name) TO &amp;lt;tkomv&amp;gt;.&lt;/P&gt;&lt;P&gt;my_tkomv[] = &amp;lt;tkomv&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But dont forget to check also, that (SAPMMM06E)TKOMV[] is accessible via debugger right before customer function call. Just to be sure that the access to TKOMV will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 12:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164513#M121433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T12:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Std. code to get value for User Exit.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164514#M121434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this out...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: l_name(50).
DATA: my_tkomv TYPE TABLE OF komv.
DATA: itabref.


TYPES:
      itabtype TYPE STANDARD TABLE OF komv WITH DEFAULT KEY.


FIELD-SYMBOLS:
      &amp;lt;tkomv&amp;gt; TYPE itabtype.

l_name = '(SAPMMM06E)TKOMV[]'.
ASSIGN (l_name) TO &amp;lt;tkomv&amp;gt;.
my_tkomv[] = &amp;lt;tkomv&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2006 12:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164514#M121434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-16T12:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Std. code to get value for User Exit.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164515#M121435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rene, Wenceslaus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working fine. This syntax was absolutely new for me.&lt;/P&gt;&lt;P&gt;Especially lines below were something that I have never used uptil now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  l_name = '(SAPLMEPO)TKOMV[]'.&lt;/P&gt;&lt;P&gt;  ASSIGN (l_name) TO &amp;lt;tkomv&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2006 10:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164515#M121435</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-17T10:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Std. code to get value for User Exit.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164516#M121436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrong to post&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Fabrizio Ballante&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Fabrizio Ballante&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2006 12:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164516#M121436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-17T12:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Modify Std. code to get value for User Exit.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164517#M121437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not get what you say FAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2006 06:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-std-code-to-get-value-for-user-exit/m-p/1164517#M121437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-18T06:19:16Z</dc:date>
    </item>
  </channel>
</rss>

