VO Substitution question

gurus,
if you have two isupplier server(separate server and one embeded with the form server) and you did the jpximporter, copied the files on both servers but bounce only one of it. Is it possible that you would get "view definition not found"?
Do i need to bounce both? What is the reasoning behind it?
yoyoy

Pratap,
Below is the error stack. I've verified the whole day, visually comparing the test directory structure with prod.
This work in test but got this error in prod.When i unloaded the substitution the page went back to working fine.
We bounced the apache several times already. we do have two portal server, one as a separate one embedded in the
form server. We only bounced the independent server. How many times should i run the jpximporter? I believe once
because they would be using the same MDS?
oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.pos.asn.server.PosAsnCreateAM'.
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:279)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1189)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
at oa_html._OA._jspService(_OA.java:84)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
JBO-30003: The application pool (xxx11.xk.xxxx.comprod1522oracle.apps.pos.asn.server.PosAsnCreateAM) failed to checkout an application module due to the following exception:
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.NoDefException, msg=JBO-25002: Definition xxoa.oracle.apps.pos.asn.server.xxoaPosShipmentsVO of type View Definition not found
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1619)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2366)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:427)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:214)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:519)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:398)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1189)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
at oa_html._OA._jspService(_OA.java:84)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
oracle.jbo.NoDefException: JBO-25002: Definition xxua.oracle.apps.pos.asn.server.xxuaPosShipmentsVO of type View Definition not found
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:329)
at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:269)
at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649)
at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:378)
at oracle.jbo.server.ApplicationModuleDefImpl.loadViewObject(ApplicationModuleDefImpl.java:494)
at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:673)
at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:369)
at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:135)
at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:76)
at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:1993)
at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:361)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1552)
at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2366)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:427)
at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:214)
at oracle.apps.fnd.framework.webui.OAHttpSessionCookieImpl.useApplicationModule(OAHttpSessionCookieImpl.java:519)
at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:398)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:208)
at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:78)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1189)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
at oa_html._OA._jspService(_OA.java:84)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)

Similar Messages

  • OA Framework Extension / Substitution question

    OA Framework Extension / Substitution question:
    I am not sure how to do the following, any input will be helpful. Thanks in advance.
    Oracle Application has a page on table “FND_NEW_MESSAGES” – Related Entity object is “FndNewMessagesEO” and View object is “FndMessagesResultSetVO”. Primary key on this table is “APPLICATION_ID, MESSAGE_NAME and LANGUAGE_CODE”. I want to extend this page and add my own table say “CUST_FND_NEW_MSG_EXT” with the same primary key and has an extended column “EXTRA_MESG1”.
    How do I extend this page to include my new table / column and make select/update/insert work?
    Questions:
    1.     Should I create EO for my new table say CustExtEO
    2.     Create an association between FndNewMessageEO and CustExtEO
    3.     Then create CustExtVO and extend FNDMessagesResultSetVO and build view on FndNewMessageEO and CustExtEO and then perform substitution?
    Or
    1.     Should I create EO for my new table say CustExtEO
    2.     Create CustExtVO
    3.     Create an View Link between FndNewMessageVO and CustExtVO
    4.     Then what??
    More questions:
    1.     Can I achieve this by not writing any code?
    2.     Can the EO Association or View Link automatically insert / update my new table after I do the substitution?
    3.     FndNewMessageVO has join to tables “FND_NEW_MESSAGES, FND_APPLICATION_VL, FND_LANGUAGES_VL, FND_LOOKUPS” – when you do an insert / update how does OA Framework know that it has to insert / update the corresponding tables?

    Well, if you want to have the page based on your custom table, then you will have to create new VO, EO. You cann't use extension in that case.
    1. Can I achieve this by not writing any code?No.
    .2. Can the EO Association or View Link automatically insert / update my new table after I do the substitution?You need to have new EO, VO based on your new table.
    3. FndNewMessageVO has join to tables “FND_NEW_MESSAGES, FND_APPLICATION_VL, FND_LANGUAGES_VL, FND_LOOKUPS” – when you do an insert / update how does OA Framework know that it has to insert / update the corresponding tables?
    EO handles all the insert, update.
    For more details go through the Dev guide.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 2 more workflow-substitution questions

    hi again,
    i have 2 more questions about substitution of workflow:
    HOW does a user know that he has adopted substitution. i mean when he do it he knows it. but there is no information that he the adopted status is 'ON' ? am i right ? when he ends the adoption there is NO message if there even was an adoptation.
    thats kind of user-unfriendly. the only way that he knows that he has adopted is when he gets mails from the workflows.
    2nd question: when i have to choose adoptation substitution i always get 2 entrys for the same person to select. thats confusing. it looks to me that 1 of it is the sap-USER, the other is the PERSON in HR backend. why is this and how to avoid that ?
    reg, Martin

    Martin,
    thats kind of 'stupid', isn't it ?
    i activate to substitute somebody (who is unplaned away, e.g. illness).
    so far so good: i select the person with click on the checkbox !
    when leaving this transaction and enter it again the checkboxes are AWAY. why ? but the substitution is of course activ.
    and when i 'end' the substitution there is NO MESSAGE. it's always the same........no comment, NOTHING. it does'nt matter if subst. is ON or OFF, the function for ending subst. has
    no output ! thats sap in it's best -> user unfriendly !
    am i wrong ?
    best regards, Martin

  • String Substitution Questions

    A few questions on APEX substitution strings:
    1. Is APEX using a particular templating engine (Velocity, etc.) or one that you developed to handle the "#VALUE#" substitutions in APEX? If so which one?
    2. Are all the substitution parameters (#VALUE# strings) defined anywhere?
    3. When in the APEX processing cycle are they replaced?
    4. Is there any way to get the current value of a substitution string in a SQL or PL/SQL command (ie. a function or something in the API)?
    5. Is there a list of all the places in APEX where you can use substitution strings?
    6. Is there way for developers to create new substitution strings and set / get the values so that APEX will use them?
    Thanks for everyones help!
    Dave Venus

    Dave,
    I'll do the best I can ...
    1. Is APEX using a particular templating engine (Velocity, etc.) or one that you developed to handle the "#VALUE#" substitutions in APEX? If so which one?
    No, it's all done with our own PL/SQL.
    2. Are all the substitution parameters (#VALUE# strings) defined anywhere?
    In one place, I don't think so. Most of the #VALUE# strings are defined in the template definition pages in the Builder where it shows which strings are supported in which fields. These patterns are also supported in the report attributes pages and are listed there and in associated help text. There are other substitution patterns, of course, the &VALUE. strings. I don't know if you're asking about those. All of the supported strings in that category should be documented in the User's Guide.
    3. When in the APEX processing cycle are they replaced?
    At the point where they are encountered, for example when the containing HTML or PL/SQL structure is being rendered, parsed, etc. The exception would be the built-in &VALUE. strings like &SESSION. which are set at the beginning of each request.
    4. Is there any way to get the current value of a substitution string in a SQL or PL/SQL command (ie. a function or something in the API)?
    Not for the #VALUE# strings unless there are specific exceptions I can't recall at the moment for which APIs have been provided. For the &VALUE. strings, of course, you can use v() and bind variable notation to access the value of VALUE.
    5. Is there a list of all the places in APEX where you can use substitution strings?
    No.
    6. Is there way for developers to create new substitution strings and set / get the values so that APEX will use them?
    Only for &VALUE. strings for which you can define up to twenty name/value pairs in the Applicaiton Definition (Substitutions) section.
    Scott

  • AFS ARUN substitution question

    Hellow!
    I need ARUN guru help.
    I can not manager ARUN substitution while material shortage.
    My example
    1. There is not material 1 in stock. No future recive in the system.
    2. A lot of material 2 in stock.
    3. material 2 is set as substitution manerial for material 1
    4. Sale manager insert material 1 in sale order and ATP confirm delyvery date as today + 30 (RLT=30).
    5. ARUN is configured to select requirements from -300 to + 7 days from today. Only +7 days is set to avoid long stock lock. ARUN is configured to substitute material.
    6. ARUN is ran in background and DO NOT SELECT MATERIAL 1 REQUIREMENT  becouse confirmed delyvery date is today + 30.
    7. I can not select requirements +30 days becouse of long lock period.
    How could I make  ARUN to select  requirements with +30 confirmed delivery day and meke allocation only if substitution happends.
    Sorry for long descrip
    Andrey Garshin.

    Hello Andrey,
    You would need to maintain the  window for 30 days else ARun will not select hte requirements.This is the only way.
    Check for the field SUBRU in the x_bdbs  table in the user exit before posting.If it is not empty, then it means substitution has taken place.Then in that case save the results else do not save.
    Hope this helps.
    Best Regards,
    Anitha

  • Substitution question

    When I write a substitution rule, is there a way to add something to th existing data instead of replacing. For example I am wring a substitution for vendor invoice text field. I don't want to replace existing data there, instead I want add someting to the existing data. Is this possible?

    Hi,
    Yes, it's possbile, but only via implementing user-exit in your substitution.
    Regards,
    Eli

  • Worflow Substitution question

    If manager A uses a substitute Manager B. The WIs will go to the inbox of B. When manager B approves the WI how can can manager A see what happened to the WI  when he/she returns to work.  The WI is not in the completed tasks list of A but is in the completed WIs list of B . Is there a configuration to achieve this?
    Thanks,
    Nanda

    Nanda,
    Yes, as Kjetil said - Yes, there is no possibility for Manager A to see which work items manager B had executed.
    But you can write a report program to Compare the Work Items , in which "Manager A" is determined as the Agent for Approval.
    and compare it with the substitution table - HRUS_D2.
    Whereby , you will get the list of all workitems,that might have been forwarded to Manager B.
    Hope this provides u, a work around.
    Regards,
    Raj

  • Font substitution question

    Hi all,
    I have a font question. I am updating Illustrator files that were created on a different machines throughout the department. When I open a file, it says that I'm missing a font. This makes sense, because although I have the same font, it has a different name on my computer.
    Here's my issue: when I select the text with the font that needs to be changed to the one that's resident on my computer, change it to "my" version, and then save the file, the next time I open the file it gives me the same message. This happens regardless of whether I save the file to my HD or the server. Can I make it so that it doesn't always ask for that other font? So that it associates the font on my machine as the correct one? The text blocks with the "missing font" are always small little bits that I have to seek out and manually change every time I open the file... it gets tedious, and affects accuracy.
    I am using Mac OS10.6.4, the files are created in either AICS3 (running OS10.5.8) or AICS5, but this happens whether I open them in CS3 or CS5. I use Font Explorer Pro, the other machines have no font manager, which is why I like to work on my machine. (FEX hasn't released auto activation plugins yet for CS5, btw. They tell me they're working on it.)
    Anyway, thoughts and suggestions are welcome.
    --D

    Easy-peasy.  Under the font menu, "find font..." will allow you to "change all" of one font to another one.

  • Simple Address Book AppleScript (substitution) question

    I want an AppleScript to enter a single value in the 'Note' field for each record/contact in a certain group.
    I wrote this:
    tell application "Address Book"
    repeat with allcontacts in group "Health"
    set NewNote to "doctor"
    set value of note to NewNote
    end repeat
    end tell
    It compiles and seems to run OK. But nothing happens. What am I doing wrong?
    (I wish I knew AS better Thanks!)
    G5 DP 2 GHz   Mac OS X (10.4.10)   No Haxies; permissions frequently repaired etc

    answer supplied in AS forum.

  • String substitution question

    Hello there,
    I have some SQL statements, such as:
    CREATE Table1 ( column1 INTEGER NOT NULL, column2 VARCHAR(20), column3 VARCHAR(30) )
    INSERT INTO Table1 (column1, column2, column3) VALUES (?, ?, ?)where I want to put the names of the columns in square brackets, i.e. substitute the column1, column2 and column3 by [column1], [column2] and [column3], respectively.
    For the INSERT case, I have noticed that one should handle strings occuring after an opening bracket "(" until a comma and after a comma "," until another comma or a closing bracket except the case when there is a ? before the comma, but the CREATE case is trickier...
    Could you please help me out with this? Thanks in advance.

    Thank you very much for your answers!
    I would like to once again thank Monica for her friendly attitude and her willingness to help! I have not followed all of her suggestions exactly, but they have indeed helped me much.
    I am glad to see that the SUN guys have fixed the forum formatting, so that you can read my solution easier. Any improvement suggestions or comments are, as always, most welcome.
    // Sample solution for the CREATE statement:
    String cStmt = "CREATE Table1 (column1 INTEGER NOT NULL, column2 VARCHAR(20), column3 VARCHAR(30))";
    int fw = 0; String new_cStmt = "";
    new_cStmt = cStmt.substring(fw, (fw=cStmt.indexOf("("))) + "( [" +
    cStmt.substring( fw+1, (fw=cStmt.indexOf(' ', fw+1)) ) + "] " +
    cStmt.substring( fw+1, (fw=cStmt.indexOf(",", fw+1)) );
    while(cStmt.lastIndexOf(",") > fw)
      new_cStmt += ", [" + cStmt.substring( fw+2, (fw=cStmt.indexOf(' ', fw+2)) ) + "] " +
    cStmt.substring( fw+1, (fw=cStmt.indexOf(",", fw+2)) );
    new_cStmt += ", [" + cStmt.substring( fw+2, (fw=cStmt.indexOf(' ', fw+2)) ) + "] " + cStmt.substring(fw+1);
    System.out.println(">> New CREATE statement: " + new_cStmt + " <<");
    // Sample solution for the INSERT statement:
    String iStmt = "INSERT INTO Table1 (column1, column2, column3) VALUES (?, ?, ?)";
    int fw = 0; String new_iStmt = "";
    new_iStmt = iStmt.substring(fw, (fw=iStmt.indexOf("("))) + "( [" + iStmt.substring( fw+1, (fw=iStmt.indexOf(",")) ) + "], ";
    // Relevant examination till first closing bracket in the INSERT statement
    while(iStmt.lastIndexOf("VALUES") > iStmt.indexOf(",", fw+1))
      new_iStmt += "[" + iStmt.substring( fw+2, (fw=iStmt.indexOf(",", fw+1)) ) + "], ";
    new_iStmt += "[" + iStmt.substring(fw+2, (fw=iStmt.indexOf(")"))) + "] )" + iStmt.substring(fw+1);
    System.out.println(">> New INSERT statement: " + new_iStmt + " <<");

  • Changing source for HTMLDataSet

    Hi -
    Is it possible to change the source for a Spry HTMLDataSet
    after the
    page loads to a XML data set? I'd like the HTML on a
    particular page to
    provide the initial information for a product detail page,
    but then use
    an XML source to provide alternate product info if the user
    chooses.
    Thanks,
    Rod

    Hi -
    Thanks for the reply. The data sets I have in mind would be
    identical
    in terms of columns.
    What I am trying to do here is construct a product navigator
    for a
    website that will permit navigation through the products and
    manufacturers using Ajax. The problem is that search engines
    need to
    see content on any given product detail page. My thought was
    to use the
    new Spry HTMLDataSet to initially populate the navigator with
    the
    information relevant to the page the visitor landed on, but
    to permit
    broader navigation of the remaining products via the Ajax
    navigator.
    The full product list would be too large for a single page,
    so this
    brings me to the substitution question.
    I've set up a poor alternative using ASP and browser
    detection for
    JavaScript to deliver non-Ajax content to search engines and
    the
    Spry/Ajax stuff to regular browsers, but your HTML data sets
    would be
    much, much better.
    Thanks again. I've been using Spry in various sites since 1.1
    and have
    been having a blast - despite having to re-learn my rusty
    JavaScript.
    Rod

  • Beginner Question about Substitution in 0kem

    Good morning everyone,
    I'm new to ABAP and have been assigned a project with using a substitution for the Profit Center. I've been looking around and can't seem to find an answer to a basic question - does a substitution only work if a sales order is created in VA01 or does it also activate when a sales order is modified? I can't seem to activate the substitution rule even though I have gone through all the correct steps to create one. I'm wondering if it's because the test data only has me modify a previously created profit center when I need to create a new one? Sorry if this question has been asked before but I couldn't find it with all my googling.

    Hi,
    It only works at the time of sale order creation.
    Regards,
    Mukthar

  • Substitution cost center question

    Employee doesn't have a cost center for wagetype XXXX for December. The wagetype is send to the substitution cost center. Next month WT XXXX is changed for december (retrocalculation) and IT0027 is created for December. When I start posting for January the WT XXXX (from December with the original december value) is taken from the cost center from IT0027 but in december it was posted to the substitution cost center (not to the cost center from IT0027 because IT0027 didn't exist in december).
    I need to take the WT XXXX from the substitution cost center (it was send there in december) and send to the cost center from IT0027.
    What should I do?

    Hi
    you can do following steps
    1. Maintain cost distribution infotype (IT0027) from December
    2. Process the January payroll with "Forced retro.accounting as of" date from december
    After executing the above steps , when you post the results for january
    WT XXXX from the substitution cost center will be transferred to the cost center
    from IT0027.
    (ie. If WT xxxx is debited to substituted cost centre in December then
    in jan WT xxxx will be credited to substituted cost centre & debited to cost centre
    maintained in IT 0027)
    Regards
    Sumit Pradhan

  • Question about extension/substitution

    I need to modify a standard page with a table to include some extra columns.
    So I have a custom page which is a copy of the standard page's XML.
    In order to do that, I need to add phrases in the select, from and where clauses in the Query.
    I want to know what my best solution is:
    1- Create copy of VO.
    2- Create a substitution (I am not sure how this works. If I create a substitution, does it call my custom VO everytime a controller calls the standard VO? this would be ideal)
    3- Create an extension (wouldnt this be similar to creating my own copy of the VO? coz nothing will reference my custom VO)
    Would appreciate any help..
    thanks!!

    You can extend the VO and then through personalization add columns to page.
    To extend the VO, you need to get all VO related files from server, extend the VO by substituting the parent (base) VO and then deploy the custom VO on server and import the project.jpx
    Please go through extension and personalization given in OADevGuide.
    Thanks,
    Mitiksha

  • Problem with variable substitution.

    Hello,
    I asked this before but now I want to change the question focus.
    I have scenario from IDOC to XML file.
    The scenario is digital invoice for our company in Mexico and I end this scenario with java mapping that I import from SAP marketplace.
    Now I have request to add to the XML file name the content of the field "<ODN_NUMBER>" from the XML data.
    I try to use with variables substitution.
    My payload is:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ZINVOIC02>
    - <IDOC BEGIN="1">
    - <EDI_DC40 SEGMENT="1">
    <TABNAM>EDI_DC40</TABNAM>
    <MANDT>400</MANDT>
    <DOCNUM>0000000006599015</DOCNUM>
    <DOCREL>700</DOCREL>
    <STATUS>30</STATUS>
    <DIRECT>1</DIRECT>
    <OUTMOD>2</OUTMOD>
    <IDOCTYP>INVOIC02</IDOCTYP>
    <CIMTYP>ZINVOIC02</CIMTYP>
    <MESTYP>INVOIC</MESTYP>
    <STDMES>ZEDI</STDMES>
    <SNDPOR>SAPDEV</SNDPOR>
    <SNDPRT>LS</SNDPRT>
    <SNDPRN>DEV400ECC</SNDPRN>
    <RCVPOR>SAPDEV</RCVPOR>
    <RCVPRT>LS</RCVPRT>
    <RCVPFC>LS</RCVPFC>
    <RCVPRN>MX_INV</RCVPRN>
    <CREDAT>20100118</CREDAT>
    <CRETIM>075931</CRETIM>
    <SERIAL>20100118075931</SERIAL>
    </EDI_DC40>
    - <E1EDK01 SEGMENT="1">
    <CURCY>USD</CURCY>
    <HWAER>MXN</HWAER>
    <WKURS>10.55530</WKURS>
    <ZTERM>0090</ZTERM>
    <KUNDEUINR>ACH971209KRA</KUNDEUINR>
    <BSART>INVO</BSART>
    <BELNR>0100017295</BELNR>
    <BRGEW>0.045</BRGEW>
    <GEWEI>KGM</GEWEI>
    <FKART_RL>LR</FKART_RL>
    <RECIPNT_NO>0000012977</RECIPNT_NO>
    <FKTYP>L</FKTYP>
    - <Z1EDK01 SEGMENT="1">
    <XML_VERSION>2.0</XML_VERSION>
    <ODN_PREFIX>A</ODN_PREFIX>
    <ODN_NUMBER>1883</ODN_NUMBER>
    <DATE_TIME>2009-11-01T17:05:10</DATE_TIME>
    <DOC_SUB_TOTAL>4.22</DOC_SUB_TOTAL>
    <DOC_DISCOUNT>3.00</DOC_DISCOUNT>
    <DOC_TOTAL>1.40</DOC_TOTAL>
    </Z1EDK01>
    And the xml that I create is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <Comprobante xmlns="http://www.sat.gob.mx/cfd/2" version="2.0" serie="A" folio="1883" fecha="2009-11-01T17:05:10" sello="NxZCWU8hMJMiEc2fSZafpS81Z9rUScbBotvJ8lcW76GGpmcD2lFyAV7DlNQKecYMnQJnwMVoHfGjzhpFJrjLuRcyqU3nOnH1mE1JMxY/MjLkal0Ybo2aRKCorQxx+F/Vy5ucvyeDDFAt2gx0PeHJhFS3tJ6ssc6nryz3iUr8c=" noAprobacion="49806" anoAprobacion="2009" formaDePago="Pago en una sola exhibiciףn" noCertificado="00001000000100891274" condicionesDePago="90 DAYS FROM BILL OF LADING" subTotal="4.22" descuento="3.00" motivoDescuento="Customer DiscountCustomer Discount" total="1.40" tipoDeComprobante="ingreso">
    - <Emisor rfc="NMS940324RY6" nombre="Netafim Mexico S.A. de C.">
      <DomicilioFiscal calle="Leibnitz" noExterior="20" noInterior="901" colonia="Anzures" localidad="Mexico city" municipio="Miguel Hidalgo" estado="Distrito Federal" pais="Mexico" codigoPostal="11590" />
      </Emisor>
    - <Receptor rfc="ACH971209KRA" nombre="AGRICOLA 5 HERMANOS SA DE CV">
      <Domicilio calle="JUAN DE LA BARRERA NO 1249 NORTE" localidad="COL. CHAPULTEPEC" municipio="CULIACAN" estado="Sinaloa" pais="Mexico" codigoPostal="80040" />
      </Receptor>
    -     <Conceptos>
    I try to use with this variable:
    payload:ZINVOIC02,1,IDOC,1,E1EDK01,1,Z1EDK01,1,ODN_NUMBER,1
    I received in RWB the error:
    Attempt to process file failed with 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: var_filename
    Thank you in advance for your help
    Elad

    But my target is looks very strange:
      <?xml version="1.0" encoding="utf-8" ?>
    - <Comprobante xmlns="http://www.sat.gob.mx/cfd/2" version="2.0" serie="A" folio="1883" fecha="2009-11-01T17:05:10" sello="NxZCWU8hMJMiEc2fSZafpS81Z9rUScbBotvJ8lcW76GGpmcD2lFyAV7DlNQKecYMnQJnwMVoHfGjzhpFJrjLuRcyqU3nOnH1mE1JMxY/MjLkal0Ybo2aRKCorQxx+F/Vy5ucvyeDDFAt2gx0PeHJhFS3tJ6ssc6nryz3iUr8c=" noAprobacion="49806" anoAprobacion="2009" formaDePago="Pago en una sola exhibiciףn" noCertificado="00001000000100891274" condicionesDePago="90 DAYS FROM BILL OF LADING" subTotal="4.22" descuento="3.00" motivoDescuento="Customer DiscountCustomer Discount" total="1.40" tipoDeComprobante="ingreso">
    - <Emisor rfc="NMS940324RY6" nombre="Netafim Mexico S.A. de C.">
      <DomicilioFiscal calle="Leibnitz" noExterior="20" noInterior="901" colonia="Anzures" localidad="Mexico city" municipio="Miguel Hidalgo" estado="Distrito Federal" pais="Mexico" codigoPostal="11590" />
      </Emisor>
    - <Receptor rfc="ACH971209KRA" nombre="AGRICOLA 5 HERMANOS SA DE CV">
      <Domicilio calle="JUAN DE LA BARRERA NO 1249 NORTE" localidad="COL. CHAPULTEPEC" municipio="CULIACAN" estado="Sinaloa" pais="Mexico" codigoPostal="80040" />
      </Receptor>
    I need to add folio field
    Elad

Maybe you are looking for