Handling blank in transformation file

I am trying to use if statement in a transformation file. I have got data set where members in one of column (Column 3-INTCO in this example) are empty so I want to map these missing ones to a specific dimension member. For other (non-missing) ones I want to map as usual way.
The code I got it
INTCO = *if(COL(3)= then *NEWCOL(I_EXTERNAL); COL(3))
I have also tried some other options like
INTCO = *if(COL(3)= NULL then *NEWCOL(I_EXTERNAL); COL(3))
INTCO = *if(COL(3)= u201Cu201D then *NEWCOL(I_EXTERNAL); COL(3))
But none of this is working. I found a SAP help on internet but this is not helping either. Main issue I am having is how system check =empty/blank condition in the above statement?
The SAP help is available at
http://help.sap.com/saphelp_bpc75/helpdata/en/a2/e722bc58404335ada8592cdc8feaca/content.htm
Has anyone experienced similar issue and able to solve this?

Hi,
You can try using something like below:
INTCO = *if(COL(3) + *str(abcd)= *str(abcd) then *str(I_EXTERNAL); COL(3))
Hope this helps.

Similar Messages

  • How to handle blank line in File adapter

    Hi,
    I am using a file adapter with CSV as input file. If I have a blank line in CSV file, BPEL is failing read it, no instance is created and file is archieved.
    Please let me know how to handle this issue.
    Thanks

    Hi Yatan,
    I am already using rejectedMessageHandlers, I am on 10.1.3.3.
    Here's my bpel.xml
    ============
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BPELSuitcase>
    <BPELProcess id="EmpAddressUpdABCSImpl" src="EmpAddressUpdABCSImpl.bpel">
    <partnerLinkBindings>
    <partnerLinkBinding name="ReadFile">
    <property name="wsdlLocation">ReadFile.wsdl</property>
    <property name="rejectedMessageHandlers">file://E:/HRARCHIVE/BadData</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="InsertAddressUpd">
    <property name="wsdlLocation">InsertAddressUpd.wsdl</property>
    <property name="retryInterval">60</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    <configurations>
    <property name="sensorLocation">sensor.xml</property>
    <property name="sensorActionLocation">sensorAction.xml</property>
    </configurations>
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="ReadFile">
    <property name="portType">Read_ptt</property>
    <property name="rejectedMessageHandlers">file://E:/HRARCHIVE/BadData</property>
    </activationAgent>
    </activationAgents>
    </BPELProcess>
    </BPELSuitcase>
    Someone told me that this can be achieved by changing the native schema, I tried many options but no result. Please suggest me.
    -- Shirish

  • Load infoprovider in 2 steps (2 transformation files) - BPC 10.0

    Hi Masters,
    For your better understanding, the background of this issue is that I currently have the planning solution configured and in use in BPC 7.50, in another
    server, and on it I have the same ACTUAL uploading process from our legacy system (SIG) working just perfectly.
    PS: The process chain to load transaction data from BW infoprovider using 2 transformation files was configured by SAP consulting, since this was a project made by SAP consulting.
    So, I am migrating the solution to BPC 10.0, and is better to say "reconfiguring" the solution to BPC 10.0. I just recriated the transformations and convertion files, the process chain (and all its custom variants) and the data package. But in the new configuration, I am unfortunately facing this problem whlie executing the Process Chain.
    Data Package Script:
    INFO(%InforProvide%,GIF00003)
    INFO(%TRANSF1%,\ROOT\WEBFOLDERS\GIF_TEMPLATE\CR_INCOMESTATEMENT\DATAMANAGER\TRANSFORMATIONFILES\CR_IST_LOAD_SIG_STEP1.xls)
    INFO(%TRANSF2%,\ROOT\WEBFOLDERS\GIF_TEMPLATE\CR_INCOMESTATEMENT\DATAMANAGER\TRANSFORMATIONFILES\CR_IST_LOAD_SIG_STEP2.xls)
    'Handling of records in target (0 = Append, 1 = Overwrite, 2 = Replace )
    INFO(%TARGETMODE%,0)
    INFO(%RUNLOGIC%,1)
    INFO(%CHECKLCK%,1)
    INFO(%KEYDATE%,0)
    INFO(%TEMPNO1%,%INCREASENO%)
    INFO(%ACTNO%,%INCREASENO%)
    'Upload data from SIG - 1st Step
    TASK(ZGIF_INFOPROVIDER_CONVERT1,OUTPUTNO,%TEMPNO1%)
    TASK(ZGIF_INFOPROVIDER_CONVERT1,ACT_FILE_NO,%ACTNO%)
    TASK(ZGIF_INFOPROVIDER_CONVERT1,TRANSFORMATIONFILEPATH,%TRANSF1%)
    TASK(ZGIF_INFOPROVIDER_CONVERT1,SUSER,%USER%)
    TASK(ZGIF_INFOPROVIDER_CONVERT1,SAPPSET,%APPSET%)
    TASK(ZGIF_INFOPROVIDER_CONVERT1,SAPP,%APP%)
    TASK(ZGIF_INFOPROVIDER_CONVERT1,FILE,%InforProvide%)
    TASK(ZGIF_INFOPROVIDER_CONVERT1,KEYDATE,%KEYDATE%)
    TASK(ZGIF_CRLOAD_LOAD1,PREPROCESSMODE,0)
    TASK(ZGIF_CRLOAD_LOAD1,TARGETMODE,%TARGETMODE%)
    TASK(ZGIF_CRLOAD_LOAD1,INPUTNO,%TEMPNO1%)
    TASK(ZGIF_CRLOAD_LOAD1,ACT_FILE_NO,%ACTNO%)
    TASK(ZGIF_CRLOAD_LOAD1,RUNLOGIC,%RUNLOGIC%)
    TASK(ZGIF_CRLOAD_LOAD1,CHECKLCK,%CHECKLCK%)
    TASK(ZGIF_CRLOAD_LOAD1,KEYDATE,%KEYDATE%)
    'Corp Unit Calculation (upload base level companies with negative signal) - 2nd Step
    TASK(ZGIF_INFOPROVIDER_CONVERT2,OUTPUTNO,%TEMPNO1%)
    TASK(ZGIF_INFOPROVIDER_CONVERT2,ACT_FILE_NO,%ACTNO%)
    TASK(ZGIF_INFOPROVIDER_CONVERT2,TRANSFORMATIONFILEPATH,%TRANSF2%)
    TASK(ZGIF_INFOPROVIDER_CONVERT2,SUSER,%USER%)
    TASK(ZGIF_INFOPROVIDER_CONVERT2,SAPPSET,%APPSET%)
    TASK(ZGIF_INFOPROVIDER_CONVERT2,SAPP,%APP%)
    TASK(ZGIF_INFOPROVIDER_CONVERT2,FILE,%InforProvide%)
    TASK(ZGIF_INFOPROVIDER_CONVERT2,KEYDATE,%KEYDATE%)
    TASK(ZGIF_CRLOAD_LOAD2,PREPROCESSMODE,0)
    TASK(ZGIF_CRLOAD_LOAD2,TARGETMODE,%TARGETMODE%)
    TASK(ZGIF_CRLOAD_LOAD2,INPUTNO,%TEMPNO1%)
    TASK(ZGIF_CRLOAD_LOAD2,ACT_FILE_NO,%ACTNO%)
    TASK(ZGIF_CRLOAD_LOAD2,RUNLOGIC,%RUNLOGIC%)
    TASK(ZGIF_CRLOAD_LOAD2,CHECKLCK,%CHECKLCK%)
    TASK(ZGIF_CRLOAD_LOAD2,KEYDATE,%KEYDATE%)
    Process Chain
        2. Error
        3. Variant Configuration (ZGIF_INFOPROVIDER_CONVERT2)
        4 . Error Package
    So, what I need is to understand if there was any change between BPC 7.50 and BPC 10.0 (regarding this custom variants), that is preventing the new configuration to work as it should, or better saying, as I already have working in BPC 7.50.
    I checked already the variants configurations and the Data Package Script, to certify that everything is correct, and it seems perfect!
    The strange thing is that the process chain executes the first Convert (ZGIF_INFOPROVIDER_CONVERT1) with no problem, and it is exactly the same configuration as the second Convert.
        5. Variant Configuration (ZGIF_INFOPROVIDER_CONVERT1)
    Should I use other variant between the first Load and the second Convert?
    I hope you guys can help me to solve this question.
    PS: The transformation files are attached to this message.
    Thanks in advance!
    Adriano Frossard
    São Paulo - Brazil

    Hello Adriano,
    I have small question here,
    are you automate the entire process...?
    if manually running the data manager package, is it successful or abort...?
    As far as I know variant comes into picture while automating the process only...
    recently we also face the same issue, while automating the process at that time we use RFC system name, unfortunately the user doesn't have required access to perform the task. while doing it manually its successful but throwing an error while running from back end...
    In this case the problem with variant so the transformation file doesn't throw any error , its show the validation is successful..
    Please check the variant is available or not...
    if possible can you please share the log abort  DM package...
    Regards,
    SRG...

  • BPC 7.5 NW SP5 - Question regarding Transformation file for exporting data

    Hi Experts,
    I have a requirement to export data from a BPC application to App.server/UJFS. There are currently 13 dimensions in the application. The user requires the output file to contain only three dimensions followed by the amount(signdata), namely
    | COSTCENTER | ACCOUNT | TIME | AMOUNT |.
    How do i handle the same in transformation file?
    Currently i am using the following transformation file but i am having issues validating it.
    *OPTIONS
    FORMAT = DELIMITED
    HEADER = YES
    OUTPUTHEADER=*COSTCENTER,ACCOUNT,TIME, PERIODIC
    DELIMITER = ,
    AMOUNTDECIMALPOINT = .
    SKIP = 0
    SKIPIF =
    VALIDATERECORDS=NO
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    *MAPPING
    COSTCENTER=*COL(2)
    ACCOUNT=*COL(4)
    TIME=*COL(13)
    AMOUNT=*COL(14)
    I tried to remove the OUTPUTHEADER from *options and tried but it still gives the same issue.
    Please help me as to how i can handle this scenario.
    Thanks,
    Victor

    The 'Export' data package which comes as part of a support pack enhancement does not support using Transformation/Conversion files to modify data prior to transport.
    Please refer to section 3 (Limitations) in the below how to guide.
    http://www.sdn.sap.com/irj/bpx/go/portal/prtroot/docs/library/uuid/b0427318-5ffb-2b10-9cac-96ec44c73c11?QuickLink=index&overridelayout=true
    Hence your only option is to manually massage data in the spreadsheet after exporting.

  • Conversion call in transformation files is not working

    Dear Experts,
    We are using BPC 7.5 NW SP06. For running master data load from BW, we are using the standard packages available. Whenever we are creating any transformation file keeping the conversion section blank it is working fine and getting validated. If we are creating new conversions, the same also gets validated and updated. To ascertain this, we also checked in the BW back end using UJFS t code and observed that the corresponding .CDM file is getting created in the back end. We are creating all such transformations and conversions in the default company folder. The issue lies in the fact that whenever we are referring the created conversion file in *CONVERSION section of the transformation file using the syntax:
    ID/HIER_NAME = [COMPANY]Conversion.xls!CONVERSION
    and trying validate the same we are getting the error:
    **"xml(........................CDM) file doesn't exists or empty.
    File / Document doesn't exist"*.
    We again went back to UJFS and found the CDM file is intact there with proper conversion definition. We tried to validate the same phenomenon of calling a conversion using any other transformation file. But the same error happens every time although at the back end the .CDM file gets created.
    What can be the problem here? We are stuck.
    Your expert advise is highly aprreciated.
    Thanks in Advance.

    Hi,
    ID/HIER_NAME = COMPANYConversion.xls!CONVERSION
    What is the file name here? Is it Conversion.xls and if it contains only one sheet then just try
    ID/HIER_NAME = CONVERSION.xls
    hope it works...
    regards,
    Raju

  • Formula in transformation file to remove trailing zeroes,BPC 7.5 NW

    Hi Experts,
    I have implemented automation of master data from BW info object to BPC dimension.
    I have few issues with the transformation file. employee percentage in BW is of type number and has lenght of 17.
    In BW 0EMPLPCT holds the value as 100,000 , 75,000  but when i send to BPC dimension the values are sent as 100,00000
    Emp percentage is maintained as below in the transformation  file.
    EMP_PC=0EMPLPCT
    However i wanted to remove the zeroes in BPC , i wanted to see the numbers as 100, 75, 50 and so on.
    Is there any way i can handle this in transofrmation file. Please let me know as this is really urgent. Thanks much.
    Regards,
    Sanjeev

    Hi,
    The properties in BPC are stored as string. So, you will have to convert it to string while loading. Secondly, it will be really difficult to use this percentage value in any script logic; since it is stored as string.

  • Loading blank in conversion file

    I have blank accounts in my upload but when I created an Account Conversion file for it
    Column A Column B is 99999 it fails. Does column A need to say blank or something?

    Hi,
    You can try using an IF condition in the transformation file. Please refer to the IF statement in the mapping section of the below link:
    http://help.sap.com/saphelp_bpc75/helpdata/en/a2/e722bc58404335ada8592cdc8feaca/content.htm
    Hope this helps.

  • 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

  • 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

  • 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.

  • Creation of Transformation File

    Dear Friends,
    How to map the Dimension with Flat file in transformation file, Can any one please guide me.
    I have pull the Company Code Master data from BW and upload the flat file in BPC Application Server, now want to create a transformation file to update the same in BPC.
    I have created the Dimension called Entity in that, my ID is Company and IntCo(Property) is Intercompany reference,  Both Dimensions doesnt have the property Company code.
    But in the flat file have a Company information.
    Kindly guide me how to map the flat file fields with Dimension Entity.
    Thanks in advance.
    Regards, MD.

    Hi,
    The transformation file should contain the information about which property should be mapped with which source column of the flat file. For example, if the master data is in the column heading COMPANY, then you should have:
    ID = COMPANY
    Please refer to the transformation example in the below link from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/e0/532af2d0804218a59157136bb63a98/content.htm
    Hope this helps.

  • Problem Validating & Processing Transformation file in NW 7.0 version

    I am trying to Validate & Process Transformation File against my Data file I am getting the error message that I have at the below. When I validate the Conversion files, I see the creation of corresponding .CDM files. I even deleted the .CDM files and recreated the files.
    So my question is why it is giving "Sheet does not exist  (CONVERSION)" warning for which it is rejecting the records inside the Data File?
    DATA FILE:
    C_Category,Time,R_ACCT,R_Entity,InputCurrency,Amount
    ACTUAL,2007.DEC,AVG,GLOBAL,USD,1
    ACTUAL,2007.DEC,END,GLOBAL,USD,1
    ACTUAL,2007.DEC,AVG,GLOBAL,JPY,110
    ACTUAL,2007.DEC,END,GLOBAL,JPY,110
    ACTUAL,2007.DEC,HIST,GLOBAL,JPY,110
    ACTUAL,2007.DEC,HIST,GLOBAL,USD,1
    ACTUAL,2008.MAR,AVG,GLOBAL,USD,1
    ACTUAL,2008.MAR,END,GLOBAL,USD,1
    ACTUAL,2008.MAR,AVG,GLOBAL,JPY,107.5
    ACTUAL,2008.MAR,END,GLOBAL,JPY,105
    ACTUAL,2008.MAR,HIST,GLOBAL,JPY,110
    ACTUAL,2008.MAR,HIST,GLOBAL,USD,1
    TRANSFORMATION FILE:
    FORMAT = DELIMITED
    HEADER = YES
    DELIMITER = ,
    AMOUNTDECIMALPOINT = .
    SKIP = 0
    SKIPIF =
    VALIDATERECORDS=YES
    CREDITPOSITIVE=YES
    MAXREJECTCOUNT=
    ROUNDAMOUNT=
    SPECIFICMAPPING=YES
    *MAPPING
    C_Category=*col(1)
    Time=*col(2)
    R_ACCT =*col(3)
    R_Entity=*col(4)
    InputCurrency=*col(5)
    Amount=*col(6)
    *CONVERSION
    C_Category=[COMPANY]C_Category.xls!CONVERSION
    Time=[COMPANY]Time.xls!CONVERSION
    R_ACCT=[COMPANY]R_ACCT.xls!CONVERSION
    R_Entity=[COMPANY]R_Entity.xls!CONVERSION
    InputCurrency=[COMPANY]InputCurrency.xls!CONVERSION
    ERROR
    [Start validating transformation file]
    Validating transformation file format
    Validating optionsu2026
    Validation on options was successful
    Validating mappingsu2026
    Validation on mappings was successful
    Validating conversionsu2026
    Sheet does not exist  (CONVERSION)
    Sheet does not exist  (CONVERSION)
    Sheet does not exist  (CONVERSION)
    Sheet does not exist  (CONVERSION)
    Sheet does not exist  (CONVERSION)
    Validation on conversions was successful
    Creating the transformation xml file; wait a moment
    Transformation xml file saved successfully
    Connecting to server...
    Begin validate transformation file with data fileu2026
    [Start test transformation file]
    Validate has successfully completed
    ValidateRecords = YES
    Task name CONVERT:
    No 1 Round:
    Record count: 12
    Accept count: 0
    Reject count: 12
    Skip count: 0
    Error: All records are rejected

    *CONVERSION
    C_Category=C_Category.xls
    Time=Time.xls
    R_ACCT=R_ACCT.xls
    R_Entity=R_Entity.xls
    InputCurrency=InputCurrency.xls
    On validating with the above format, I still getting the same error
    [Start validating transformation file]
    Validating transformation file format
    Validating optionsu2026
    Validation on options was successful
    Validating mappingsu2026
    Validation on mappings was successful
    Validating conversionsu2026
    Sheet does not exist  (CONVERSION)
    Sheet does not exist  (CONVERSION)
    Sheet does not exist  (CONVERSION)
    Sheet does not exist  (CONVERSION)
    Sheet does not exist  (CONVERSION)
    Validation on conversions was successful
    Creating the transformation xml file; wait a moment
    Transformation xml file saved successfully
    Connecting to server...
    Begin validate transformation file with data fileu2026
    [Start test transformation file]
    Validate has successfully completed
    ValidateRecords = YES
    Task name CONVERT:
    No 1 Round:
    Record count: 12
    Accept count: 0
    Reject count: 12
    Skip count: 0
    Error: All records are rejected

  • Error in Transformation file

    Hi,
    While processing the transformation file in TST Server i am getting the error as " Error in ABAP/4 statement when processing an internal table. table"
    However same transformation file works fine in DEV Server.
    Anurodh

    I checked from backend through ST22.
    I  am getting error as TABLE_INVALID_INDEX and issue in ABAP Program SAPLRSSEM_UCR0 in "RSSEM_CONSOLIDATION_INFOPROV".
    The main program was "SAPMSSY1 ".
    And termination point in line 231 of the (Include) program "LRSSEM_UCR0U02".

  • How to handle errors in a file at sender side?

    Hi
    I have done a file to proxy scenario.
    I know how to handle errors on proxy.
    But on sender side when picking the file if one the record have worng fomat its throwing mapping error and its not processing any record..
    I wanted to process the records which have right format and data and  all remaining recrods which have wromg format should be send back to the sender as file.
    How to do this.
    How to handle error in sender file.
    Regards
    Sowmya

    Hello Sowmya,
    In your scenario Three ways you can validate the data.
    1) Before the data reaches into SAP system ie in XI system during Mapping or before mapping i,e in Adapter Module in the Sender side
    2) this option, is in the receiver applications side. ie. Validations will be taken care in the SAP system i.e in ABAP server proxy code.
    3)Through BPM, If Mapping Exception Occures then through exception Branch you can send bad formate file to sender again.
    Generally, it is prefer to more business critical validations in the Application System ie Receiver Application System (ABAP Server Proxy)
    In this, you can have more flexibility of the validations as you are validating some of the SAP payroll informations as Personal ID etc.
    Based on the complexity and flexibility of the requirement, you can either do this in the XI (if XI, ie Sender Adapter Module or Mapping) or in the ABAP proxy
    Thanks'
    Sunil Singh

  • How to calculate length of the string in transformation file

    Hello all
    I have tried a number of ways and I am not able to calculate the length of the incoming field in transformation file for my data load. Here is the issue.
    I have an incoming string of length 10 and I need to use it to update multiple dimensions which will need first 2, 4 ,6 , 8 characters respectively.
    Now in transformation file ID=ID(1:2) works perfect. However, the BW InfoObject will have multiple values as shown below:
    ID
    Description
    AB
    Business
    ABCD
    Business Organization
    ABCDEF
    Business Line
    ABCDEFGH
    Product Family
    ABCDEFGHIJ
    Product Line
    ABCDEFGHIJKL
    Brand
    I want to update my dimension for Business Organization. I need to update only the records where the length of the incoming string is 4. If I do ID(1:4), I will get the duplicate records and will see the ID less than 4 characters in rejected records. The latter is not such a big issue but the former one is as I need to fetch the right description as well. The formula should check the length and then only pass the record else a dummy value.
    A formula to achieve this in the transformation file is what I am looking for.
    Regards
    Gajendra

    Thanks Vadim for the quick response!
    I am also trying something similar and really appreciate your input here. However, I am not sure if the conversion is really happening.
    Here is what I have done:
    But the strings <> 4 in length are still passing through.

Maybe you are looking for