<?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 Variable exit question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-exit-question/m-p/1919209#M382013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using BI Integrated planning for our planning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some basic questions on Customer exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two variables ZIPVAR1 and ZIPVAR2 attached to a dropdown box.&lt;/P&gt;&lt;P&gt;Both the variable should access a table where the values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;Table Variable&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;ZIPVAR1 ZIPVAR2&lt;/P&gt;&lt;P&gt;1 11&lt;/P&gt;&lt;P&gt;1 12&lt;/P&gt;&lt;P&gt;1 13&lt;/P&gt;&lt;P&gt;2 21&lt;/P&gt;&lt;P&gt;2 22&lt;/P&gt;&lt;P&gt;2 23´&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user chooses the value 1 for ZIPVAR1 then the exit must read the table&lt;/P&gt;&lt;P&gt;and bring the corresponding values ZIPVAR2 (11, 12, 13) in to dropdown box where ZIPVAR2 is assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the function module part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am bringing the values of ZIPVAR1 after the input with 'importing' and I am appending the output to a 'exporting' type .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the results in the 'exporting' type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question how does i bring the output of the program in to my variable ZIPVAR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do this!? Can you guys gimme a direction. Thanks a lot in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik Krishna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2007 11:03:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-08T11:03:19Z</dc:date>
    <item>
      <title>Variable exit question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-exit-question/m-p/1919209#M382013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using BI Integrated planning for our planning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some basic questions on Customer exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two variables ZIPVAR1 and ZIPVAR2 attached to a dropdown box.&lt;/P&gt;&lt;P&gt;Both the variable should access a table where the values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------" /&gt;&lt;P&gt;Table Variable&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------" /&gt;&lt;P&gt;ZIPVAR1 ZIPVAR2&lt;/P&gt;&lt;P&gt;1 11&lt;/P&gt;&lt;P&gt;1 12&lt;/P&gt;&lt;P&gt;1 13&lt;/P&gt;&lt;P&gt;2 21&lt;/P&gt;&lt;P&gt;2 22&lt;/P&gt;&lt;P&gt;2 23´&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user chooses the value 1 for ZIPVAR1 then the exit must read the table&lt;/P&gt;&lt;P&gt;and bring the corresponding values ZIPVAR2 (11, 12, 13) in to dropdown box where ZIPVAR2 is assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the function module part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am bringing the values of ZIPVAR1 after the input with 'importing' and I am appending the output to a 'exporting' type .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the results in the 'exporting' type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question how does i bring the output of the program in to my variable ZIPVAR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do this!? Can you guys gimme a direction. Thanks a lot in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik Krishna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 11:03:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-exit-question/m-p/1919209#M382013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T11:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Variable exit question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-exit-question/m-p/1919210#M382014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;     ZIPVAR2 variable will be a listbox so it have rows appended so it would be a like table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just look at the below code.&lt;/P&gt;&lt;P&gt; DATA : S_LISTBOX TYPE VRM_VALUE .&lt;/P&gt;&lt;P&gt;  DATA : T_LISTBOX TYPE STANDARD TABLE OF VRM_VALUE INITIAL SIZE 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  S_LISTBOX-KEY = '1' .&lt;/P&gt;&lt;P&gt;  S_LISTBOX-TEXT = 'Class/Interface' .&lt;/P&gt;&lt;P&gt;  APPEND S_LISTBOX TO T_LISTBOX .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  S_LISTBOX-KEY = '2' .&lt;/P&gt;&lt;P&gt;  S_LISTBOX-TEXT = 'Description' .&lt;/P&gt;&lt;P&gt;  APPEND S_LISTBOX TO T_LISTBOX .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  S_LISTBOX-KEY = '3' .&lt;/P&gt;&lt;P&gt;  S_LISTBOX-TEXT = 'Method' .&lt;/P&gt;&lt;P&gt;  APPEND S_LISTBOX TO T_LISTBOX .&lt;/P&gt;&lt;P&gt;  G_VRM_ID =  'ZCW_LIST-T1' .&lt;/P&gt;&lt;P&gt;*loop at t_listbox into s_listbox .&lt;/P&gt;&lt;P&gt;  SET PARAMETER ID 'AUN' FIELD SPACE.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            ID              = G_VRM_ID&lt;/P&gt;&lt;P&gt;            VALUES          = T_LISTBOX&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            ID_ILLEGAL_NAME = 1&lt;/P&gt;&lt;P&gt;            OTHERS          = 2.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have listbox in the screen with name  zcw_list-t1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where ZCW_LIST is table type and include a structure ZCW_LIST1 with field T1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your export type should a type of table type and you will tranfer the value as above  code as mention . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 13:16:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-exit-question/m-p/1919210#M382014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T13:16:40Z</dc:date>
    </item>
  </channel>
</rss>

