Tolerance exceeded due to translation difference in parallel currency.

Hi,
I am getting the following error when transaction: ASKB -
Tolerance exceeded for differences due to currency translation
Message no. AAPO518
Diagnosis
An error occurred during translation of currency amounts into the parallel currency using currency type 40.
The document balance is  3605.07 MRL and it cannot be corrected automatically.
System Response
The document cannot be created
Please help to understand and solve the error.

Hi,
It could be that you need a derived depr. area activated as             
"Derived depreciation area as real area"                                                                               
Documentation:                                                          
  Treat Derived Depreciation Area As Real Area                          
  Specifies that a depreciation area that was originally defined as a   
  derived depreciation area is treated as a real depreciation area in   
  the target company code. This means that not only depreciation        
  differences can be posted to special depreciation reserve accounts,   
  but also real differences in acquisition and production costs can be  
  posted to balance sheet accounts.                                                                               
Use                                                                   
  If you set this indicator, then the system posts the real difference  
  between two depreciation areas, if the original depreciation area was 
  defined as the difference between two other areas (for example,       
  special depreciation area 03 defined as the difference between areas  
  01 and 02). If the source depreciation area is not a derived          
  depreciation area, then the system removes the indicator during the   
  input check.                                                                               
Please take into account that after this change on customizing,     
the accounts in the account determination for this depreciation
area have to be maintained for APC accounts also.             
In another scenario the reason for error AAPO518 was the use of a      
non standard schema. May you check if you are using a modificatin to the
schema: for example you can check this in transaction SM43 ->          
ie SM34 -> VC_T093H01. Check the transaction and to which schema       
it is linked.                                                          
Best Regards,
Blaz

Similar Messages

  • Posting of Exchange rate differences in parallel currencies

    Hello experts,,
    We are on ECC 6.
    When we enter an incoming invoice with MIRO and the current exchange rate differs from that in the PO, the exchange rate differences in local currency and in parallel currency (group currency) post to different accounts.
    Is this a standard feature / behavior? If so, where can i find the settings.
    Shouldn't the postings in all currencies (except doc currency), in the event of exchange rate difference post to the same account?
    The material ledger is not active.
    We have maintained a local currency and a group currency.
    Example to illustrate my issue -
    DC = JPY
    LC = SGD
    GC = USD
    PO for asset.
    PO value = 100000 JPY
    Ex rate not fixed in the PO.
    Ex rate at PO -
    100 JPY = 1.6 SGD
    100 JPY =  0.85 USD
    Ex Rate at IR
    100 JPY = 1.7 SGD
    100 JPY =  0.9 USD
    When IR is entered,
    The exchange rate difference of 100 SGD (@ 0.1 per 100 JPY) is posted to the asset. No posting in USD (though there is a balance of 50 USD).
    At clearing (Transaction FB1S - GL account clearing) the exchange rate difference (in GC only, because no balance in LC) of 50 USD (@ 0.05 per 100 JPY) is posted to the Exch. rate difference GL acct.
    Thanks in advance for your advice/solution.
    B. Regards,
    Halaswamy

    Hello,
    1.  You have to assign Forex GL's for the reconciliation accounts in OB09.
    2.  At the time of payment for incoming invoices, system can read the valuation differences and it will post to Realized Gain/Loss accounts and B/S adjustment account.
    3. You can consider this amount to issue bonus to your customers.
    Rgds
    Murali. N

  • Differences in parallel currencies after settlement

    Hi Everybody,
    Please give me some idea, what should I do.
    After the settlement of internal order, the balance of currency of the company (10-BRL) is zero, it is OK, but the problem is the balance in hard currency (40-USD) there is difference.
    Scenario Currency FI (OB22):
    > 1st local currency:
    Crcy Type: 10 - company code currency - Currency: BRL
    Valuation: 0 Legal Valuation
    ExRateType: M - Standard translation at average rate.
    Srce curr: 1 - Translation taking transaction currency as a basis
    TrsDte typ: 3     Translation date
    > 2st local currency:
    Crcy type: 40 - Hard currency
    Valuation: 0 - Legal Valuation
    ExRateType: M - Standard translation at average rate
    Srce curr.: 1 - Translation taking transaction currency as a basis
    TrsDte typ: 1 - Document date
    Scenario Currency CO (OKKP):
    > Assignment Control > CoCd->CO Area = Cross-company-code cost accounting
    Currency Type:10 - Company code currency
    Currency: BRL
    No flag : Diff. CCode Currency
    No flag: Active
    The test is:
    1st - Posting with internal order (FB60)
    2nd - Settlement internal order (KO88)
    3rd - FBL3N
    Look the result by currency:
    G/L: 800068, Post Date: 30/11/09, Doc Date: 27/11/09, LCurr: BRL, Amount: 1000,00-, LCurr2: USD, Amount loc curr2: 666,67-
    G/L: 800068, Post Date: 27/11/09, Doc Date:01/10/09, LCurr: BRL, Amount: 1000,00, LCurr2: USD, Amount loc curr2: 500,00
    Balance of LCurr: BRL = 0,00
    Balance of LCurr2: USD = 166,67 (Difference). Is there a procedure to dealing with differences in hard currency (USD) after settlement of internal order?
    Thank you so much for any tip.
    Soraia

    In your opinion, Does the configuration in OKKP is correct?
    Scenario Currency CO (OKKP):
    > Assignment Control > CoCd->CO Area = Cross-company-code cost accounting
    Currency Type:10 - Company code currency
    Currency: BRL (Brazilian Currency)
    No flag : Diff. CCode Currency
    No flag: Active
    Where is BRL I think that should be USD.
    The system do the exchange rate ok, but what about the difference because of it? Is there any problem continue with it?
    G/L: 800068, Post Date: 30/11/09, Doc Date: 27/11/09, LCurr: BRL, Amount: 1000,00-, LCurr2: USD, Amount loc curr2: 666,67-
    G/L: 800068, Post Date: 27/11/09, Doc Date:01/10/09, LCurr: BRL, Amount: 1000,00, LCurr2: USD, Amount loc curr2: 500,00
    Balance of LCurr: BRL = 0,00
    Balance of LCurr2: USD = 166,67 (Difference).
    Thank you!
    Soraia

  • Differences in parallel currencies after settlement internal order

    Hi everybody,
    Please help me with any tip.
    After the settlement of internal order, the balance of currency of the company (10-BRL) is zero, it is OK, but the problem is the balance in hard currency (40-USD) there is difference.
    Scenario Currency FI (OB22):
    > 1st local currency:
    Crcy Type: 10 - company code currency - Currency: BRL
    Valuation: 0 Legal Valuation
    ExRateType: M - Standard translation at average rate.
    Srce curr: 1 - Translation taking transaction currency as a basis
    TrsDte typ: 3     Translation date
    > 2st local currency:
    Crcy type: 40 - Hard currency
    Valuation: 0 - Legal Valuation
    ExRateType: M - Standard translation at average rate
    Srce curr.: 1 - Translation taking transaction currency as a basis
    TrsDte typ: 1 - Document date
    Scenario Currency CO (OKKP):
    > Assignment Control > CoCd->CO Area = Cross-company-code cost accounting
    Currency Type:10 - Company code currency
    Currency: BRL
    No flag : Diff. CCode Currency
    No flag: Active
    The test is:
    1st - Posting with internal order (FB60)
    2nd - Settlement internal order (KO88)
    3rd - FBL3N
    Look the result by currency:
    G/L: 800068, Post Date: 30/11/09, Doc Date: 27/11/09, LCurr: BRL, Amount: 1000,00-, LCurr2: USD, Amount loc curr2: 666,67-
    G/L: 800068, Post Date: 27/11/09, Doc Date:01/10/09, LCurr: BRL, Amount: 1000,00, LCurr2: USD, Amount loc curr2: 500,00
    Balance of LCurr: BRL = 0,00
    Balance of LCurr2: USD = 166,67 (Difference). Is there a procedure to dealing with differences in hard currency (USD) after settlement of internal order?
    Tks
    Soraia

    In your opinion, Does the configuration in OKKP is correct?
    Scenario Currency CO (OKKP):
    > Assignment Control > CoCd->CO Area = Cross-company-code cost accounting
    Currency Type:10 - Company code currency
    Currency: BRL (Brazilian Currency)
    No flag : Diff. CCode Currency
    No flag: Active
    Where is BRL I think that should be USD.
    The system do the exchange rate ok, but what about the difference because of it? Is there any problem continue with it?
    G/L: 800068, Post Date: 30/11/09, Doc Date: 27/11/09, LCurr: BRL, Amount: 1000,00-, LCurr2: USD, Amount loc curr2: 666,67-
    G/L: 800068, Post Date: 27/11/09, Doc Date:01/10/09, LCurr: BRL, Amount: 1000,00, LCurr2: USD, Amount loc curr2: 500,00
    Balance of LCurr: BRL = 0,00
    Balance of LCurr2: USD = 166,67 (Difference).
    Thank you!
    Soraia

  • Incorrect cuurency translation difference - Manual journal

    Hi,
    Our business users posted number of manual journals and subsequent reversals in local currency and group currency. They did not follow the correct procedure of copying LC to GC and running currency translations. Many steps were performed out of turn.
    On our investigation we found that system has posted a currency translation difference in group currency of 200k in translation difference account. The balance in local currency is zero.
    As per our configuration we use current rate for reference translation and average rate for specific translation and key figure as period value in LC. There are no historic posting in the cons pc. This is the first period of posting.
    We wish to reverse out the translation difference, however, system wan't allow us to manually journal the difference  ?. Is there a way to clear out the difference?.
    KIndly advise
    Umang

    Hi,
    In the copy method you must add "rounding method" in the method translation.
    Do you sure that your method for currency tarnslation is correct, this means: rounding method is added into method currency transflation?
    And documents  type with posting level 01-10 must use only local currency (obligatory) and transaction currency (optimal).
    When documents type have use group currnecy, these documents are not currency translation by the system, during make task copy document.
    Ciao
    Anka
    Edited by: Anka on Feb 3, 2012 3:00 PM

  • Exchange rate difference posting in parallel currencies

    Hello experts,,
    We are on ECC 6.
    When we enter an invoice with MIRO and the current exchange rate differs from that in the PO, the exchange rate differences in local currency and in parallel currency (group currency) post to different accounts.
    Is this a standard feature / behavior? If so, where can i find the settings.
    Shouldn't the postings in all currencies (except doc currency), in the event of exchange rate difference post to the same account?
    The material ledger is not active.
    We have maintained 3 different currencies.
    Example to illustrate -
    DC = JPY
    LC = SGD
    GC = USD
    PO for asset.
    PO value = 10000 JPY
    Ex rate not fixed in the PO.
    Ex rate at PO -
    100 JPY = 1.6 SGD
    100 JPY =  0.85 USD
    Ex Rate at IR
    100 JPY = 1.7 SGD
    100 JPY =  0.9 USD
    When IR is entered,
    The exchange rate difference of 10 SGD (@ 0.1 per 100 JPY) is posted to the asset. No posting in USD (though there is a balance of 5 USD).
    At clearing (Transaction FB1S - GL account clearing) the exchange rate difference (in GC only, because no balance in LC) of 5 USD (@ 0.05 per 100 JPY) is posted to the Exch. rate difference GL acct.
    Thanks in advance for your advice/solution.
    B. Regards,
    Halaswamy

    Hi,
    Check in t.code: OB22. the 'source currency' used for translation in . There are two options:
    1     Translation taking transaction currency as a basis
    2     Translation taking first local currency as a basis
    Also check the notes:
    335608 Trnsln of 2nd and 3rd lcl crcy fm 1st lcl/trns crcy
    526623 Different treatment of local and parallel currency in ML
    Regards,
    Biju K

  • Difference between Foreign Currency Valuation & Translation

    What is the difference between Foreing Currecy Valuation (FAGL_FC_VAL) & Foreing Currency Translation (FAGL_FC_TRANS) ?
    help.sap.com

    Hi,
    Foreign currency valuation FAGL_FC_VAL is a place where we valuate the foreign currencies to the particular local currency and post the differences to either exchange loss or gain.
    Foreign currency translation helps us to transalte the forein currency to loacal currency with out calculating the gain or loss derived from exchange.
    Parallel currency can be valuated in T-cd:FAGL_FC_Trans.
    Thanks,
    Shilpa.A
    Edited by: ashilpa54 on Mar 22, 2011 9:37 AM

  • Currency translation differences with an effect on earnings

    Product Version: SAP R/3 46.C
    Componente: EC-CS-CSF-E Currency Translation
    In currency translation program of ECCS (tx CX40) the prior year portion of translation differences that affects earnings is posted in current period in the earnings retain item (ER) which according to SAP documentation "Currency translation differences with subsequent consolidations" is correct, however when we run the currency translation on subsequents periods this amount is posted again generating a multiplying of differences on each period.
    In accordance with section u201CBu201D of SAP note 553586, the carryforward item (retain earnings) was assigned to translation key 5, to avoid multiplications of this difference in every execution of currency translation for current period. This correction was applied successfully, however the problem is now generated when we run the currency translation in every subsequent period.
    SAP notes 582815 and 553586 was applied succesfully.
    We also verified SAP note 1045402 changing the translation key 5 to 1, for balance carryforward item (retained earnings) this avoids the difference effect on subsequents periods, but  generates a translation differential effect undesired on this item, since this is a historical item that not must be altered by currency translation.
    Additionally we read SAP note 509509 and we think that this issue corresponds whit symptom 2 of that note.
    Step by Step:
    Transaction: CX40
    Setting of Translation SET in translation method:
    1.- MARS-GAP-Monetary:
    1.1.- Items of balance sheet
    1.2.- Translation Key 1
    1.3.-  Item for differences: income statement item with an effect on earnings
    2.- MARS-GAP-NonMonetary
    2.1.- Items of balance sheet
    2.2.- Translation Key 6
    2.3.-  Item for differences: income statement item with an effect on earnings
    3.-MARS-MOR-Monetary
    3.1.- Items of P&L
    3.2.- Translation Key 5
    3.3.-  Item for differences: income statement item without an effect on earnings
    4.-MARS-MOR-NonMonetary
    4.1.- Items of P&L
    4.2.- Translation Key 6
    4.3.-  Item for differences: income statement item without an effect on earnings
    5.- MARS-HIST
    5.1.- Items of balance sheet
    5.2.- Translation Key 6
    5.3.-  Item for differences: Balance sheet item without an effect on earnings
    6.- ANI-BS-FX
    6.1.- Items of differences SET MARS-HIST and Carryforward Item for special items in transaction CXD3, the same item for the balance carryforward (retained earnings)
    6.2.- Translation Key 5
    6.3.-  Item for differences: Balance sheet item without an effect on earnings (the same item for the SET MARS-HIST)
    7.- ANI-BS
    7.1.- The special balance sheet item in Transaction CXD3
    7.2.- Translation Key 5
    7.3.-  Item for differences, the same item
    8.- ANI-IS
    8.1.- The special income statement item in Transaction CXD3
    8.2.- Translation Key 5
    8.3.-  Item for differences, The same item
    Note:
    1 .- According to the point A of the note  553586 was included the FS Item 484051011(difference item for SET MARS-HIST)  in the conversion SET ANI-BS-FX
    2 .- According to Section B of the note 553586 was included the account for carried forward  481000001 the special accounts set up in the transaction CXD3 in the conversion SET ANI-BS-FX
    3 .- According to Section C of  note 553586 are included special accounts set up in the transaction CXD3 390000 and 251200, in the conversion SET ANI-IS and ANI-BS respectively.
    When run the currency translation in the new year 1-2011, the prior year portion of translation differences that affects earnings is posted in current period a credit to earnings retain and debit to account difference in SET for this account. This amount is same on special balance sheet item 251200, in tx CXD3, also found on the statistical FS item.
    Then in subsequent periods, 2 - 2011 it posting another credit to earnings retain and debit to account difference in SET for this account, generating a multiplying of differences on each period, even though the difference for this account (ER) in the log of the translation currency is equal to the difference posted to the previous period, show this in transaction CX34 for items of translation (1) for this account until 1-2011.
    Edited by: Ana Brito on Jul 25, 2010 8:10 PM

    Hi,
    just a information how I did a workaround about this:
    The opening (movement type 100) of the balance sheet item "differences of currency translation" is customized with "don't change...".
    Every increase  to "differences  of currency translation" works with e.g. movement type 120 and will be carried forward to 100.
    Maybe this is a scenario you can use...
    BR

  • Unable to clear GL due to Val difference between Local and group currency.

    hi,
    We have an open item managed Revaluation G/L account in our company code which has a local currency USD.There are some documents posted to this account in both USD and CAD. But when we analyze the docs posted in CAD we found a valuation difference in the local currency(USD) and the Group currency(again USD). I am not sure of the reason for this. But due to this difference we are unable to clear this account. Please let me know if anyone can think of how to clear this particular GL account.
    Rgds,
    Raj/
    Edited by: raj3875 on Oct 8, 2009 11:37 PM

    We have an issue even with document currency in USD. there is a valuation difference between Local currency (USD) and Group currency (USD).
    For example:
    Doc currency = 0 USD
    Local Currrency = 171,000 USD
    Group currency  = 0 USD
    Because of this I am not able to clear the account. Not sure why there is a difference inspite of the same currency. I try to clear it in F-04 but I get the below error:
    Posting is only possible with a zero balance; correct document
    Message no. F5060
    Regards,
    Raj

  • LIV posting with budget exceeding due to exchange rates

    Hi,
    I have a budget created with $X in singapore dollars. Then i have a PO created in USD which is tied to this budget created. At the time of PO creation, the exchange rate is say, 1.4, and the "fixed exchange rate" option is not selected at PO Header.
    So far, 2 LIV have been performed on this PO both using another exchange rate (due to different month) 1.52. When trying to perform the last LIV for this PO, it prompted that budget has exceeded due to the exchange rate of the previous 2 LIV which was higher than the original PO exchange rate.
    Is there any workaround suggestions?
    Appreciate your advise, thanks,

    Hi Nidhi,
    Value range
        The field CURR_TYPE (currency type) describes the role played by a
        currency in the SAP System.
        The currency type can take on the following values, for example:
        o   00      Transaction currency
        o   10      Company code currency
        o   20      Controlling area currency
        o   30      Group currency
        o   40      Hard currency
        o   50      Index-based currency
        o   60      Global company currency
        If an entry is not made in the field CURR_TYPE, the default value "00"
        is retained.
        If only one data record is transferred in transaction currency for each
        line item, the field CURR_TYPE does not need to be filled out. If
        several data records are transferred for each line item, the currency
        type must be entered for each record.
    If the parameter CurrencyAmount is filled with the currency fields,
    a complete document check including characteristics and value
    components of profitability analysis (CO-PA). Otherwise, the account
    assignment objects are checked.
    Check the BAPI documentation SE37.
    Regards,
    Boobalan Suburaj

  • Currency translation differences

    Dear SDNers,
    I have an issue concerning the currency translation differences.
    In a step, I have, in the "Specific Translation" Tab selected the following characteristics :
    1) 2 Items : A (BDC 1) and B (BDC 2)
    2) MT cat : M1 and M2, because A and B have different BDC (BDC 1 allows M1 and BDC 2 allows M2)
    3) Movement type : 141 (belongs to M1 and M2)
    The Currency translation Diff has to be stored in the Movement type 142. My problem is that I should theorically put in the "Differences tab" :
    MT cat : M1 and M2
    Movement type : 142
    BUT : I can only put one single MT Cat ! No complex selection allowed...
    Do you have any hint to avoid that ? Because MT cat and Mtype are compounded => If I only put M1 and 142, the system can not be able to post for the item B....
    Do I have to create 2 steps?
    Thanks for your help
    Regards
    Thibaud

    Hi,
    Thanks for reply,
    I had time to do some tests, and I am sorry, you are wrong :
    the system displays a warning and adjust automatically according to what is written in the BDC of the account.
    Anyway, thanks for your help
    Regards
    Thibaud

  • 'Write' failed due to: Translation Error.

    Hi
    I'm trying to convert csv and write to a file using FielAdapters in 11g. While reading input i created .xsd using native builder. and using same for write fileadapter. my flow is ReadFileAdapter-->Receive-->invoke-->writeFileAdapter.
    Is this right? when I deploy and run I'm getting
    <01-Mar-2013 10:09:23 o'clock GMT> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=> ReadInput ReadInputAdapter Service ReadInput was unable to perform delivery of inbound message to the composite default/ReadWriteFile!1.0*soa_40862c80-62ba-4425-b7e6-5fcfb5c5b4e4 due to: faultName: {{http://schemas.oracle.com/bpel/extension}bindingFault}
    messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
    parts: {{
    summary=<summary>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: Translation Error.
    Translation Error.
    Error while translating message to native format.
    Please make sure that the payload for the outbound interaction conforms to the schema.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.
    </summary>
    ,detail=<detail>Element not completed: 'TestRoot'</detail>
    ,code=<code>null</code>}
    >
    I want to convert csv and write as an xml to output file. can some body help me whats is wrong?
    here is my xsd
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    xmlns:tns="http://TargetNamespace.com/ReadInput"
    targetNamespace="http://TargetNamespace.com/ReadInput"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    nxsd:version="NXSD"
    nxsd:stream="chars"
    nxsd:encoding="US-ASCII"
    >
    <xsd:element name="TestRoot">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="TestRecord" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="C3" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," />
    <xsd:element name="C4" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    and csv file
    12, John, ryegate, Essex
    23, Will, wilow, orlean
    I also tried inbuild advane function on invoke activity
    ora:doTranslateFromNative(bpws:getVariableData('ReceiveInput_Read_InputVariable'),'xsd/Hello2_8.xsd','Test','DOM')
    even this didn't work.
    can somebody help me how to write as xml from csv?
    Thanks
    Edited by: user11132693 on Mar 1, 2013 3:01 AM

    whne i use transformer it is xslt which takes only values isn't it? And it writes only valuesNope, xslt can write xml... Actually, I'm not sure if I understand what your question is at the moment... Are you still facing the "Translation Error"? Or do you have a problem with a transformation?
    Check this... https://forums.oracle.com/forums/ann.jspa?annID=330

  • "JCA Binding execute of Reference operation 'Write' failed due to: Translation Error.

    Hi, i am trying to read a comma delimited file using an inbound file adapter, i have used a mediator to route records to the outbound file adapter.My input.txt file contains 10 records as Fname,Lname.I have used native format builder to generate xsd. To achieve transformation,in the mediator i have mapped only the Fname from source to traget using a for-each loop.I am trying to publish records in the batches of 2 so i have configured inbound file adapter accordingly.My inbound file adapter reads the first two records and the same is visible at the em console mediator instance(payload), i am even able to see the first two records being transformed in the transformed payload in the mediator instance detail but at the outbound file adapter i get an error saying :
    Error during invoking 1-way operation "Write" on target service "writeFile"
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: Translation Error. Translation Error. Error while translating message to native format. Please make sure that the payload for the outbound interaction conforms to the schema. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    When i map both the Fname and Lname in the xsl map file i get the output.But i only need one field at the outfile i:e either the Fname or the Lname.
    Given below are the details of the interface:
    My Interface Flow:       InboundFileAdapter--------ReadsFile------->Medaitor------Transformation----->OutboundFileAdapter-----writesFile
    Input Payload(comma delimited text file) as,
    Brad,Pitt
    Keanu,Reaves
    Martin,Lawrance
    Johnny,Depp
    etc
    etc
    Schema definition for payload:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
                xmlns:tns="http://TargetNamespace.com/readFile"
                targetNamespace="http://TargetNamespace.com/readFile"
                elementFormDefault="qualified"
                attributeFormDefault="unqualified"
                nxsd:version="NXSD"
                nxsd:stream="chars"
                nxsd:encoding="US-ASCII">
      <xsd:element name="Root-Element">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="Employee" minOccurs="1" maxOccurs="unbounded">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element name="Fname" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;" />
                  <xsd:element name="Lname" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;" />
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    XSL Map:
    <xsl:template match="/">
        <imp1:Root-Element>
          <xsl:for-each select="/imp1:Root-Element/imp1:Employee">
            <imp1:Employee>
              <imp1:Lname>
                <xsl:value-of select="imp1:Lname"/>
              </imp1:Lname>
            </imp1:Employee>
          </xsl:for-each>
        </imp1:Root-Element>
      </xsl:template>
    </xsl:stylesheet>
    Please help me with the above mentioned error and if above transformation is possible using a mediator instead of BPEL
    Regards,
    Saif

    Hi Saif,  Are you using the same xsd for the outbound (write) file adapter as well? In that case, you may need to map both the names (Fname and Lname) but leave the name which you do not want to be written to the file as an empty text. For example, if you would need to map only the Lname, but not the Fname, the xsl will be like,
    <xsl:template match="/">
        <imp1:Root-Element>
          <xsl:for-each select="/imp1:Root-Element/imp1:Employee">
            <imp1:Employee>
              <imp1:Fname>
              <xsl:text disable-output-escaping="no"></xsl:text>
              </imp1:Fname>
              <imp1:Lname>
                <xsl:value-of select="imp1:Lname"/>
              </imp1:Lname>
            </imp1:Employee>
          </xsl:for-each>
        </imp1:Root-Element>
      </xsl:template>
    </xsl:stylesheet>
    Another option is to have a separate xsd with only one element (Fname or Lname) for the outbound file adapter, in which case you would need to map only one field.

  • MAIN DIFFERENCES BETWEEN PARALLEL AND SEQUENTAIL PRCESSING???

    HI PALS,
    I WANT THE COMPLETE DIFFERENCES BETWEEN PARALLEL AND SEQUENTIAL PROCESSING!
    IN THE CONTEXT OF RFC.

    Hi
    Parallel Processing
    To achieve a balanced distribution of the system load, you can use destination additions to execute function modules in parallel tasks in any application server or in a predefined application server group of an SAP system.
    Parallel-processing is implemented with a special variant of asynchonous RFC. Itu2019s important that you use only the correct variant for your own parallel processing applications: the CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP keyword. Using other variants of asynchronous RFC circumvents the built-in safeguards in the correct keyword, and can bring your system to its knees
    Details are discussed in the following subsections:
    ·        Prerequisites for Parallel Processing
    ·        Function Modules and ABAP Keywords for Parallel Processing
    ·        Managing Resources in Parallel Processing
    Prerequisites for Parallel Processing
    Before you implement parallel processing, make sure that your application and your SAP system meet these requirements:
    ·        Logically-independent units of work:
    The data processing task that is to be carried out in parallel must be logically independent of other instances of the task. That is, the task can be carried out without reference to other records from the same data set that are also being processed in parallel, and the task is not dependent upon the results of others of the parallel operations. For example, parallel processing is not suitable for data that must be sequentially processed or in which the processing of one data item is dependent upon the processing of another item of the data.
    By definition, there is no guarantee that data will be processed in a particular order in parallel processing or that a particular result will be available at a given point in processing. 
    ·        ABAP requirements:
    ¡        The function module that you call must be marked as externally callable. This attribute is specified in the Remote function call supported field in the function module definition (transaction SE37).
    ¡        The called function module may not include a function call to the destination u201CBACK.u201D
    ¡        The calling program should not change to a new internal session after making an asynchronous RFC call. That is, you should not use SUBMIT or CALL TRANSACTION in such a report after using CALL FUNCTION STARTING NEW TASK.  
    ¡        You cannot use the CALL FUNCTION STARTING NEW TASK DESTINATION IN GROUP keyword to start external programs. 
    ·        System resources: 
    In order to process tasks from parallel jobs, a server in your SAP system must have at least 3 dialog work processes. It must also meet the workload criteria of the parallel processing system: Dispatcher queue less than 10% full, at least one dialog work process free for processing tasks from the parallel job.
    Function Modules and ABAP Keywords for Parallel Processing
    You can implement parallel processing in your applications by using the following function modules and ABAP keywords:
    ·        SPBT_INITIALIZE: Optional function module. 
    Use to determine the availability of resources for parallel processing. 
    You can do the following:
    ¡        check that the parallel processing group that you have specified is correct.
    ¡        find out how many work processes are available so that you can more efficiently size the packets of data that are to be processed in your data.
    ·        CALL FUNCTION Remotefunction STARTING NEW TASK Taskname DESTINATION IN GROUP:
    With this ABAP statement, you are telling the SAP system to process function module calls in parallel. Typically, youu2019ll place this keyword in a loop in which you divide up the data that is to be processed into work packets. You can pass the data that is to be processed in the form of an internal table (EXPORT, TABLE arguments). The keyword implements parallel processing by dispatching asynchronous RFC calls to the servers that are available in the RFC server group specified for the processing.
    Note that your RFC calls with CALL FUNCTION are processed in work processes of type DIALOG. The DIALOG limit on processing of one dialog step (by default 300 seconds, system profile parameter rdisp/max_wprun_time) applies to these RFC calls. Keep this limit in mind when you divide up data for parallel processing calls. 
    ·        SPBT_GET_PP_DESTINATION: Optional function module. 
    Call immediately after the CALL FUNCTION keyword to get the name of the server on which the parallel processing task will be run. 
    ·        SPBT_DO_NOT_USE_SERVER: Optional function module. 
    Excludes a particular server from further use for processing parallel processing tasks. Use in conjunction with SPBT_GET_PP_DESTINATION if you determine that a particular server is not available for parallel processing (for example, COMMUNICATION FAILURE exception if a server becomes unavailable).
    ·        WAIT: ABAP keyword
    WAIT UNTIL
    Required if you wish to wait for all of the asynchronous parallel tasks created with CALL FUNCTION to return. This is normally a requirement for orderly background processing. May be used only if the CALL FUNCTION includes the PERFORMING ON RETURN addition.
    ·        RECEIVE: ABAP keyword
    RECEIVE RESULTS FROM FUNCTION Remotefunction
    Required if you wish to receive the results of the processing of an asynchronous RFC. RECEIVE retrieves IMPORT and TABLE parameters as well as messages and return codes.
    Managing Resources in Parallel Processing
    You use the following destination additions to perform parallel execution of function modules (asynchronous calls) in the SAP system:
    In a predefined group of application servers:
    CALL FUNCTION Remotefunction STARTING NEW TASK Taskname
    DESTINATION IN GROUP Groupname
    In all currently available and active application servers:
    CALL FUNCTION Remotefunction STARTING NEW TASK Taskname
    DESTINATION IN GROUP DEFAULT
    Sequential Processing
    In the following cases, the system chooses sequential (non-parallel) processing:
    ●      In table RSADMIN, entry QUERY_MAX_WP_DIAG has value (column value) 1.
    ●      The entire query consists of one sub-access only.
    ●      The query is running in a batch process.
    ●      The query was started from the query monitor (transaction RSRT) using various debug options (for example, SQL query display, execution plan display). See, Dividing a MultiProvider Query into Sub-Queries.
    ●      The query requests non-cumulative key figures.
    ●      Insufficient dialog processes are available when the query is executed. These are required for parallel processing.
    ●      The query is configured for non-parallel processing.
    ●      You want to save the result of the query in a file or a table.
    In Release SAP NetWeaver 7.0, the system can efficiently manage the large intermediate results produced by parallel processing. In previous releases, the system terminated when it reached a particular intermediate result size and proceeded to read data sequentially. This is no longer the case. Therefore, the RSADMIN parameter that was used in previous releases for reading a MultiProvider sequentially is no longer used.
    Reward If Helpfull,
    Naresh

  • Clearing F-03 is not happening due to difference in Group Currency

    I am doing a mannual clearing f-03 for cenvat clearing account. All SPRO settings including OB09 are maintained and working fine; but when I try to post the doument it show that there is a small difference in Group Currecny figures. When I simulate the transaction in Group Currency figure, there is very very small difference against the  Exchange Fluctu.Accounts figure.
    System is not automatically calculating this Group Currency figures (foreign) correctly due to which difference get arise.
    Even though in Local currency (INR) figures are matching I am not able to post the clearing document.
    Is there any way out ? Whether any SAP Note I have to apply to resolve the issue. (Presently on ECC 6 EHP 3)
    If require I can send the screen shot too.
    Regards
    Sandeep

    If your OB09 settings are appropriate, the clearing difference in group currency should automatically go to the gain/loss account you have defined in OB09.  Can you copy/paste the OB09 settings here?  Do you have an account specified for the realized gain/loss in OB09 or just for unrealized gain/loss?  That could be one reason.
    Another thing that you may want to check is if the realized gain/loss account is created as a cost element.  If yes, you need a cost object (cost center, most likely) for this realized gain/loss account (in OKB9).

Maybe you are looking for