Exclude Selection in Transformation File

Hi ,
I have a need of excluding selection in transformation file.  I can use SELECTION for individual values in my transformation file succesfully.
(eg. SELECTION = 0MATL_GROUP,A100;0MATL_GROUP;A200 )
But is there any functionality in SELECTION to exclude values ?
Something like,( just imagining )  SELECTION = 0MATL_GROUP, (not equal) B100.
Any ideas for that ? Or do i have to write all single values (approximetly 131 members) to SELECTION , instead of excluding 1 member ?
Thanks in advance.
Faith.
Edited by: Fatih Inanc on Oct 19, 2010 9:11 AM
Edited by: Fatih Inanc on Oct 19, 2010 9:11 AM

Hi Nilanjan,
Thanks it was an helpful answer. I read the documentation. And i would like to ask you, what if a string is used for both infoobjects.
E.g, I dont want to take 0MATL_GROUPS beginnig with 130. But I have customer numbers begginig with 130 also.
So it will not take those customers either ?
Thanks in advance..
Faith..

Similar Messages

  • Corrupted New Transformation File - IFRS_SP1

    We're running IFRS_SP1
    When selecting 'New Transformation File' we get the following corrupted file.  When doing the same thing in a different environment the correct template for a new transformation file is displayed.
    When running UJA_DATA_CHECKER for the IFRS_SP1 the folloiwng warnings are displayed:
    The concern we have is that later down line ther could be additioonal issues which we may not be aware of at this stage causing re-work or even worse having to strat over.
    Any advice or assistance, please.
    Thank You

    Thank you for the reply,
    The basis team did the install again, we still got the same issues.  Upon further investigation an additional note had to be applied, this has corrected the errors.
    It looks much better now.
    Regards Rita

  • Select Time at Validate and Process Transformation File

    Hi, Experts,
    We have SAP BPC 10 NW.
    We need to load data (not DELTA) from BW using a batch process every night and we don't want to need to make any change when the current month changes. We need to filter the current month and the month before automatically.
    I think in solve this at transformation file level, when we select the InfoProvider and filters. We can select the Dimension/Field, Attribute, Operator an Low Value. Question: Is it possible to use a formula to have the current month dynamic (and the month before too)?
    I though in another possibility: create a field a InfoProvider that has "Y" when the current month (or the month before) from system is the month of TIME.
    Maybe there is a way by Data Manager Package.
    May you help me?
    Best Regards,
    Ana Teresa

    Hi Ana,
    The standard option is to use START_ROUTINE in your transformation file to check the server date and filter the data to be loaded accordingly.
    Regards,
    Kalyan.

  • Selection of Null Value in Transformation file

    Hi Guru's,
    I've been trying to select NULL values of a field in transformation file but unfortunately system always gets both null and filled values of the field ALTHOUGH i had maintained the Selection Option.
    Data management package is: Load Transaction Data from BW InfoProvider UI
    The technical name of field: 0FLAG
    I've tried each possibilities as in below
    SELECTION: 0FLAG, *STR()
    SELECTION: 0FLAG, *STR();
    SELECTION: 0FLAG, ""
    SELECTION: 0FLAG, " "
    SELECTION: 0FLAG, NULL
    SELECTION: 0FLAG, *STR(#)
    SELECTION: 0FLAG, #
    SELECTION: 0FLAG, "#"
    Doesn't work.
    thanks in adv. for your precious supports

    Hi Sadi,
    I understand your question that, you want to load tr. data from infocube and you have a trouble with one field which name is "0flag" in this cube, right? If your case is above, you need conversion file for flag, and convert like that # = "DUMMY" or sth.
    Or, you can solve in BW with transformation file routine.
    I hope, it will help you.
    Thanks.

  • How to execute several ROUNDS in a single transformation file?

    Hi everybody,
    I've put several transformation files into one transformation file but I have the following problems:
    - when I look at the log after validating the transformation file, it only shows values for the last combination of OPTIONS / MAPPING / CONVERSION
    - when I execute the package for loading dat into the cube, it ONLY loads data for the last combination of OPTIONS / MAPPING / CONVERSION that appears in the transformation file
    The number of 'Submit record count' is always the same as the number of accepted records of the last round. And if I create a view from the target cube, it only has data for the last combination of OPTIONS / MAPPING / CONVERSION.
    What is happening? Do I must change any parameter?
    It's critical for the project as we are loading a lot of key figures and we must simplify the administration of the load process
    Thanks a lot in advance for your support,
    Albert Mas

    Hi,
    Please try (for Windows):
    Double click printer icon on desktop,
    Select Scan a Document or Photo,
    Put the first page on the glass (face down),
    Check options (size, dpi ...), and select Scan document to file,
    Click Scan - machine will scan the first page
    Remove the first page on the glass, put the second page,
    Click + (plus sign) It sits on the left hand side of a red x
    Machine will scan the second page, put 3rd page on the glass and click + again ..... to the end then click Save
    Click Done after Save
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Select to a file (.CSV)

    Hello people,
    I'm working with a table, and I whant, by a select, put all my result into a .csv file (after I'll transform in .xls)
    Then I'm trying to do this:
    XFILE := UTL_FILE.FOPEN('FOLDERNAME', 'Export.csv', 'W');
    -- THIS IS THE HEADING
    UTL_FILE.PUT_LINE(XFILE, 'MES_REF'||';'||'CHAVE'||';'||'MES1'||';'||'MES2'||';'||'MES3'||';'||'MES4'||';'||'MES5'||';'||'MES6'||';'||'MES7'||';'||'MES8'||';'||'MES9'||';'||'MES10'||';'||'MES11'||';'||'MES12'||';'||'MES13'||';'||'MES14'||';'||'MES15'||';'||'MES16'||';'||'MES17'||';'||'MES18'||';'||'MES19'||';'||'MES20'||';'||'MES21'||';'||'MES22'||';'||'MES23'||';'||'MES24'||';'||'MES25');
    FOR R IN (SELECT P_MES AS MES_REF
    ,KEY
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '25' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH1
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '24' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH2
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '23' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH3
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '22' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH4
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '21' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH5
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '20' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH6
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '19' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH7
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '18' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH8
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '17' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH9
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '16' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH10
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '15' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH11
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '14' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH12
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '13' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH13
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '12' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH14
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '11' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH15
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '10' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH16
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '09' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH17
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '08' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH18
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '07' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH19
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '06' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH20
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '05' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH21
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '04' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH22
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '03' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH23
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '02' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH24
    ,MIN(CASE WHEN MES = TO_NUMBER(TO_CHAR((TO_DATE(FN_GET_CALC_PPM,'YYYYMM') - INTERVAL '01' MONTH),'YYYYMMDD')) THEN VALOR END) AS MONTH25
    FROM VIA_GAUSS_PPM
    GROUP BY KEY
    ORDER BY KEY)
    LOOP
    BEGIN
    UTL_FILE.PUT_LINE(XFILE, R.MES_REF||';'||R.KEY||';'||R.MONTH1||';'||R.MONTH2||';'||R.MONTH3||';'||R.MONTH4||';'||R.MONTH5||';'||R.MONTH6||';'||R.MONTH7||';'||R.MONTH8||';'||R.MONTH9||';'||R.MONTH10||';'||R.MONTH11||';'||R.MONTH12||';'||R.MONTH13||';'||R.MONTH14||';'||R.MONTH15||';'||R.MONTH16||';'||R.MONTH17||';'||R.MONTH18||';'||R.MONTH19||';'||R.MONTH20||';'||R.MONTH21||';'||R.MONTH22||';'||R.MONTH23||';'||R.MONTH24||';'||R.MONTH25);
    EXCEPTION
    WHEN OTHERS THEN
    BEGIN
    CARGA_UTIL.SP_LOG_EXCEPTION(V_PROCNOME, 'KEY: ' || R.KEY || ', ' || SUBSTR(SQLERRM, 1, 3000));
    END;
    END;
    END LOOP;
    UTL_FILE.FCLOSE(XFILE);
    The problem is that some lines get some error, how can I know what is the motive for those errors ?
    29/03/2012 09:56:20     CARGA_MEDIAPPM.SP_EXPORT ( 201203)     KEY: Categoria Take Home#Sugestão#Sabor, ORA-29285: erro de gravação em arquivo (cannot save in file)
    Edited by: MrTiberio on 29/03/2012 06:27
    Added the error

    Edited by: MrTiberio on *29/03/2012 06:27*
    Added the error
         Re: Select to a file (.CSV)
    Posted: *29/03/2012 06:29* in response to: MrTiberio          
                   Reply
    I am looking in my crystal ball and can see the exact error message you are getting and the
    error is just there ->
    Ok ok... read first...

  • Mapping in Transformation file for loading infoprovider

    Mapping in transformation file for load from infoprovider:
    The requirement is : if Account of BW starts with 70XXXXXXX then use char1 if Account of BW starts with 12XXXXXXX then use char2 in BPC dimension 2.
    So, in the transformation file for a load from an infoprovider we want for a dimension to use the data from a certain BW characteristic based on the characteristic Account.
    For example if the account start with 70 then use for a certain bpc-dimension u201Cdetailu201D the characteristic of 0COUNRTY  should be used, if account start with 2 the char X should be used etc..
    Following in the transformation works but the issue is that we have to specify all the accounts individually (+100 accounts in the statement which is not feasible):
    BPC_detail = *IF (BWACCOUNT = str(70000010) then 0COUNTRY;str(NO_DETAIL))
    Where BPC_detail is the dimension in BPC and BWACCOUNT is the characteristic in BW.
    Following statement does not work: there is also no documentation available how to do this:
    BPC_detail = *IF (BWACCOUNT(1:2) = str(70) then 0COUNTRY;str(NO_DETAIL))
    Is there a solution/statement that fulfills this requirement for the load of an infoprovider?
    ( so similar to what you can do with the load of a flat file like for example:  Entity=IF(col(1,1:1)=U then SEntity;*col(1,1:1)=Z then *col(1,3:6); *STR(ERR)) )
    Rgds

    Hi,
    Install process chain /CPMB/LOAD_INFOPROV_UI from BI Content as follows:
    1.Enter Tcode RSA1
    2. In the left navigation bar, click 'BI content'
    3. Select process chain and double click "Select Objects".
    4. Select the process chain /CPMB/LOAD_INFOPROV_UI.
    5. Click 'Transfer Selections' button.
    6. On the right pane, install objects from BI Content.
    7. Enter Tcode SE38.
    8. Input program name ujs_activate_content and click to run.
    9. Only select option 'Update DM Default Instructions'.
    10. Execute program.
    Hope it helps..
    Regards,
    Raju

  • Issue with the /CPMB/EXPORT_TD_TO_FILE transformation file.

    Good evening to all,
    We have to export data from a cube to a text file. To do this we have create in the BPC (NW 7.5 SP 09) a package with the process chain /CPMB/EXPORT_TD_TO_FILE but when we execute the package, we get an error. We think that the error is generated by the transformation file. In the chainu2019s log we can see that the process didnu2019t finish successful, the Appl Source and the clear BPC tables variants are in red and we get this error u201CJob or process BPCAPPS waiting for eventu201D.
    Can anybody help us?
    our transformation file is like this:
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = YES
    DELIMITER = ,
    AMOUNTDECIMALPOINT = .
    SKIP = 0
    SKIPIF =
    VALIDATERECORDS=YES
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    *MAPPING
    DIMENSION_1=/CPMB/NAMEDIMENSION_1
    DIMENSION_2=/CPMB/NAMEDIMENSION_2
    DIMENSION_3=/CPMB/NAMEDIMENSION_3
    DIMENSION_4=/CPMB/NAMEDIMENSION_4
    DIMENSION_5=/CPMB/NAMEDIMENSION_5
    Amount=/CPMB/SDATA
    *CONVERSION
    Is this the proper use of the TF in this case?
    The complete error log:
    /CPMB/MODIFY completado en 0 segundos
    /CPMB/APPL_TD_SOURCE completado en 2 segundos
    /CPMB/CLEAR completado en 0 segundos
    MEASURES=PERIODIC
    TRANSFORMATION= DATAMANAGERTRANSFORMATIONFILESTF_EXTRACCION_PLANO.xls
    FILE= DATAMANAGERDATAFILESprueba1.txt
    ADDITIONINFO= Sí
    (Selección de miembros)
    CONCEPTO_FI:
    FUENTE:
    GRUPOCAME:
    MONEDA:
    SOCIEDAD:
    TIEMPO: 2011.ENE
    VERSION: 
    Nom.tarea TRANSACTION DATA SOURCE
    Error de sentencia MDX: Valor CONTCORMOL                      /CPMB/T5DDIW
    Aplicación: FINANZAS status de paquete: ERROR
    Thanks in advance,
    Best regards

    Hi. Thanks for the reply.
    We still working on the issue. For a test we run the package without TF but we get the same error. We can find out the variant BPC Appl Source(APPL_TD_SOURCE) is the variant that generates the issue.
    When we ran the package the package didn't finish and it get the status get the status active but when we ran the package in an other application the package ends with an error.
    The variant log error was:
    RSPROCESS 4ENFI7BF1OI7M7E5GKHXIT5IL is unknown
    Here is the log in english.
    /CPMB/MODIFY complete in 0 seconds
    /CPMB/APPL_TD_SOURCE complete en 5 seconds
    /CPMB/CLEAR complete en 0 seconds
    [Selection]
    MEASURES=PERIODIC
    TRANSFORMATION= DATAMANAGER\TRANSFORMATIONFILES\TF_EXTRACCION_PLANO2.xls
    FILE= DATAMANAGER\DATAFILES\EXAMPLES\prueba_ETD.txt
    ADDITIONINFO= Yes
    (Members selection)
    CONCEPTO_FI:
    SOURCE:
    GRUPOCAME:
    CURRENCY:
    SOCIETY:
    TIME: 2011.JAN,2011.FEB,2011.MAR,2011.APR,2011.MAY,2011.JUN,2011.JUL,2011.AGO,2011.SEP,2011.OCT,2011.NOV,2011.DEC
    VERSION: 
    [Messages]
    Task name TRANSACTION DATA SOURCE
    Sentence error MDX: Value CONTCORMOL                      /CPMB/T5DDIW
    Application: FINANZAS Package status: ERROR
    Thanks for your help, best regards.

  • How to exclude two kind of files in the same folder in sender cc?

    Hi,gurus:
    Now we are using "advanced selection for source files" in sender file adapter.
    Our requirement is as below:
    The source directory is  c:\test and there are many files in the directory.
    We want to transfer all the files except aa.txt and bb.txt.
    We have to implement it in one scenario,but it couldn't work.
    It worked only when we transferred all the files except aa.txt or bb.txt,but not work when we want to transfer except aatxt and bb.txt.
    I checked the blog "XI/PI: how to exclude files in a sender File adapter?",but it is not the same issue.
    Any help will be appreciated.

    Hi,
    The only way to solve your purpose is
    Provide the list of file names like c. d. e. f. whatever possible number of file names in the "File Name Mask" column and provide the directory names by clicking on plus for additional rows. just dont use aa.* and bb. anywhere.This will do your purpose.
    Thanks!

  • Mapping navigation attributes on transformation files

    All,
    I have one navigational attribute I would like to map to a dimension in my transformation file. I've tried:
    INTCO=0COMP_CODE__0COMPANY
    and
    INTCO=0COMPANY
    Either ways I get an error message saying it is expecting an * after the equal sign. How can I map / use navigational attributes here?
    Thanks
    Paulo

    Hi Tony,
    *SELECTION is one of the parameters allowed in the *OPTIONS section of a transformation file. You can see the syntax in the transformation documentation at [http://help.sap.com/saphelp_bpc75_nw/helpdata/en/5d/9a3fba600e4de29e2d165644d67bd1/frameset.htm]. It is only allowed in transformation files used to load from InfoProviders, not from flat-files.
    Ethan

  • Transformation file errors(bpc cube to bpc cube)

    Hi friends,
    I'm trying to load bpc cube data to other bpc cube.  Created transformation file with following options & mapping sections.
    Simply i've to move from cube A to cube B(A, B are internally created transaction cube when creating BPC applications)
    Cube A having around 12 dims and cube B having 7 dims. In mapping i mentioned only 7 dims because target is having 7 dims.
    I think it not required to mention about other dimension in A.
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = NO
    DELIMITER = ,
    AMOUNTDECIMALPOINT = .
    SKIP = 0
    SKIPIF =
    VALIDATERECORDS=YES
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    SELECTION=Time,2009.JUL;Category,10
    *MAPPING (Target dim  = source dim)
    ACCOUNT=ACCOUNT
    Category=Category
    Entity=Entity
    InputCurrency=InputCurrency
    LOB=LOB
    Time=Time
    CIRCLE=CIRCLE
    *CONVERSION
    When i tried to validate and process transformation, system telling "Errors occured while loading data from other cube".
    Do i add any other things/options?
    thanks,

    Hi Naresh,
    If you have more Dimensions in the source cube than in the target, INFOPROVIDER load is not a good idea. My understanding is that is such case you'll have to find a way to skip dimensions that are not loaded.
    Therefore *DESTINATION_APP or BADI DEST_APP are your best options. Basically, if you need any transformation/calculations than use *DESTINATION_APP; if it's just straight aggregation BADI will do it.
    How many records do you have to load? How much time do you expect that load will take? If it takes more than 20 minutes take a look at my blog "Improve performance of your BPC scripts" http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/21214. [original link is broken] [original link is broken] [original link is broken]
    Hope it helps.
    Gersh

  • Advance select for source file in Sender File Adapter

    Hi
    I am trying to utilise the parameter 'Advance Selection for source file' on a sender file adapter to pick the file from multiple folders
    My problem is that this parameter that is listed on the SAP help is not getting in File accessing Parameters.
    I am running PI 7.02 (NW702_07_Rel)
    Service pack 07
    Has anyone come across this before?
    any suggestions on how to do this?

    Hi,
    In PI7.0 the property exists. I have used it previously. I think SP was 13.
    Regards,
    Nutan
    Edited by: nutan champia on Nov 24, 2011 10:42 AM

  • Need Help Regarding Nested IF condition in Transformation File.

    Hi,
    In BI Cube I am having 2 Currency Type values 00 and 10.
    And for some GL Accounts Cost Centres are Empty. So for these Empty 0COSTCENTER I am inserting a String CC_NONE.
    My requirement is to load Data into BPC by validating 2 Conditions for 0COSTCENTER,
    C1. Where 0CURTYPE (Currency Type) = 10 only.  *IF(0CURTYPE=*STR(10) THEN
    C2. Check where 0COSTCENTER are Empty.          *IF(*STR(CC_)+0COMP_CODE+0COSTCENTER = *STR(CC_)+0COMP_CODE
           then load the string CC_NONE.                            THEN *STR(CC_NONE);
           else load 0COSTCENTER's                                  *STR(CC_)+0COMP_CODE+0COSTCENTER))
    So entire code will be as below to load 0CostCenter into BPC
    COST_CENTER=*IF(0CURTYPE=*STR(10) THEN *IF(*STR(CC_)+0COMP_CODE+0COSTCENTER = *STR(CC_)+0COMP_CODE THEN *STR(CC_NONE); *STR(CC_)+0COMP_CODE+0COSTCENTER))
    For this, while validating the Transformation File I am getting error as,
    Command Error: STR(PC_NONE
    If there is any possibility let me know.
    Thank you,
    Hemanth

    Hi Hemanth,
    But why not to combine both checks like:
    COST_CENTER=*IF(0CURTYPE+*STR(CC_)+0COMP_CODE+0COSTCENTER = *STR(10CC_)+0COMP_CODE THEN *STR(CC_NONE); 0CURTYPE=10 THEN *STR(CC_)+0COMP_CODE+0COSTCENTER)
    Vadim

  • Select every nth file from a folder

    Hello:
    I have a file on my computer that has about 2200 word documents and I need to select every 10th file and place it into another folder. I have zero expierence with this stuff, especially since my imac is my first mac ever; I have had it for about 2 months. Any help would be greatly appreciated !
    Thanks

    This script
    set sourceFolder to choose folder with prompt "Select Source Folder"
    set destinationFolder to choose folder with prompt "Select Destination Folder"
    set diag to display dialog "Set skip count" default answer "10"
    set skipCount to (text returned of diag) as integer
    tell application "Finder"
              set theFiles to the files of sourceFolder
              repeat with n from skipCount to (count of theFiles) by skipCount
      duplicate item n of theFiles to folder the destinationFolder
              end repeat
    end tell
    will prompt you for the source and destination folders (the destination folder must exist already) and then prompt for the number of files to skip.
    It will duplicate the selected files from the source to the destination. If you do not want the files to remain in the source folder replace duplicate with move in the script.
    To make the above into a script select all the text in the box then right (control) click the selection, select Services->Make New AppleScript.
    As with all script gotten from the web make sure you test it out on some dummy files first and make sure you have backups of the data you are working on.
    regards
    Note this will start with the file at skipCount and increment from there. That is with the skipCount set to 10 the first file moved is file number 10 then 20, 30, etc.
    Message was edited by: Frank Caggiano

  • How to load several transformation files with a single action

    Hi everybody,
    We are loading data from BI cube into BPC cube. We are working on SAP BPC 7.0 version and we have designed several transformation files in order to load each key figure we need.
    Now, we want to load all the transformation files executing only one action. Which one is the best way to do it?
    We thought that it would be possible to build a single process chain, where we would call the target cube and all the transformation files. In this way, the administrator only has to execute once a package that would execute the process chain. We don't want the administrator to execute several times a package looking for the different transformation files.
    How can we do it? Is there any example or document related to it?
    Any idea out there?
    Kind regards
    Albert Mas

    HI SCOTT,
    I AM FACING A PROBLEM WHEN I RUN 2 ROUNDS IN ONE TRANSFORMATION FILE...
    I need to distribute a source field in to BPC through making 2 conversion files... following is the data
    Transformation file
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = YES
    DELIMITER = ,
    AMOUNTDECIMALPOINT = .
    SKIP = 0
    SKIPIF =
    VALIDATERECORDS=YES
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    CONVERTAMOUNTWDIM=ZOUTPUT
    *MAPPING
    CATEGORY=*NEWCOL(ACT)
    PAO=0COSTCENTER
    TIME=0FISCYEAR
    ZOUTPUT=0FUNDS_CTR
    SIGNEDDATA=0DEB_CRE_LC
    *CONVERSION
    PAO=PAO_CONVER.XLS
    ZOUTPUT=ZOUTPUT_CONVER.xls
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = YES
    DELIMITER = ,
    AMOUNTDECIMALPOINT = .
    SKIP = 0
    SKIPIF =
    VALIDATERECORDS=YES
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    CONVERTAMOUNTWDIM=ZOUTPUT
    *MAPPING
    CATEGORY=*NEWCOL(ACT)
    PAO=0COSTCENTER
    TIME=0FISCYEAR
    ZOUTPUT=0FUNDS_CTR
    SIGNEDDATA=0DEB_CRE_LC
    *CONVERSION
    PAO=PAO_CONVER.XLS
    ZOUTPUT=AMOUNT_CONVER.XLS
    Conversion file 1 (PAO=PAO_CONVER.XLS)
    EXTERNAL
    INTERNAL
    ID0001
    F08001
    ID0002
    F08001
    ID0003
    F08001
    DG0001
    F08001
    DG0002
    F08001
    Conversion file 2 (ZOUTPUT=ZOUTPUT_CONVER.xls)
    ID0001
    FX01
    VALUE*1
    ID0002
    FX01
    VALUE*1
    ID0003
    FX01
    VALUE*.40
    DG0001
    FX02
    VALUE*1
    DG0002
    FX02
    VALUE*1
    Conversion file 3 (ZOUTPUT=AMOUNT_CONVER.XLS)
    EXTERNAL
    INTERNAL
    FORMULA
    ID0003
    FX02
    VALUE*.60
    I am getting the following error
    [Start validating transformation file]
    Validating transformation file format
    Start validation transformation 1/2
    Validating options...
    Validation of options was successful.
    Validating mappings...
    Validation of mappings was successful.
    Validating conversions...
    Validation of the conversion was successful
    Start validation transformation 2/2
    Validating options...
    Validation of options was successful.
    Validating mappings...
    Validation of mappings was successful.
    Validating conversions...
    Validation of the conversion was successful
    Creating the transformation xml file. Please wait...
    Transformation xml file has been saved successfully.
    Begin validate transformation file with data file...
    [Start test transformation file]
    Validate has successfully completed
    ValidateRecords = YES
    Reject count: 0
    Record count: 6
    Skip count: 0
    Accept count: 6
    0COSTCENTER is not a valid command or column 0COSTCENTER does not exist in source
    Validation with data file failed

Maybe you are looking for

  • After using the loop to re-record, all vocal gone  ?

    Hi there, Something terrible happen to me. I was recording a vocal of my friend singing. After, we play back, he requested for one short section to be re-recorded as he was choking. So, I click on the loop button on the bottom, I define the loop area

  • AIR 15 broke build, Base64

    Our project has com.sociodox.utils.Base64, as source, included in a SWC project's source paths. Starting with AIR15, the compiler is unable to resolve this Base64 class - I unzipped the SWC in question and looked at the catalog, and I found dependenc

  • BAPI_LEAD_CREATEMULTI small questions

    - what is the relationship type (RELTYPE) between a campaign and a lead - how can I influence the status at creation.  There seems to be no status ITAB. Do I have to CREATE and then use the CHANGE BAPI. Thanks.

  • VBScript that traps error "Access Denied"

    I am newbie in VBScript. I have been trying a script where my requirement is, if the "ACCESS DENIED" error is coming, I need a prompt "Do you still want to continue?". My question is how can we trap the "ACCESS DENIED" error and as user ""Do you stil

  • Sharing between 2 Macbooks

    I have a MacBook Pro and ordered a MacBook Air last Friday. The Air is on the way ... I wonder if I can share some free bulit-in apps (Page, Numbers and Keynote) in the Air to the Pro. How?