How to pass variable value to field of standard sap transaction.

Hi Experts,
   i want to pass the value of variable to field of standard sap transaction. but that field is not having the parameter ID. so please tell me how i pass the value to field.
thanks in advance.

You might like to provide a few more details of which field and transaction you are trying to interact with... typical solutions involve user exits / BAdIs / Enhancements, or transaction variants, or building a BDC to part fill the screens of the Tcode you are calling.
Jonathan

Similar Messages

  • Adding field in standard SAP transaction output results.

    Hi,
    I have to add a new field in standard SAP transaction output results.
    Can any one tell me what are the ways (brief explanation) that I can do this?
    If using exists - then what kind of exists I have to use? And how to find out the possibility with user exists?
    Thanks for your time.
    Thanks.
    Chris.

    Hi,
        There are so many ways to find out the user exits.
    Hi,
    To see SAP Exits -> Use Tcode SMOD
    To See create a project for Customer Exits -> Use Tcode CMOD
    There are projects to which Exits are assigned. Selects the relevant projects.
    What is User Exit:
    http://www.sap-img.com/abap/what-is-user-exits.htm
    How to find then:
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    All Exits List:
    http://www.easymarketplace.de/userexit.php
    Do a search on SAP Exits, Customer Exits, enhancements, etc
    Step 1 :- Execute transaction
    step 2 :- Click on Status Menu
    step 3 :- Double click on the program (screen) __?????___
    Step 4 :- Search source code for the 'Customer-Function' string using the find button. Remember to select 'In main program'.
    Step 5 :- A list of search results should be displayed indicating where all function exits can be found.
    You can now double click on each of them to go to its position in the source code. This also
    allows for the insertion of breakpoints so that you can test if the exits are called in the
    appropriate place.
    Step 6 :-Once you have found the Function Exit within the source code (Find Function Exit) you need to
    access the actual function module it executes. This is done using the following steps:
    Step 6.1 :-
    Step 1
    Locate desired 'Call Customer-function' statement within source code.
    Step 2
    If code is not within main program (module pool) e.g. SAP* then you will need to find this
    out by selecting 'Main Program' from the 'GOTO' menu. The Main program for transaction
    Step 3
    The actual function module name can now be calculated based on the information retrieved,
    it is defined by the following format:
    EXIT_<Program name>_<Exit number>
    eg :- 'EXIT_SAPLMR1M_004'.
    Step 7.1:-
    Once you have found the Exit function module
    Step 1
    Execute transaction CMOD
    Step 2
    Select 'SAP Enhancements' from the 'Utilities' menu.
    Step 3
    Select 'All selections' from the 'Edit' menu.
    Step 4
    Now populate the Component name field with the exit function module and press
    the execute button.
    Step 5
    A list of all Exits(Enhancements) containing that function module should now be displayed.
    Step 5
    You can now double click on the desired exit to display a detailed description of its uses and a list of all
    components contained in it.
    Implementing Function Exit
    This is required in-order to activate Function exit:
    Step 1
    The first step is to enter source code into function module in the usual way i.e. via SE37.
    There will already be an include declaration within the code with the following
    format: Include zx*.
    Double click on this to create it, source code can then be entered within here.
    Although it is good practice to create another include with this to store your
    code, this allows separation of difference enhancements allowing them to be easlity
    removed without de-activating the enhancement.
    Step 2
    Execute transaction CMOD and create new Enhancement. Enter name and press the create
    Button.
    Step 3
    The following screen should be displayed, enter short text then click on the 'Enhancement
    Step 4
    Now enter the Exit name (enhancement) which contains the desired Function Exit.
    Step 5
    Return to initial screen of CMOD and press the activate icon. The exit is now ready for use.
    Please Mark The Helfull Answers & close the thread.
    regards
    dj
    reward for all useful answers.

  • Changing the text of Text field in standard SAP transaction.

    Hi expert,
    I have a requirement in which i have to change the text of Text field in standard SAP transaction.
    Is it possible? If so, how?
    Any pointers will be highly appreciated.

    Hi,
    I think you want to change the field label of the text field.
    For ex in tcode MM01, you can change the field label of Material text field.
    The description of the field label comes from the data element it is associated with. To change the text of the field label, you have to change the field label of the data element.
    But it will effect all the fields associated with this data element.
    To change the field label of the data element go to tcode CMOD. Then click on GOTO->TEXT ELEMENTS->KEYWORDS->CHANGE.
    Then enter the data element which is to be changed. In the next screen, change the field label and save it.
    Regards,
    Vinod

  • How to Implement a screen exit to a standard SAP transaction

    Hi All,
    Can any body give How to Implement a screen exit to a standard SAP transaction??
    Regards,
    AK

    Hey,
    This link which gives the Step by step way of iimplement a screen exit:
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    Regards,
    Arjun

  • How to pass Variable value to SWF file in Eclipse development

    We are creating Widget file in Eclipse by using SAP Widget Foundation .
    We included one SWF file in Widget & it is working fine.
    But we are not able to pass the values to SWF file variables.?
    How to pass variables to SWF file let us know.
    Thanks & regards

    We are creating Widget file in Eclipse by using SAP Widget Foundation .
    We included one SWF file in Widget & it is working fine.
    But we are not able to pass the values to SWF file variables.?
    How to pass variables to SWF file let us know.
    Thanks & regards

  • Select/option with cfquery - how to pass selected value to field downform

    I have a form that has a basic select/option dropdown using a cfquery result.  I would like to use the value that the user selects to pre-populate an editable 'title' field further along on the form.  For example:
    <form action="index.cfm?fuseaction=sendEmail" method="POST" name="email_approval" enctype="multipart/form-data">
    <table width="500" border="1" cellspacing="0" cellpadding="2" align="center">
    <tr>
      <td align="left">Request ID:</td>
      <td align="left" width="100"><b><cfoutput>#RequestId#</cfoutput></b></td>
      <td align="left">Application:</td>
      <td align="left" width="400"><b><cfoutput>#this_request.app_abbrev#</cfoutput></b></td>
      <td align="left">WR/RD#:</td>
      <td align="left" width="400"><b><cfoutput>#this_request.request_number#</cfoutput></b></td>
    </tr>
    <tr>
      <td align="left">Email Type:</td>
      <td align="left" colspan="2">
          <select name="approval_type" size="1" >
          <cfoutput query="approval_types">
             <option value="#approval_types.approval_descrip#" style="font-size:8pt">#approval_types.approval_descrip#</option>
           </cfoutput>
         </select>
      </td>
      <td align="left"> </td>
      <td align="left">Date Sent:</td>
      <td align="left"><b><cfoutput>#dateformat(Now(), "MM/DD/YYYY")#</cfoutput></b></td>
    </tr>
      <cfset subjectLine = "#RequestId#" & " " & "#approval_types.approval_descrip#" & " Approval Request" >
    <script  type="text/javascript" language="JavaScript">
    <cfoutput>
      var #toScript(subjectLine, "jsLine")#;
    </cfoutput>
    </script>
    <script  type="text/javascript" language="JavaScript">
    function setValue()
      document.getElementById('subject').value =jsLine;
    </script>
    <tr>
      <td align="left">Subject:</td>
      <td align="left" colspan="5">
       <b><input type="Text" name="subject"  required="Yes" size="70" maxlength="70" onClick="setValue();"></b>
    </td>
    </tr>
    When the user gets to the subject field,the onClick will pre-populate the field with the combined value using <cfset subjectLine = "#RequestId#" & " " & "#approval_types.approval_descrip#" & " Approval Request" >.  regardless of what is selected, it uses the first item in the query list because that is what is rendered when the form is loaded (got that).  I figure that I need a javascript onChange event for the select statement for the dropdown, but can't figure out how to pass this javascript variable back to the CF form.  Any ideas, or am I stuck?
    Thanks in advance for your thoughts!

    You will need to do it with JS as the values you want to access are not set until the form is submitted. This should give you what you want.
    It uses a hidden form field to hold the requestID, that is then accessed with JS. (I am assuming this value is available when the page loads)
    <form action="index.cfm?fuseaction=sendEmail" method="POST" name="email_approval" enctype="multipart/form-data">
    <input type="hidden" name="requestID" id="reqID" value="1234" />
    <table width="500" border="1" cellspacing="0" cellpadding="2" align="center">
    <tr>
      <td align="left">Email Type:</td>
      <td align="left" colspan="2">
          <select name="approval_type" id="approval_type" size="1" >
             <option value="test" style="font-size:8pt">test</option>
         </select>
      </td>
      <td align="left"> </td>
      <td align="left">Date Sent:</td>
      <td align="left"><b><cfoutput>#dateformat(Now(), "MM/DD/YYYY")#</cfoutput></b></td>
    </tr>
    <script  type="text/javascript" language="JavaScript">
    function setValue(){
        var e = document.getElementById("approval_type");
        var approval_type_value = e.options[e.selectedIndex].value;
        var subjectLine = document.getElementById('reqID').value + ' ' + approval_type_value + ' Approval Request';
        document.getElementById("subject").value = subjectLine;
        alert(subjectLine); 
    </script> 
    <tr>
      <td align="left">Subject:</td>
      <td align="left" colspan="5">
       <b><input type="Text" name="subject"  required="Yes" size="70" maxlength="70" onClick="setValue();"></b>
    </td>
    </tr>

  • How to pass variable value into module pool scren from a report program

    Hi,
    I have created a report program with selection screen parameters. when the inputs are filled and executed it generates the purchase evaluation sequence number. i have created a screen and passed that number to display on it with print option and back option buttons as required. but variable alone is not getting passed from the program to module pool screen. buttons are working fine. value alone is not coming. can anyone please help me.
    regards,
    sudha.

    Hi ,
    you need to declare that variable param at Global.
    sample code...
    report xyz....
    data: g_no type ekko-ebeln.
    start-of-selection...
    g_no = '12345'.
    call screen 0100.

  • How to pass the value to the screen through call transaction

    hi
    i have got an requirement for which i have to call MIGO tcode through call transaction command. But here one list box GODYNPRO-ACTION (screen field) contains list of values . my requirement is when i will call the tcode MIGO it should take defaultly  DISPLAY option from  list of values. I have searched for parameter id but i cannot get for that list box. please help me to solve this issue.
    points will be surely assigned to helpful answers.
    regards
    shiba dutta

    just try this its working...
    tables: godynpro.
    GODYNPRO-ACTION = 'Display'.
    call transaction 'MIGO'.
    Message was edited by:
            Chandrasekhar Jagarlamudi

  • How to Change the filed name in a standard SAP Transaction

    HI all,
    In the SAP Standard Display Vendor Transaction ie in XK03   there is an Screen with the Screen Number 220
    In that Screen Number 220 there is a field by name Account memo
    I need to change that field name Accountmemo to DD Number.
    Please Suggest me how can i do this.
    Please tell me Weather any Screen exits or Badis Exists for this
    Please give me the Sample code if having
    Regards
    Ajay

    It can be done with GuiXT script.
    Read the Documentation, and some time back in 2005 this is Discussed, Search in SDN, Use Key word GuiXT
    http://help.sap.com/saphelp_erp2005/helpdata/en/89/91b9d8194f11d5b3a30050dae02d7c/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/89/91b9d8194f11d5b3a30050dae02d7c/content.htm

  • Hiding fields in standard SAP Transactions

    Hi All,
    We have a requirement to hide some fields in ME51n, ME21n, ME31k,ME11,MIGO,ML81n,MIRO
    I know we have screen layout at doc level through which we can make the fields as optional, display and mandatory.
    Please let me know the standard way to hide som of the not required fields in these transactions.
    Thanks,
    Vijay

    Part of answer is in your question
    For ME51N,ME21N,ME31K,ME11,MIGO configure document level screen settings
    ML81N & MIRO using SHD0 transaction hide required fields.
    Refer this article [Creating Transaction and Screen Variants|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a070bfbb-d34a-2d10-b092-ecbe0b0d4a4c]
    Edited by: Jeyakanthan A on Oct 26, 2010 10:54 PM

  • Adding fields/text on standard SAP transaction screens

    Hi,
    How do we add the fields on standard SAP transaction screens?
    For example, if I have to add field on transaction FB01 screen or change text of existing fields, how does it works?
    Please let me know.
    Thanks ,
    Yogita

    hi
    every standard sap transaction have enhancement options you can add fields there
    try this program to find the field-exits of the standard transaction.
    [https://wiki.sdn.sap.com/wiki/display/Snippets/howtogettheuser-exitsofa+transaction]
    regards
    sarves

  • How to pass a value to a bind variable in a query report in oracle apex

    Hi Guys,
    I have requirement to send weekly reports via email to some users. The users should receive their own records in the report. The user details is stored in a table. What I am planning to do is to create a report query in oracle apex to generate the report and then run a function/procedure via a scheduler to email the report to respective users. Now my query is ............. is it possible to pass a value (user name) to the report query to pull records of only that user? I know we can have bind variables in the report query but I have no idea how to pass a value for bind variables from a function/procedure.
    Can anyone help me on this issue or suggest a better approach?
    Thanks,
    San

    You need to use dynamic sql
    But please keep in mind that since you're using Oracle you may be better off posting this in some Oracle forums
    This forum is specifically for SQL Server
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • How to set variables values via VBA.

    Anybody please help.
    How to set variables values via VBA in workbook. SAP Netweaver 2004s.

    Pass variable values with VBA and BI 7.0 funtions to Query
    At first a remark u2013 Iu2019ve read a lot of threads saying that passing values to a query can be done by using VBA code only. Iu2019ve tested it but Iu2019m not sufficient with the new BEX 7.0 API and therefore I use a mixture of BEX 7.0 funtionality and VBA. I create a BEX 7.0 design item button passing the values to a query u2013 I hide this button somewhere on the sheet or on a hidden sheet and I then raise the event to click the button from VBA code. Works fine and the maintenance is easier if something changes in the API in the future again.
    How to start:
    Switch to design mode in BEX Analyzer:
    Implement a BEX 7.0 design item u201Cbuttonu201D
    Click on the button to implement the properties
    Make the input for the commands
    data_provider = dataprovider_1
    cmd = process_variables
    subcmd = var_submit
    No comes the part with the variables u2013 Letu2019s assume a query has 4 variables but you only want to change 1 with the button u2013 an organizational unit for instance.
    Make a range somewhere in the excel with the following structure:
    Name    Index   Value
    VAR_NAME_1      1       Variablename
    VAR_VALUE_EXT_1 1       variablevalue
    Value should contain the name of your variable of course and u201Cvalueu201D the value of your variable
    Set a name for this range with EXCEL functionality but without the header:
    Back to the properties of the button: Insert the name of the range with the variables in the field Command Range:
    If you have more variables to process you can of course enhance your Filterrange!
    In the left upper Corner you have a name for your button:
    Now you can raise the button-click in vba like this:
    Application.Run "'" & ThisWorkbook.Name & "'!Sheet2.BUTTON_35_Click"
    regards, Lars

  • How to pass multiple values from workbook to planning function ?

    Hi,
    I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
    When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
        A.) input one value -> V1
        B.) input three values -> V1;V2;V3
    This function execute completely in web.
    However, I want to use the planning function in workbook(Excel).
    The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
    thank you.

    Hi,
    Please see the attached how to document (page no 16).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
    Hope this was helpful
    thanks

  • OBIEE 11g How to pass variable from one prompt to another prompt in dashboard page.

      How to pass variable from one prompt to another prompt in dashboard page.
    I have two prompt in dashboard page as below.
    Reporttype
    prompt: values(Accounting, Operational) Note: values stored as
    presentation variable and they are not coming from table.
    Date prompt values (Account_date, Operation_date)
    Note:values are coming from dim_date table.  
    Now the task is When user select First
    Prompt value  “Accounting” Then in the
    second prompt should display only Accounting_dates , if user select “operational”
    and it should display only operation_dates in second prompt.
    In order to solve this issue I made the
    first prompt “Reporttype” values(Accounting, Operational) as presentation
    values (custom specific values) and default presentation value is accounting.
    In second prompt Date are coming from
    dim_date table and I selected Sql results as shown below.
    SELECT case when '@{Reporttype}'='Accounting'
    then "Dates (Receipts)"."Acct Year"
    else "Dates (Receipts)"."Ops
    Year"  End  FROM "Receipts"
    Issue: Presentation variable value is not
    changing in sql when user select “operation” and second prompt always shows
    acct year in second prompt.
    For testing pupose I kept this presentation
    variable in text object of dashboard and values are changing there, but not in
    second prompt sql.
    Please suggest the solution.

    You will want to use the MoveClipLoader class (using its loadClip() and addListener() methods) rather than loadMovie so that you can wait for the file to load before you try to access anything in it.  You can create an empty movieclip to load the swf into, and in that way the loaded file can be targeted using the empty movieclip instance name.

Maybe you are looking for

  • How to add a JPanel with label and border line

    hi, I want a Jpanel with label and border line like this.Inside it i need to have components.Is there a resuable component to bring this directly?? Any solution in this regards.??? Label----------------------------------------------------------- | |

  • Sheduling Agreement item are not appearing in MIGo

    Hi, Good receipt (MIGO) for Sheduling  Agreement some items are not display(not appear in item detail screen in MIGO) Delivery shedule is maintain and SA is released where to check to slove this problem. shakir

  • Unable to create thread

    i wrote a code of a multiclient server ,but when i compile it i can't see any window opening nor ant thread class is being created.... please help SERVER: import java.io.*; import java.net.*; import java.util.*; import java.awt.*; import javax.swing.

  • Any idea when apple stores in Michigan will restock iphone5?

    Any idea when apple stores in Michigan will restock iphone5?

  • Note size limit and slight work-around in Lyrics

    I tried to reply to a older post, but since it's archived I wasn't able to so I'll simply reference it. I followed the suggestions from the following post in order to fit more continuous viewable text on my iPod: http://discussions.apple.com/thread.j