Variable in like

I need to query the table as follows.
select * from table1 where col1 like 'NewYpork%';
I would like to replace NewYork with variable city so that I can pass values.
Please let me know how to code the same.
I tried '&city%' it is not working.
thanks

Thanks to all of you and Maybe() your solution worked for me.
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Maybe ():
See if this helps....
select *
from table1
where col1 like vCity| |'%';<HR></BLOCKQUOTE>
null

Similar Messages

  • Retrieve POST variables just like in a normal HTTP forms

    Hi All :D
    Can anyone tell me how to retrieve POST variables just like
    in a normal HTTP form?
    I have 2 flex applications. One will send the POST variables
    and I would like the other to retrieve
    these variables. How to implement this?
    Thanks :D

    "JuggerOgre" <[email protected]> wrote in
    message
    news:g92bce$kgf$[email protected]..
    > Hi All :D
    >
    > Can anyone tell me how to retrieve POST variables just
    like in a normal
    > HTTP
    > form?
    > I have 2 flex applications. One will send the POST
    variables and I would
    > like
    > the other to retrieve
    > these variables. How to implement this?
    Flex is a client side application. You could send them from
    one client and
    then request them from the other client, or you could use
    something like
    BlazeDS to "push" the information.
    HTH;
    Amy

  • Best Index type for low variability columns like Country or LastName

    Hi, 
    What would be best Index to use on Low variability columns like Country or LastName in SQL Server.
    I think BitMap index we can use only on columns where we can have two possible value like male/female.

    basically I was trying to figure out if there is any kind of Indexes in SQL Server which have special design for low variability column. 
    my example queries like :  select a,b,c from table t where country = 'USA'
    Hi Eshant,
    In your scenario, you need to know which index is the best Index to use on Low variability columns like Country or LastName in SQL Server. As per my understanding, the performance not only related to the types of index on that column, but also related
    to the records on your table.
    Here is blog which tests the performance for different types of index on variability column like lastname, please refer to the link below.
    http://www.codeproject.com/Articles/234399/Database-performance-optimization-part-Indexing
    Regards,
    Charlie Liao
    If you have any feedback on our support, please click
    here.
    Charlie Liao
    TechNet Community Support

  • Error bind variable with "like %" clause ?

    Hello everybody;
    I would like to know how to do a like clause to bind variables, with this code i obtain 'ORA-00933: SQL command not properly ended' error
    v_query:= 'UPDATE ' || collection(i) ||' SET REF_PLAN=:quatre_champ WHERE FAM_SIM like ''%'':prem_champ''%'' AND PRISE_V1P like ''%'':deux_champ''%'' AND BROCHE_V1P like ''%:trois_champ%''';
                                  EXECUTE IMMEDIATE v_query USING quatre_champ,prem_champ,deux_champ,trois_champ;Maybe my " ' " are in a bad positions ?
    Thanks for your help, regards.

    Hi,
    try this
    v_query :=
             'UPDATE '
          || collection (i)
          || ' SET REF_PLAN =:quatre_champ WHERE FAM_SIM like'|| '''%:prem_champ%'''
          || ' AND PRISE_V1P like' || ''' %:deux_champ%'''
          || ' AND BROCHE_V1P like'||''' %:trois_champ%;'''
    Of course not tested
    Any efforts to give sample data and help us recreated the problem will be appreciated.
    Cheers!!!
    Bhushan

  • List of variables/tokens (like ${flexlib}) in mxmlc?

    hi,
    I sometime saw the use of special token like ${flexlib}, ${document} to specify flex library path (mxmlc or flex builder compiler options), I searched the net but can't find much info about such variables.
    Does anyone know where or how can I list or check all the available tokens ?
    Cheers.

    +1 for this, anyone have any pointers?

  • Table store Cost of Good Sold (Variable cost) like CK13n

    Hi,
    I need to extract the Cost of Good Sold (Variable cost ) by material as show in CK13n, what is the table I should go for ?
    I have already check KEKO & KEPH but it does not have the same figure

    Dear,
    All the data Profit Center related data for Materials is available in GLPCA.
    Cost of Goods Sold will not be directly avaialabe as a field in this table. You will have to calculate based on the business logic.
    Regards,
    Sandeep

  • How to pass variable into lov sql query using like operator

    hi.
    i want to use a lov where i want to pass a variable using like operator.
    my query is
    select empno,name from table where empno like ':ed%';
    my empno is A001 TO A199 AND B001 TO B199 so i want show either A% or B% empno
    how can i do this ?
    reagrds

    kindly press Shift+F1 at a time you face this error to see the exact Oracle error message.
    and provide us with that detail
    and its better if you start new topic for that error... because that will be new error,,,
    -- Aamir Arif
    Edited by: Aamiz on Apr 7, 2010 12:27 PM

  • Use of Return and Notify_url variables offered by PayPal

    I have been integrating PayPal into my application (ASP NET MVC) where I made some analysis about PayPal (went through their documentation about the integration). Created a PayPal sandbox account and can transfer the amount.What I want to know is about the `return` and `notify_url` variables. I have enabled `auto return` in my account and also enabled `PDT`. My form variable is like this:<input type="hidden" name="notify_url" value="http://localhost:xxx/xx/Notify">
    <input type="hidden" name="return" value="http://localhost:xx/xx/Return">As I have surfed in net, what they state about `Return` and `notify_url` is:> The "return" URL to which PayPal redirects buyers’ browser after they complete their payments. For example, specify a URL on your site that displays a “Thank you for your payment” page. Default is nothing is specified – PayPal redirects the browser to a PayPal webpage. Note, you must have "Auto Return" enabled in your Account Profile settings in order for this variable to work.
    >PayPal returns data back to your site via what they call IPN. Its really just a callback to a URL you specify. You can set this URL via the variable `notify_url` you can send to PayPal.From the above quotes what I understand is that PayPal will post `IPN` variables to `notify action` once the payment done before auto redirecting to the page I set (I mean customer may go the application page or they may close the session).But only return action alone hitting not the `Notify_url`.Correct me if I misunderstood the concept and let me know if it was still Unclear.

    Yes, it's not present in the code I have posted but I have tried this as well.
    It didn't work, as expected, because soap/axis is on top of http and not https and because my proxy uses http as well (or at least that's what I have learned so far).
    In fact, I have tried all combinations between http.\*, https.\*, and Authenticator without success.
    I think the problem is more soap/axis related. The solution for axis2 seems somewhat 'trivial' (and well explained over the web) while it's not for axis1.
    Regards
    Rob
    Edited by: RobR on Nov 29, 2007 4:37 AM
    Edited by: RobR on Nov 29, 2007 9:56 AM

  • Please help me understand making and loading variable classes

    Hi guys ,
    I know that I am stupid but I just can't get this!  AS3 says you need to load variables into a class?  Please please give me a simple example
    my variables look like this... (the whole point of playing around with variables was that if I had to make a change I could access one place and change them...
    but now I realse that I can't access or call them outside the movie clip they are in:(
    please hlep me!
    var ans1="";
    var ans2="";
    var w1="ABN";
    var def1="An ABN (Australian Business Number), is a personal number for your business that makes it easier and quicker to deal with  government and other businesses.";
    var w2="ACN";
    var def2="An ACN is an Australian Company Number, which is a special number that each company gets to identify it.  No two companies can have the same ACN";
    var w3="Action Plan";
    var def3="A business Action Plan will show What needs to be done and When it needs to be done by."
    var w4="Advertising";
    var def4="Advertising is producing information to let people know about your business and try to increase sales."
    var w5="Promotions";
    var def5="Promotions are where your business tries to increase the sales of a particular item through offering a good deal, advertising or a special display.";
    var w6="Benefit";
    var def6="A benefit is something good that you get.  One benefit of doing exercise is getting fit, another benefit is losing weight.";
    var w7="Business Mentor";
    var def7="A business mentor is a trusted guide. Someone who has experience and has been successful in business and can help and advise you.";
    var w8="Business Name";
    var def8="A Business name is the name a business uses to do its work.  It lets customers know who you are.";
    var w9="Business Registration";
    var def9="When you start a business you need to register your ABN, you may need to register your business name.";
    var w10="Cash flow";
    var def10="Cash Flow for a business is having enough cash saved to be able to pay your bills when they are due.";
    var w11="Characteristic";
    var def11="The characteristics of something are describing words about that thing.";
    var w12="Charges";
    var def12="A charge is something you have to pay, an expense.";
    var w13="Company";
    var def13="Is the same as a corporation. A company is a type of business that needs to be registered (either State or Federal) and has special legal status.  A company can put Pty. Ltd after it’s business name.";
    var w14="Competitor";
    var def14="A competitor is another business that is challenging you for customers.";
    var w15="Constitution";
    var def15="A constitution in business is a list of rules and principles that a company has agreed to follow.";
    var w16="Corporations Aboriginal and Torres Strait Islander Act";
    var def16="In the 1960s and 1970s, various reviews advised the Australian Government of the need for legislation to make it easier for Indigenous communities and organisations to form corporations. As a result, the ACA Act was passed, allowing Aboriginal and Torres Strait Islander groups to form corporations for any social or economic purpose.";
    var w17="Corporations Act";
    var def17="The Australian Securities and Investments Commission (ASIC) have laws that apply to corporations and these are found in the Corporations Act.";
    var w18="Cultural knowledge";
    var def18="Cultural knowledge is special information that is held by a particular cultural group, this could include technologies (e.g. special ways of using materials, making and using tools), stories, language and song, cultural rules, taboos, regulations and oral history.";
    var w19="Customer";
    var def19="The customer is someone who is buying something from a business.";
    var w20="Debt";
    var def20="Is something that you have to pay back. If you borrow 20 dollars you have a $20 debt.";
    var w21="Direct competitor";
    var def21="Is selling exactly the same thing as your business and competing for your customers.";
    var w22="Dividend";
    var def22="A dividend is money that is paid to shareholders regularly out of the company’s profits.";
    var w23="(Microsoft) Excel";
    var def23="Microsoft Excel is a computer program that lets you keep lists of numbers and also add up totals and do other sums to those numbers.";
    var w24="Fees";
    var def24="A fee is something that you have to pay, an expense.";
    var w25="Financial Management";
    var def25="Financial Management is the planning, organising, checking  and controlling of the income, expenses and Tax for a business.";
    var w26="Franchise";
    var def26="A franchise is a type of business you can buy. When you buy a franchise you set up the same type of business that has been successful somewhere else.";
    var w27="General ledger";
    var def27="A general ledger for a business is where all of the income and expenses for that business are kept in a document.";
    var w28="Goal";
    var def28="A goal is a target that you set yourself or your business.  Something that you want to achieve.";
    var w29="Growth opportunity";
    var def29="A growth opportunity is a chance for a business to get bigger.";
    var w30="GST";
    var def30="The Goods and Services Tax is paid when you buy things. Some items like food and medicine do not have the Goods and Services tax charged to them.";
    var w31="ICN";
    var def31="Indigenous Corporations Number is a special number given each indigenous corporation to identify it. No two indigenous corporations can have the same ICN.";
    var w32="Incorporate";
    var def32="Incorporate is what people do when they create a company or corporation.";
    var w33="Indirect competitor";
    var def33="An indirect competitor is selling a similar product or service to your business.  E.g. If you had a pizza shop, a fried chicken shop is an indirect competitor because it sells food and your customers might want to eat chicken instead of pizza.";
    var w34="Labour";
    var def34="Labour is all the work done by people (including you) in your business.";
    var w35="Legal name";
    var def35="Your Legal Name is the name that is on your Birth Certificate.";
    var w36="Legal protection";
    var def36="Legal protection means you are protected under the law from certain things happening.";
    var w37="Legal structure (business)";
    var def37="Legal structure is the type of business, sole trader, company, partnership.";
    var w38="Liability";
    var def38="A liability is something you are responsible for.";
    var w39="Licence";
    var def39="A license is proof that you have permission to do something.  For example, if you have a driving license you can drive a car.";
    var w40="Lodge";
    var def40="To lodge a form means to send it to where it has to go.";
    var w41="Manufacturing";
    var def41="A manufacturing business makes things.";
    var w42="Marketing budget";
    var def42="A marketing budget is the amount of money you have set aside for advertising and promotion for your business.";
    var w43="Minor criminal convictions";
    var def43="A minor criminal conviction is something small you have been in trouble over with the police.  Shop lifting is an example of a minor criminal conviction. ";
    var w44="MYOB";
    var def44="MYOB is financial management software for business.";
    var w45="Networks";
    var def45="A network for business is all of your contacts, customers and the people you know through doing business. ";
    var w46="Obligations";
    var def46="Obligations are things you are responsible for.";
    var w47="One off";
    var def47="A “one off” cost is something that only needs to be paid for once.";
    var w48="Operating budget";
    var def48="The Operating Budget is a record of the income and expenses of a business.";
    var w49="Overheads";
    var def49="Overheads are the expenses or costs in running your business, the things you have to pay for.";
    var w50="Partnership";
    var def50="A partnership is where two or more people own and run a business.";
    var w51="Permission";
    var def51="Permission is where you ask if you can do something.  If you ask and the person, group or council and they say yes, you have permission.";
    var w52="Permit";
    var def52="A permit is a special license or permission to do something";
    var w53="Personal assets";
    var def53="Personal assets are things that you own, like your car, house and furniture.";
    var w54="Personal protection";
    var def54="Being part of a company offers the shareholders some personal protection from legal and debt liabilities. This means that they have less responsibility than a Sole trader.";
    var w55="Photo identification";
    var def55="Photo Identification is a document that shows who you are and has your photo on it, like a Driver’s License, 18+ card or a passport.";
    var w56="Postal address";
    var def56="Your postal address is the address where you get your mail sent.  It might be different to the address where you live.";
    var w57="Pricing structure";
    var def57="Pricing structure is where prices for something can change depending on how much the customer orders.  The bigger the order the cheaper the price becomes.";
    var w58="Private";
    var def58="Private means not part of government.";
    var w59="Profitable";
    var def59="Profitable means that there is money left over after a business pays for all of its expenses out of the money it has made.";
    var w60="Promote";
    var def60="When you promote something you try to advertise or increase the amount of people who know about it.";
    var w61="Public liability insurance";
    var def61="Public Liability Insurance gives legal protection to the business owner against getting sued by a member of the public for things like injury or property damage. ";
    var w62="Quickbooks";
    var def62="Quickbooks is financial management software for business. ";
    var w63="Registered";
    var def63="Registered means that you have recorded your information on an official list.  You register your car to be able to drive it on the road.";
    var w64="Regulations";
    var def64="Regulations are rules or laws that control what you can and can’t do.";
    var w65="Retail";
    var def65="Retail is where things get sold in small amounts to customers.  Retail usually happens in a shop and the prices are higher.";
    var w66="Service";
    var def66="A Service business provides a service, like lawn mowing or accounting services.";
    var w67="Shareholders";
    var def67="Shareholders are people that own part of a company.";
    var w68="Sole trader";
    var def68="A sole trader is where one person owns and runs a business.";
    var w69="Start up budget";
    var def69="A Start Up Budget is the first Budget that gets done for a starting business and includes all of the costs involved in setting up the business.";
    var w70="strategy";
    var def70="A strategy in business is a plan of attack, or a plan of how to get something done.";
    var w71="system";
    var def71="A system is business is a set of detailed plans and rules for how to do something in your business.";
    var w72="Vision";
    var def72="Vision in business is being able to imagine and see something in the future.  To set up a new business you need to be able to see something new that wasn’t there before.";
    var w73="Wholesale";
    var def73="Wholesale is where things get sold in large amounts, usually for a cheaper price. The Wholesale price. A wholesaler is usually a big shed where goods are stored. Wholesale is not usually available to just anyone.";

    no, that's not a reason you would use a class file.
    anyway, your document class variables are defined on the main timeline so to reference them from any timeline you can use:
    MovieClip(root).w36;  // for example  (but it's really undesirable to have coding in more than one timeline)

  • Is there any way to give an archive attribute a variable?

    Is there any way to get the archive attribute to take a variable?
    What I want to do is to be able to change the value in an XML file and have that read at run time.
    For example, what I have now looks like this:
    <jsp:plugin code="Display.class" archive="http://myserver:8080/myapp/Display.jar" height="650" jreversion="1.5" type="applet" width="800">What I would like to do is to be able to give the archive a variable, just like you can with value arguments. I tried doing this:
    jsp:plugin code="Display.class" archive="${Display.jarUrlValue}" height="650" jreversion="1.5" type="applet" width="800">But that didn't work. It threw this:
    com.sun.web.ui.appbase.ApplicationException: org.apache.jasper.JasperException: /Display.jsp(14,161) The archive attribute of the jsp:plugin standard action does not accept any expressions
    com.sun.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:534)
    com.sun.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:301)
    So, is there any way around it, or should I take the error message verbatim?
    Thanks.

    Is there any way to get the archive attribute totake a variable?
    According to the [url
    http://java.sun.com/products/jsp/syntax/1.2/syntaxref1
    215.html#8837] reference, no you can't providea runtime expression to this attribute.
    Yeah, I know it said that but I was hoping there was some sort of hack around it. Seems to be a bit of an oversight to me.
    Oh well!

  • Convert String variable value  to an Object referece type

    Hi all,
    I want to know that if there any possible way to convert String variable value to a Object reference type in java. I'll explain by example if this is not clear.
    Let's think that there is a string variable name like,
    String name="HelloWorld";
    and there is a class name same to the variable value.
    class HelloWorld
    I am passing this string variable value to a method which is going to make a object of helloworld;
    new convertobj().convert("HelloWorld");
    class convertobj{
    public void convert(String name){
    // in hert it is going to create the object of HelloWorld;
    // HelloWorld hello=new HelloWorld(); just like this.
    now i want to do this from the name variable value.( name na=new name()) like wise.
    please let me know if there any possible way to do that.
    I am just passing the name of class by string variable then i wanted to make a instance of the class which come through the variable value.
    thanx.

    Either cast the object to a HelloWorld or use the reflection API (Google it) - with the reflection API you can discover what methods are available.
    Note: if you are planning to pass in various string arguments and instantiate a class which you expect to have a certain method... you should define an interface and have all of your classes that you will call in this way implement the interface (that way you're sure the class has a method of that name). You can then just cast the object to the interface type and call the method.
    John

  • Assigning value to variable of type time

    Hi,
    I want to assign value '8:00:00' to a time variable (w_time like sy-uzeit).
    How do i do this? Do i need to do any casting?
    w_time = '8:00:00' didnt work.
    I am trying to use this in a customer exit.
    Thanks,
    Arun KK

    Gotcha!
    Thanks!!

  • Reports with complex repeated expressions within groups - ideal candidate for variables but you can't aggregate them!?

    Hi all,
    Given this:
    date
    (rowgroup)
    categories (colGroup)
    Total (forCategories)
    some Percent
    Result
    Result With%
    Total of Result And Other Things here
    cat1
    cat2
    cat3...
    1st
    [ val
    val
    val]
    Sum(Value)
    Max(%)
    Tot*reportVar+3300
    Result*1+Max(perc)
    result + resultWith% (NOTE:this is total from last two cells)
    2nd
    3rd
    Totals
    Total
    Total
    total
    total
    rowGroup by date
    colGroup by category
    there are some "REPORT" variables that do things like "total" for a dataset that is to be shown on the report and used in some calcs...
    So now that I've (hopefully) set the scene...
    Aside from the apparent BUG in vs2012 where you can't see or get intellisense on "Group Level" variables - which is REALLY tough when you aren't that familiar with variables I must say!! - variables seem like they would solve my problem.
    But if I use report variables in the row level I get the "cannot be used in aggregates" when I try to "Add Total" which is annoying but I'll accept that as a limitation, but surely this can't be the first time someone has wanted
    to achieve the above in a report!!
    So what is the solution, there must be one...
    While I know SSRS is NOT Excel its really surprising and annoying when something so simple like summing the last two fields is nearly impossible and I can't see WHY it should be so frustrating that I have to have complex formula repeated in several
    cells... particularly when I get the formula wrong and then have to remember to CHANGE it in several different places?!
    Is SSRS simply not the right tool for reports where you need to be able to see and follow calculated series and I should be encouraging the business areas to extract data into Excel spreadsheets with some kind of template setup or am I missing something
    really obvious about SSRS that would stop me from pulling all my hair out...?

    Hi noJedi,
    If I understand correctly, you want to sum total values of the last three columns. In this situation, we can use custom code to work around the issue. Please refer to the custom code below to work around the issue:
    Public Shared Value as Decimal=0
       Public Shared Function GetValue(Item as Decimal) as Decimal
          Value= value + Item
          Return Item
       End Function
       Public Shared Function GetTotal()
          Return value
       End Function
    Then use the expression below to calculate the multiplication result:
    =Code.GetValue(Calculate Expression)
    And use the following expression to calculate the sum value:
    =Code.GetTotal()
    Since you need to calculate three columns total values, we need modify the code repeat three times to get the values for each columns.
    There is a similar issue, you can refer to it.
    http://social.technet.microsoft.com/Forums/en-US/2084ef24-76d0-47c3-964a-340278d998c0/ssrs-2008-custom-code-to-properly-calculate-sums?forum=sqlreportingservices
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Need to condense the value of VBELN in to new variable.

    Here in this code..I had defined a Local variable LV_VBELN LIKE VBRK_VBELN and VBELN is Type c (10).
    The function module that I had used in the Import Parameter
    you can see the BRANCH...Its type is C (4).
    I am passing the value of VBELN to the Import parameter in the function module. As it result it is throwing the short dump.
    I need to declare a new Local variable of type c with length 4 and condense the VBELN value into this local variable and pass it to the Functino module.
    Can anyone suggest me with the code.
    Here is the code.
    DATA: ADDRESS LIKE SADR,
              BRANCH_RECORD LIKE J_1BBRANCH,
    CGC_NUMBER LIKE J_1BWFIELD-CGC_NUMBER, 
          ADDRESS_VALUE LIKE ADDR1_VAL.
      DATA : LV_VBELN LIKE VBRK-VBELN. "Local Variable for vbrk-vbeln
    --->Select single bupla into lv_vbeln from vbrk where vbeln EQ is_bil_invoice-hd_gen-bil_number.
    CALL FUNCTION 'J_1B_BRANCH_READ'
         EXPORTING
              BRANCH     = lv_vbeln   
              COMPANY           = is_bil_invoice-hd_org-comp_code
         IMPORTING
              ADDRESS           = ADDRESS
              BRANCH_RECORD     = BRANCH_RECORD
              CGC_NUMBER        = CGC_NUMBER
              ADDRESS_VALUE     = ADDRESS_VALUE
         EXCEPTIONS
              BRANCH_NOT_FOUND  = 1
              ADDRESS_NOT_FOUND = 2
              COMPANY_NOT_FOUND = 3
              OTHERS            = 4.
    IF sy-subrc = 0.
      st_txt-cnm1 = ADDRESS-NAME1.      " Name 1
      st_txt-cnm2 = 'BRAZIL'.   
      st_txt-cnm3 = ADDRESS-STRAS.  " House address & street
      st_txt-cnm4 = ADDRESS-ORT01.   " City
      st_txt-cnm5 = ADDRESS-PSTLZ.   " Postal code
      st_txt-cnm6 = 'Tel:'.         
      st_txt-cnm7 = ADDRESS-TELF1    " Telephone no.
      st_txt-cnm8 = ADDRESS-TELFX.   " Fax number
    *Commmented and added to avoid hard code CNPJ
    st_txt-cnm9 = 'CNPJ ' + CGC_NUMBER.     " CGC number (company,branch,check digits)
    CONCATENATE 'CNPJ' CGC_NUMBER INTO st_txt-cnm9 SEPARATED BY SPACE.
    **End of changes
    ENDIF.

    Hi Kittu,
    The length of BRANCH is 4 but the length of VBELN is 10.
    DATA: LV_VBELN like VBRK-VBELN. "Local Variable for vbrk-vbeln
    The short dump is due to TYPE MISMATCH. So try to declare in the following way...
    Declare like this....
    DATA: LV_VBELN like J_1BBRANCH-BRANCH.
    Best regards,
    raam

  • FTPs connection error:When using Variable substitution for Directory path

    Hi
    I am transferring data from BI to xml file via PI: Here a Client proxy from BI sends the data to PI and the PI FTPs the XML file to a remote location. For FTP I am using FTPs SSL connection.
    It was working fine untill I used Variable susbstitution to determine Directory path dynamically. I am using this because different xml files are intended to goto the different locations.
    I did the variable substitution like this:
    Target Message Structure:
    ---> Target Directory: %var1%
    <?xml version="1.0" encoding="UTF-8" ?>
    <MT_BI_EXTRACT_FILE>
      <Header>
         <Directory>/Customer</Directory>
    </Header>
    <Detail>
    </Detail>
       </MT_BI_EXTRACT_FILE>
    And in the variable substitution I am doing it this way
    payload:MT_BI_EXTRACT_FILE,1,Header,1,Directory,1
    And the error I am getting is:
    Attempt to process file failed with Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    Exception caught by adapter framework: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure.
    Does anybody have some Idea of this ??
    Regards
    Naina

    Hi,
    I guess the problem is not with Variable Substitution..
    Error when getting an FTP connection from connection pool:
    So its a connection problem..
    Also check the option Disable Security check and try again...
    Try to check again if the interface is executing properly without Variable substitution and let us know..
    Babu
    Edited by: hlbabu123 on Jan 7, 2011 2:46 PM

Maybe you are looking for

  • Issues with Installing Adobe Photoshop Elements 8 on iMac

    Hello Members, I no longer have Adobe Photoshop Elements 8 registered on any computer as my previous computers crashed and the hard drives were no longer functional.  I tried installing the Adobe Photoshop Elements 8 Disc on my new iMac computer and

  • Setting default directory

    Hi, I would like some help regarding directory setup. I have made a frame that has an image in it. when I transfer my application to another PC (say a Linux machine) the directories do not have the same name so the image cannot be found and displayed

  • Blocking inserts

    How can we block users from inserting into or updating data in tables through sqlplus? Dipin

  • ~/library is hidden

    When I tried to install new profiles for printer photo paper, I discovered that my user/library folder is hidden. Since my older profiles are there, and colorsync is using them, I have to get to the folder. For those who have the same problem, and as

  • IDS 4215 Inline VLAN Pair

    I am trying to configure IDS 4215 to do inline vlan pair with a Cisco 3750 Layer 3 switch. We have 4 vlans in the 3750, vlan 100 for workstations,vlan 200 for servers, vlan 250 for ip phones and vlan 150 for firewalls. All vlans have corresponding SV