Dynamically change JCO parameters

Hi guys,
There is something extremely far-fetched I want to try. Using Web Dynpro, before making the RFC call, can i change/override some connection parameters of the JCO being used from the SLD.
Any radical ideas???

Hi Nirav,
Check out this link. I guess this might be helpful to you.
http://help.sap.com/saphelp_nw04s/helpdata/en/18/6052429f2dbd30e10000000a155106/frameset.htm
Bala
Kindly consider rewarding appropriate points to answers on SDN.

Similar Messages

  • Dynamically changing Init Parameters

    Hi,
    We are going to upgrade our database from 10.1.0.5 to 10.2.0.5.
    The database is running on pfile.
    SQL> show parameter pfile
    NAME TYPE VALUE
    spfile string
    After running the preupgrade tool, got the below warnings.
    Update Parameters: [Update Oracle Database 10.2 init.ora or spfile]
    WARNING: --> "streams_pool_size" needs to be increased to at least 50331648
    WARNING: --> "session_max_open_files" needs to be increased to at least 20
    I dont find these parameters in the pfile. Is it possible to alter these parameters dynamically?
    Can i add these parameters to the pfile before upgrading the database?
    SQL> show parameter streams
    NAME TYPE VALUE
    streams_pool_size big integer 0
    SQL> show parameter session_max_open_files
    NAME TYPE VALUE
    session_max_open_files integer 10
    Thanks,
    Pradeep

    As noted, if values are not explicitly set, they assume default values - see the documentation
    http://docs.oracle.com/cd/B14117_01/server.101/b10755/initparams209.htm#REFRN10243
    http://docs.oracle.com/cd/B14117_01/server.101/b10755/initparams187.htm#REFRN10196
    HTH
    Srini

  • How to dynamically change the text of a TextObject with embedded DataField?

    Hi
    I'm trying to dynamically change the text of a TextObject at runtime, by using the .NET library. My problem is that if one or more DatabaseFieldDefinition is embedded inside my text, I'm unable to change the "static text" only, by keeping the field, e.g. I have :
    Text1 => "Contact Name: {Contact.Name}"
    and I'd like to change it to anything else like:
    Text1 => "Nom du Contact: {Contact.Name}"
    Half of my TextObject is static text while second part comes from the dataset.
    (of course the translation is dynamic - it is called at run-time and the new value to be set depends on the calling application language)
    If I simply modify the Text property of my TextObject, the {Contact.Name} embedded field is not evaluated anymore by the Crystal Engine, but considered as a single text.
    Using formulas or parameters looks quite difficult, because it means having many ones just for translation needs - I cannot control the way my users will create their reports and "force them" to use complex methods just in order to put a text and a value together...
    Anyone knows how to deal with that ?

    Only way I can think of doing this:
    1) Create a formula (call it lang) and enter the string "Contact Name" in it
    2) Place the  {Contact.Name} field next to the string
    3) So now you have:
    ContactName:  {Contact.Name}
    4) Check what localization you are after. If you need "Nom du Contact", change the lang formula so it shows "Nom du Contact" using the code below:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
    Inherits System.Windows.Forms.Form
    Dim Report As New CrystalReport1()
    Dim FormulaFields As FormulaFieldDefinitions
    Dim FormulaField As FormulaFieldDefinition
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    FormulaFields = Report.DataDefinition.FormulaFields
    FormulaField = FormulaFields.Item(0)
    FormulaField.Text = "[formula text]"
    CrystalReportViewer1.ReportSource = Report
    End Sub
    I realize this may not give you consistent spacing as the translations may have strings of differnt length. Perhaps someone has other idea(s)...

  • Dynamically changing internal table in 'gui_download'

    Hi Experts,
                     i have to download 4 internal tables, each with different structures, to the presentation server using 'gui_download', based on which radio-button is selected in the selection screen. I am hoping to use a single 'form' and 4 'perform' calls. how can I dynamically change the tables in the 'gui_download' function modules.
    plz help.....................

    Hi ,
    Build the field catalog dynamically based on the internal table structure based on the radio button selected.Use the dynamic internal table generated from the filedcatalog and use in GUI_DOWNLOAD.
    See the below code:
    *& Report  ZRAJESH02
    REPORT  zrajesh02.
    Dynamic internal table
    TYPE-POOLS: slis.
    FIELD-SYMBOLS: <dyn_table> TYPE STANDARD TABLE,
                  <dyn_wa>.
    DATA: alv_fldcat TYPE slis_t_fieldcat_alv,
          it_fldcat TYPE lvc_t_fcat.
    DATA: lv_monate TYPE f,
          lv_months TYPE i,
          lv_date TYPE sy-datum,
          p_check1 type n value '1'.
    lv_date = sy-datum + 360.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_check TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      CALL FUNCTION 'MONTHS_BETWEEN_TWO_DATES'
        EXPORTING
          i_datum_bis   = lv_date
          i_datum_von   = sy-datum
          i_kz_incl_bis = ' '
        IMPORTING
          e_monate      = lv_monate.
      lv_months = lv_monate.
      PERFORM f_fcat USING 'AUFNR' 'CHAR' '12'.
      PERFORM f_fcat USING 'POSNR' 'CHAR' '06'.
      while p_check1 LE p_check.
      PERFORM f_fcat USING p_check1 'CHAR' '1'.
      p_check1 = p_check1 + 1.
      endwhile.
      PERFORM build_dyn_itab.
      LOOP AT <dyn_table> INTO <dyn_wa>.
        WRITE:/ <dyn_wa>.
      ENDLOOP.
    FORM f_fcat USING fieldname dattyp length.
      DATA:wa_it_fldcat TYPE lvc_s_fcat.
      CLEAR wa_it_fldcat.
      wa_it_fldcat-fieldname = fieldname.
      wa_it_fldcat-datatype = dattyp.
      wa_it_fldcat-intlen = length.
      APPEND wa_it_fldcat TO it_fldcat .
    ENDFORM.                    "f_fcat
    *&      Form  build_dyn_itab
          text
    FORM build_dyn_itab.
      DATA: new_table TYPE REF TO data,
      new_line TYPE REF TO data.
    wa_it_fldcat TYPE lvc_s_fcat.
    CLEAR wa_it_fldcat.
    wa_it_fldcat-fieldname = 'AUFNR'.
    wa_it_fldcat-datatype = 'CHAR'.
    wa_it_fldcat-intlen = 12.
    APPEND wa_it_fldcat TO it_fldcat .
    CLEAR wa_it_fldcat.
    wa_it_fldcat-fieldname = 'POSNR'.
    wa_it_fldcat-datatype = 'CHAR'.
    wa_it_fldcat-intlen = 6.
    APPEND wa_it_fldcat TO it_fldcat .
    Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fldcat
        IMPORTING
          ep_table        = new_table.
      ASSIGN new_table->* TO <dyn_table>.
    Create dynamic work area and assign to FS
      CREATE DATA new_line LIKE LINE OF <dyn_table>.
      ASSIGN new_line->* TO <dyn_wa>.
    ENDFORM.                    "build_dyn_itab
    Thanks,
    Rajesh.

  • Dynamically changing the name of the .dll file to load in call Library

    Our current model is to use dll files as "plug-in" modules for instruments and a top layer test step calls the appropriate driver dll.
    For instance
    the TestStep is called with the kenmore.dll passed as a parameter so the kenmore.dll file is loaded, the functions are registered and the functions are called.  Next the TestStep is called with whirlpool.dll as a parameter now the whirlpool.dll is loaded the functions are registered and the functions are called.  This works very well in our current CVI/LabWindows environment.  Now we plan to work with LabView, we wish to retain this model (as DLL files, there are advantages in our model for us).  We have not found a way to load these dll files from LabView without hard coding the path and filenames in.
    Any suggestions on how to dynamically change the path in the Call Library module, or another suggested method of loading the dll via LabView?
    Thanks,

    John Stuart wrote:
    Our current model is to
    use dll files as "plug-in" modules for instruments and a top layer test
    step calls the appropriate driver dll.
    For instance
    the TestStep is called with the kenmore.dll passed as
    a parameter so the kenmore.dll file is loaded, the functions are
    registered and the functions are called.  Next the TestStep is
    called with whirlpool.dll as a parameter now the whirlpool.dll is
    loaded the functions are registered and the functions are called. 
    This works very well in our current CVI/LabWindows environment. 
    Now we plan to work with LabView, we wish to retain this model (as DLL
    files, there are advantages in our model for us).  We have not
    found a way to load these dll files from LabView without hard coding
    the path and filenames in.
    Any suggestions on how to dynamically change the path in the Call
    Library module, or another suggested method of loading the dll via
    LabView?
    Thanks,
    As Ben has pointed out LabVIEW
    scripting may be a possibility but you are going with that in highly
    unsupported area. Also I happen to know that changing the library name
    of a Call Library Node through scripting has produced unsupported
    feature errors previous to LabVIEW 7.1 eventhough the method was there.
    And LabVIEW 8 hides the whole scripting business behind the license
    manager.
    Another approach at least if the different DLLs do not change to often
    thier functions and parameters would be to create a wrapper DLL. Have
    it a method that loads the desired DLL and links its functions to
    internal function pointers. Then when calling the actual function entry
    points just redirect directly to the correct fucntion through that
    function pointer. Since you are already working in CVI creating such a
    DLL should be only a matter of taking out a little bit of your already
    existing code and put it into a DLL project.
    Rolf Kalbermatter
    Message Edited by rolfk on 04-12-2006 07:40 AM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Dynamic XSLT processing - parameters?

    Goal: I want my XSLT mapping to be dynamic, because I expect a certain number of fields with values in my XML, but these field names may change over time, so I have to make it dynamic.
    Step 1: I made my output dynamic by using dynamic internal tables (field-symbols). So that I can change my internal tables easily with a custom-table. Done!
    Step 2: My XSLT transformation should be handled dynamically. Not done!
    Is this step 2 even possible?
    I was thinking of passing PARAMETERS to my CALL TRANSFORMATION statement so that I can let know what fieldnames my XSLT can expect, but then the question remains if the ZTEST transformation can read this out for my purpose.
    CALL TRANSFORMATION ztest
    PARAMETERS (gt_param)
    SOURCE XML gt_itab
    RESULT (gt_result_xml).
    ...knowing that gt_param can only by of type
    ABAP_TRANS_PARMBIND_TAB (for specifying strings) or
    ABAP_TRANS_OBJBIND_TAB (for specifying object references) or
    ABAP_TRANS_PARM_OBJ_BIND_TAB (for specifying data references).
    Thus, is it possible to make my TRANSFORMATION handling dynamic (by using PARAMETERS or something else)? If yes, does anybody know how. Examples are appreciated.
    Mehmet Metin

    This can be done with basic XSLT. Use the XPath expression '*' to apply a template to each child of a given node (for example, if a node represents an ABAP structure, its children represent its components). In the template, use the XPath-function 'local-name()' to retrieve the name of the current element without namespace. Now you should have everything you need for creating the result tree.
    For a working example in our XI system, see the following template:
    <xsl:template match="ZMEDI_MELDUNG_DET">
      <xsl:element name="{SEGID_N}">
        <xsl:element name='SEGID_N'>
          <xsl:value-of select="*[position()=1]"/>
        </xsl:element>
        <xsl:for-each select="*[position()>1 and text() != '']">
          <xsl:element name="{local-name()}">
            <xsl:value-of select="."/>
          </xsl:element>
        </xsl:for-each>
      </xsl:element>
    </xsl:template>
    Here, I copy the components of the ABAP source structure ZMEDI_MELDUNG_DET (the structure name was fixed in my case, but it's easy to identify it without specifying its name, if it should be given at runtime only) into a result tree fragment with parent node name = the content of the ABAP component SEGID_N, the first child having the fixed name SEGID_N with (redundant) its value again, and after that all the components of the source structure, whatever they may be, if their content is non-empty (this was a format required by another non-SAP-development team).
    Regards,
    Rüdiger

  • Dynamically changing the flatfile name..

    Hi friends,
    I 'm Getting data from 30 Flat files...all are with same structure but different data.. .. all these files are now in Application server...
    now i want to upload data into with a single DataSource and to ODS with process chains..
    so, how can i dynamically change the file name in Data Source level.. i saw previous threads.. in that.. through Routines.. we can solve this problem.. but I dont know ABAP code... so, can any one plz give me the exact code.. what i have to write...exact coding..
    <b>
           I already post this question in forums.... but evry one gave different options.. some  one gave the function module..
    BAPI_IPACK_CHANGE    and BAPI_IPACK_START.
      and some one gave  other function module.. like .. EPS_GET_DIRECTORY_LISTING
    i tryd for All these options.. but i'm not getting the exact solution... even i'm unable to pass the parameters also.. beacuse.. in that function what parameters can i pass....</b>
    can u plz suggest me the solution..
    Thanks
    Babu

    Hi  Friends,
      for the above requirement i had write the bellow coding in the routine.. it is working.. but the problem is.. it was loading  only  the last file..(30 th file  data only..)
    data : z1(50) type c,
             z2 type c,
             z3(50) type c,
             z4(50) type c.
             Z2 = 1.
       Do 5 times.
              z1 = 'C:\Documents and Settings\e10035\Desktop\'.
              z3 = '.csv'.
              concatenate z1 z2 z3 into z4.
              p_filename = z4.
              z2 = z2 + 1.
        Enddo.
    SO, CAN YOU PLZ SUGGEST ME.. when ever the file name was changing in the loop.. that automatically should load into the  PSA ..
    plz... plz.... help regarding this..
    Bbau

  • Change step parameters in teststand edit mode

    Hello,
    I would like to know if it's possible to change the parameters in a step in edit mode of teststand.
    I have attached a sequence with one step, in this step I want to select DMMx.
    After the selection I want to teststand to fill in the parameters in the step so I can the choose which type of measurement and such.
    If this is not possible how could I make something like this possible.
    As you may see this will be a HAL, and the only option I can see which would do this is bij a string array but I don't want to type in the commands in string.
    Attachments:
    ring.vi ‏14 KB
    Sequence File 1.seq ‏5 KB

    Hi Darkxceed
    My recommendation for doing a HAL i TestStand would be to use an object oriented approach. 
    Create a class hirachy of your instruments like the following inside of LabVIEW:
    Then use Dynamic Dispatch to make TestStand choose the instrument of interest. There is an example of using Dynamic Dispatching in TestStand here:
    TestStand Using LabVIEW OOP Truck Example
    https://decibel.ni.com/content/docs/DOC-24098
    This solution will offcourse require you to read up on creating applications using object oriented programming in LabVIEW. We at NI have a course that walks you through both the theory and practical implementation. It is called Object Oriented Programming in LabVIEW. If you have a SSP agreement, you should be able to find it as Self Paced Online Training as a part of your contract.
    There is also a good introduction to OOP in LabVIEW and HAL here:
    https://decibel.ni.com/content/docs/DOC-32506
    (There is a video embedded in the PDF)
    Best Regards
    Anders Rohde | CLD | Platinum Applications Engineer | National Instruments Denmark

  • How To dynamically change values in custom form

    Hi,
    Requirement is to change values in custom form dynamically that are passed by Global variables through standard form .
    I have used forms personalization to call custom form and passing some parameters to custom form using global variables.
    Now i have to change values displayed in custom form(already opened) when user moves from one record to another record.
    I cannot change the standard form.Only i have write logic in custom form that dynamically changes values as user moves from one record to another in standard form.
    Global variables values will be different for each record.
    Pls let me know how i can achieve this.
    Regards
    Udit

    Udit,
    Your question should be posted to the Enterprise Business Suite (EBS) forum. This forum is dedicated to non-EBS forms development.
    Craig...

  • Change step parameters order

    Is it possible to change the parameters order?
    Or are they locked and only defined by the connector pane?

    Hi Darkxceed
    My recommendation for doing a HAL i TestStand would be to use an object oriented approach. 
    Create a class hirachy of your instruments like the following inside of LabVIEW:
    Then use Dynamic Dispatch to make TestStand choose the instrument of interest. There is an example of using Dynamic Dispatching in TestStand here:
    TestStand Using LabVIEW OOP Truck Example
    https://decibel.ni.com/content/docs/DOC-24098
    This solution will offcourse require you to read up on creating applications using object oriented programming in LabVIEW. We at NI have a course that walks you through both the theory and practical implementation. It is called Object Oriented Programming in LabVIEW. If you have a SSP agreement, you should be able to find it as Self Paced Online Training as a part of your contract.
    There is also a good introduction to OOP in LabVIEW and HAL here:
    https://decibel.ni.com/content/docs/DOC-32506
    (There is a video embedded in the PDF)
    Best Regards
    Anders Rohde | CLD | Platinum Applications Engineer | National Instruments Denmark

  • Changing input parameters at GP-Runtime (Web Dynpro)

    Hi,
    I'm searching for a solution to change the input paramters for an action (at GP-Runtime) in a web dynpro application.
    Is it possible to do something?
    I cannot found something in the API, which solves the probelem.
    Thanks for your helping hands
    Steve

    How many variations of the input parameters do you have.  Could you give more details on the use case?  Did you try the GP public API? It is capable of dynamically changing the input parameters. 
    Are you using the webdynpro GP-Interface?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59
    If you have a limited number of use cases, then you could create a Block type "Alternatives" and then create a WebDynpro callable object for each permutation of the input parameters.
    Regards,
    Austin.

  • Can you dynamically change an LOV on the parameter form based on other params?

    Can you dynamically change an LOV on the parameter form based on other parameters? For example, based on a entered purchase order number, create an LOV of the purchase order lines that belong to the entered PO #.

    Hi
    Accouding to my knoledge you can't do it.
    If you want to build lov for that particular
    value, you can do it in Forms.
    Vijay

  • Dynamically changing the report path

    Is there any way to dynamically change the path where the reports are saved. Teststand 4.1.1
    Message Edited by glennjammin on 04-21-2010 03:30 PM
    Test Engineer
    L-3 Communications
    Solved!
    Go to Solution.

    Yes you can run a VI in the ReportOptions Sequence, add it to the Setup of that sequence. If you dont use FileGlobals.Dated anywhere else then use a Local instead. Just remeber FileGlobals are only global to sequences that are contained in a SequenceFile. They are not global across SequenceFile unless you are using the Batch Process Model.
    You will probably have to set a number of other parameters up to work with ReportOptions.Directory. The best way to handle this is to setup up you exact conditions statically (ie via the Config | Report Options... menu ). Place a breakpoint in the ReportOptions (use a label if you dont have any steps in the ReportOptions sequence at the moment) and run your Sequence. Remeber to use Test UUTs or Single Pass. You dont have to use your full test sequence just create a simple one step sequence.
    When you reach the break point, then you can browse the Parameters.ReportOptions and see what properties are required to ensure your reports are setup correctly.
    Hope this helps.
    Regards
    Ray Farmer 
    Regards
    Ray Farmer

  • Dynamically changing Layout Managers Constraints

    Hi,
    Does any one worked on Changing the layout Constraints dynamically before ?, If so Can you explain me your experience and how it can be possible ?
    Thanks,
    Chekks

    There are several ways of doing this, it really depends on your requirements as to which is suitable. (There are probably other ways of doing this as well).
    - Try Reports XML Customizations
    This is available in 6i and allows you to create a report dynamically on the fly. The template used will also allow you to change the paper size as well. The main limitation is that you are relying only on Reports defaulting to create the layout for you. The advantage is that you can store all your information to create the report in meta-data which can be driven by another tool.
    - Use lexical parameters for queries and format triggers
    Here, you have a fixed layout but dynamically change the query columns to the correct order. You would normally standardise on a "character" column type in order to do this. Even though the layout is fixed, you can use variable sized fields to push objects around. This can be difficult to setup.
    - Use several layouts
    You're reducing the options for the user, but you can have several layouts in the same report and turn them on/off. Effectively creating differing views of the same data.

  • Dynamically change icon name of push button

    Hi,
    I would like to ask how to dynamically change the icon name attribute of a push button in dialog programming. What is the syntax for assigning an icon name during runtime?
    I am currently doing a multiple selection function for KNA1-KUNNR.
    Initially, the icon name is ICON_ENTER_MORE. When the user picks up more than one customer, it should automatically change to ICON_DISPLAY_MORE. How can I do this?
    here's the code i currently have:
    DESCRIBE TABLE kunnr_ran LINES l_kunnr.
    IF l_kunnr > 1.
          g_add_multiple = 'X'.
      BT_MULT_CUST-icon_name = 'ICON_DISPLAY_MORE'.
    ELSEIF l_kunnr = 1.
         CLEAR g_add_multiple.
      BT_MULT_CUST-icon_name = 'ICON_ENTER_MORE'.
    ENDIF.
    The name of my pushbutton is BT_MULT_CUST.
    The code in ** is not correct. I don't know the syntax in SAP. But that is how it is done in VB for example.
    Thank you.
    che =)

    If you have not found your answer already, please try the following:
    1)  In screen layout painter: for the pushbutton in question (i.e. pb_multi_select), mark the "Output field" on the program attributes tab in the attributes window for the pushbutton.  Make sure that its visible length is at least 2 too.  This will "gray out" the "Text" and other fields.
    2) In the TOP INCLUDE of the module program:  add a variable for the pushbutton that is of type "icons-text" and don't forget to include <icons>.  Below is an example
    INCLUDE <icon>
    DATA: pb_multi_select TYPE icons-text.
    3) In a module called in the PBO modules for the screen that needs its button changed, call the function "ICON_CREATE" and pass at minimum the name of the icon and the field that you specified in step 2.  Below is an example using the icon "ICON_DISPLAY_MORE", "ICON_ENTER_MORE", and a flag variable "MULTI_SEL_INFO_EXISTS" that indicates if any multiple selection information has already been entered.  It would be set by the program (not automatically, but by coding) prior to the "IF" statement:
    IF multi_sel_info_exists = 'X'.
      CALL FUNCTION 'ICON_CREATE'
          EXPORTING
             name = 'ICON_DISPLAY_MORE'
          IMPORTING
             result = pb_multi_select.
    ELSE.
      CALL FUNCTION 'ICON_CREATE'
          EXPORTING
             name = 'ICON_ENTER_MORE'
          IMPORTING
             result = pb_multi_select.
    ENDIF.
    You can change the button as you see fit with multiple different calls inside of "IF" or "CASE" statements.  Please see documentation for "ICON_CREATE" for other parameters.
    Hope this helps,
    Brian

Maybe you are looking for

  • Service Enhancements ESR - Integration Builder

    Hello, I made some enhancements of standard services in the ESR. In the ABAP backend I created the corresponding proxys. But when I try to to configure the enhanced services in the Integration Builder I only get the standard services. How can I refer

  • Imac to stereo wirelessly???

    Is there a way I can use my imac/itunes to play music wirelessly through my stereo system? I also use the time capsule. My receiver is a Denon 2307.

  • Problem in Formatted Search

    I have added two UDFs namely ItemCode and ItemName on header level of Profit center form. I have attached folwing query to ItemCode for Formatted Search       select Itemcode from oitm I want to display the corresponding itemname automaticaly in item

  • Link to WSDL

    Hi, When defining an webservice i go to the Integration Directory and calls the function Tools->Define Web Service and the i get an WSDL which i can download and send to somebody. But is there no option for the developers to call a link where they ca

  • BW Emails

    Can emails be sent from BW informing users of report availability?  What are capabilities?  Where can I find more information on this topic?