Var substitution

Hello All,
I am getting below error in my receiver FTP(File) channel:
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload: Content is not allowed in prolog.
Taret payolad is as below:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_TREASURY_MANAGEMENT_LEGACY xmlns:ns0="urn:chrysler.com/fi/I_FIN_AP_010">
  <HEADER>
<SEQ_NUMBER>12</SEQ_NUMBER>
</MT_TREASURY_MANAGEMENT_LEGACY >
I have to read the sequence number which is coming in the target payload. So, I have enabled Variable subs option in the receiver FTP channel. And mentioned the var1 as payload:MT_TREASURY_MANAGEMENT_LEGACY,1,HEADER,1,SEQUENCE_NUMBER,1
can someone pls help me here
Thanks,
Regards,
Moorthy

Hi DasikaMoorthy,
In the target message you have no prefix "ns0"
end of the root element should be "</ns0:MT_TREASURY_MANAGEMENT_LEGACY>" but, in your message "ns0" is missing.
I guess that is the error....
*your message*
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_TREASURY_MANAGEMENT_LEGACY xmlns:ns0="urn:chrysler.com/fi/I_FIN_AP_010">
<HEADER>
<SEQ_NUMBER>12</SEQ_NUMBER>
</MT_TREASURY_MANAGEMENT_LEGACY >
*Expected message*
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_TREASURY_MANAGEMENT_LEGACY xmlns:ns0="urn:chrysler.com/fi/I_FIN_AP_010">
<HEADER>
<SEQ_NUMBER>12</SEQ_NUMBER>
</ns0:MT_TREASURY_MANAGEMENT_LEGACY >
Regards,
Sunitha

Similar Messages

  • Problem in variable substitution

    Hi experts,
    I need help for a strange problem:
    I have a proxy to file scenario in which I create an xml file; I need to use a field of the mapping to create filename.
    In Receiver CChannel I have used variable substitution, but in message monitoring I got this error:
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: Folio: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: Folio.
    FileName Scheme is: DM65_%Folio%.xml
    In variable substitution I have used this reference:
    Folio =    payload:MT_MexicanElectronicInvoice_MyFirm,1,CABFAC,1,Folio,1
    This is the payload of the message that ends in error:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_MexicanElectronicInvoice_MyFirm xmlns:ns0="urn:MyFirm-EDICOM:MexElectronicInvoice">
    - <CABFAC>
      <IdLabel>CABFAC</IdLabel>
      <Version>3.0</Version>
      <Folio>2100000003</Folio>
      <FecHac>16-11-2011 17:11:17</FecHac>
      <FPago>Advance payment</FPago>
      <Subtotal>9.976,00</Subtotal>
      <TotalFac>11.568,16</TotalFac>
    What is the problem? wrong reference?
    thanks
    Fabio

    Hi,
         Everything looks fine.
    Make sure that there is no extra space after your "%Folio%" under the Variable Substitution.
    Make sure that "Adapter Specific message Attributes" is unchecked in the CC.
    You can do a change in message mapping to create a header field<occurence: 1> map to a constant and call it in var substitution.
    As Mickael suggested above make sure using only lowercase on your variant name  %folio% instead of %Folio%.
    For 1:N muti-mapping with variable substition go through the below links:
    Re: 1: N File Scenario..
    Using Variable Substitution
    i hope it will help you.
    regards,
    ganesh.

  • Variable substitution for Dynamic filename

    Hi All,
    my Scenario is Proxy to file. and the receiver file should be a zip file of extension .dat.gz.
    In mapping I tried as below. In signature I used one sender and two receiver messages.
    SENDER:                         RECEIVER:(2messages)
    MT_Product                       MT_Product
    -----Row                              ---------Row
    ---------field1                         -----------field1
    ---------field2                         -----------field2
    ---------field3                         -----------field3
                                             MT_Poduct_1
                                               --------field5  
    for field5 I mapped current date and I am trying to use it in Reciver file communication channel. will that be correct to use?
    In receiver communication channel the file name is Product_%field5%.zip I used
    and I used Module Configuration for content conversion and Zipping the file.
    In variable substitution I used field5 for dynamic date.
    field5-----------
    payload:Messages,1,Message2,1,MT_Product_1,1,field5,1
    Module Confuguration:
    Guys! am on right path????? will this be possible????

    Hello,
    Why you are using multimapping? Just for defining target file name using var substitution - BTW, that too is incorrect. You cannot use Messages/Message 1 nodes in variable substitution.
    Secondly, if I am not wrong the approach of defining dynamic zip file name using variable substitution won’t work because variable substitution will be executed once all the modules before standard call sap adapter gets executed. So during runtime, at var substitution step, ur file will actually be a text file instead of XML as a result u will get an exception.
    So, if there is no specific objective of using multimapping then simply use DC.
    Thanks
    Amit Srivastava

  • Party (with and with out)

    Dear all,
    I have two quick questions:
    1)In few of our scenario's we used party and for some with out party.what is the difference.
    In both the cases we used both Business System and service what is the difference.
    for B2b Scenario's we did not use any third party adapters like seeburger,we used http,file etc.
    What are the case we go for third party adapters.
    2)dynamic file naming using var substitution.
    suppose my file name should be as follows test_%var1%.xml
    under advanced options of file adapter I gave var as var1 what needs to be passed to the reference payload.......,could you let me know
    thanks,
    Srini

    Business system details are maintained in SLD and is created in SLD .
    We need to import the business system into the directory
    In case of business service , it is directly created in  configuration directory .
    Business service is used when client is not ready to share information of his landscape , it is used just to represent client.
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/cfd1d49bf23e49e10000000a421937/frameset.htm
    hope this helps
    regards
    Ninad

  • C# Update single row in [my]sql

    Hi
    We found after our Bugzilla upgrade that many comment records where not upgraded correctly due to special characters.
    I have found all the old == good and matching new == bad records
    Some of the comments can be up to 64k so I don't want to try to do this as a textual update, rather update the row directly
    I am after hints how to do this ?
    Thanks
    try
    adaptor = new OdbcDataAdapter(_query, _mySQL);
    resultsTable = new DataTable("Results");
    adaptor.Fill(resultsTable);
    adaptorNew = new OdbcDataAdapter(_query, _mySQLNew);
    resultsTableNew = new DataTable("Results");
    adaptorNew.Fill(resultsTableNew);
    //Console.WriteLine("Bug {0} has {1} comments", i, resultsTable.Rows.Count);
    int rowCount = 0;
    foreach (DataRow row in resultsTable.Rows)
    DataRow newrow = resultsTableNew.Rows[rowCount];
    // This checks the comments ids are the same if (row.ItemArray[1].ToString().Equals(newrow.ItemArray[1].ToString()))
    // This checks the comments lengths
    if (!row.ItemArray[2].ToString().Equals(newrow.ItemArray[2].ToString()))
    Console.WriteLine("At id {0}, length differs {1} != {2}", i, row.ItemArray[2].ToString(), newrow.ItemArray[2].ToString());
    // To DO - update new record with old record data
    // xxxx.update (newrow"comment.text") with row"comment.text"
    else
    Console.WriteLine("At id {0}, comment ids do not match", i);
    rowCount++;
    catch
    NB: I tried something like below it did not work
    Over is [MY]SQL it works, e.g.
    update longdescs set thetext='Test by GBR'  where comment_id=625;
    HOWEVER for huge text strings, not sure how to handle ' inside the text
    // this does not work though NO error is reported object[] rowdata = new object[4];
    rowdata[0] = row.ItemArray[0];
    rowdata[1] = row.ItemArray[1];
    rowdata[2] = row.ItemArray[2];
    rowdata[3] = (object)"Test of write"; // row.ItemArray[3];
    resultsTableNew.Rows[rowCount].BeginEdit();
    resultsTableNew.Rows[rowCount].ItemArray = rowdata;
    resultsTableNew.Rows[rowCount].EndEdit();
    resultsTableNew.Rows[rowCount].AcceptChanges();
    resultsTableNew.AcceptChanges();
    And another ps ; No ,matter what ways I use variables @oldtext :oldtext I cant get the var substitution to work  below.
    Outcomes : No row updated, row updated showing nothing or "@oldtext"
    Something like
    "UPDATE longdescs SET thetext = 'my test' WHERE comment_id=123"
    will work
    string updateText = @"UPDATE longdescs SET thetext = @oldtext WHERE comment_id={0}";
    _query2 = string.Format(updateText, row.ItemArray[1]);
    // Set @newtext
    Console.WriteLine("At id {0}={1}, comment id {2}, length differs {3} != {4}", i, row.ItemArray[0].ToString(), row.ItemArray[1].ToString(), row.ItemArray[2].ToString(), newrow.ItemArray[2].ToString());
    if (i == 624)
    OdbcCommand sqlComm = new OdbcCommand(_query2, _mySQLNew);
    sqlComm.Parameters.AddWithValue("@oldtext", "Test by GBR");
    int rowsaffected = sqlComm.ExecuteNonQuery();

    Thanks for the reply. It is not possible to do a sample to show the issue because you need the bugzilla DB. Rather hope this issue rings a bell with someone.
    Row state goes from "Modified" to "Unchanged" after the resultsTableNew.Rows[rowCount].AcceptChanges(); line. No errors.
    Nb: I added "
    Allow User Variables=True;" to the connection string.
    I suspect the issue is related to MySQL quirk perhaps ?
    I am using a 3.51 ODBC connector.
    The direct SQL update "update longdescs set thetext='Test by GBR'  where comment_id=625;"
    works. Trying to use a var on the right hand side does not.
    I expanded the sqlComm object and can see the added parameter in it.
    "UPDATE longdescs SET thetext = @oldtext WHERE comment_id=625";
    Does not work, i.e. I can't get the var to be used. Text size is usually 1k but can get to 60k in a comment.
    >> A manual alternative if someone can suggest how would be fine, as this is a one of fix to 6000 records.  i.e.
    - clear comment field
    - manually add 8K of info (whatever is the OK size) handling any " or ' in the data streams
    - repeat addition of data until comment filled up
    (context bugzilla)
                   _mySQL =
    newOdbcConnection(@"DRIVER={MySQL
    ODBC 3.51 Driver}; SERVER=xxxxx; PORT=3306;
                    DATABASE=bugs; USER=xxx; PASSWORD=xxx; Allow User Variables=True;
    OPTION=0"
                    _mySQL.Open();

  • Substitution vars in MaxL

    I want to ensure that a subst var is around at execution - so i do an "add", which produces an error if it already exists. The server log shows a second error, which says the variable does NOT exist - when it does.I have been ignoring the second error message because the application works. Should I be ignoring it?Is there a MaxL "replace" or "delete" command for substitution vars?Harold

    Hi,The same like add variable there is a drop variable in the alter application command. For more information on the command try the technical reference for maxl in the website. Not sure about your variable's scope. But thought this might help you.JG

  • Calc defined in Web Analysis not working properly with substitution vars

    Hi all,
    Most likely many of you have already faced this, and I would appreciate any guidance. Most likely is a rookie mistake.
    1.- We have a couple of substitution variables in Essbase, CurrYear and PrevYear
    2.- We can see those substitution variables perfectly in Web Analaysis, when designing the report ($CurrYear and $PrevYear) for the Years dimension
    3.- We use this susbtitution variables into a calculation defined in Analysis Tool (i.e $CurrYear:Actual / $PrevYear:Actual) where 'Actual' is the value for scenario.
    4.- The value of the substitution variables is changed in essbase (i.e. CurrYear equals FY10 and Prev Year equals FY09) to update for the current year
    5.- In the reports, whenever we use $CurrYear and $PrevYear, outside a calculation defined in analysis tools, it works properly
    6.- However, the calculations defines as in (3.-) before, do not work. I get 'value not found'
    7. If I 'refresh' the formula in the calculation, by editing it and taking out/reentering the operands again, it now works.
    We have tried restarting Web Analysis services, but we still get the same behaviour
    We have several of this calculations in about 15 reports, so, even while it is manegeable, the idea of using the substitution variables was to avoid this.
    We are using Hyperion 9.3.1
    Thank you in advance to anyone who can point me in the right direction
    Hector

    Hi,
    Oracle support recommended that we apply patch 9.3.1.3, since they were unable to replicate in their environment with said version. After applying the patch, we still have the same problem, they are further investigating.
    Regards,
    Hector

  • Storing the contents of a substitution or bind variable in a PL/SQL var

    Hi,
    I would like to create a substitution or bind variable to store the name of a sequence to use in SQLPlus and then reference this in a PL/SQL procedure and assign the contents of the substitution or bind variable in the PL/SQL variable. Is this possible?
    Regards,
    Sean

    A substitution variable can only be used in an anonyomous PL/SQL block, not a stored procedure. You would pass the sequence name in via an input parameter to that stored proc.
    In an anonymous block though:
    sql>declare
      2    v_seq_name  user_sequences.sequence_name%type;
      3    v_value     number;
      4  begin
      5    v_seq_name := '&seq_name';  -- assign substitution to variable
      6    execute immediate 'select ' || v_seq_name || '.nextval from dual' into v_value;
      7    dbms_output.put_line( v_value );
      8  end;
      9  /
    Enter value for seq_name: SEQ
    old   5:   v_seq_name := '&seq_name';
    new   5:   v_seq_name := 'SEQ';
    24
    PL/SQL procedure successfully completed.

  • Hyperion Report 7.0.1.2 -- use of substitution var that is not a member of outline

    I need to have a variable that tells me the day of the month and the number of total days in the current month for formulas within Hyp. Reports against data in my database. I have stored these values as sub vars which can change daily/monthly as needed.However, I can not see a way to access these in my Report Designer! Does anyone have any tips or other solutions, such a way to access the system date and extract the info needed for my formula, etc? Thanks in advance.

    This problem comes only when you are writing formula on cell level. If possible, put formula at the the column level. i.e. In Column 'C', put formula as [A]-<b>. Now, if you add another column between A & B, formula will automatically change to [A]-[C].This should work unless you have a situation where every cell in formula column is using a separate calculation.

  • Variable substitution error

    Hello All,
    Below is my source structure:
    <Messages>
       <Message1>
           <MT_BILL>    (0...*)
              <RECORD> (1....*)
                 <FILENAME>  (1...1)
    If using variable substitution for the filed FILE NAME which is in the source structure.
    This is the declaration I used in channel:
    payload:MT_BILL,0,RECORD,1,FILENAME,1
    But i am getting this error in channel monitoring
    DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: var
    Can anyone help me here
    Regards,
    Moorthy

    Hi Dasika,
    In variable substitution we use the receiver message type path.
    Please map the required source field to any of the field at the reeiver side and use variable substitution.
    For 1:N muti-mapping with variable substition go through the below links:
    Re: 1: N File Scenario..
    Using Variable Substitution
    Regards,
    Pranav

  • Variable substitution error in Prod- Urgent

    Hi Friends
    I transported my objects from dev to production and one of my scenario started giving this error .
    Please guide
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: store: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: store.

    this error is beacuse the variable substution which is specified in the rceiver file adapter is failling....
    ROOT cause:
    goto the receiver file adapter of the interface you have moved into PRD...you will c the filename somethinglike this
    %var%.txt...below you will c a variabel substuition screen
    var payload:..........
    check the foeld which is refering from the target strcuutre...the data is not coming into this field of variable substuition...so it is thorwoing this error.....
    this is considering the variable substution path is right? i belive it is right since you haev omved this to PRD from Devlopment...if this was working in development...check the data is coming in that field.
    wehen you did a tranposrt into PRD you went to the change list did u edit the rceiver adapter mandatory fields according to the PRD envinorment? dd u also make sure the variabel substution is not touched when you did this?

  • Problems using substitution variable in Web Analysis

    Dear all,
    I have a Web Analysis report that I need to show a raking table with the current month.
    For that I create a variable in Essbase that is updated with that date (E.g.: varCurrentMonth).
    After that I use it as my substitution variable to filter my date dimension in a report data source (E.g.: Scr5, row: product, column: date dimension & measure):
    2008 (current month)
    Product $ qty.
    AAA 100 10
    BBB 90 7
    CCC 80 5
    The problem is that in our cube we need to use an alias in every dimension not to have duplicate members (E.g.: DT.Date, MS.Measure, PD.Product, etc). And when we use it we need to set up the variable in Essbase using that alias (E.g.: DT.Feb/05/08). And if we use that variable as a substitution variable in the report data source the label displayed is the DT.2008 and not 2008 as expected.
    Does anybody have an idea how to solve that?
    Many thanks,
    Thiago Gabriel

    You usually get this error message if you are trying to assign a value from a sub var to a member that does not exist.
    e.g. trying to put FY08 which is a year member against a period dimension
    or trying to use a sub var of FY09 which does not yet exist in the essbase, so say you added a new year in planning FY09 and used the sub var in the form but have not refreshed the database then it would fail because the year would not have been pushed down to essbase yet.
    or the value of the subvar does not match a member name exactly
    or using a sub var name that does not exist in essbase, e.g. using &nextYear but the sub var has not been created in essbase.
    You can definitely use subsitution variables in columns in the version you are using and prior version.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Receiver File Name Variable Substitution :payload: Fatal Error

    Hi all
             i have a scenario of  idoc to file.., i need to create a dynamic file name taking 1 field variable from the payload.  The idoc -xml structure in XI is :
                       <b><INVOICE03></b>
                          <b> <IDOC BEGIN="1"</b>>
                              <b><EDI_DC40 SEGMENT="1"></b>
                                          <field1> ashu </field1>
                             <b> </EDI_DC40>
                               <ENEDL20></b>
                                           <field2> rawat</field1>
                              <b> <ENEDL20>
                           </IDOC>
                        <INVOICE03></b>
    i need to pick th value of field2 , for the target file name..
    In variable substitution i had given  var = INVOICE03,1,IDOC,1,E1EDL40,1,E1EDL20,1,VBELN,1
    <i>
    STILL I AM GETTING THE ERROR </i> :varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) .
    NOTE : my target variable is getting populated properly.
    i tried a lot of combinations in REFERENCE VARIABLE , even  giving ( payload: xxx)
    but for all  changes it is giving the same error....
    i referred the following blogs also :
    Re: Variable substitution
    Regards
    AR

    HI
    the target payload is :
      <?xml version="1.0" encoding="UTF-8" ?>
    - <DELVRY03>
    - <IDOC BEGIN="1">
    + <EDI_DC40 SEGMENT="1">
      <TABNAM>EDI_DC40</TABNAM>
      <MANDT>900</MANDT>
      <DOCNUM>0000000002093240</DOCNUM>
      <DOCREL>46C</DOCREL>
      <STATUS>30</STATUS>
      <DIRECT>1</DIRECT>
      <OUTMOD>2</OUTMOD>
      <IDOCTYP>DELVRY03</IDOCTYP>
      <MESTYP>DESADV</MESTYP>
      <STDMES>DESADV</STDMES>
      <SNDPOR>SAPQA1</SNDPOR>
      <SNDPRT>LS</SNDPRT>
      <SNDPRN>ZLOG900</SNDPRN>
      <RCVPOR>XIDEV</RCVPOR>
      <RCVPRT>KU</RCVPRT>
      <RCVPFC>WE</RCVPFC>
      <RCVPRN>8300000717</RCVPRN>
      <CREDAT>20070820</CREDAT>
      <CRETIM>143341</CRETIM>
      <SERIAL>20070703104747</SERIAL>
      </EDI_DC40>
    - <E1EDL20 SEGMENT="1">
    <b> <VBELN>0083030974</VBELN> </b>
      <VSTEL>5000</VSTEL>
      <VKORG>STK</VKORG>
      <INCO1>C&F</INCO1>
      <INCO2>Melsele</INCO2>
      <VSBED>03</VSBED>
      <BTGEW>12000.000</BTGEW>
      <NTGEW>0.000</NTGEW>
      <GEWEI>GRM</GEWEI>
      <VOLUM>0.000</VOLUM>
      <ANZPK>00000</ANZPK>
      <PODAT>20070703</PODAT>
      <POTIM>104747</POTIM>
    + <E1EDL22 SEGMENT="1">
      <VSTEL_BEZ>ID Warehouse</VSTEL_BEZ>
      <VKORG_BEZ>Stock Transfer</VKORG_BEZ>
      <INCO1_BEZ>Cost & Freight</INCO1_BEZ>
      <VSBED_BEZ>Road</VSBED_BEZ>
      </E1EDL22>
    + <E1EDL21 SEGMENT="1">
      <LFART>ZRUS</LFART>
      <EXPKZ>X</EXPKZ>
      <LPRIO>03</LPRIO>
      <TRAGR>0001</TRAGR>
    - <E1EDL23 SEGMENT="1">
      <LFART_BEZ>Delivery:Russian Exp</LFART_BEZ>
      <LPRIO_BEZ>High</LPRIO_BEZ>
      <TRAGR_BEZ>On pallets</TRAGR_BEZ>
      </E1EDL23>
      </E1EDL21>
    + <E1EDL18 SEGMENT="1">
      <QUALF>ORI</QUALF>
      </E1EDL18>
    + <E1ADRM1 SEGMENT="1">
      <PARTNER_Q>WE</PARTNER_Q>
      <PARTNER_ID>8300000717</PARTNER_ID>
      <LANGUAGE>EN</LANGUAGE>
      <FORMOFADDR>M/s.</FORMOFADDR>
      <NAME1>NYK Logistics</NAME1>
      <STREET1>Keetberglaan 2</STREET1>
      <POSTL_COD1>B-9120</POSTL_COD1>
      <CITY1>Melsele</CITY1>
      <COUNTRY1>BE</COUNTRY1>
      <REGION>RII</REGION>
      </E1ADRM1>
    + <E1ADRM1 SEGMENT="1">
      <PARTNER_Q>OSP</PARTNER_Q>
      <PARTNER_ID>5000</PARTNER_ID>
      <LANGUAGE>EN</LANGUAGE>
      <NAME1>I/D WAREHOUSE : DELHI</NAME1>
      <NAME2>B-84/1, Okhla Phase II, New Delhi</NAME2>
      <CITY1>New Delhi</CITY1>
      <TELEFAX>CST:LC/87/051655/05/61</TELEFAX>
      <COUNTRY1>IN</COUNTRY1>
      <REGION>DEL</REGION>
      </E1ADRM1>
    + <E1ADRM1 SEGMENT="1">
      <PARTNER_Q>OSO</PARTNER_Q>
      <PARTNER_ID>STK</PARTNER_ID>
      </E1ADRM1>
    + <E1EDT13 SEGMENT="1">
      <QUALF>006</QUALF>
      <NTANF>20070703</NTANF>
      <NTANZ>000000</NTANZ>
      <NTEND>20070703</NTEND>
      <NTENZ>000000</NTENZ>
      <ISDD>00000000</ISDD>
      <ISDZ>000000</ISDZ>
      <IEDD>00000000</IEDD>
      <IEDZ>000000</IEDZ>
      </E1EDT13>
    + <E1EDT13 SEGMENT="1">
      <QUALF>003</QUALF>
      <NTANF>20070703</NTANF>
      <NTANZ>000000</NTANZ>
      <NTEND>20070703</NTEND>
      <NTENZ>000000</NTENZ>
      <ISDD>00000000</ISDD>
      <ISDZ>000000</ISDZ>
      <IEDD>00000000</IEDD>
      <IEDZ>000000</IEDZ>
      </E1EDT13>
    + <E1EDT13 SEGMENT="1">
      <QUALF>001</QUALF>
      <NTANF>20070703</NTANF>
      <NTANZ>000000</NTANZ>
      <NTEND>20070703</NTEND>
      <NTENZ>000000</NTENZ>
      <ISDD>00000000</ISDD>
      <ISDZ>000000</ISDZ>
      <IEDD>00000000</IEDD>
      <IEDZ>000000</IEDZ>
      </E1EDT13>
    + <E1EDT13 SEGMENT="1">
      <QUALF>007</QUALF>
      <NTANF>20070703</NTANF>
      <NTANZ>000000</NTANZ>
      <NTEND>20070703</NTEND>
      <NTENZ>000000</NTENZ>
      <ISDD>00000000</ISDD>
      <ISDZ>000000</ISDZ>
      <IEDD>00000000</IEDD>
      <IEDZ>000000</IEDZ>
      </E1EDT13>
    + <E1EDT13 SEGMENT="1">
      <QUALF>010</QUALF>
      <NTANF>20070703</NTANF>
      <NTANZ>000000</NTANZ>
      <NTEND>20070703</NTEND>
      <NTENZ>000000</NTENZ>
      <ISDD>00000000</ISDD>
      <ISDZ>000000</ISDZ>
      <IEDD>00000000</IEDD>
      <IEDZ>000000</IEDZ>
      </E1EDT13>
    + <E1EDT13 SEGMENT="1">
      <QUALF>015</QUALF>
      <NTANF>20070703</NTANF>
      <NTANZ>000000</NTANZ>
      <NTEND>20070703</NTEND>
      <NTENZ>000000</NTENZ>
      <ISDD>00000000</ISDD>
      <ISDZ>000000</ISDZ>
      <IEDD>00000000</IEDD>
      <IEDZ>000000</IEDZ>
      </E1EDT13>
    + <E1EDL33 SEGMENT="1">
      <ALAND>IN</ALAND>
      <EXPVZ>4</EXPVZ>
      <ZOLLA>0001</ZOLLA>
      <IEVER>3</IEVER>
    - <E1EDL34 SEGMENT="1">
      <EXPVZ_BEZ>Air</EXPVZ_BEZ>
      <ZOLLA_BEZ>New Delhi</ZOLLA_BEZ>
      <IEVER_BEZ>Road</IEVER_BEZ>
      </E1EDL34>
      </E1EDL33>
    + <E1EDL24 SEGMENT="1">
      <POSNR>000010</POSNR>
      <MATNR>000000000001005372</MATNR>
      <ARKTX>ALPRAZOMED TAB 0.5MG 5X10B BE</ARKTX>
      <MATKL>S5202</MATKL>
      <WERKS>5000</WERKS>
      <LFIMG>2.000</LFIMG>
      <VRKME>15S</VRKME>
      <LGMNG>10.000</LGMNG>
      <MEINS>S10</MEINS>
      <NTGEW>0.000</NTGEW>
      <BRGEW>12000.000</BRGEW>
      <GEWEI>GRM</GEWEI>
      <VOLUM>0.000</VOLUM>
      <VOLEH>CMQ</VOLEH>
      <LADGR>Z002</LADGR>
      <TRAGR>0001</TRAGR>
      <VTWEG>ST</VTWEG>
      <SPART>20</SPART>
      <GRKOR>000</GRKOR>
      <POSEX>000000</POSEX>
    - <E1EDL25 SEGMENT="1">
      <LADGR_BEZ>Injectibles- for MP</LADGR_BEZ>
      <TRAGR_BEZ>On pallets</TRAGR_BEZ>
      <VTWEG_BEZ>Stock Transfer</VTWEG_BEZ>
      <SPART_BEZ>Formulations</SPART_BEZ>
      </E1EDL25>
    - <E1EDL26 SEGMENT="1">
      <PSTYV>NLN</PSTYV>
      <MATKL>S5202</MATKL>
      <PRODH>010080010010100102</PRODH>
      <UMVKZ>5</UMVKZ>
      <UMVKN>1</UMVKN>
      <UEBTO>0.0</UEBTO>
      <UNTTO>0.0</UNTTO>
      <XCHBW>1</XCHBW>
      <MVGR1>U</MVGR1>
      <MVGR2>U</MVGR2>
      <MVGR3>U</MVGR3>
      <MVGR4>U</MVGR4>
      <MVGR5>U</MVGR5>
    - <E1EDL27 SEGMENT="1">
      <PSTYV_BEZ>StandStockTransItem</PSTYV_BEZ>
      <MATKL_BEZ>Belgium</MATKL_BEZ>
      <PRODH_BEZ>Tablets</PRODH_BEZ>
      <WERKS_BEZ>Export Warehouse</WERKS_BEZ>
      <MVGR1_BEZ>Unasigned</MVGR1_BEZ>
      <MVGR2_BEZ>Unassigned</MVGR2_BEZ>
      <MVGR3_BEZ>Unassigned</MVGR3_BEZ>
      <MVGR4_BEZ>Unasigned</MVGR4_BEZ>
      <MVGR5_BEZ>Unassigned</MVGR5_BEZ>
      </E1EDL27>
      </E1EDL26>
    - <E1EDL35 SEGMENT="1">
      <GRWRT>0.00</GRWRT>
      </E1EDL35>
    - <E1EDL43 SEGMENT="1">
      <QUALF>V</QUALF>
      <BELNR>7200000025</BELNR>
      <POSNR>000010</POSNR>
      </E1EDL43>
      </E1EDL24>
      </E1EDL20>
      </IDOC>
      </DELVRY03>
    i need <VBELN>0083030974</VBELN>  in file name
    Regards
    AR

  • Financial Reporting and substitution variable

    Hello,
    i have a problem with FR and substitution variable. I create the substitution variable in Essbase for example antYear but i dont'see in dimension layout in FR studio and workspace.
    Thanks.

    You'll need to restart FR studio, after you have created the substitution variables. As the studio only performs one read of the sub var database on startup.
    It also won't show up unless you assign a member to it.
    Hope this helps.
    Iain

  • Peculiar problem with Essbase (Calc Script) - substitution variable / UDAs

    This is odd but I have a script like :
    VAR iloop=1,break=0;
    FIX(<required POV>)
    Loop (20,break)
    VAR Country_total1,Country_total2,Country_total3;
    FIX (@UDA(Entity,@ALIAS(@CONCATENATE("&Country",iloop)))) // &Country1, &Country2 - are substitution variables with UDAs stored as strings
    Statements;
    /* +<statements for calculating total values.. for that country and stored against variables>+ */
    Country_total1=Country_total1+ +<Calculation>+
    ENDFIX
    /* Second part : Now again the calculations stored in the variables are to be stored against specific entities */
    FIX (@UDA(Entity,@ALIAS(@CONCATENATE("&Country",iloop))))
    FIX(@ISUDA(Entity,<Check1>)
    ..... Assign to relevant account
    ENDFIX
    ENDFIX
    ENDLOOP
    ENDFIX
    Now the problem is that the first fix statement works just fine, but the FIX statement in the 'second part' throws an error
    Error: 1200354 Error parsing formula for [FIX STATEMENT] (line 66): expected type [STRING] found [EXTVAR] ([iloop]) in function [@CONCATENATE]
    If I hard code the 'second part' FIX statement to the substitution variable directly - it works just fine.
    How can the first statement work and not the second one ? They are exactly the same.

    Glenn, thanks - I hadn't thought of that :).
    But it still does not entirely solve my problem (please see my previous post depicting a requirement similar to ours )
    - We have lots of countries (50-60+ might be much more) and each country can have multiple entities (3-4 on an average - can go unto 7-8)
    - so good guess would be around 200 entities
    - So say I have to do it for 2 countries only (two entity types). Then I need 4 variables - 2 for each country ('country 1 ET1 total', 'Country 1 ET2 Total')
    When the list is 20 counties - variables become 40 :(.
    - Still leaving aside the 40 variables for a bit -
    There are subsequent steps of calculations which needs to be done based on these totals (which are exactly the same for all countries) - just that we need the correct totals to begin with and the rest is already stored in the DB
    So since I have a different variable for each country - I cannot write one single calculation block to use the variables sequentially one by one (can I ?)
    I might have to write a separate calculation block for each of these countries. (20 separate blocks)
    That's what I was trying to avoid and simplify with the substitution variable (but is not working)
    - Create substitution variables - which would store the alias of the required countries (2/10/20 as many required)
    - Loop through these substitution variables - using them one by one
    - So I just need one single block of calculation with all the variable in the calc script being reused after each country calculation is done
    - and the user need not go into the script, as the only thing that will change are the countries. And he can change it easily through the substitution variable.
    Edited by: Ankur on Jun 27, 2012 12:53 PM

Maybe you are looking for

  • HT201441 how to get someones apple id off my phone

    i loaned an extra phone to an ex who I dont speak to anymore. When I got the phone back he erased it from find my i phone, now I need the phone and cant get in because I dont have the icloud info. how can i fix. I have proof its my phone and I paid f

  • Apple macbook 13.3" replace speakers cost?

    I need to replace the inbuilt speakers of my 13.3" macbook.It is out of warranty period. Can sum1 tell me how much shall I hav 2 pay for this???

  • External Editor - New File Type

    Is there a way that you can set an external editor and specify a specific file type that is not listed in the 'File Type' section of preferences. I am working on a project for a client where I have been coerced into developing PL/SQL code. I'd like t

  • Oracle RAC Cache Fusion , Insert intensive tables.

    Hi, I have one general questions in RAC cache fusion. It was observed that there are too much interinstance contention as the insert intensive queries are executed. What is the best possible solution to solve this. I mean how to avoid the contention.

  • Conditional email notifications

    Is there a way to conditionally email or "check this box" to email given address or addresses? This feature would be great in my situation because I may be the creator of the form but others would benefit from specific submissions of collected data.