<?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: Urgent help: parameter passing......... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865501#M364910</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;you have to set SAP memory for that parameters..&lt;/P&gt;&lt;P&gt;and then call the transaction code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SET PARAMETER ID 'XXX' FIELD var1.
SET PARAMETER ID 'YYY' FIELD var2.
SET PARAMETER ID 'ZZZ' FIELD var3.

CALL TRANSACTION 'VL74' AND SKIP FIRST SCREEN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;description:&lt;/P&gt;&lt;P&gt;you can get the PARAMETER ID for a field by clicking F1, go to Techical settings. Double click on the data element. Go to 'Further Characteristics'. You can find PARAMETER ID there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;NAC is the PARAMETER ID for 'Output Type' of t-code VL74.&lt;/P&gt;&lt;P&gt;And the value you want to pass into that field is '0001'.&lt;/P&gt;&lt;P&gt;so you can code as&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: KSCHL type NA_KSCHL.
KSCHL = '0001'
SET PARAMETER ID 'NAC' FIELD kschl.
--
--
--
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly set the PARAMETER ID for other fields also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2007 08:49:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-23T08:49:47Z</dc:date>
    <item>
      <title>Urgent help: parameter passing.........</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865500#M364909</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;I want to pass 5 parameters from a module-pool program to a transaction 'VL74'.&lt;/P&gt;&lt;P&gt;i.e. on a certain user-action 5 parameters from the calling program will fill-up the select-options of the called transaction 'VL74'. Can anybody suggest how to implement this. A bit of coding will be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mainak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 08:46:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865500#M364909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help: parameter passing.........</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865501#M364910</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;you have to set SAP memory for that parameters..&lt;/P&gt;&lt;P&gt;and then call the transaction code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SET PARAMETER ID 'XXX' FIELD var1.
SET PARAMETER ID 'YYY' FIELD var2.
SET PARAMETER ID 'ZZZ' FIELD var3.

CALL TRANSACTION 'VL74' AND SKIP FIRST SCREEN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;description:&lt;/P&gt;&lt;P&gt;you can get the PARAMETER ID for a field by clicking F1, go to Techical settings. Double click on the data element. Go to 'Further Characteristics'. You can find PARAMETER ID there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example:&lt;/P&gt;&lt;P&gt;NAC is the PARAMETER ID for 'Output Type' of t-code VL74.&lt;/P&gt;&lt;P&gt;And the value you want to pass into that field is '0001'.&lt;/P&gt;&lt;P&gt;so you can code as&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: KSCHL type NA_KSCHL.
KSCHL = '0001'
SET PARAMETER ID 'NAC' FIELD kschl.
--
--
--
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly set the PARAMETER ID for other fields also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 08:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865501#M364910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help: parameter passing.........</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865502#M364911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mainak&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can find parameter-id's for all the 5 fields go by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PARAMETER ID &amp;lt;pid&amp;gt; FIELD &amp;lt;val&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As VL74 is a report transaction, you can use the approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT SD70AV6A 
  WITH KSCHL = &amp;lt;kschl&amp;gt;
  ....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives you an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 08:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865502#M364911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help: parameter passing.........</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865503#M364912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;submit... WITH SELECTION-TABLE seltab &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;seltab is an internal table with the structure RSPARAMS. &lt;/P&gt;&lt;P&gt;This variant allows you to set the names and contents of the parameters and selection options dynamically at runtime. &lt;/P&gt;&lt;P&gt;You can use the function module RS_REFRESH_FROM_SELECTOPTIONS to read the contents of the parameters and selection options of the current program into an internal table seltab with the structure RSPARAMS. By using SUBMIT ... WITH SELECTION-TABLE seltab, you can then pass these values on directly. &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fetch all the fields into an internal table structure RSPARAMS and then use this command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seee if this can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 08:51:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865503#M364912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help: parameter passing.........</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865504#M364913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;        Check this out .&lt;/P&gt;&lt;P&gt;A sample program &lt;/P&gt;&lt;P&gt;First get the program for VL74 thru tstc and popluate in report1 or hard code the program name .&lt;/P&gt;&lt;P&gt;Program accessed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT report1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA text(10) TYPE c. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF SCREEN 1100. &lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS: selcrit1 FOR text, &lt;/P&gt;&lt;P&gt;                  selcrit2 FOR text. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF SCREEN 1100. &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;&lt;/P&gt;&lt;P&gt;Calling program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT report2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: text(10)   TYPE c, &lt;/P&gt;&lt;P&gt;      rspar_tab  TYPE TABLE OF rsparams, &lt;/P&gt;&lt;P&gt;      rspar_line LIKE LINE OF rspar_tab, &lt;/P&gt;&lt;P&gt;      range_tab  LIKE RANGE OF text, &lt;/P&gt;&lt;P&gt;      range_line LIKE LINE OF range_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rspar_line-selname = 'SELCRIT1'. &lt;/P&gt;&lt;P&gt;rspar_line-kind    = 'S'. &lt;/P&gt;&lt;P&gt;rspar_line-sign    = 'I'. &lt;/P&gt;&lt;P&gt;rspar_line-option  = 'EQ'. &lt;/P&gt;&lt;P&gt;rspar_line-low     = 'ABAP'. &lt;/P&gt;&lt;P&gt;APPEND rspar_line TO rspar_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;range_line-sign   = 'E'. &lt;/P&gt;&lt;P&gt;range_line-option = 'EQ'. &lt;/P&gt;&lt;P&gt;range_line-low    = 'H'. &lt;/P&gt;&lt;P&gt;APPEND range_line TO range_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;range_line-sign   = 'E'. &lt;/P&gt;&lt;P&gt;range_line-option = 'EQ'. &lt;/P&gt;&lt;P&gt;range_line-low    = 'K'. &lt;/P&gt;&lt;P&gt;APPEND range_line TO range_tab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT report1 USING SELECTION-SCREEN '1100' &lt;/P&gt;&lt;P&gt;               WITH SELECTION-TABLE rspar_tab &lt;/P&gt;&lt;P&gt;               WITH selcrit2 BETWEEN 'H' AND 'K' &lt;/P&gt;&lt;P&gt;               WITH selcrit2 IN range_tab &lt;/P&gt;&lt;P&gt;               AND RETURN. &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>Tue, 23 Jan 2007 08:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865504#M364913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help: parameter passing.........</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865505#M364914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mainak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to transaction VL74 and check the parameter ID's of all the fields(On pressing F1 on the field you will get a subscreen in that you will get these parameter ID's) and use these parameters ID's in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'XXX' FIELD var1.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'YYY' FIELD var2.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'ZZZ' FIELD var3.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;After that call transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION CODE 'VL74' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 08:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865505#M364914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help: parameter passing.........</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865506#M364915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SET PARAMETER ID 'BUK' FIELD wa-bukrs.
SET PARAMETER ID 'WRK' FIELD wa-werks.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly find the parameter id by doing F1 on the corresponding field &amp;gt; technical information you can get the ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL TRANSACTION 'VL74' AND SKIP FIRST SCREEN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves ur problem.&lt;/P&gt;&lt;P&gt;Rewars points if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 08:56:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865506#M364915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help: parameter passing.........</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865507#M364916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately....among the 5 parameters to be passed only parameter-ID of 1 field i.e output-type (in VL74) exists. So how to get the other ones. Even if i try to create new IDs....is it recommended?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mainak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 09:02:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865507#M364916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T09:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Urgent help: parameter passing.........</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865508#M364917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;      Check out my reply you don't require parameter Ids.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2007 09:04:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/urgent-help-parameter-passing/m-p/1865508#M364917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-23T09:04:20Z</dc:date>
    </item>
  </channel>
</rss>

