Dynamically passing the URL

Hi
In the receiver SOAP Adapter I got to send the Target URL ( Connection Parameters.....> Target URL) dynamically on the basis of URL that I get from payload. Is it possible to do this by using UDF ?? If so could you plz explain how we can do this ?? Plz point me it there are any materials/blogs/threads available on  this topic ??
Regards
kumar

Hi palnati
you can use Adapter Specific Identifiers and set the SOAP URL and SOAP Action dynamically.
Here is the link for doc which can help u out :
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
look this thread also
Setting interface name dynamically from client for SOAP Adapter...
Regds
Abhishek

Similar Messages

  • ITSmobile service pass system/port/client dynamically in the URL

    Hi all,
        The ITSmobile service we have created redirects to another service in different server using ~redirectURL.
    so the ~redirectURL =  http://splhrd398.baplc.com:8005/sap/bc/gui/sap/its/zdemo_mobile?sap-client=150
    is there anyway to pass
    system : splhrd398.baplc.com ( This is the name of  the different server)
    port no: 8005
    sap-client=150
    dynamically in the URL.
    because when we transport the same to Testing and production. i need to know whether we have to do manually .
    If you have  any option to do  dynamically let me know.
    please throw some light,
    thanks  in advance
    Deepak

    Hi ,
    Create a technical system and bussienss system of type WEB AS ABAP and use this bussiness system for source system in XI and try it.
    Thanks & Regards,
    Sekhar

  • Dynamically loading the url of a web reference object in C#

    Hi,
    We have a number of assemblies (C# - VS 2010) that access third party web services via SOAP.  The url to access the site is part of the web reference object.
    We have need to be able to change the url used to access the service at run runtime when conditions require.
    What would the be the best practice of dynamically setting the url to be used at run time?
    Thanks in advance.
    SanDegan99

    You could specify the URLs as keys in the application configuration file (App.config or web.config) of the main application:
    https://msdn.microsoft.com/en-us/library/system.configuration.configurationmanager.appsettings(v=vs.110).aspx
    https://msdn.microsoft.com/en-us/library/aa374182(v=vs.85).aspx
    App.config:
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
    <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
    </startup>
    <appSettings>
    <add key="url1" value="http://www.url.com/test.asmx"/>
    </appSettings>
    </configuration>
    You can then retrieve these values using the ConfigurationManager class in any assembly that is referenced from the main application like this (add a reference to System.Configuration.dll):
    string url = System.Configuration.ConfigurationManager.AppSettings["url1"].ToString();
    You can change the values of the keys in the application configuration file without having to recompile the application.
    The other option is to specify the URLs in a database or some other persistent storage from which you read at runtime but configuration files are generally used to store these kind of variable application settings.
    Please remember to mark helpful posts as answer to close your threads and remember that any new question you may have should be asked in a new thread of its own.

  • Dynamically Pass the Column Name cursor. || Dynamic Column Name

    Hi,
    I need to dynamically pass the column name based on a Mapping table in a loop ( Right now i have hardcoded stuff )just like using Execute immediate.... Inside the procedure, I have commented as where i hit the problem.
    Thanks for all of your time...
    Thanks
    Muthu
    CREATE OR REPLACE PROCEDURE xml_testing_clob AS
    doc xmldom.DOMDocument;
    main_node xmldom.DOMNode;
    root_node xmldom.DOMNode;
    user_node xmldom.DOMNode; item_node xmldom.DOMNode;
    root_elmt xmldom.DOMElement;
    item_elmt xmldom.DOMElement;
    item_text xmldom.DOMText;
    item_test xmldom.DOMText;
    nodelist xmldom.DOMNodeList;
    sub_variable varchar2(4000);
    x varchar2(200);
    y varchar2(200);
    sub_var varchar2(4000);
    CURSOR get_users IS
    SELECT FIRST_NAME,LAST_NAME,ROWNUM FROM USER_INFO_TBL WHERE WEIN_NUMBER = '1234' ;
    CURSOR get_cdisc_name IS
    select CTS_COL_NAME,CDISC_NAME from CTS2CDISC_DICTIONARY where CTS_TABLE_NAME = 'USER_INFO_TBL';
    BEGIN
    -- get document
    doc := xmldom.newDOMDocument;
    doc := xmldom.NewDomDocument;
    xmldom.setVersion(doc, '1.0');
    xmldom.setStandalone(doc, 'no');
    xmldom.setCharSet(doc, 'ISO-8859-1');
    -- create root element main_node := xmldom.makeNode(doc);
    root_elmt := xmldom.createElement(doc,'AdminData');
    root_node := xmldom.appendChild(main_node,xmldom.makeNode(root_elmt));
    FOR get_users_rec IN get_users LOOP
    item_elmt := xmldom.createElement(doc,'User');
    xmldom.setAttribute(item_elmt,'OID' , get_users_rec.rownum);
    user_node := xmldom.appendChild(root_node,xmldom.makeNode(item_elmt));
    FOR cv_get_cdisc_name IN get_cdisc_name LOOP
    EXIT WHEN get_cdisc_name%NOTFOUND;
    sub_var := cv_get_cdisc_name.cts_col_name;
    sub_variable := 'get_users_rec.';
    sub_variable := 'get_users_rec.'||cv_get_cdisc_name.cts_col_name;
    x := sub_variable;
    dbms_output.put_line(x); -------------- Here i just see the literal string
    y := get_users_rec.FIRST_NAME;
    dbms_output.put_line(y); -------------- Here i just see actual value ( data )
    item_elmt := xmldom.createElement(doc,cv_get_cdisc_name.cdisc_name);
    item_node := xmldom.appendChild(user_node,xmldom.makeNode(item_elmt));
    item_text := xmldom.createTextNode(doc,x ); ---- This is the place i am hitting with an error .
    If i use variable X then i am able to see only the literal
    string in the output. BUT if i put cursor name.coulmname,
    then the resumt (XML) is fine.I wanted acheive this
    dynamically just like execute Immediate
    item_node := xmldom.appendChild( item_node , xmldom.makeNode(item_text));
    END LOOP;
    END LOOP;
    -- write document to file using default character set from database
    xmldom.WRITETOCLOB(doc,);
    xmldom.writeToFile(doc, 'c:\ash\testing_out.xml');
    -- free resources
    xmldom.freeDocument(doc);
    END;
    +++++++++++++++++++++++++++++++++++ XML OUTPUT +++++++++++++++++++++++++++++++++++++++++
    <?xml version="1.0" ?>
    - <AdminData>
    - <User OID="1">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName> </User>
    - <User OID="2">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    - <User OID="3">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    - <User OID="4">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    - <User OID="5">
    <FirstName>get_users_rec.FIRST_NAME</FirstName>
    <LastName>get_users_rec.LAST_NAME</LastName>
    </User>
    ++++++++++++++++++++++++++++++++++++++++++++++++++++ MAPPING TABLE DETAILS +++++++++++++++++
    CTS_COL_NAME     CDISC_NAME     CTS_TABLE_NAME     XML_TAG     -----------> Column Name
    FIRST_NAME     FirstName     USER_INFO_TBL     Element     -----------> Records
    LAST_NAME     LastName     USER_INFO_TBL     Element     -----------> Records

    My scenario is little different, let me explain:
    My columns will remain same but values changes (based on column formula) according to the selected prompt value
    If I select 'Oct' from prompt then
    Curr will contain data for 'Oct' only
    Next1 will contain data for 'Nov' only
    Next2 will contain data for 'Dec' only
    Next3 will contain data for 'Jan' of next year only.
    Later if I select 'Jul' from prompt then
    Curr will contain data for 'Jul' only
    Next1 will contain data for 'Aug' only
    Next2 will contain data for 'Sep' only
    Next3 will contain data for 'Oct' only.
    I don't have different columns for each months but the columns are capable to reflect data for any month.
    So, how can I reflect the column name as month name for which that contains data.
    Regards,
    S Anand

  • Dynamically passing the fields to the data base through bdc

    hi,
         I need to pass the fields dynamically to the database uploading. Can anyone tell me, how we can get the 'datatype and length' of all fields in hr module. Is there any table for it.
        Please give me the answer if anyone know this.
    thanks & regards,
    sekhar.

    hi,
        This is the fm to get the datatype and length of the field. Where as i want to pass my irregular format of my presentation file to the database by sorting the fields as per the structure of database fields.
    bye.

  • Dynamically pass the date to all the programs in a chain

    Hi,
    I have a requirement to pass the date to all the programs in the chain. The first step when the chain starts should be to calculate the next batch date from a oracle table, and then pass that date as an argument to all the programs.
    For example,
    This should be the sequence of steps once the chain has started.
    1. Start Chain
    2. Step1 - Calculate the next batch date from the oracle table.
    3. Step2 - After the successful completion of Step1, run the program with the input parameter as date which is calculated from Step1.
    4. End Chain
    Please help.

    Hi,
    The recommended way of doing this is to store tha data to be passed (in this case the date) in a table and have the other steps access it.
    If you have many chains, or the same chain used several times, you can use the job name and owner as the primary key for the table. You can then pass the job name and owner into every program as metadata arguments (see define_metadata_argument) so every step knows what job is a part of and can select the data from the table.
    Hope this helps,
    Ravi.

  • Dynamically pass the username and password to report server to invoke reports

    Hi
    The scenario is as follows:-
    9iAS is installed under - Windows 2000 (web server and report Server 6i) and everything works fine.
    We have developed a page using pl/sql cartrige (oracle 8i), from that a report is invoked with some parameters. However, the userid and password is stored under keymap file (cgicmd.dat).
    Is there anyway to pass dynamically the username and password to report server in order to invoke the report.?
    Can any one advise?
    null

    Check out
    http://serverfault.com/questions/371907/can-you-pass-user-pass-for-http-basic-authentication-in-url-parameters
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Dynamically passing the values to search help

    hi
    can I pass some values dynamically to search help input field.
    If I select a profit centre value from a drop down in separate field it should reflect the corresponding values in
    search help which is cost centre input field ( i/p fields is in a column of a UI element table).
    If I add one more row also the corresponding column should bears the search help...
    thanx in advance.......

    Data dictionary based search helps can have multiple importing parameters within Web Dynpro.  There are few rules that are documented in the online help however:
    Be aware that import and export parameters for the search help are determined only within the same context node (see also Transport of Values for the Input Help), and even then only if a Dictionary structure is assigned to the node.
    http://help.sap.com/saphelp_nw70/helpdata/EN/35/bdb6e2c48411d1950800a0c929b3c3/frameset.htm

  • Dynamically passing the values to IN query in JDBC

    Hi,
    I have a list which contains a single or multiple values which does have CustomerVO as a generic.Here i need to iterate the list pass these values to "IN" query.
    These should happen dynamically, as we dont know whether the list will hold a single or multiple value. If the list.size ==1 , then it contains a single value in it. Hence there is no need for a comma(,) in the IN query else we need to have it, like .... IN (Aaron,Bob). Please help me in this?
    Thanks.

    797836 wrote:
    I have a list which contains a single or multiple values which does have CustomerVO as a generic.Here i need to iterate the list pass these values to "IN" query.
    These should happen dynamically, as we dont know whether the list will hold a single or multiple value. If the list.size ==1 , then it contains a single value in it. Hence there is no need for a comma(,) in the IN query else we need to have it, like .... IN (Aaron,Bob).So basically you need to output the List (capital 'L') as a comma-delimited list (small 'l').
    The procedure for that is usually something like:
    1. Output the first element.
    2. For any further elements:
    2a. Output ","
    2b. Output the element.
    Winston

  • Dynamic pass parameter URL iview Portal

    Hi guys
    i have url iview, this iview is assigned to a rol of anonymous user,
    http://XXXXXXXX/irj/portal/anonymous?guest_user=Guest01
    the ivew set automatically and i can see when user guest sign in.
    this iview have 2 parameters i need this parameter, has set values with a link, like this
    http://XXXXXXXX/irj/portal/anonymous?guest_user=Guest01&parameter1 = value1&parameter2 = Value2
    i appreciated any help
    Angel G.

    Hi Angel,
    So you are trying to pass two parameters to your iView that is embedded in a portal role that is assigend to an anonymous user... is that right?
    What problems are you having? Does the iView not see the parameters if passed as part of the top level URL (e.g.
    http://XXXXXXXX/irj/portal/anonymous?guest_user=Guest01&parameter1=value1&parameter2=Value2)?
    Not sure if it is just a typo but you have blank spaces between your "=" signs in that URL you posted, there should be no spaces.
    A bit more info and perhaps I can help more,
    Simon

  • Dynamically passing the source table name to OWB mapping

    I am building a mapping wherein one of the source tables is a view. The view name varies with the time parameter I pass in. I am looking at ways to pass in the time parameter to the mapping procedure such that it first gets the view name from a table and uses that view as the source table to fetch data. Any directions?
    In normal PL/SQL coding, I can first get the view name and use this view name to buld a dynamic query, which can be then executed.

    This is a common question. The best way to do this is to use a synonym.
    Create the synonym in the database and import into OWB. Use the synonym in your mapping. Have your mapping accept a mapping input for the table you want the synonym to point to. Setup a premapping process to re-create the synonym with the table you want to use.
    Here is the procedure that I use. It defaults to a private synonym. Remember, the synonym will be created in the same schema that the mapping is deployed to.
    CREATE OR REPLACE PROCEDURE "CAWDATA"."CREATE_SYNONYM_PRC" ("P_SYNONYM_NAME" IN VARCHAR2,  "P_OBJECT_NAME" IN VARCHAR2,
    "P_IS_PUBLIC_SYNONYM" IN BOOLEAN DEFAULT false)    IS
    BEGIN
    if p_is_public_synonym = true then
    execute immediate 'create or replace public synonym '|| p_synonym_name || ' for '|| p_object_name;
    else
    execute immediate 'create or replace synonym '|| p_synonym_name || ' for '|| p_object_name;
    end if;
    exception
    when others
    then
          raise_application_error(sqlcode,sqlerrm) ;
    END;

  • Dynamically passing the Columns values

    HI all,
    I am trying a pl/sql block which which take a string and execute it dynamically. Suppose below is string
    M_COL := Q'[(P_CODE=> ':DEPTNO',P_CODE_TYPE => 'STATE')]';
    Now trying to execute it. using below
    M_STR := 'SELECT CHK_DEPT' || M_COL || ' FROM EMP WHERE EMPNO=''7499''';
      EXECUTE IMMEDIATE M_STR
        INTO M_DATE;
    Now what i want is M_STR vairable to executed as
    SELECT CHK_DEPT(P_CODE=> DEPTNO,P_CODE_TYPE => 'STATE') FROM EMP WHERE EMPNO='7499'
    instead of
    SELECT CHK_DEPT(P_CODE=> 'DEPTNO',P_CODE_TYPE => 'STATE') FROM EMP WHERE EMPNO='7499'
    other in other way in parameter P_CODE Column value of DEPTNO should be passed.Also note that DEPTNO column in string M_COL is Dynamic.i.e
    M_COL := Q'[(P_CODE=> ':DEPTID',P_CODE_TYPE => 'STATE')]'; OR
    M_COL := Q'[(P_CODE=> ':EMP_ID',P_CODE_TYPE => 'STATE')]';
    Any suggestions, Please share with me.

    ibney 
    Actually you can use it by using the EMP and DEPT Table. If you Require EMP and DEPT tables structure and data, then let me know.
    Function which i created is below.
    CREATE OR REPLACE FUNCTION CHK_DEPT(P_CODE NUMBER,P_CODE_TYPE VARCHAR2) RETURN VARCHAR2 IS
      M_NAME DEPT.DNAME%TYPE;
    BEGIN
      FOR I IN (SELECT DNAME FROM DEPT WHERE DEPTNO = P_CODE) LOOP
        M_NAME := I.DNAME;
      END LOOP;
      RETURN M_NAME;
    END;

  • Access a Business Partner by passing the  URL

    Hi Nicolai,
    please try my answer in this threat:
    [Re: Send weblink of account in email|Re: Send weblink of account in email]
    Kind regards
    Manfred

    Hi Manfred,
    thanks for the Answer. By trying this link http://server:8000/sap/bc/bsp/sap/crm_ui_start/default.htm?crm-object-type=BP_ACCOUNT&crm-object-action=B&crm-object-value=myID&crm-object-keyname=PARTNER&saprole=myRole i get a message "crm_ui_start" can not be found. I changed "crm_ui_start" to "crm_ui_frame" and it was working. But if i am trying to pass another id i see the default.html page again. I hope you can help me
    Edited by: Nicolai Zaidman on May 26, 2010 6:00 PM

  • How to pass the dynamic URL of web services in JAVASCRIPT in ADOBE

    Hi,
    In the below scenario how do i pass the URL dynamically  from context's importing parameters instead of hard coding.
    var cURL = "http://................" ;
    var service = SOAP.connect(cURL);
    xfa.connectionSet.connectionname.execute(0);
    B'coz the URL is going to be different in Dev, Test, Prod system. In this case i can't hardcode the URL  as explained in previous treads. Or please provide the possible alternatives.
    Any help is highly appreciated.
    Regards,
    Sathish

    Hi,
    Got the solution for
    var cURL = "http://................" ;
    var service = SOAP.connect(cURL);
    xfa.connectionSet.connectionname.execute(0);
    I tried with
    var cURL = xfa.form.data.PAGE2.SubFormPage.IM_URL.rawValue ;
    var service = SOAP.connect(cURL);
    xfa.connectionSet.connectionname.execute(0);
    xfa - Root Node
    form - Model
    data - Form Design Root Node
    PAGE2 - Page Name
    SubFormPage - Sub Form inside the page
    IM_URL.rawValue - Importing field to Adobe{ which i dragged from Data view into sub form(SubFormPage) & set the field as invisible so that it won't be available to user}
    Working as expected.
    Thanks,
    Sathish

  • Dynamic Passing of the Parameters In Inforview URL

    Hi,
    I have a requirement wherein I need to dynamically pass the prompt values through the infoview url. I am able to successfully pass the parameter value in the url and the report renders data based on the prompt value passed.
    When the report is opened when clicked on the link....there is  Refresh option to the user. My requirement is such that I do not want the user to be able to run the prompt again upon clicking the refresh button. Is there a way to restrict the user to be able not to see the prompt  ( for which the value is passed in the url)....The user needs to refresh the report to be able to enter values for other prompts that are declared ( date prompts )....but not the ones where its ids are passed...
    The url link which works is here  :
    http://development/businessobjects/enterprise115/InfoView/scripts/opendocument.aspxsType=wid&sRefresh=Y&sDocName=Prompt_Test&sWindow=New&lsSEnter%20Lines:=Leather&sPath=[A],[EFashionSamples]
    Please advice...
    Thanks,

    Hi,
    I have a requirement wherein I need to dynamically pass the prompt values through the infoview url. I am able to successfully pass the parameter value in the url and the report renders data based on the prompt value passed.
    When the report is opened when clicked on the link....there is  Refresh option to the user. My requirement is such that I do not want the user to be able to run the prompt again upon clicking the refresh button. Is there a way to restrict the user to be able not to see the prompt  ( for which the value is passed in the url)....The user needs to refresh the report to be able to enter values for other prompts that are declared ( date prompts )....but not the ones where its ids are passed...
    The url link which works is here  :
    http://development/businessobjects/enterprise115/InfoView/scripts/opendocument.aspxsType=wid&sRefresh=Y&sDocName=Prompt_Test&sWindow=New&lsSEnter%20Lines:=Leather&sPath=[A],[EFashionSamples]
    Please advice...
    Thanks,

Maybe you are looking for

  • Using lightning with Midi

    I now have the latest iPad and the dilemma of how to connect to my existing devices. I know I need the new VGA connector but what about midi? I read the that the usb camera connector works as did the previous camera connection kit so that should be s

  • Communication error- then insufficient bandwidth

    we both have macs and bandwidth limit is set to none in ichat and in quicktime to intranet/lan both of our computers are brand new and bandwidth does not seem to be the problem the firewall is not checked either Date/Time: 2007-07-16 18:55:38.030 -05

  • FI/CO error

    hai while posting incoming excise invoice, system showing the error - Message no. RW016 FI/CO interface: Inconsistent FI/CO line item data for updating. How to resolve this error?.

  • PowerPivot - SP2013 - Cannot create the service instance because the parent Service does not exist

    Unable to setup PowerPivot using PowerPivot configuration tool. I have One server which has SQL 2012 SP1 and SP2013. The farm is configured with all service applications. SQL has default instance with DB Engine and SSAS Tabular. Reporting Services ha

  • Activate Classic PCA

    Hi Gurus, How to Deactivate PCA accounting in ECC6 (the menu path). Need to activate Document splitting Gowsi