Veriable substitution issue in multimapping

Hi Experts,
I am working on the requirement where i need to create multiple flat files using multimapping for this. I am working on SAP PI 7.31 SP07, using SFTP adapter and messagetransformbean to create flat files.
I am going for the variable substitution option as i want file name should be dynamic.(considering limitation of ASMA and dynamic configuration in
multimapping)
Getting the error "The variable substitution cannot be parse the message xml: Content is not allowed in prolog"
Variable name- var1 reference- payload:NotificationAttachments,1,DocumentDetails,1,IncidentNumber,1
Output struture-
NotificationAttachments(1)
     ->DocumentDetails(0-n)
               ->IncidentNumber(1)
               ->DocNumber(1)
               ->DocDescription(1)
               ->Path(1)
Please note one file can have multiple DocumentDetails.
When i use reference for header data i.e. message:interface_name this works fine, but i want ot use IncidentNumber in file name from the payload.
Can some one tell me is there something wrong on configuration, or there is some limitation here.
Appreciate quick help.
Thanks,
Sandip

Hello,
May be u can check ur xpath? BTW, few days back i have seen a similar thread hope it's not somekind of bug (will cross check the same once i reach office)
Variable Substitution in Receiver File Channel. PI 7.3
Thanks
Amit Srivastava

Similar Messages

  • Substitution issue

    Hi all,
    I have a new requirement to fix a substitution issue. Here's the scenario:
    There's a substitution in place to derive the Location of a FI document from either the Cost Center or an Order, both in the Coding Block screen of FB01 or FB50. At the time of the document creation, the user can also manually enter the Location, overwriting the derived one.
    The issue now is - if the user comes back to this coding block screen after manually entering the Location and decides to change the cost center or the order, the substitution kicks in again and replaces the manual entry.
    Any thoughts on how to prevent this? I cannot ask the developer to check if the Location is already populated before deriving the value otherwise I won't be able to change its value if I initially enter one Order and then decide to use another one.
    Hope I made myself clear!
    Thanks!

    Hi
    If the user change Cost Center or Order, your substitution should check if the actual value of Location is equal to derived value from old Cost Center/Order:
    If it's equal than the subistitution should be triggered again else it can leave the current location (because it can suppose the user doesn't change it manually)
    Max

  • PI 73 sp2 - issue with multimapping

    We are having a strange issue in PI 73 sp2. We recently upgraded from PI 711 to PI 73 and migrated all our development artifacts over to the new instance. We have a multimapping scenario (1:3) which was working fine in the PI 711 instance is not working anymore in the new PI 73 instance.
    It is a
                                       SOAP (AE) -> IE -> JDBC/ABAP Proxy
    scenario.
    We can see the payload in the RWB in Comm Channel monitoring but when it comes to the IE, mapping runtime is receiving an empty payload and the mapping fails.
    Has anyone encountered any such issue ? I am hoping that someone can point me to a OSS note as it doesnt seem like anything is wrong with the interface as such. It was working just fine in the PI 711 instance and no changes were made in the new instance.
    Thanks
    Sridhar

    Gabriel .. we are using the SOAP Adapter, we did update the meta-data to the PI BASIS 7.30 version. We are able to see the payload in the RWB in the SOAP Sender channel.
    On further research, we noticed that the mappings migrated over from the PI 711 box to the PI 730 box are not working as designed as the contexts seem to be messed up. Hence, the sequence of execution is haywire and causing lot of errors. I am not sure if anyone else is facing similar issues.
    Thanks
    Sridhar

  • VO Substitution Issue

    Hi,
    I have substituted a VO in standard way and imported the substitution as necessary.
    The Original VO was created in Expert Mode and had a number of VL joining it to other VOs. The only change I have done is to add a new view attribute. For this I extended the seeded VO, pasted the original query and added a new column in the query.
    Now this VO is used to generate data for xml publisher report. After Substitution, the report does not even show the values of original VO.
    I dont have a page to see errors or queries. So my issue is how to debug what is going on?
    I have seen that site level personalization is in place for VO substiution. Please help me out with suggestions
    Thanks,
    Husain

    The issue I faced was resolved.
    Like I mentioned the VO is used to generate an xml that is later used as data in xml publisher report. The xml is generated using procedure hraderVO.writeXML().
    <HeaderVo>
    <HeaderVoRow>
    <Attribute1>data</Attribute1>
    </HeaderVoRow>
    </HeaderVo>
    Now if we substitute the HeaderVO with say XXHeaderVO then the xml generated is
    <XXHeaderVo>
    <XXHeaderVoRow>
    <Attribute1>data</Attribute1>
    </XXHeaderVoRow>
    </XXHeaderVo>
    Due to this the xml publisher template tries to find the tags <HeaderVO> and cannot find it. So the solution is to change the template variables to <XXHeaderVO>. After this change all my custom data are coming correctly.
    Regards,
    Husain

  • Variable substitution issue

    Hi all,
    I've a select against a view (V_XXX) which performs drammaticaly different if run in this two ways:
    SQL> SELECT COUNT(*) FROM METOD.V_XXX
    2 WHERE MATRICOLA LIKE '%'||LTRIM('310491A')||'%';
    --> 50 msecs.
    SQL> VARIABLE var VARCHAR2(10);
    SQL> EXECUTE :var:='310491A';
    SQL> SELECT COUNT(*) FROM METOD.V_XXX
    2 WHERE MATRICOLA LIKE '%'||LTRIM(:var)||'%';
    --> 17516 msecs.
    Explain plain shows that in second case all the joins present inside the wiev are parsed by oracle...whilst it doesn't happen using the direct select.
    Thanks a lot for help...
    Marco

    Optimizer is cost based...
    In any case the issue seems to be linked to the presence of db_links.
    The issue happens when my select runs against a view (on my 'local' instance) built against three synonyms, all of them are created against remote db objects through db_links.
    Building the same view directly inside the remote db and creating a synonym (with a db_link) on my istance, my select has the same performance using a constant or a variable in the where clause (so no issue!).
    If someone can explain, what is happening...
    Thanks, Marco

  • Font substitution issues when creating PDF from PS file in Distiller

    I am not sure if this post should go under Distiller Server, but it dont know if there is a difference between Distiller X and Distiller Server.
    Context: I am trying to convert postscript files on my PC that originate from a unique Mac built program and unfortunately receive the following error message:
    %%[ Warning: Helvetica not found, using Font Substitution. Font cannot be embedded. ]%%
    %%[ Warning: Helvetica-Bold not found, using Font Substitution. Font cannot be embedded. ]%%
    %%[ Warning: Helvetica-BoldOblique not found, using Font Substitution. Font cannot be embedded. ]%%
    When I try and convert the postscript font to a pdf in Acrobat Distiller X the font substitutes to Arial. I have a few versions of Helvetica on my PC but Distiller doesn’t recognise them.
    My question is: how can I tell Distiller, as a default, to substitute to the Helvetica loaded on my PC rather than Arial so that I eliminate the error message and get an accurate pdf.
    Any help would be greatly appreciated.
    Thanks.

    You can set the folders in distiller by going to Settings.  See these two pictures (click on them)
    hope this helps.

  • VO substitution Issue when any person is associated to the userId.

    We have done a customization to a seeded table by adding new columns. But it throws an exception "Invalid Column Index" in the scenarios mentioned below:
    1. When any person is associated with the user.
    2. When the view type is filtered with any 'Project Manager' to get the list of projects.
    Rest in all cases its working fine. If any of you had faced similar issue, please share your inputs. Its very urgent.
    thanks,
    Danish

    We have done a customization to a seeded table by adding new columns. But it throws an exception "Invalid Column Index" in the scenarios .
    "table" is it database table or OAF classic/adv table region?
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Plant substitution issue:

    Hi All,
    We are using RBATP rule for ATP check for some plants.
    We have an order for X material at plant AB for 100 Qty. AB plant not have the stock, where as DC having it. In production system when i enter the above order it is not flipping to DC plant. This is not a regular issue, but coming once in 2 or 3 months..
    Recently we have copied Production to our test system, where we do not face the issue.. really a weird scenario.
    Any body have any clue !
    Venkat Cheedalla

    Dear Raj,
    Thanks for your early reply,
    As per standard behavior of system, in my case plant should be determine from customer master, but it is picking from material master.
    why system giving preference to material master instead of customer master?
    Is there any settings to change the priority to determine plant in to sales documents.
    Thanking you,
    Sudheer.U

  • Profit Center Substitution issue in MIRO Invoice

    Hi Folks,
    I am trying to post MIRO invoice with reference to PO with following steps and the Profit center is taken from the cost object and it is NOT taken from the Material Master.
    1. Create Account Assigned PO with Account Assignment as K (Cost Center) and also I have given Material Number in it.
    2. The Cost Center has Profit Center 200051 and the Material Number has Profit Center 200077.
    3. We have made a User exit to pass the PRCTR from MARC to BSEG-PRCTR.
    4. Created substitution in GGB1 for the Userexit for a particular company code.
    When MIRO is posted the PC is taken from Cost Center(200051) and NOT from Material Master(200077).  We want system to pick up the PC from Material Master and not from Cost center.
    Is there any way to achieve this?
    Thanks in advance
    Venkat

    Hi Venkat ,
    Please refer below notes which has some important information on the substitutions and its usage
    409520   Goods/invoice receipt: Default account assignment ignored
    105024   Automatic a/c assignment (OKB9) does not work
    32654    High level automatic account assignment

  • Profit Center Substitution issue in FI Invoice/JE

    Hi,
    I have one question and just wanted to check if you can help:
    We want to have All types of expense postings - e.g. journal entries etc.with cost object like WBS, cost center should be posted with PC from the SKU master and not from the cost object.  The PC should be over written by SKU Master PC. What happens is that it takes the PC from Cost object and when we created substitution to overwrite the PC from SKU, at the time of simulation it takes from substitution but as soon as we post it again defauts it from the cost object and we get the message type KI339 which says that PC is overridden.
    user exit:
    Prerequisite Title Posting:
    BKPF-BUKRS =5318 AND
    BSEG-MATNR <> '' AND
    BSEG-HKONT is expense account (within range)
    Substitute User Exit:
    Plant = 3047
    The Profit Center should be MARC- PRCTR where BSEG-MATNR = MARC-MATNR
    Thanks
    Venkat

    Hi Venkat ,
    Please refer below notes which has some important information on the substitutions and its usage
    409520   Goods/invoice receipt: Default account assignment ignored
    105024   Automatic a/c assignment (OKB9) does not work
    32654    High level automatic account assignment

  • Arabic Text - Font Substitution Issue - Urgent.

    Hi,
    We are using After Effects to create some Arabic Subtitles, we are using the Arabic Text script to make the arabic text to be written correctly (all joined up, flowing from Right to Left).
    We need to use a client's custom Arabic font on the project, and this font is being used correctly on most of the text, but on odd characters After Effects defaults the characters back to the "Adobe Arabic" font. If we try and select these characters and change the font back to the one we need to, as soon as I click enter, it substitutes the font back to Adobe Arabic.
    Is there a way to stop this?
    Thanks,

    Think I've narrowed down the problem a bit, After Effects can read the characters correctly, e.g:
    If I copy and paste the text in to after effects, the characters appear, but the flow of text is incorrect, and the arabic characters are not connected how they should be.
    To amend this, if i put the text through the Arabic Text script V2.0 from AE Scripts, the flow of text is corrected, but some of the characters are then substituted back to Adobe Arabic, and it is impossible to change them back to the font we need.
    I think the problem lies within the arabic text script!

  • [Solved] Bash scripting and sed substitution

    Hello!
    I am writing a script in order to substitute strings from one array to another one in texts.
    For only one case it is working as the following :
    sed '/ā/s/\(.*\)ā\(.*\)/\1a\21/g' temp.txt > temp2.txt
    which converts ā in a word by the same word with a normal "a" and the number 1 at the end of the word (māng > mang1)
    For many cases i've made some arrays and containing the rules in a srcipt file :
    # These are the 4 databases containing the strings that are suposed to be replaced
    data1[1]=ā
    data1[2]=ē
    data1[3]=ī
    data1[4]=ō
    data1[5]=ū
    data1[6]=ǖ
    data2[7]=á
    data2[8]=é
    data2[9]=í
    data2[10]=ó
    data2[11]=ú
    data2[12]=ǘ
    data3[13]=ǎ
    data3[14]=ě
    data3[15]=ǐ
    data3[16]=ǒ
    data3[17]=ǔ
    data3[18]=ǚ
    data4[19]=à
    data4[20]=è
    data4[21]=ì
    data4[22]=ò
    data4[23]=ù
    data4[24]=ǜ
    # This is the data base of output correspondances
    data[1]=a
    data[2]=e
    data[3]=i
    data[4]=o
    data[5]=u
    data[6]=ü
    count=1
    for base in {1..4} # For each database
    do
    for case in {1..6} # For each case
    do
    sed "/${data${base}[$count]}/s/\(.*\)${data${base}[$count]}\(.*\)/\1${data[$case]}\2$base/g" temp.txt > temp2.txt
    let "count+=1" #go to the next case in the database
    cat temp2.txt > temp.txt
    done
    done
    I have a substitution issue in the sed line. In fact I am trying to make a double substitution and it doesn't works.
    Like the first substitution ${data${base}[$count]} make 3 substitutions at a time… but I can't make it to work.
    In that case it would give me, for instance, the string contained in data2[3].
    I hope you understand what i mean. And i'd like to know how to deal with that substitution issue if you have an idea…
    Last edited by jiehong (2010-09-26 07:49:25)

    I've implemented what Procyon told in the part 2 and it's working with a small adaptation, which is great!!
    I've just an issue now because the number will go right after a word but at the end of the ligne… even if words are spaced by a space… like :
    hǎo
    hào
    wō wó wǒ wò wo
    become :
    hao3
    hao4
    wo wo wo wo wo1234
    my sed ligne is now :
    sed "/$(eval echo \$\{data$base[$count]\})/s/\(.*\)$(eval echo \$\{data$base[$count]\})\(.*\)/\1${data[$case]}\2$base/g" temp.txt > temp2.txt
    Last edited by jiehong (2010-09-25 20:27:57)

  • Weird Font Substitution...?

    Running Mac G5 2.7 Dual with Tiger 10.4.8. On an intermittent but frequent basis, I'm getting this weird font substitution issue with Mail, Safari and Text Edit. I use Suitcase X1 11.0.2 for font management. Here's a link to an example of what I'm talking about:
    http://www.studioa.us/RadioactiveRoman.gif
    Anyone have any tips for me?

    Anyone have any tips for me?
    Get rid of the RadioActive Roman font. It is badly constructed and being confused with other fonts because of that.

  • Not able to see the extended Vo evenif the JPXimport imported correctly.

    Hi,
    I am in the process of customising the Sales Dashboard page in Sales user respopnsibility in R12.1.3 instance.
    I configured the correct setup for JDev also by downloading the patch p9879989_R12_GENERIC.
    Now I have requirement that I need to add one column by personalization to advance table.
    But this new column doesn't exists to my VO CustomerAccessesVO so I need to extend it.
    I extended this VO and created subtitute and imported to database by JPXImporter.
    After importing I run the query jdr_utils.printdocument('/oracle/apps/asn/common/customer/server/customizations/site/0/CustomerAccessesVO'); which gives me output <?xml version='1.0' encoding='UTF-8'?>
    <customization xmlns="http://xmlns.oracle.com/jrad"
    xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa"
    xmlns:user="http://xmlns.oracle.com/user" version="10.1.3_1312" xml:lang="en-US"
    customizes="*/oracle/apps/asn/common/customer/server/CustomerAccessesVO*">
    <replace
    with="*/XX/oracle/apps/asn/common/customer/server/XXCustomerAccessesVO*"/>
    </custo
    mization>
    After this I bounce the apache server
    $ADMIN_SCRIPTS_HOME/ adapcctl.sh stop
    $ADMIN_SCRIPTS_HOME/ adapcctl.sh start
    $ADMIN_SCRIPTS_HOME/ adoacorectl.sh stop
    $ADMIN_SCRIPTS_HOME/ adoacorectl.sh start.
    But when I login to my application fist time I get the error JBO-26022: Could not find and load the custom class nh.oracle.apps.asn.common.customer.server.NHCustomerAccessesVORowImpl
    As while extending Jdev generated only impl.java rowimpl.java, server.xml and Vo.xml. But the Rowimpl.java generated Empty.
    But this error comes once only second time this error doesn't come.
    And when I click on about this page link I am not able to find my new extended VO i.e. XXCustomerAccessesVO.
    Now when I am trying to persomalize the table and adding new column It is niether giving me error nor displaying the new collumn.
    So can any one help on below three points:
    1) Why Rowimpl generated empty? Is is generating empty that why while compiling .class file is not generating that why I am getting error.
    2) As the JPXImport was successful, why I am not able to get my extended VO XXCustomerAccessesVO iinstead of standard CustomerAccessesVO in about this page link.
    3) Can you please share the properties values that we need to pass while creating new column in Advance table byb personlaization.
    Many Many thanks in advance

    Hi Piyush,
    1) Why Rowimpl generated empty? Is is generating empty that why while compiling .class file is not generating that why I am getting error.
    --> Rowimpl should not generate empty. It should generate same as the standard VO's VORowImpl. You can go to JDeveloper and try checking and unchecking Generate Java Files.
    eg.
    While extension if you have not checked Generate Java File inside VO --> Edit --> Java
    it would point to standard VOImpl and VORowImpl of VO which you extended.
    <ViewObject
       Name="xxReturnItemsVO"
       Extends="oracle.apps.icx.por.rcv.server.ReturnItemsVO"
       BindingStyle="Oracle"
       CustomQuery="true"
       RowClass="oracle.apps.icx.por.rcv.server.ReturnItemsVORowImpl"
       ComponentClass="oracle.apps.icx.por.rcv.server.ReturnItemsVOImpl"
       MsgBundleClass="oracle.jbo.common.JboResourceBundle"
       UseGlueCode="false" >While extension if you have checked Generate Java File inside VO --> Edit --> Java
    it would point to custom VOImpl and VORowImpl . It will generate two classess xxReturnItemsVORowImpl and xxReturnItemsVOImpl
    which should not be empty
    <ViewObject
       Name="xxReturnItemsVO"
       Extends="oracle.apps.icx.por.rcv.server.ReturnItemsVO"
       BindingStyle="Oracle"
       CustomQuery="true"
       RowClass="xx.oracle.apps.icx.por.rcv.server.xxReturnItemsVORowImpl"
       ComponentClass="xx.oracle.apps.icx.por.rcv.server.xxReturnItemsVOImpl"
       MsgBundleClass="oracle.jbo.common.JboResourceBundle"
       UseGlueCode="false" >2) As the JPXImport was successful, why I am not able to get my extended VO XXCustomerAccessesVO iinstead of standard CustomerAccessesVO in about this page link.
    If jdr_utils.printdocument is showing correct substitution issue could be with RowImpl file.
    3) Can you please share the properties values that we need to pass while creating new column in Advance table byb personlaization.
    -- Not sure

  • :old in trigger

    How do I turn off bind variable substitution in Sql Developer 3.2 when I am creating a trigger that references old and new values using the colon-old format?
    I can use set define off for sqlplus, but that doesn't work for the bind variable substitution issue in triggers

    How do I turn off bind variable substitution in Sql Developer 3.2 when I am creating a trigger that references old and new values using the colon-old format?
    I can use set define off for sqlplus, but that doesn't work for the bind variable substitution issue in triggers
    You don't need to. Just use F5 to run the script. This works for me.
    CREATE OR REPLACE TRIGGER TRIGGER1
    BEFORE UPDATE ON DEPT
    FOR EACH ROW
    BEGIN
      IF :old.dname = 'abc' THEN :new.dname := 'def'; END IF;
    END;

Maybe you are looking for

  • IPhone 4s battery, discharge and USB issues

    No iOS upgrade or other change: All of a sudden my 2,5-year-old iPhone 4s starts draining the battery very quickly and will neither charge nor connect to the computer over USB. At one point it pulse-vibrated without much reason. I've tried several ca

  • HT204053 I keep getting can not connect to iTunes error when trying to buy in app currency

    Anybody else have that issue

  • Duplicate Text Messages

    Hello, I currently a droid x running android 2.3.3 in the Royersford, PA area.  I updated to Android 2.3.3   2-3 weeks ago.  After this update I started receiving a noticeable amount of duplicate text messages.  The duplicates can number anywhere fro

  • Virus macbook air pop ups

    Hi, Please can someone help me. I have pops ups coming up every single time I open a new page on my mac air. EVERY TIME. A FEW TIMES. Purifier, casino, macbook keeper. I have disabled pop ups in preferences on safari, but it doesn't help. could it be

  • SATA Locks on 3 & 4 ??!!

    I have read many posts about this and the prevailing belief is that SATA 1 & 2 is not locked but 3 & 4 are. WHen I set my FSB at anythjing marginally above 200, I can't boot with the drives in 3 & 4 but I can boot up to FSB 235 om SATA 1&2, which is