Can Lightroom use leading zeroes?

My file naming convention is 3-digit with leading zeroes. This allows the files to naturally sort in the correct order. I cannot stand to see a list of files such as: 1, 10, 11, 12, 2, 21, 22, 23, etc.
This is such a simple thing, but I don't seem to be able to get LR to do this for me. Bridge will do it... Hm-m-m-m-m.
Oh. I'm on a Mac G4 Powerbook, CS3 upgrade and LR.
Thanks,
Kittie

I don't keep the files I export or import them back into LR. I exported from an ordered collection and renamed them so they would "float" in order alphabetically for a slide show.
If you are going to be using LR, won't you want to move your photos from iview? Why don't you post another question about iview. There must be people here who have converted from it. First, try a search of this forum for iview.
I've found that if there is a photo taken within the same second, LR adds something, I think a -1 to the name.
Metadata. There are some things written, even entire books on DAM (Digital Asset Management). I've had some experience cataloging my photos in other products so I kind of knew what I wanted to do in LR. Think through how you will want to view your photos, what you will want to search on, etc.
For example, me. We do a lot of traveling. I want to be able to find all photos from a particular trip. I do folder by trip, so that works so I wanted a program that supported my own folder organization, which LR does. But folders don't identify a photo if it gets out of its folder, so I chose an IPTC tag to use to identify them. I chose Job Identifier after reading about the tags and what they are usually used for.
Non-travel photos are foldered by date, mostly. So to find a picture of a particular flower or a particular person, I will need keywords. I also like the fact that you can order or find things by capture date in LR. That's because we are old and we have lots of photos from long long ago.
I use all of the location fields. "location", city, state, country. I use "location" for let's say Grand Canyon National Park, which isn't in a city. Someone else noted here that they put something like that in city because it isn't in a city and it means you don't have to look two places for the "top layer" of that sequence of country, state, city/location. I think that's a good idea, but I'd already started, so I kept what I was doing.
Some references from my notes.
http://www.iptc.org/IPTC4XMP/
http://www.controlledvocabulary.com/imagedatabases/iptc_core_mapped.pdf
http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/IPTC.html
http://www.ap.org/apserver/userguide/codes.htm
http://www.dartmouth.edu/comp/about/projects/digitalmedia/images/resources/metadata-schema s.html

Similar Messages

  • How can i avoid leading zeros for a field in smartform?

    how can i avoid leading zeros for a field in smartform?

    Hi,
    Using the Symbols.
    &symbol(Z)&  Omit Leading Zeros  &symbol(S)&  Omit Leading Sign 
    &symbol(<)&  Display Leading Sign to the Left 
    &symbol(>)&  Display Leading Sign to the Right 
    &symbol(C)&  Compress Spaces 
    &symbol(.N)&  Display upto N decimal places 
    &symbol(T)&  Omit thousands separator 
    &symbol(R)&  Right justified 
    &symbol(I)&  Suppress output of the initial value 
    Regards,
    Shiva Kumar

  • How can we supress leading zeros?

    how can we supress leading zeros?

    use
    <b>CONVERSION_EXIT_ALPHA_OUTPUT</b>
    Conversion exit ALPHA, external->internal
    ALPHA conversion is used especially with account numbers. During conversion from the external to the internal format, the system checks to see if input in the INPUT field is purely numeric, that is, if this input consists only of numbers, possibly with spaces before and after them. If this is the case, then the number string is inserted right- justified in the display field OUTPUT and all spaces to the left of the value are filled with zeroes ('0'). If the input is not purely numeric, it is inserted in the display field from left to right and all extra spaces are filled with blanks.
    Example:
    (Input field and output field are both eight characters in length)
    1. '1234 ' --> '00001234'
    2. 'ABCD ' --> 'ABCD '
    3. ' 1234 ' --> '00001234'
    Conversion from the internal to the external format (function module CONVERSION_EXIT_ALPHA_OUTPUT) is undertaken in exactly the opposite manner.
    Usage:
    call function 'CONVERSION_EXIT_ALPHA_INPUT'
    exporting
    input = v_input
    importing
    output = v_output
    exceptions
    others = 1.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • How can I use lead/lag in this query

    I have written this query which gives me the comparative data based on this week and next week. How can I use Lead/Lag in this query.
       WITH CURRENT_WEEK
              AS (  SELECT   QPAQ.YEAR YEAR,
                             QPAQ.SEASON SEASON,
                             REGEXP_SUBSTR (QPAQ.SERIES_NAME, '[^/]+') ACC_SERIES,
                             TO_NUMBER (QPAQ.WEEK) WEEK,
                             MAX (QPAQ.FAILURES) FAILURES
                      FROM   QAR_PLAN_ACC_QTY QPAQ, QAR_PLAN_THRESHOLD_LST QPTL
                     WHERE       QPTL.CATEGORY_ID = 7
                             AND QPAQ.YEAR = QPTL.YEAR
                             AND QPAQ.SEASON = QPTL.SEASON
                             AND QPAQ.SERIES_NAME = QPTL.MODEL_SERIES
                  GROUP BY   QPAQ.YEAR,
                             QPAQ.SEASON,
                             REGEXP_SUBSTR (QPAQ.SERIES_NAME, '[^/]+'),
                             TO_NUMBER (QPAQ.WEEK)
                  ORDER BY   REGEXP_SUBSTR (QPAQ.SERIES_NAME, '[^/]+')),
           LAST_WEEK
              AS (  SELECT   QPAQ.YEAR YEAR,
                             QPAQ.SEASON SEASON,
                             REGEXP_SUBSTR (QPAQ.SERIES_NAME, '[^/]+') ACC_SERIES,
                             TO_NUMBER (QPAQ.WEEK + 1) WEEK,
                             MAX (QPAQ.FAILURES) FAILURES
                      FROM   QAR_PLAN_ACC_QTY QPAQ, QAR_PLAN_THRESHOLD_LST QPTL
                     WHERE       QPTL.CATEGORY_ID = 7
                             AND QPAQ.YEAR = QPTL.YEAR
                             AND QPAQ.SEASON = QPTL.SEASON
                             AND QPAQ.SERIES_NAME = QPTL.MODEL_SERIES
                  GROUP BY   QPAQ.YEAR,
                             QPAQ.SEASON,
                             REGEXP_SUBSTR (QPAQ.SERIES_NAME, '[^/]+'),
                             TO_NUMBER (QPAQ.WEEK)
                  ORDER BY   REGEXP_SUBSTR (QPAQ.SERIES_NAME, '[^/]+'))
         SELECT   CURRENT_WEEK.YEAR,
                  CURRENT_WEEK.SEASON,
                  CURRENT_WEEK.ACC_SERIES,
                  CURRENT_WEEK.WEEK,
                  CURRENT_WEEK.FAILURES,
                  (CURRENT_WEEK.FAILURES - LAST_WEEK.FAILURES) FAILURES_COMPARE
           FROM   LAST_WEEK, CURRENT_WEEK
          WHERE   CURRENT_WEEK.WEEK = LAST_WEEK.WEEK(+)
       ORDER BY   CURRENT_WEEK.WEEK;Output is like this.
                    YEAR         SEASON     MODEL                     WEEK        FAILURES    Failures_COMPARE
    1     2011     SUMMER     VGP-BMS15     49     10     
    2     2011     SUMMER     VGP-BMS15     50     28       18
    3     2011     SUMMER     VGP-BMS15     51     30       2
    4     2011     SUMMER     VGP-BMS15     52     40       10Edited by: BluShadow on 06-Jan-2012 13:26
    added {noformat}{noformat} tags. Please read {message:id=9360002} to learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    You would jettison the entire LAST_WEEK subquery. Then replace your failure calculation with
        current_week.failure - lag(current_week.failure) over (order by current_week.year, current_week.week) as failures_compareI suppose you might want to think about renaming the sub-query as well ....
    Cheers, APC
    Edited by: APC on Jan 6, 2012 1:41 PM

  • Can I use Goal Zero Nomad 7 solar charger  to charge I Phone5?

    Can I use Goal Zero Nomad 7 solar charger  to charge I Phone5? When I hooked it up to the Goal Zero charger I got the normal "charging" chirp sound from the phone but when I checked on the charging progress about 30 minutes later the I Phone 5   had a warning message saying "Charging is not supported with this accessory" with a black exclamation mark in a yelllow triangle. Am I doing harm to my IPhone 5 to use the Goal Zero charger? The GZ website makes a big deal of how this charger can charge an IPhone5 and makes not mention of incompatibilty. But the replies  on GZ's youtube video include numerous mentions of this problem. GZ responds that the user should contact [email protected] at GZ for help. I wrote that person just now. Let's see what they say.

    The iPhone 5 requires 5 volts x 5 watts and 1 amp, the goal zero nomad 7 puts out only 2.5 watts x 5 volts and 0.5 amps.. This is where your problem lies, not enough juice for the iphone.
    I would recommend the Suntactics sCharger-5 (the charger I have) which puts out 5 volts x 5 watts and 1 amp, which is exactly the same amount of juice the iphone requires.
    Click here to see the product description of the sCharger-5

  • Can I use LEAD or LAG with Groups?

    Can I use LEAD or LAG with Groups?
    I want to compare two records of each group.
    Is it possible?
    Thanks in advance

    Xavi wrote:
    I have this query:
    SELECT a.cod_riesgo_txpk           as num_poliza,
    a.cod_suplementor_txpk      as suplemento,
    a.movimiento_nmpk           as movimiento,
    a.cod_tipo_operacion_txfk   as tipo_operacion,
    rc.fecha_vcto_cobertura_txd as fecha_vto,
    rc.capital_asegurado_nm     as capital,
    rc.prima_total_nm           as prima
    FROM REGU_RIESGOS_COBERTURAS rc, REGU_MOVIMIENTOS_POLIZAS a
    WHERE rc.cod_cobertura_txpkfk ='005'
    AND rc.cod_riesgo_txpkfk = a.cod_riesgo_txpk
    AND rc.cod_suplementor_txpkfk = a.cod_suplementor_txpk
    AND rc.movimiento_nmpkfk = a.movimiento_nmpk
    order by num_poliza, movimiento;
    The results:
    NUM_POLIZA     SUPLEMENTO     MOVIMIENTO     TIPO_OPERACION     FECHA_VTO     CAPITAL     PRIMA
    0640080109141     0640080109141/014     1     02     01/05/2010     15025302,61     3,19
    0640180096274     0640180096274/006     1     02     01/05/2006     1652783     1387,8
    0640180365194     0640180365194/005     1     02     08/07/2006     150253     294,83
    0640180369821     0640180369821/009     1     02     31/12/2006     13460000     28483,08
    0640180369821     0640180369821/010     2     02     28/02/2007     13460000     29546,08
    0640180384185     0640180384185/010     1     02     30/12/2006     36085241,96     113951,53Can yo see NUM_POLIZA 0640180369821     I have two records, then I want to compare two rows in each grou.What do you mean by compare? What do you want to do?
    You can use the PARTITION BY clause if you want the analytic function to work within a specific group.

  • Can LightRoom use Camera Raw 4.5?

    I downloaded the ACR 4.5 plugin to the proper directory on my Mac, and Photoshop CS3 sees it correctly, and can open RAW (ORF) files from my Olympus E-520.
    However, it seems Adobe LightRoom 1.4.1 cannot open RAW (ORF) files from the E-520. Is this normal? Is the problem that LightRoom cannot use this feature of ACR 4.5, or is the problem that there is some out-of-synch cache in LightRoom containing supported cameras? Or does LightRoom contain its own internal version of ACR? I checked, I only have ACR 4.5 installed on my Mac.
    Many thanks!
    Luca

    Luca de Alfaro wrote:
    > Or does Lightroom contain its own internal version of ACR?
    Yes, exactly. As far as I understand, the equivalent of Camera Raw 4.5, with regard to the raw engine, is Lightroom 2.0---both have Beta status as of now and are not yet officially released.
    -- Olaf

  • Can i use Lead function with Group by function

    I could use this query and get right ouput since i define product id =2000
    select product_id, order_date,
    lead (order_date,1) over (ORDER BY order_date) AS next_order_date
    from orders
    where product_id = 2000;
    But can i run this query by Group by Function
    for example
    select product_id, order_date,
    lead (order_date,1) over (ORDER BY order_date) AS next_order_date
    from orders
    group by product_id ;
    since data would be like and i need
    Product_id order Date
    2000 1-jan-09
    2000 21-jan-09
    3000 13-jan-09
    3000 15-jan-09
    4000 18-jan-09
    4000 19-jan-09
    output would be like for eg
    Product_id order Date Next_date
    2000 1-jan-09 21-jan-09
    3000 13-jan-09 15-jan-09
    4000 18-jan-09 19-jan-09

    Thanks everybody for ur help
    i could exactly mention what i requred
    create table SCHEDULER
    ( REF VARCHAR2(10),     
    NO NUMBER     ,
    PORT VARCHAR2(10),     
    ARRIVAL DATE     ,
    DEPARTURE DATE
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0677',1,'KUWAIT','1-Sep-09','02-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0677',2,'INDIA','5-Sep-09','07-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0677',3,'COLUMBO','8-Sep-09','09-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0677',4,'IRAN','10-Sep-09','12-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0677',5,'IRAQ','14-Sep-09','15-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0677',6,'DELHI','17-Sep-09','19-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0677',7,'POLAND','21-Sep-09','23-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0678',1,'INDIA','5-Sep-09','07-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0678',2,'COLUMBO','8-Sep-09','09-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0678',3,'IRAN','10-Sep-09','12-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0678',4,'IRAQ','14-Sep-09','15-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0678',5,'DELHI','17-Sep-09','19-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0678',6,'POLAND','21-Sep-09','23-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA0678',7,'GOA','1-Oct-09','02-Oct-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2372',1,'INDIA','1-Sep-09','02-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2372',2,'KERALA','3-Sep-09','03-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2372',3,'BOMBAY','4-Sep-09','04-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2373',1,'INDIA','5-Sep-09','06-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2373',2,'ANDHERI','6-Sep-09','07-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2376',1,'INDIA','5-Sep-09','07-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2420',1,'INDIA','5-Sep-09','06-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2420',2,'ANDHERI','7-Sep-09','08-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2420',3,'BURMA','10-Sep-09','11-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2420',4,'BENGAL','11-Sep-09','12-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2445',1,'INDIA','4-Sep-09','05-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2445',2,'BURMA','7-Sep-09','09-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2498',1,'BENGAL','8-Sep-09','08-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2498',2,'COCHIN','11-Sep-09','11-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2498',3,'LANKA','12-Sep-09','12-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2498',4,'COLUMBO','13-Sep-09','15-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2498',5,'INDIA','17-Sep-09','18-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2505',1,'COLUMBO','5-Sep-09','06-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2505',2,'GOA','8-Sep-09','09-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2505',3,'INDIA','13-Sep-09','15-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2510',1,'INDIA','4-Sep-09     06-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2510',2,'BENGAL','8-Sep-09     09-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2510',3,'GOA','10-Sep-09     11-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2513',1,'INDIA','7-Sep-09','09-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2513',2,'USA','11-Sep-09','11-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2513',3,'UK','12-Sep-09','13-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2520',1,'INDIA','4-Sep-09','06-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2520',2,'BENGAL','8-Sep-09','09-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2520',3,'GOA','10-Sep-09','11-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2526',1,'INDIA','5-Sep-09','07-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2526',2,'DUBAI','10-Sep-09','11-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2526',3,'GOA','13-Sep-09','15-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2526',4,'OMAN','17-Sep-09','18-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2526',5,'INDIA','19-Sep-09','20-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2527',1,'BURMA','7-Sep-09','08-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2527',2,'INDIA','9-Sep-09','10-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2527',3,'ANDHERI','10-Sep-09','16-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2532',1,'SHARJAH','3-Sep-09','04-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2532',2,'AEDXB','5-Sep-09','05-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2533',1,'AESHJ','2-Sep-09','02-Sep-09');
    INSERT INTO SCHEDULER(REF,NO,PORT,ARRIVAL,DEPARTURE)
    VALUES('VA2533',2,'INDIA','3-Sep-09','03-Sep-09');
    COMMIT;
    Suppose these records shows the REF travelling from one location to another with respect to date
    We need to find out each REF GROUP WISE AND THE DATE OF TRAVELLING FOR SPECIFIED location travelling IE from STARTING FROM INDIA AND ENDING TO GOA
    OUTPUT SHOULD BE LIKE DATA SHOWN BELOW
    FROM LOCATION TO LOCATION
    REF , NO , PORT , ARRIVAL ,DEPARTURE , REF , NO , PORT , ARRIVAL , DEPARTURE
    VA0678     1 INDIA     5-Sep-09 07-Sep-09     VA0678 7 GOA 1-Oct-09 02-Oct-09     
    VA2510     1 INDIA     4-Sep-09 06-Sep-09     VA2510 3 GOA 10-Sep-09 11-Sep-09
    VA2520     1 INDIA     4-Sep-09 06-Sep-09     VA2520 3 GOA 10-Sep-09 11-Sep-09
    VA2526     1 INDIA     5-Sep-09 07-Sep-09     VA2526 3 GOA 13-Sep-09 15-Sep-09
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------

  • Remove leading zeros using MDX function

    Hello,
    BO XI R3.1 SP2 FP2.5, SAP BW 7.0
    This seems simple, but I cannot find a solution.
    How do I remove leading zeros from a character field in a OLAP universe. Is there any MDX function?
    I tried
    <EXPRESSION>
    Value([0MATERIAL].[LEVEL01].[[20MATERIAL]].[Value])
    </EXPRESSION>
    <EXPRESSION>
    StrToValue([0MATERIAL].[LEVEL01].[[20MATERIAL]].[Value])
    </EXPRESSION>
    I can remove the leading zeros in Webi, but we require it for ad-hoc reporting? Is there a way to do this in the universe?
    Thanks,
    Nikhil

    Hi,
    SAP BW MDX only allows calcuated expressions that return numeric values: this is one if the main SAP MDX limitations.
    By the way there is the abilitiy to return string only for those expressions:
    [Dimension].currentmember.name
    [Dimension].currentmember.uniquename
    So you can do this:
    <EXPRESSION>
    (right([0MATERIAL].currentmember.name, 4))
    </EXPRESSION>
    <EXPRESSION>
    (right([0MATERIAL].currentmember.uniquename, 4))
    </EXPRESSION>
    <EXPRESSION>
    (left([0MATERIAL].currentmember.name, 3))
    </EXPRESSION>
    <EXPRESSION>
    (left([0MATERIAL].currentmember.uniquename, 3))
    </EXPRESSION>
    Otherwise you can use WebI formulas as described in the thread.
    Regards
    Didier

  • Web Services  from ABAP function modules return values- leading zeros

    I am using several web services from SAP CRM (5.0) that were created from Function modules ( I am assuming that that they are in ABAP).
    I can call the web services fine and they work as expected, but I am seeing a lot of leading zeros in the return values of fields in tables from the Web service.
    The ABAP er’s are telling me that they cannot see the leading zero’s.
    So my question is where these are appended to the values in the whole process. When I execute the Function Module in SAP CRM from transaction SE37 I can see the leading zeros. So I think that this is something that has to be handled by the ABAP er’s and not in the client consuming the web service.
    Are the functions in SAP CRM that can remove leading zeros for fields in a table (that is an export parameter?)
    Jawahar

    Hello Jawahar
    If you run your (RFC-enabled) function modules using the SAP-GUI (i.e. in dialog) then the GUI automatically replaces leading zero when the function module returns any data. However, calling the same function module remotely you will always see these leading zeros.
    These so-called conversion exits are defined as attribute of domains in the ABAP dictionary. If the function module used for the WebService is a standard fm then you have little chances to get rid of the leading zero. Perhaps the WebService has some attribute to suppress conversion exits or activate them when retrieving the data.
    Regards, 
       Uwe

  • Leading zeros in CSV file.

    Hi Team,
    I need to retain leading zeros in CSV file.
    I could eliminate this problem in XLS file by using this tag in the RTF Template:
    <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?XML_ELEMENT?></fo:bidi-override>.
    So, when i do an Export from Publisher for excel document its gives me correct values. i.e zeros are retained.
    But when i select "CSV" and then hit Export , it gets saved in txt file and the txt file has the zeros.
    but when i rename it to ".csv" and open it does not retain zeros.
    Can you please let us know how can we achieve this.
    Thanks for help!
    Bhupendra Gupta

    Hi Bhupendra,
    If its a number the leading zeros will be eliminated in CS in the default CSV .can't do much on this.
    But if use the delimiter e-text and get the output file, you can get the leading zeros as needed..
    Follow this
    http://winrichman.blogspot.com/2009/09/delimiter-based-e-text.html
    http://winrichman.blogspot.com/search/label/BIP%20E-text

  • Leading zeros in dynamic text fields

    I have a dynamic text field that indicates the degree of
    rotation of a knob. I need the display to have three digits showing
    at all times. This means I need leading zeros from 0 to 99. ie,
    000, 001, 002, etc.
    Is there a way to do this numerically or do I have to change
    the numbers to strings and concatenate??
    Thanks,

    Yes, for the most part only strings can start with leading
    zeros.
    You might run into some troubles because Flash treats a
    leading zero as a sign that a number is octal, base-8.
    So if you were planning on using Number() to cast your values
    into numbers, don't! Instead use parseInt(someString,10).

  • Removing Leading Zeroes in Location value

    HI Gurus,
    I am having some trouble in releasing demand plan to SNP. On the demand planning side, we are using standard characteristic 9ALOCATION for storing location values. When I release demand plan (using Location characteristic - 9ALOCATION) to SNP, I get a message saying 'Location 00000000000000003000 does not exist'. But, I have location '3000' assigned to the active model in APO system.
    I believe this issue is arising because, the system is storing leading zeroes in Location value '3000' on Demand Planning side. I know that there is customization setting (SPRO-> APO -> Master data -> Product -> specify output format) to prevent leading zeroes from being added to product number. But I don't see a similar setting for Location and moreover I am using 9ALOCATION and not 9ALOCNO.
    So, how can I remove leading zeroes in the values of 9ALOCATION.
    Any help/comments are appreciated.
    Thanks,
    Shiv.

    I found a solution to this problem. Unlike 9ALOCNO, Characteristic '9ALOCATION' has Alpha conversion routine. So this conversion routine fills up the leading zeros. I removed Alpha conversion routine from the 9ALOCATION in RSA1 and it works fine now.

  • Leading zeros in SAP Script

    hi,
      how can i put leading zeros (functionality of FM CONVERSION_EXIT_ALPHA_INPUT) in SAP Script??
    b'coz of not having leading zeros in PO number,i m facing problems in fetching the PO header text(text id = F01) using INCLUDE syntax.
    Message was edited by: kaushal malavia
    Message was edited by: kaushal malavia

    sreenivas,
       here goes my script coding..
    /:     DEFINE &W_EBELN& = &EKKO-EBELN&
    /:     PERFORM ZERO_PADDING_PO IN PROGRAM ZSXXSR103S
    /:     USING &EKKO-EBELN&
    /:     CHANGING &W_EBELN&
    /:     ENDPERFORM
    and here goes my routine coding.
    *&      Form  ZERO_PADDING_PO
    FORM ZERO_PADDING_PO TABLES TAB_IN STRUCTURE ITCSY
                          TAB_OUT STRUCTURE ITCSY.
      DATA : W_EBELN LIKE EKKO-EBELN.
      CLEAR W_EBELN.
      REFRESH TAB_OUT.
      PERFORM GET_VALUE TABLES TAB_IN USING 'W_EBELN' W_EBELN.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = W_EBELN
        IMPORTING
          OUTPUT = W_EBELN.
      CLEAR TAB_OUT.
      TAB_OUT-NAME  = 'W_EBELN'.
      TAB_OUT-VALUE = W_EBELN.
      APPEND TAB_OUT.
    ENDFORM.                               " GET_VALUE
    *&      Form  GET_VALUE
         -->I_TAB_IN
         -->I_NAME
         -->O_VALUE
    FORM GET_VALUE TABLES   I_TAB_IN STRUCTURE ITCSY
                   USING    I_NAME
                            O_VALUE .
      CLEAR O_VALUE.
      READ TABLE I_TAB_IN WITH KEY NAME = I_NAME.
      O_VALUE = I_TAB_IN-VALUE.
    ENDFORM.                               " GET_VALUE
    can u point out error in code ?? in debuging i can see the value of W_EBELN is geting leading zero padded but when it comes back to SAPSCRIPT it gets changed to original value of without leaing zeros.

  • How to remove pound symbol # and preserve leading zeros in BEx Query

    Hi,
    I have two questions regarding the display in BEx Query.
    1. How can I remove the pound symbol # for blanks in BEx Query?
    2. How can I preserve leading zeros? At the moment, value "001" will be displayed as "1". But I need the leading zeros.
    Thanks.
    Joon

    Hi ,
    You can apply these settings in Bex query designer.
    If you need to remove pound symbol jsut make a new formula and use NODIM function you will find this function under data functions.
    So NODIM(Your price keyfigure) this will remove the Pound symbol.
    For # just find out against which  characterstic you are getting # then go to default values panel there you will find all your characterstic which you are using in report---Rt click -Restrict-single valuesdirect input-#-Move to selection(That forward arrow)--select that # and choose exclude from selection (That red square icon).
    And yes for leading zeros check out this thread
    Leading zeros not displaying
    Hope it helps you.
    Regards,
    AL
    Edited by: AL1112 on Jun 9, 2011 1:43 PM
    Edited by: AL1112 on Jun 9, 2011 1:47 PM

Maybe you are looking for

  • IPhone 3G played through MINI iPod Adapter on Saturday; however, on Sunday

    I have a BMW adapter in the glove compartment of my MINI Cooper S 2003. It was installed by the factory. It worked with my iPod photo, my iPod Touch, and my iPhone 3G on Saturday. Today it stopped working. It may have not charged the iPhone 3G on Sat

  • Macbook Pro 2012 model

    Ok so the new Macbook Pros were revealed last night, and here's my opinion on them. They're beautiful! I love the fact their ultra HD (Retina display), they're lighter than the 2010/2011 models, they have not one, not two but three USB ports, and I t

  • Set_canvas_property's different behaviour in 9i

    Hi folks, My problem is that the code under works fine in 6i but does not in 9i (10g) set_canvas_property(canvas_id,VISUAL_ATTRIBUTE,name_in('global.qcolor')); (It's intended to change the background color of the canvas). I tried to use BACKGROUND_CO

  • Get the name of session bean context variables

    With this lines I get the value of variable "discount": Context initial = new InitialContext(); Context environment=(Context)initial.lookup("java:comp/env"); Double discount = (Double)environment.lookup("Discount"); but I need i know the name of the

  • You can not make TRUELY custom buttons inb Photoshop

    After several weeks of research, dozens of forum posts and replies, I have come to the conclusion that only BASIC, SIMPLE buttons can be made in Photoshop and ported into DVDSP where the only attribute for the selected state is a highlighted backgrou