I want to pick upast two digit from variable

Hi all there
I want to pick up last two digit from a varibale whcih containt 3 digit value.
Regards
Sagar

hi this is a bit good ...
report ztest.
parameters: v_test type p decimals 3.
data: v_char type char18,
      str_len type i.
v_char = v_test.
str_len = strlen( v_char ).
str_len = str_len - 2.
write:/ v_char+str_len(2).

Similar Messages

  • Want To Pick a single file from the Source Directory

    Hi,
       My Scenario is File to Proxy. Legacy team is generating Bunch of files in a same directory.But i  want to pick single file for each poll interval. after process teh firts file only Sender Adapter should pick and process the next file .
    At prsent  , My scenario is picking all the files  in a single shot and all the files are processing parellelly. . But all the files are related to one Process Order So, out of bunch of files some few of files are processing successfullu. remaining all teh files are getting  " Proces Order is locked by another User" Error message . This was happeing only for the parellel processing.  And from technical point of view , In sender Communication Channel i have used  Quality of Service  is Exactly Once in Order  and i have mentioned the Queue name also. .
    Evel legacy team is generating Bulk of files i want to pick a single file only, suppose if theer is no chnace then at least i want to process single file at a time  after finishing the one file processing , then only i want to go for the next file
    For this, is teher any paremeters need to be set , please suggest me,.
    Regards
    Jain

    At prsent , My scenario is picking all the files in a single shot and all the files are processing parellelly.
    Are you using the Additional Source Files options?
    What you can do :
    1) Select Processing Tab > Processing Sequence> By Date
    2) You can introduce a delay between two processing by using a Thread.sleep(msec) statement in some UDF in your mapping...this will ensure some delay between two processing: Re: Delay in MM possible ?
    3) You can select the Connect Mode option as Per File Transfer.....keep it as the last option....
    Regards,
    Abhishek.

  • Want to fetch first two row from database

    i'm having a database with multiple rows. I want to fetch first two rows form it dynamically, what should i have to do???.plz help....

    the data comes from external source and updating the database, at the same time i've to read only first two rows, plz explain.

  • I want to Pick the Single file from The source Directory

    Hi,
       My Scenario is File to RFC .. I'm getting the files in the source Directory.. File names  are  SENDER_(TIMESTAP).XML .. but the problem is... When ever  Files  are available in the Source Directory  Immediately  XI was picking  all the files at a time.. But I want to   to Pick a single file at a time..
    for Making  this what we have to do..   After Processing the first file then only my Sender adapter should pick the next file...  (even though Multiple files are available in my Source Directory)
    Regards
    Jain

    Hi,
    the other option was use Adapter specific attributes in the Sender Communication channel..
    or
    while droping the files ask them to drop using time stamp in another directory  and an external validation is required .. and after validation push single file to Source directory using batch file..
    i.e use a batch file using run time operating system or make that batch file to run at OS level ..
    where the batch files needs to validate the time interval of the file and needs to push a single file to the source directory.. where from there we can directly pick a single file and process..
    regards,
    Kishore

  • Call two programs from one program.

    HI all,
    I have two BDC interface in seperate programs.
    I want to call that two programs from one program based on a condition.
    Is there any way.
    I tried with call transaction 'SE38'.
    set parameter ID but it is taking buffered value.
    Thanks,
    sri

    use submit program to call other program.
    SUBMIT prog|(field) [AND RETURN] [options].
    also if you want BDC prog, then probably you can call the BDC recording using PERFORM bdc_prog (in program name).
    PERFORM (<fsubr>)[IN PROGRAM (<fprog>)][USING   ... <pi>... ]
                                           [CHANGING... <pi>... ]
                                           [IF FOUND].
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9dd035c111d1829f0000e829fbfe/content.htm

  • Hey all.  I have two 22" Acer monitors that I picked up pretty cheap from A

    Hey all. I have two 22" Acer monitors that I picked up pretty cheap from Amazon. Currently I run on my laptop with one of the monitors off to the right. Works pretty well but I'd like to do the following:
    I wanted to set it up so that when I'm at my desk I can use an external keyboard and mouse and both of the monitors side-by-side. Basically I want to be able to just close the lid on the MacBook and use it as a CPU only when I'm at my desk.
    I'm wondering what the best way is to accomplish this. I think I'd need one of those "splitters" perhaps (I think Matrox makes them, maybe others). However I'm also wondering how that would work with MBP and how easy it would be to dock and un-dock the laptop in that sort of arrangement.
    Maybe this is just too difficult to get working properly but I'm thinking there has to an option.

    Also, it's crazy to me that the Matrox devices are so expensive. Costs more to buy those then the actual monitors...
    I suspect that most of the people using the Matrox devices are also using pretty good monitors, and are used to paying more for quality. Look at it this way: by buying cheapo monitors instead, you've saved yourself enough money to buy the matrox box you need to use them (assuming, of course, that it's compatible — about which there does seem to be some question).

  • How do i stop two windows from openning when i clicon an email link, the home page and the link both open. i just want the link to open

    how do i stop two windows from openning when i click on an email link, the home page and the link both open. i just want the link to open

    That is a bug, so you need to wait until this get fixed.
    See https://bugzilla.mozilla.org/show_bug.cgi?id=531552 - Firefox 3.6b opens two windows when opening external links
    (please do not comment in bug reports)

  • From  date column I want to pick the hours only......

    Dear All
    I am facing the following problem.
    I having following date format in database of date column
    4/7/2006 10:26 AM
    4/7/2006 07:18 PM
    from this date column I want to pick the hours only , For ex. 10, 07 resp.from the above record.
    I tried it to solve using SUBSTR and LTRIM-TRIM function, but this functions will truncate the time format and so unable to pick the Hours.
    Is there any other solution for this.
    Also the date column I have is in 12 Hours(AM/PM) format I want to convert it into 24 Hours . Like 07 PM . I want it to 19.
    Thanks
    Vishal.

    TEST@db102 SQL> select * from test;
    C1
    4/7/2006 10:26 AM
    4/7/2006 07:18 PM
    TEST@db102 SQL> select to_char(to_date(c1,'dd/mm/yyyy hh:mi PM'),'hh24') from test;
    TO
    10
    19
    TEST@db102 SQL>                                               

  • I want to send 10 bit ADC from PIC via serial communicaton. i send it separetly 8 bit first then the other 2 bit. how to program in labview to capture those two packet then combine it togother

    i want to send 10 bit ADC from PIC mCu via serial communicaton.
     i send it separetly 8 bit first then the other 2 bit (2 bit --> with zero at 6 bit from LSB).
    how to program in labview to capture those two packet and then combine it together
    so i have 10 bit in lab view
    thank you

    Close, but now quite. You need to specify to the VISA Read how many bytes to read, not how many bits. Thus, the input would be 2, not 16. It's also not clear why you're trying to use the "String to Byte Array". The Type Cast will give you a number based on what data type you wired. You're basically telling it how to interpret the string. In this case we're telling it to interpret the string a 16-bit value, so we'll get a 16-bit integer. I know you said you wanted a 10-bit, but you can't have that. You'll get a 16-bit with 6 bits set to zero. Note: I did not completely understand what you said so we may need to change this slightly, but we want to get the communication and reading collection working first.
    Also, since you seem to be setting this in a loop you probably want to monitor this or to collect the data. For that you need a shift register. See attached for a modified version of your attempt. You need to set the datatype to I16 or U16 based on whether the value you get from the PIC is signed or unsigned.
    Message Edited by smercurio_fc on 05-01-2007 02:28 PM
    Attachments:
    Read PIC.vi ‏21 KB
    Read PIC.png ‏7 KB

  • How can One sender communication channel pick two file from two location

    Hello
    I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...

    >
    Soumitra Sinha wrote:
    > Hello Vijay
    > I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:
    > i have two folder   folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can  pick file from two location and how one receiver channel can put in two location.please help me..
    Ok now I get your requirement.
    you cant achieve this -  how one receiver channel can put in two location if you dont have a dynamic configuration defined i.e Adapter specific attributes.
    easy way - involve IR mapping
    else
    have a adapter module to define your dynamic configuration.
    Ref: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules & /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further
    Set the dynamic directory/file name etc for your receiver adapter.

  • I am wanting to exactly match two ID numbers from two differing worksheets within one work book. Once matched I am wanting to retrieve a row value from the second worksheet into the first. Any help much appreciated.

    I am wanting to exactly match two ID numbers from two worksheets within the one work book. ID numbers are non linear. Once exactly matched I wish to retrieve a corresponding row value from worksheet two and have it appear in worksheet one against the correct ID number. I have been looking at IF, VLOOKUP, and MATCH functions and suspect that what I want to do requires a combination of two or more. Any help will be greatly appreciated.
    regards Vaughanh

    Vaughan,
    Data A:D is all cells start at column A thru column D.
    There is built-in help using the menu item "View > Show Function Browser"  in the search field (top right) you can enter vlookup and you will see the detailed description.
    From this we see:
    VLOOKUP
    (search-for, columns-range, return-column, close-match)
    search-for:  The value to find. search-value can contain any value type.
    columns-range:  A range of cells. range is a reference to a single range of cells, which may contain values of any type.
    return-column:  A number that specifies the relative column number of the cell from which to return the value. return-column is a number value. The leftmost column in the range is column 1.
    close-match:  An optional value that determines whether an exact match is required.
    close match (TRUE, 1, or omitted):  If there’s no exact match, select the column with the largest top-row value that is less than the search value. Wildcards can’t be used in search-for.
    exact match (FALSE or 0):  If there’s no exact match, return an error. Wildcards can be used in search-for.
    So... the 2,0 means return the value form the same row as the lookup value but from the 2nd column of the range.  3, 0 means from the 3rd column.  the ", 0" means exact match

  • Want to pick perticular serial / Lot number from MSCA

    Want to pick perticular serial / Lot number from MSCA for WMS enable organization. The problem, which I am facing, from MSCA it is automatic taking the first serial number. And when, I am running pick release with Auto Allocate as No , the corresponding WMS task is not getting created.
    Any help will be appreciated.

    I have a similar problem. I am trying update the lot for an existing serial number and it doesnt work. If you set the lot for a NEW serial number then it does work. But if that serial number ever existed in OSRI it doesn't seem to work

  • Hi, I just wanted to buy two iphones from the apple store usa with a lebanese credit card. Is it possible?

    Hi, I just wanted to buy two iphones from the apple store usa with a lebanese credit card. Is it possible?

    The US Apple Store accepts US-issued credit cards only. And they will ship only to a US address. Whether or not a physical Apple Store would accept a Lebanese credit card I don't know.
    Regards.

  • Who got this brilliant idea when you want to pick up a contact to first cross the group and then click end ? Did you hire an employee  from Microsoft ? Apple MUST remain SIMPLE to use !!!

    Who got this brilliant idea and change thing that way :  when you want to pick up a contact on your iphone, you first have to cross the group and then click end ? Did you hire an employee from Microsoft ? Apple MUST remain SIMPLE to use !!!

    Claudius,either you didn't read my post, or you jumped to conclusions. I had a skype account that was created using a microsoft account (NOT THE ACCOUNT I AM USING NOW). PURE MICROSOFT ACCOUNT NO OTHER ACCOUNT LINKING.I had to change the primary mail of that account.I was told "no can do" by skype support.I found that if I went to account settings and clicked on the link on the line below the one that said "MICROSOFT etc" (labeled something along the lines of "TV or Device") I got the opportunity to set the password of the "live:username" account (WHICH YOU COINCIDENTALLY HAVE TO DO IF YOU WANT TO USE SMART TVs ETC).Once that was done, I COULD SUCCESSFULLY DO WHAT SKYPE SUPPORT SAID WAS IMPOSSIBLE- I could change the primary mail address. once that was done, and NOT BEFORE, I linked the account to a facebook account as well, just to be sure I have more than one way to access the skype account. What caused you to get the impression that I was writing something else? furthermore this sentence - "The solution you described in your initial message isn't actually once since all the time you were operating on different account that weren't actually linked" does not make sense, I think you mis-edited it.and I need to point out that you are incorrect. I WAS NOT OPERATING ON DIFFERENT ACCOUNTS I WAS OPERATING ON ONE SKYPE ACCOUNT, THAT WAS CREATED USING A MICROSOFT ACCOUNT just like you say you recommend. I still don't know how you can misread my initial entry like that.  If you have a better solution to my initial problem - changing the primary mail of a skype account created throuth either a microsoft account or a facebook account, Please write a sticky to explain how to do it, and please inform skype support that Yes it can be done, and this is the way it is done. So far my "lucky shot" seems to be the only way to do it.     

  • We lost access to are computers in the last two month and we want to know how to deauthorize two computers from the itunes account can you please help us?

    We lost access to are computers in the last two months and we want to know how to deauthorize two computers from the ituns account can you please help me please?

    If you don't have access to the computers to manually deauthorize them (they were sold, stolen, etc), then you have to log into your account, deauthorize all computers, and then re-authorize the machine(s) that you want to have access. This page explains how.

Maybe you are looking for

  • USB 6009 DAQ to use in Simulink at External mode with DAQ toolbox

    hi Currently I am using usb 6009 daq board for data acquisition in using simulink. I have created a model with taking analog input from data acquisition toolbox. Then when i want to run in external mode and try to connet to target, the following erro

  • How to pass parameters in forms

    Hi, I have created a form based on a view and now i want to pass value from one of the field of this form to another form's field, how i can do this. Thanks Muhammad

  • Outbound ECS XSD does not contain UNB Segment.

    Hello All, We are implementing B2B scenario of converting CUSDEC-D96B ECS file to XML file using B2B. The XML file is getting generated successfully in B2B_IN_Queue but it doesnot contain the UNB header segment element in XML. The structure of the ou

  • Best way to work with multiple Flash objects?

    I am making an application that is going to need to use several  custom MovieClip-based classes from Flash.  I'm not sure if I'm using the terminology right.  What I have is a Flash file with movie clips, each clip has a class with properties and met

  • Regarding Movement types in Inventory dataloading

    Hi Experts, I have loaded the data for Inventory management cube 0IC_C03. while doing validation some materials are matching and some are not matching,and i found the issue in BI i,e some of the movement types 101,102are missing in BI. can anyone of