Error with passive substitution

Hi experts,
we have the following situation: user has approved SC using passive substitution. The problem is that after approval the status of SC is not updated and the work item is still in the inbox of the approver.
thanks,
Evgeny

Hi, Check the authorisation for the passive user, What wf is your business implemented?. If the authorisation and approval value id within the passive approvers delegation then this hsould'nt happen. Check the wf log via swi6 or alternatively to a simulate the scenario via swo1 and check whats happening.
Rgds
Saj

Similar Messages

  • Error with variable substitution..

    Hi
    I am getting following error message for variable substitution
    *Message processing failed. Cause: 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: date_stamp: 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: date_stamp
      <?xml version="1.0" encoding="UTF-8" ?>
    - <I813_EModMCS_IB_MT>
    - <Records>
      <ModMod>111</ModMod>
      <DesModdcr>222</DesModdcr>
    - <Date_Stamp>
      <Date_Stamp>20080338</Date_Stamp>
      </Date_Stamp>
      </Records>
      </I813_EModMCS_IB_MT>
    date_stamp             payload:I813_EModMCS_IB_MT,1,Records,2,Date_Stamp,3,Date_Stamp,1
    Would appriciate if you can correct the variable substitution...
    Regards

    To reference the element that is in bold in the example, the following expression is used: payload:root,1,e1,1,e2,2
    The parser searches for the first occurrence of the root element at the first level. It then searches for the first occurrence of e1 at the second level and for the second occurrence of e2 at the third level. The content of the last element (u201CExample Valueu201D) is set as the value for a specified variable.
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
      <dummy>
         <e1>
            <e2>Data_1</e2>
            <f/>
            <g attr="abc">text</g>
            <e2>Data_2</e2>
         </e1>
      </dummy>
      <e1>
         <e2>illegal/value</e2>
         <f/>
         <g attr="abc">text</g>
         <e2 attr="fghij">Example Value</e2>
      </e1>
    </root>
    Edited by: Progirl Progirl on Jul 17, 2008 8:04 AM

  • Error with define substitution variable in SQL

    Hi there,
    I am using PL/SQL developer and trying to define a substitution variable as follows:
    define freq = 'Weekly'
    Then later on, in my SQL statement, I used this variable in WHERE statement as follows:
    WHERE ... (&freq = 'Weekly') and ...
    But I got the "ORA-00904: "WEEKLY": invalid identifier" error.
    Where is the problem?
    Thanks in advance!

    I don't know about PL/SQL developer but in sqlplus you need single quotes around the variable.
    SQL> define freq = 'Weekly'
    SQL> select null from dual
      2  where &freq = 'Weekly';
    old   2: where &freq = 'Weekly'
    new   2: where Weekly = 'Weekly'
    where Weekly = 'Weekly'
    ERROR at line 2:
    ORA-00904: "WEEKLY": invalid identifier
    SQL> edi
    Wrote file afiedt.sql
      1  select null from dual
      2* where '&freq' = 'Weekly'
    SQL> /
    old   2: where '&freq' = 'Weekly'
    new   2: where 'Weekly' = 'Weekly'
    N
    SQL>

  • Passive Substitution

    Hi,
       We are facing an issue with Passive Substitution. Just to give a brief, a passive substitute is a substituted approver whose inbox is displayed on demand after clicking on Adopt Substitution.
       To adopt this functionality we are making use of two standard FMs Sap_Wapi_Substitution_End and Sap_Wapi_Substitution_Adopt.
       However the issue is that the Work Items of the Passive Substitute are not displayed in the Universal Worklist Overview and that the very same Work Items are visible in the ITS inbox as well as SRM inbox.
    Thanks,
    Balaramnaidu Bankuru
    Edited by: Balaram naidu Bankuru on Mar 19, 2009 1:27 AM

    Try reregistering the uwl........
    Koti Reddy

  • Error file adapter with variable substitution in PI 7.31

    Hello,
    I'm trying to create a file with a dynamic name, based on the payload of the message.
    We're trying to create a filename with the bold content in the name %batchId%.xml. The subtitution we use is
    payload:batch,1,batch-info,1,id,1
    <ns1:batch xmlns:ns1="http://www.atosworldline.com/archivingPortal/receivers">
    - <ns1:batch-info id="test" isTest="true"> 
    <ns2:sender-identifier xmlns:ns2="http://www.atosworldline.com/archivingPortal/batchInfo">String 2</ns2:sender-identifier>  
    <ns2:nb-elements xmlns:ns2="http://www.atosworldline.com/archivingPortal/batchInfo">3</ns2:nb-elements>  
    <ns2:batch-integration-mode xmlns:ns2="http://www.atosworldline.com/archivingPortal/batchInfo">String 4</ns2:batch-integration-mode>  
    <ns2:creation-datetime xmlns:ns2="http://www.atosworldline.com/archivingPortal/batchInfo">1999-05-31T13:20:00Z</ns2:creation-datetime>  
    </ns1:batch-info>
    - <ns1:receivers> 
    - <ns1:receiver> 
    <ns1:id>String 5</ns1:id>  
    <ns1:action>String 6</ns1:action>  
    <ns1:contact-details />  
    - <ns1:tokenSets> 
    - <ns1:tokenSet startDate="1999-05-31T13:20:00Z" endDate="1999-05-31T13:20:00Z"> 
    - <ns1:token> 
    <ns1:tokenvalue>String 7</ns1:tokenvalue>  
    </ns1:token>
    - <ns1:token> 
    <ns1:tokenvalue>String 9</ns1:tokenvalue>  
    </ns1:token>
    </ns1:tokenSet>
    - <ns1:tokenSet startDate="1999-05-31T13:20:00Z" endDate="1999-05-31T13:20:00Z"> 
    - <ns1:token> 
    <ns1:tokenvalue>String 11</ns1:tokenvalue>  
    </ns1:token>
    - <ns1:token> 
    <ns1:tokenvalue>String 13</ns1:tokenvalue>  
    </ns1:token>
    </ns1:tokenSet>
    </ns1:tokenSets>
    </ns1:receiver>
    </ns1:receivers>
    </ns1:batch>
    The following error is shown, when processing the message through the receiving fileadapter.
    MP: exception caught with 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: The following variable was not found in the message payload: batchId
    kind regards,
    Pieter

    AFAIK - Variable substitution does not support attributes. It only support the elements. (- <ns1:batch-info id="test" isTest="true">)
    May be you can go with dynamic configuration instead of variable substitution.

  • Passivation Error with 9.0.3 Release

    I am getting a passivation error with the new 9.0.3 Release Jdeveloper. I have a page-by-page iteration set up and am selecting out of a table that has 9000 rows in it. When I first query the table I do not have any problems, but when I go towards the end I start throwing passivation errors. I run the following chunk of code:
    DcAddressView dav = (DcAddressView)this.getDcAddressView1();
    dav.setWhereClause(whereClause);
    dav.setRangeSize(pageSize);
    dav.setRangeStart(startPos);
    Row[] rows = dav.getAllRowsInRange();
    where whereClause = "1 = 1 and source_ind = '9'"; pageSize = 20; startPos = 5900
    With the whereClause used there is 5948 records in the recordset. When I debug this section of code I throw an exception as I try to setRangeStart(5900) as follows:
    oracle.jbo.PCollException: JBO-28020: Passivation error on collection DcAddressView1, collection id 0, persistent id 1
         void oracle.jbo.PCollException.throwException(java.lang.Class, java.lang.String, java.lang.Object[], java.lang.Exception)
              PCollException.java:39
         boolean oracle.jbo.pcoll.PCollNode.passivateElem(oracle.jbo.pcoll.PCollPersistable, oracle.jbo.pcoll.PCollNode, oracle.jbo.pcoll.PCollection, long)
              PCollNode.java:589
         boolean oracle.jbo.pcoll.PCollNode.passivate()
              PCollNode.java:658
         boolean oracle.jbo.pcoll.PCollection.passivateLRULeafNode()
              PCollection.java:351
         void oracle.jbo.pcoll.PCollection.checkActiveLeafLimit()
              PCollection.java:404
         void oracle.jbo.pcoll.PCollection.nodeRecentlyUsed(oracle.jbo.pcoll.PCollNode)
              PCollection.java:252
         void oracle.jbo.pcoll.PCollNode.<init>(oracle.jbo.pcoll.PCollection, oracle.jbo.pcoll.PCollNode, boolean)
              PCollNode.java:74
         oracle.jbo.pcoll.PCollNode oracle.jbo.pcoll.PCollNode.checkForSplit()
              PCollNode.java:1554
         void oracle.jbo.pcoll.PCollNode.addObject(oracle.jbo.pcoll.PCollPersistable)
              PCollNode.java:1623
         void oracle.jbo.pcoll.PCollNode.addObject(oracle.jbo.pcoll.PCollPersistable)
              PCollNode.java:1611
         void oracle.jbo.pcoll.PCollection.addElement(oracle.jbo.pcoll.PCollPersistable)
              PCollection.java:753
         boolean oracle.jbo.server.QueryCollection.fetch(int)
              QueryCollection.java:1295
         java.lang.Object oracle.jbo.server.QueryCollection.get(int)
              QueryCollection.java:831
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.getRow(int)
              ViewRowSetImpl.java:2619
         int oracle.jbo.server.ViewRowSetIteratorImpl.scrollRange(int)
              ViewRowSetIteratorImpl.java:945
         int oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(int)
              ViewRowSetIteratorImpl.java:2161
         int oracle.jbo.server.ViewRowSetImpl.setRangeStart(int)
              ViewRowSetImpl.java:1726
         int oracle.jbo.server.ViewObjectImpl.setRangeStart(int)
              ViewObjectImpl.java:4718
         org.act.dcact.PageList org.act.dcact.bc.AddressModuleImpl.getAddressList(int, int, java.lang.String)
              AddressModuleImpl.java:84
         org.apache.struts.action.ActionForward org.act.dcact.SearchAction.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              SearchAction.java:42
         org.apache.struts.action.ActionForward org.apache.struts.action.RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.Action, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)
              RequestProcessor.java:446
         void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:266
         void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:1292
         void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:492
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind.server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    ## Detail 0 ##
    java.lang.ClassCastException: java.sql.Date
         boolean oracle.jbo.pcoll.OraclePersistManager.holdTableName(java.lang.String, boolean)
              OraclePersistManager.java:1096
         void oracle.jbo.pcoll.PCollManager.resolveName()
              PCollManager.java:324
         void oracle.jbo.pcoll.OraclePersistManager.createControlTable()
              OraclePersistManager.java:268
         void oracle.jbo.pcoll.OraclePersistManager.createTable()
              OraclePersistManager.java:672
         void oracle.jbo.pcoll.OraclePersistManager.insert(long, long, int, oracle.jbo.pcoll.PCollKeyInfo[], byte[])
              OraclePersistManager.java:1538
         boolean oracle.jbo.pcoll.PCollNode.passivateElem(oracle.jbo.pcoll.PCollPersistable, oracle.jbo.pcoll.PCollNode, oracle.jbo.pcoll.PCollection, long)
              PCollNode.java:543
         boolean oracle.jbo.pcoll.PCollNode.passivate()
              PCollNode.java:658
         boolean oracle.jbo.pcoll.PCollection.passivateLRULeafNode()
              PCollection.java:351
         void oracle.jbo.pcoll.PCollection.checkActiveLeafLimit()
              PCollection.java:404
         void oracle.jbo.pcoll.PCollection.nodeRecentlyUsed(oracle.jbo.pcoll.PCollNode)
         PCollection.java:252
    void oracle.jbo.pcoll.PCollNode.<init>(oracle.jbo.pcoll.PCollection, oracle.jbo.pcoll.PCollNode, boolean)
              PCollNode.java:74
         oracle.jbo.pcoll.PCollNode oracle.jbo.pcoll.PCollNode.checkForSplit()
              PCollNode.java:1554
         void oracle.jbo.pcoll.PCollNode.addObject(oracle.jbo.pcoll.PCollPersistable)
         PCollNode.java:1623
         void oracle.jbo.pcoll.PCollNode.addObject(oracle.jbo.pcoll.PCollPersistable)
              PCollNode.java:1611
         void oracle.jbo.pcoll.PCollection.addElement(oracle.jbo.pcoll.PCollPersistable)
              PCollection.java:753
         boolean oracle.jbo.server.QueryCollection.fetch(int)
              QueryCollection.java:1295
         java.lang.Object oracle.jbo.server.QueryCollection.get(int)
              QueryCollection.java:831
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.getRow(int)
              ViewRowSetImpl.java:2619
         int oracle.jbo.server.ViewRowSetIteratorImpl.scrollRange(int)
              ViewRowSetIteratorImpl.java:945
         int oracle.jbo.server.ViewRowSetIteratorImpl.setRangeStart(int)
              ViewRowSetIteratorImpl.java:2161
         int oracle.jbo.server.ViewRowSetImpl.setRangeStart(int)
              ViewRowSetImpl.java:1726
         int oracle.jbo.server.ViewObjectImpl.setRangeStart(int)
              ViewObjectImpl.java:4718
         org.act.dcact.PageList org.act.dcact.bc.AddressModuleImpl.getAddressList(int, int, java.lang.String)
              AddressModuleImpl.java:84
         org.apache.struts.action.ActionForward org.act.dcact.SearchAction.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              SearchAction.java:42
         org.apache.struts.action.ActionForward org.apache.struts.action.RequestProcessor.processActionPerform(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, org.apache.struts.action.Action, org.apache.struts.action.ActionForm, org.apache.struts.action.ActionMapping)
              RequestProcessor.java:446
         void org.apache.struts.action.RequestProcessor.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              RequestProcessor.java:266
         void org.apache.struts.action.ActionServlet.process(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:1292
         void org.apache.struts.action.ActionServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              ActionServlet.java:492
         void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
              HttpServlet.java:740
         void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              HttpServlet.java:853
         void com.evermind.server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
              ServletRequestDispatcher.java:721
         void com.evermind.server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
              ServletRequestDispatcher.java:306
         boolean com.evermind.server.http.HttpRequestHandler.processRequest(com.evermind.server.ApplicationServerThread, com.evermind.server.http.EvermindHttpServletRequest, com.evermind.server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
              HttpRequestHandler.java:767
         void com.evermind.server.http.HttpRequestHandler.run(java.lang.Thread)
              HttpRequestHandler.java:259
         void com.evermind.server.http.HttpRequestHandler.run()
              HttpRequestHandler.java:106
         void EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run()
              PooledExecutor.java:803
         void java.lang.Thread.run()
              Thread.java:484
    Any help would be appreciated. BTW-- I have repeatedly deleted all bc4j tables from my database.

    Eric,
    We're tracking this problem as Bug#2646690. Thanks for reporting it.
    The problem is related to a change in the JDBC driver when the oracle.jdbc.J2EE13Compliant Java system property is set to the value true. When this flag is set to true, JDBC returns a DATE column from the database as a java.sql.Date object. When the flag is not set or set to false, it returns the java.sql.Timestamp type that it has always returned before.
    The workaround until we are able to fix this on our side to work with either Timestamp or Date in our code, is to add the line:
    System.setProperty("oracle.jdbc.J2EE13Compliant","false");Into the constructor of your root application module's *Impl.java class.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • 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

  • Error in Variable Substitution

    Dear All,
    Result Payload:
    <ns1:MT_Level1 xmlns:ns1="http://test.com">
    <Header>
      <Separator>,</Separator>
    </Header>
      <Detail>
      <FileNumber>30</FileNumber>
      <LinkToNextLevel />
      <Expansion1>0</Expansion1>
      <Expansion2>0</Expansion2>
      <Expansion3>0</Expansion3>
      <Expansion4>0</Expansion4>
      </Detail>
    <Detail>
      <FileNumber>30</FileNumber>
      <LinkToNextLevel />
      <Expansion1>0</Expansion1>
      <Expansion2>0</Expansion2>
      <Expansion3>0</Expansion3>
      <Expansion4>0</Expansion4>
      </Detail>
      <FileNode>
      <FileName>test.txt</FileName>
      </FileNode>
      </ns1:MT_Level1>
    I want to use "File Name" in the "File Node" node for my variable substitution.
    In the configuration:
    File Name Scheme = %filename%
    Variable = filename
    reference = payload: Messages, 1, Message, 1, MT_Level1, 1, FileNode, 1, FileName, 1
    Note: I'm using multimapping (1 to N).
    File Name path is /ns0:Messages/ns0:Message2/ns1:MT_Level1/FileNode/FileName ( from right click in the file name --> copy path).
    I got following 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: filename"
    Please advise!
    Best Regards,
    Victor.

    Dear All,
    My problem is solved!
    The issue is because I don't put the interface mappings sequence as the same sequence as the message mappings sequence. Hence the structure name that i put in the variable substitution all are not match with the structure name in the payload even though all have the file name element.
    So what i did is i have to reorder the sequence of my message mappings to be the same sequence as the interface mappings sequence.
    Thanks for all that trying to help!
    Appreciated it guys.
    BTW, for the variable reference it's correct that i no need to put message and message2 as the reference.
    payload:MT_Level1,1,FileNode,1,FileName,1 will do.
    Best Regards,
    Victor.

  • Dynamic target directory with variable substitution

    Hi everyone.
    I'm trying to save a file in a folder with receiver adapter.
    This folder is determined in runtime and passed to the adapter with variable substitution. My problem is that in RWB i get a error like this : 'Content of variable XXXXX is not safe'
    Does anybody have done a variable substituion for output directory receiver file adapter?
    Regards,
    Inigo.

    Hi,
    Check this links,
    /people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    Regards,
    Phani

  • What is happening with quote substitution in Mail since Mountain Lion?

    What is happening with quote substitution in Mail since Mountain Lion? Now, whenever I type an apostrophe and it's replaced with a smart quote, it creates an unwanted space within my word and starts typing from there. It will also revert the font from my template style to helvetica. Annoying as heck! Any thoughts? Turning off smart quote substition in Mail elimates the error, but elimates the smart qoute, too. I'm stumped.

    What is happening with quote substitution in Mail since Mountain Lion? Now, whenever I type an apostrophe and it's replaced with a smart quote, it creates an unwanted space within my word and starts typing from there. It will also revert the font from my template style to helvetica. Annoying as heck! Any thoughts? Turning off smart quote substition in Mail elimates the error, but elimates the smart qoute, too. I'm stumped.

  • Error during Variable Substitution

    Hi Experts,
    Pls go through the errors
    I am getting the following error in RWB>Messages Monitoring->Adapter Engine
    It is in Production,
    Many messages are successful but 40% messages are failed with this Error
    The following is the Error log
    Attempt to process file failed with
    com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution:
    com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Caught SAXException while parsing XML payload:Fatal Error:com.sap.engine.lib.xml.parser.parserException: XMLparser: No data allowed here(:main:,row:,col:75)"
    main:,row:,75 will be changing for every failure message
    I have checked the XML payload also there is no problem.
    if it has a problem, after rescending also it should not be processed
    please find the different errors carefully and give me the Solution.
    Getting different Errors for different messages like below
    1.com.sap.engine.lib.xml.parser.parserException:XMLParser:N o data allowed here:(hex) 76,65,72 (:main:,row:1,col:9)
    for the same message when the sys tried to resend
    parserException:start-tag 'EIT' is different from the end-tag'E1EDP03(:main:,row:1,col:16)
    2.com.sap.engine.lib.xml.parser.parserException:XMLParser:Declaration not allowed here:(:main:,row:1,col:6)
    for the same message when the sys tried to resend
    (:main:,row:1,col:89)
    3.com.sap.engine.lib.xml.parser.parserException:XMLParser:Name Expected:0x0.(:main:,row:1,col:0)
    for the same message when the sys tried to resend
    :No data allowed:(hex)0(:main:,row:1,col:1)
    4.com.sap.engine.lib.xml.parser.parserException:XMLParser:start-tag= 'EDI_DC40' is different from the end-tag= 'DOCNUM'(:main:,row:2,col:125)
    for the same message when the sys tried to resend
    parserException:</expected(:main:,row:1,col:0)
    5.com.sap.engine.lib.xml.parser.parserException:XMLParser:</expected(:main:,row:2,col:1788)
    when ever the sys tried to rescend the following errors are getting
    XMLParser:</expected(:main:,row:2,col:17)
    XMLParser:No data allowed here(:main:,row:2,col:96)
    XMLParser:No data allowed here(hex)76, 65, 72(:main:,row:1,col:9)
    XMLParser:Document is not well-formed:start-tag 'EDI_DC40' is different from end-tag 'DOCREL'(:main:,row:1,col:9)
    For all these errors if we resend, the messages are processed successfully, if i select more messages then it won't be processed.
    I have checked SMQ1 and even Javaengine also re-started but same problem.
    I have checked payload message with above errors but there is no problem.
    can any body give me the solution
    Regards
    Rajan

    Avoid posting duplicate thread,
    Exception during Variable Substitution
    Regards

  • Error during variable substitution: idoc to file

    Hi Friends,
    I have a got a issue which is Idoc to file scenario.
    Iam getting the following 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: date_processing
    Could you please tell me waht could be the reason for the same?
    as per my analysis, I observed that the field date_processing has been declared

    Hi Sandeep ,
    If the variable ’date_processing’ refers to an element in XML schema, Please check  if you have added  the prefix payload: to the information under Reference.
    The reference then comprises a pseudo path description in the form of a comma-separated list with the schema namea,na,nameb,nb,....
                Where namea,nameb,... corresponds to the element name and na,nb,... corresponds to the occurrence of the element name at the respective level in the document.
    The description begins at the root of the document and ends at the respective element.
    Also please check
    Re: Variable substitution
    Regards,
    Jyoti

  • Issue with activated substitution role disappearing

    Hello,
    We have an example of a user that is experiencing problems accessing her substitution role. Her approver is off on long term sick, hence, her substitution role has been activated in 'Maintain Substitutions' in the ERP portal to enable her to authorise purchase orders on behalf of her approver. However, the drop down menu that usually appears when the substitutor is activated does not appear in the universal worklist. Therefore, this means that the user cannot access/view any purchase orders for approval delaying payment to vendors.
    The delegator has deleted and re-installed the substitute in 'Maintain Substitutes' but has failed to do anything. I have checked the users roles and they are all up to date.
    The only inconsistancy I can see is in the users universal worklist connection status. Comparing this to another users universal worklist connection status (that is not experiencing any problems with their substitutions) highlights a difference in message. There is an error message stating AdHocSystem/AdHocWorkflowConnector/Failure/ActionFailed. Any suggestions?

    Hi Sarah
    Most probably the issue is occuring due to an inconsistency or problem with the user which is receiving this error. As you mentioned, other users are perfectly able to access the popup to maintain substitutes without any error in the "Display Connection Status" popup and the same are able to see the combo to select a possible user to substitute.
    So the reason for the portal not to show the combo to select the user is that from substitution perspective, the connection to all the systems registered within UWL need to be working. As for this affected user the AdHocWorkflowConnector is failing, the combo is not showing.
    Maybe you could try checking the latest trace messages (from the default trace file) which are written right after the user entered the UWL application and check whether this would help on finding what the problem with this user would be.
    Also other thing which you could try checking is regarding how this problematic user is maintained in Identity Management. Another prerequisite for substitution is that the users should have both a first name and last name in the respective fields. Check about the possibility of this user being set in disagreement with this.
    Hope this helps
    Best regards
    Armando Zaro

  • Can't connect to ftp servers with Passive Mode

    Hello,
    I can't connect to ftp servers with Passive Mode.
    I have Linksys WRT54GL.
    Msg i have:
    [R] 200 PORT Command successful.
    [R] LIST -al
    [R] 150 Opening ASCII mode data connection for /bin/ls.
    [R] 426 Data connection closed, transfer aborted.
    [R] List Error
    and:
    [R] 200 Type set to A.
    [R] MODE Z
    [R] 200 MODE Z ok.
    [R] PASV
    [R] 227 Entering Passive Mode (*,*,114,11,8,147)
    [R] Opening data connection IP: *.*.114.11 PORT: 2195
    [R] Data Socket Error: Connection timed out
    [R] List Error
    Thanks for the help !

    Maybe you need to do Port Forwarding on your router...Check for the Port Numbers for your FTP Server...

  • How to raise error message in substitution exits?

    Hello Experts,
    How to raise error message in substitution exits. I have tried with normal statement,
    Message 'Welcome!!' type E.
    But its inot stopped at that error message, Its goes next standard code and picked other messag and shown as error message.
    Th exit seems U100, I that I want to stop by using error message based on some condition. Please throw the answer quickly

    HI Sanjana,
    In the Substitution exits you can create the message in the configuration it self.
    You dont't need raise message explicitly.
    Thanks,

Maybe you are looking for

  • Office 2013 Deployment in a Multisite Environment

    We want to upgrade our 200+ clients to Office 2013 but I have encountered 2 major issues. The first is that we have multiple sites with slow network links (less than 512k) so I need to be able to install and update from the local file server. All our

  • How do i put my apps and music onto my new computer

    How do I put apps and music onto my new computer.

  • [Solved] Can't get gnome network manager running

    Alright this one is a head scratcher.  I've folowed the wiki for network manager to a T except I can't get the network manager icon to show up (I have notification addon already running).  I don't have any network loss though. Here's my rc.conf # /et

  • Buffer Cache Hit ratio 48

    just now I have checked the buffer cache hit ratio is 48% . In my production database . is It any problem. Thank You Prasad

  • Photo Booth 6

    I have a mac mini 16GB ram logitech webcam that works awsome but i want to use photo booth 6 in os mavericks effects such as the moving backgrounds i step out of the frame and it still says too much motion in background???? I just ordered an isight c