Error in transformation - Record (0) or segment (0001) unknown

Hi gurus,
I am using expert routine to update from DSO1 to DSO2. However, in the DTP monitor, it failed at the "update to ods" step, with the above error message.
Any input is appreciated. Thank you!
/BR
Ben

Hi Gaurav.
Thanks for the prompted reply.
Unfortunately the issue persists.
I tried to put a MOVE-CORRESPONDING ... TO at the last line of the form without success.
And the most interesting, if a could say that, is that DS 0ID_BR_NF_2 Nota Fiscal Line Items and DSO 0NF_DS02 have a much similar form and works perfectly.
Well, I'll try other things.
Espártaco De Paola

Similar Messages

  • Urgent: Error-Record 39,779, segment 0001 is not in the cross-record table

    Hi Gurus,
    This is an urgent production issue: I got the following error-
    I am updating data records from a DSO to Infocube in delta mode,
    1.Record 39,779, segment 0001 is not in the cross-record table
    2.Error in substep: End Routine
    I dont know problem is in the End Routine or somewhere else,
    The End routine is this:
    PROGRAM trans_routine.
          CLASS routine DEFINITION
    CLASS lcl_transform DEFINITION.
      PUBLIC SECTION.
    Attributs
        DATA:
          p_check_master_data_exist
                TYPE RSODSOCHECKONLY READ-ONLY,
    *-    Instance for getting request runtime attributs;
        Available information: Refer to methods of
        interface 'if_rsbk_request_admintab_view'
          p_r_request
                TYPE REF TO if_rsbk_request_admintab_view READ-ONLY.
      PRIVATE SECTION.
        TYPE-POOLS: rsd, rstr.
      Rule specific types
        TYPES:
          BEGIN OF tys_TG_1,
         InfoObject: ZVEHICLE Unique Vehicle ID.
            /BIC/ZVEHICLE           TYPE /BIC/OIZVEHICLE,
         InfoObject: ZLOCID Mine Site.
            /BIC/ZLOCID           TYPE /BIC/OIZLOCID,
         InfoObject: ZLOCSL Location Storage Location.
            /BIC/ZLOCSL           TYPE /BIC/OIZLOCSL,
         InfoObject: 0VENDOR Vendor.
            VENDOR           TYPE /BI0/OIVENDOR,
         InfoObject: ZNOMTK Nomination Number.
            /BIC/ZNOMTK           TYPE /BIC/OIZNOMTK,
         InfoObject: ZNOMIT Nomination Item.
            /BIC/ZNOMIT           TYPE /BIC/OIZNOMIT,
         InfoObject: ZNOMNR Nomination number.
            /BIC/ZNOMNR           TYPE /BIC/OIZNOMNR,
         InfoObject: ZVSTTIME Vehicle Starting Time Stamp.
            /BIC/ZVSTTIME           TYPE /BIC/OIZVSTTIME,
         InfoObject: ZVEDTIME Vehicle Ending Time Stamp.
            /BIC/ZVEDTIME           TYPE /BIC/OIZVEDTIME,
         InfoObject: ZNETWT Net Weight.
            /BIC/ZNETWT           TYPE /BIC/OIZNETWT,
         InfoObject: TU_GRS_WG Gross Wgt.
            /BIC/TU_GRS_WG           TYPE /BIC/OITU_GRS_WG,
         InfoObject: ZTU_TRE_W Tare Wgt.
            /BIC/ZTU_TRE_W           TYPE /BIC/OIZTU_TRE_W,
         InfoObject: ZCUSTWT Customer Weight.
            /BIC/ZCUSTWT           TYPE /BIC/OIZCUSTWT,
         InfoObject: ZCAR_NO Car Number.
            /BIC/ZCAR_NO           TYPE /BIC/OIZCAR_NO,
         InfoObject: ZINBND_ID Train Consist Inbound ID.
            /BIC/ZINBND_ID           TYPE /BIC/OIZINBND_ID,
         InfoObject: ZOTBND_ID Train Consist Return Load.
            /BIC/ZOTBND_ID           TYPE /BIC/OIZOTBND_ID,
         InfoObject: 0SOLD_TO Sold-to Party.
            SOLD_TO           TYPE /BI0/OISOLD_TO,
         InfoObject: 0CUSTOMER Customer Number.
            CUSTOMER           TYPE /BI0/OICUSTOMER,
         InfoObject: 0SHIP_TO Ship-To Party.
            SHIP_TO           TYPE /BI0/OISHIP_TO,
         InfoObject: ZVEHI_NO Vehicle Number.
            /BIC/ZVEHI_NO           TYPE /BIC/OIZVEHI_NO,
         InfoObject: ZCARSTDAT Car Start Date.
            /BIC/ZCARSTDAT           TYPE /BIC/OIZCARSTDAT,
         InfoObject: ZCAREDDAT Car End Date.
            /BIC/ZCAREDDAT           TYPE /BIC/OIZCAREDDAT,
         InfoObject: ZCARSTTIM Car Start Time.
            /BIC/ZCARSTTIM           TYPE /BIC/OIZCARSTTIM,
         InfoObject: ZCAREDTIM Car End Time.
            /BIC/ZCAREDTIM           TYPE /BIC/OIZCAREDTIM,
         InfoObject: 0COMPANY Company.
            COMPANY           TYPE /BI0/OICOMPANY,
         InfoObject: ZCONTRACT Contract.
            /BIC/ZCONTRACT           TYPE /BIC/OIZCONTRACT,
         InfoObject: 0PLANT Plant.
            PLANT           TYPE /BI0/OIPLANT,
         InfoObject: ZLOADTIME Total Vehicle Loading time.
            /BIC/ZLOADTIME           TYPE /BIC/OIZLOADTIME,
         InfoObject: ZSHIPDATE Shipping Date.
            /BIC/ZSHIPDATE           TYPE /BIC/OIZSHIPDATE,
         InfoObject: ZSHIPTIME Shipping Time.
            /BIC/ZSHIPTIME           TYPE /BIC/OIZSHIPTIME,
         InfoObject: ZMNEDDT Manifest End Date.
            /BIC/ZMNEDDT           TYPE /BIC/OIZMNEDDT,
         InfoObject: ZMNEDTM Manifest End Time.
            /BIC/ZMNEDTM           TYPE /BIC/OIZMNEDTM,
         InfoObject: ZLDEDDT Loaded End Date.
            /BIC/ZLDEDDT           TYPE /BIC/OIZLDEDDT,
         InfoObject: ZLDEDTM Loaded End Time.
            /BIC/ZLDEDTM           TYPE /BIC/OIZLDEDTM,
         InfoObject: ZMANVAR Manifest Variance.
            /BIC/ZMANVAR           TYPE /BIC/OIZMANVAR,
         InfoObject: ZTU_TYPE Trpr Unit Type.
            /BIC/ZTU_TYPE           TYPE /BIC/OIZTU_TYPE,
         InfoObject: ZACTULQTY Actual posted quantity.
            /BIC/ZACTULQTY           TYPE /BIC/OIZACTULQTY,
         InfoObject: ZVEDDT Vehicle End Date.
            /BIC/ZVEDDT           TYPE /BIC/OIZVEDDT,
         InfoObject: ZVEDTM Vehicle End Time.
            /BIC/ZVEDTM           TYPE /BIC/OIZVEDTM,
         InfoObject: ZVSTDT Vehicle Start Date.
            /BIC/ZVSTDT           TYPE /BIC/OIZVSTDT,
         InfoObject: ZVSTTM Vehicle Start Time.
            /BIC/ZVSTTM           TYPE /BIC/OIZVSTTM,
         InfoObject: ZTRPT_TYP Vehicle type.
            /BIC/ZTRPT_TYP           TYPE /BIC/OIZTRPT_TYP,
         InfoObject: 0CALMONTH Calendar Year/Month.
            CALMONTH           TYPE /BI0/OICALMONTH,
         InfoObject: 0CALYEAR Calendar Year.
            CALYEAR           TYPE /BI0/OICALYEAR,
         InfoObject: ZLOEDDT Quality Sent End Date.
            /BIC/ZLOEDDT           TYPE /BIC/OIZLOEDDT,
         InfoObject: ZLOEDTM Quality sent End Time.
            /BIC/ZLOEDTM           TYPE /BIC/OIZLOEDTM,
         InfoObject: ZATMDDT At Mine End Date.
            /BIC/ZATMDDT           TYPE /BIC/OIZATMDDT,
         InfoObject: ZATMDTM At Mine End Time.
            /BIC/ZATMDTM           TYPE /BIC/OIZATMDTM,
         InfoObject: ZDELAY Delay Duration.
            /BIC/ZDELAY           TYPE /BIC/OIZDELAY,
         InfoObject: ZSITYP Schedule type.
            /BIC/ZSITYP           TYPE /BIC/OIZSITYP,
         InfoObject: ZDOCIND Reference document indicator.
            /BIC/ZDOCIND           TYPE /BIC/OIZDOCIND,
         InfoObject: 0BASE_UOM Base Unit of Measure.
            BASE_UOM           TYPE /BI0/OIBASE_UOM,
         InfoObject: 0UNIT Unit of Measure.
            UNIT           TYPE /BI0/OIUNIT,
         InfoObject: ZACT_UOM Actual UOM.
            /BIC/ZACT_UOM           TYPE /BIC/OIZACT_UOM,
         Field: RECORD.
            RECORD           TYPE RSARECORD,
          END   OF tys_TG_1.
        TYPES:
          tyt_TG_1        TYPE STANDARD TABLE OF tys_TG_1
                            WITH NON-UNIQUE DEFAULT KEY.
    $$ begin of global - insert your declaration only below this line  -
    ... "insert your code here
    $$ end of global - insert your declaration only before this line   -
        METHODS
          end_routine
            IMPORTING
              request                  type rsrequest
              datapackid               type rsdatapid
            EXPORTING
              monitor                  type rstr_ty_t_monitors
            CHANGING
              RESULT_PACKAGE              type tyt_TG_1
            RAISING
              cx_rsrout_abort.
        METHODS
          inverse_end_routine
            IMPORTING
              i_th_fields_outbound         TYPE rstran_t_field_inv
              i_r_selset_outbound          TYPE REF TO cl_rsmds_set
              i_is_main_selection          TYPE rs_bool
              i_r_selset_outbound_complete TYPE REF TO cl_rsmds_set
              i_r_universe_inbound         TYPE REF TO cl_rsmds_universe
            CHANGING
              c_th_fields_inbound          TYPE rstran_t_field_inv
              c_r_selset_inbound           TYPE REF TO cl_rsmds_set
              c_exact                      TYPE rs_bool.
    ENDCLASS.                    "routine DEFINITION
    $$ begin of 2nd part global - insert your code only below this line  *
    ... "insert your code here
    $$ end of 2nd part global - insert your code only before this line   *
          CLASS routine IMPLEMENTATION
    CLASS lcl_transform IMPLEMENTATION.
          Method end_routine
          Calculation of result package via end routine
          Note: Update of target fields depends on rule assignment in
          transformation editor. Only fields that have a rule assigned,
          are updated to the data target.
      <-> result package
      METHOD end_routine.
    *=== Segments ===
        FIELD-SYMBOLS:
          <RESULT_FIELDS>    TYPE tys_TG_1.
        DATA:
          MONITOR_REC     TYPE rstmonitor.
    *$*$ begin of routine - insert your code only below this line        *-*
    Fill the following fields by reading Nomination and Vehicls DSO
    SOLD_TO, Customer
    data: L_TIMESTAMP1 TYPE timestamp,
          L_TIMESTAMP2 TYPE timestamp,
          L_TIMESTAMP3 type CCUPEAKA-TIMESTAMP,
          L_TIMESTAMP4 type CCUPEAKA-TIMESTAMP,
          L_TIMESTAMP5 type CCUPEAKA-TIMESTAMP,
          L_TIMESTAMP6 type CCUPEAKA-TIMESTAMP,
          L_TIMESTAMP7 TYPE timestamp,
          L_TIMESTAMP8 TYPE timestamp,
          L_TIMESTAMP9 type timestamp,
          L_TIMESTAMP10 type TIMESTAMP,
          L_CHAR1(14),
          L_CHAR2(14),
          l_duration type I,
          L_TS TYPE TZONREF-TZONE,
          l_flag,
          l_nomit TYPE /BIC/OIZNOMIT,
          l_error_flag.
    l_TS = 'CST'.
    Data: EXTRA_PACKAGE type tyt_TG_1.
    data: extra_fields type tys_TG_1.
    LOOP at RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
    clear l_error_flag.
    Get sold_to and customer from nomination table.
       Select single SOLD_TO /BIC/ZLOCSL /BIC/ZCONTRACT COMPANY
                     /BIC/ZMNEDDT /BIC/ZMNEDTM /BIC/ZLDEDDT
                     /BIC/ZLDEDTM SHIP_TO /BIC/ZACTULQTY
                     /BIC/ZLOEDDT /BIC/ZLOEDTM /BIC/ZDELAY
                     /BIC/ZATMDDT /BIC/ZATMDTM
                     /BIC/ZSITYP /BIC/ZDOCIND
               into (<RESULT_FIELDS>-SOLD_TO,
                     <RESULT_FIELDS>-/BIC/ZLOCSL,
                     <RESULT_FIELDS>-/BIC/ZCONTRACT,
                     <RESULT_FIELDS>-company,
                     <RESULT_FIELDS>-/BIC/ZMNEDDT,
                     <RESULT_FIELDS>-/BIC/ZMNEDTM,
                     <RESULT_FIELDS>-/BIC/ZLDEDDT,
                     <RESULT_FIELDS>-/BIC/ZLDEDTM,
                     <RESULT_FIELDS>-SHIP_TO,
                     <RESULT_FIELDS>-/BIC/ZACTULQTY,
                     <RESULT_FIELDS>-/BIC/ZLOEDDT,
                     <RESULT_FIELDS>-/BIC/ZLOEDTM,
                     <RESULT_FIELDS>-/BIC/ZDELAY,
                     <RESULT_FIELDS>-/BIC/ZATMDDT,
                     <RESULT_FIELDS>-/BIC/ZATMDTM,
                     <RESULT_FIELDS>-/BIC/ZSITYP,
                     <RESULT_FIELDS>-/BIC/ZDOCIND)
               from   /BIC/AZTSW_0000
               where /BIC/ZNOMTK = <RESULT_FIELDS>-/BIC/ZNOMTK
                AND  /BIC/ZNOMIT = <RESULT_FIELDS>-/BIC/ZNOMIT.
    Select Invalid Nominations
      if sy-subrc <> 0.
        l_error_flag = 'X'.
      endif.
       <RESULT_FIELDS>-customer = <RESULT_FIELDS>-SOLD_TO.
    Prepare time stamp for Time Differences
    Vehicle Starting Time Stamp
      clear : L_TIMESTAMP9,L_TIMESTAMP10.
      CONVERT DATE <RESULT_FIELDS>-/BIC/ZCARSTDAT TIME
                   <RESULT_FIELDS>-/BIC/ZCARSTTIM
               INTO TIME STAMP L_TIMESTAMP9 TIME ZONE l_TS.
    Vehicle Ending Time Stamp
      CONVERT DATE <RESULT_FIELDS>-/BIC/ZCAREDDAT TIME
                   <RESULT_FIELDS>-/BIC/ZCAREDTIM
               INTO TIME STAMP L_TIMESTAMP10 TIME ZONE l_TS.
      Clear : L_TIMESTAMP3, L_TIMESTAMP4,
             <RESULT_FIELDS>-/BIC/ZVEDTIME,
             <RESULT_FIELDS>-/BIC/ZVSTTIME.
      <RESULT_FIELDS>-/BIC/ZVEDTIME = L_TIMESTAMP10.
      <RESULT_FIELDS>-/BIC/ZVSTTIME = L_TIMESTAMP9.
      L_TIMESTAMP3 = L_TIMESTAMP10.
      L_TIMESTAMP4 = L_TIMESTAMP9.
    Caliculate the load time
    IF L_TIMESTAMP3 is initial.
       clear <RESULT_FIELDS>-/BIC/ZLOADTIME.
    elseif L_TIMESTAMP4 is initial.
       clear <RESULT_FIELDS>-/BIC/ZLOADTIME.
    else.
       CALL FUNCTION 'CCU_TIMESTAMP_DIFFERENCE'
         EXPORTING
           timestamp1       =  L_TIMESTAMP3
           timestamp2       =  L_TIMESTAMP4
         IMPORTING
           DIFFERENCE        = <RESULT_FIELDS>-/BIC/ZLOADTIME
    ENDIF.
    Caliculate the Manifest Variance
       clear : L_TIMESTAMP5,L_TIMESTAMP6,L_TIMESTAMP7,L_TIMESTAMP8.
       CONVERT DATE <RESULT_FIELDS>-/BIC/ZMNEDDT TIME
                    <RESULT_FIELDS>-/BIC/ZMNEDTM
               INTO TIME STAMP L_TIMESTAMP7 TIME ZONE l_TS.
       CONVERT DATE <RESULT_FIELDS>-/BIC/ZLDEDDT TIME
                    <RESULT_FIELDS>-/BIC/ZLDEDTM
               INTO TIME STAMP L_TIMESTAMP8 TIME ZONE l_TS.
      L_TIMESTAMP5 = L_TIMESTAMP7.
      L_TIMESTAMP6 = L_TIMESTAMP8.
    Caliculate the Maniefest Variance
    IF L_TIMESTAMP5 is initial.
       clear <RESULT_FIELDS>-/BIC/ZMANVAR.
    elseif L_TIMESTAMP6 is initial.
       clear <RESULT_FIELDS>-/BIC/ZMANVAR.
    else.
       CALL FUNCTION 'CCU_TIMESTAMP_DIFFERENCE'
         EXPORTING
           timestamp1       =  L_TIMESTAMP5
           timestamp2       =  L_TIMESTAMP6
         IMPORTING
           DIFFERENCE        = <RESULT_FIELDS>-/BIC/ZMANVAR
       IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
       ENDIF.
    ENDIF.
    Delete datapackets with blank nominations
    Delete datapackets with blank shipdate and Invalid Time Stamps
    *IF <RESULT_FIELDS>-/BIC/ZNOMTK IS INITIAL OR
      <RESULT_FIELDS>-/BIC/ZSHIPDATE IS INITIAL.
    l_error_flag = 'X'.
    *ENDIF.
    <RESULT_FIELDS>-/BIC/ZVEHI_NO = 1.
      <RESULT_FIELDS>-CALMONTH = <RESULT_FIELDS>-/BIC/ZSHIPDATE(6).
      <RESULT_FIELDS>-CALYEAR  = <RESULT_FIELDS>-/BIC/ZSHIPDATE(4).
    if l_error_flag = 'X'.
    Looks like Monitor Entries are not working in SP11.
    Hence the following is commented temporarily.
    CLEAR MONITOR_REC.
    MONITOR_REC-MSGID = '0M'.
    MONITOR_REC-MSGTY = 'S'.
    MONITOR_REC-MSGNO = '501'.
    MONITOR_REC-MSGV1 = <RESULT_FIELDS>-/BIC/ZNOMTK.
    MONITOR_REC-recno = sy-tabix.
    APPEND MONITOR_REC to MONITOR.
    RAISE exception type CX_RSROUT_ABORT.
    DELETE RESULT_PACKAGE index sy-tabix.
    CLEAR L_ERROR_FLAG.
    else.
       MODIFY RESULT_PACKAGE FROM <RESULT_FIELDS>.
    endif.
    clear l_nomit.
    l_nomit = <RESULT_FIELDS>-/BIC/ZNOMIT.
    extra_fields = <RESULT_FIELDS>.
    Actual Qty and Contract details
       Select /BIC/ZLOCSL /BIC/ZNOMIT /BIC/ZCONTRACT /BIC/ZACTULQTY
              /BIC/ZSITYP /BIC/ZDOCIND
              SOLD_TO SHIP_TO COMPANY
               into (extra_fields-/BIC/ZLOCSL,
                     extra_fields-/BIC/ZNOMIT,
                     extra_fields-/BIC/ZCONTRACT,
                     extra_fields-/BIC/ZACTULQTY,
                     extra_fields-/BIC/ZSITYP,
                     extra_fields-/BIC/ZDOCIND,
                     extra_fields-SOLD_TO,
                     extra_fields-SHIP_TO,
                     extra_fields-company)
               from  /BIC/AZTSW_0000
               where /BIC/ZNOMTK = <RESULT_FIELDS>-/BIC/ZNOMTK AND
                     /BIC/ZNOMIT <> l_NOMIT.
           INSERT extra_fields into table EXTRA_PACKAGE.
       endselect.
    ENDLOOP.
    Append lines of extra_package to RESULT_PACKAGE.
    *--  fill table "MONITOR" with values of structure "MONITOR_REC"
    *-   to make monitor entries
    ... "to cancel the update process
       raise exception type CX_RSROUT_ABORT.
    $$ end of routine - insert your code only before this line         -
      ENDMETHOD.                    "end_routine
          Method inverse_end_routine
          This subroutine needs to be implemented only for direct access
          (for better performance) and for the Report/Report Interface
          (drill through).
          The inverse routine should transform a projection and
          a selection for the target to a projection and a selection
          for the source, respectively.
          If the implementation remains empty all fields are filled and
          all values are selected.
      METHOD inverse_end_routine.
    $$ begin of inverse routine - insert your code only below this line-
    ... "insert your code here
    $$ end of inverse routine - insert your code only before this line -
      ENDMETHOD.                    "inverse_end_routine
    ENDCLASS.                    "routine IMPLEMENTATION

    Hi,
    Most probably you are appending some records in the data package or deleting from the data package through end routine or expert routine or start routine.
    I just solved it.....you will have to import the note 1180163.
    Then modify the code which you are using....and include the function module as mentioned in the note 1223532.
    You need to add the function module just before you append the records.This will work perfectly.
    Thanks
    Ajeet

  • Drop Down Error accessor u0091xfa.record.enum_list.nodes.lemgthu0092 is unknown

    Hi All,
    I am creating a Interactive form which has drop down values which are filled from web dynpro application.
    when tried to use the drop down from standard pallett no values were population.
    so i changed it to Enumerated Drop-down list.
    I am getting following error
    Error accessor ‘xfa.record.enum_list.nodes.lemgth’ is unknown
    please help.
    Regards,
    Umesh Chaudhari.

    Hi Harman Shahi,
    thanks for your reply.
    its a typing mistake that i did while typing the word length.
    i am again posting my complete Error message that i am getting as a pop message.
    Script failed (language is formcalc; context is
    xfa[0].form[0].item[0].#subform[0].Subform1[0].Grade[0])
    Script=…
    Error: accessor ‘xfa.record.enum_list.nodes.length’ is unknown.
    Script failed(language is formcalc; contex is
    Xfa[0].form[0].item[0].#subform[0].Subform1[0].Function[0])
    Script=…
    Error: accessor’xfa.record.enum_list.nodes.length’ is unknown.
    Your reply is most valuable to me.
    Regards,
    Umesh Chaudhari.
    Edited by: Umesh Chaudhari on Feb 1, 2008 10:42 AM

  • Error in Transformation Rules - Runtime Error

    Hi Experts,
    I am trying to load data from PSA to ODS using DTP. For about 101 records I get the following error:
    "Runtime error while executing rule -> see long text     RSTRAN     301"
    On further looking at the long text:
    Diagnosis
        An error occurred while executing a transformation rule:
        The exact error message is:
        Overflow converting from ''
        The error was triggered at the following point in the program:
        GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    System Response
        Processing the data record has been terminated.
    Procedure
          The following additional information is included in the higher-level
         node of the monitor:
         o   Transformation ID
         o   Data record number of the source record
         o   Number and name of the rule which produced the error
    Procedure for System Administration
    When looking at the detail:
    Error Location: Object Type    TRFN
    Error Location: Object Name    06BOK6W69BGQJR41BXXPE8EMPP00G6HF
    Error Location: Operation Type DIRECT
    Error Location: Operation Name
    Error Location: Operation ID   00177 0000
    Error Severity                 100
    Original Record: Segment       0001
    Original Record: Number        2
    Pls can anyone help in deducing and pointing this error to the exact spot in the transformation rule
    Thanks & Regards,
    Raj

    Hi Rajesh,
    Why don't you debug that program.
    You can go to his program : GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    How :
    1. tcode : se38
    2. type : GP4808B5A4QZRB6KTPVU57SZ98Z 3542
    3. Set highlight there,
    Then setup with debug mode, finnaly you execute the dtp.
    And watch carefully, in what part you get an error.
    Hopefully it can help you a lot.
    Regards,
    Niel
    thanks a lot for any points you choose to assign.

  • Error while transforming XML in mediator

    I have a mediator on my composite that routes from a webservice to an ADF-BC Service.
    I mapped the input from my webservice to the input of my ADF BC SDO. That works. When i look in the enterprise manager, the parameters are routed correctly.
    The service will return a record so i need a transformation from the SDO to the webservice. When i create this, and test the transformation i get a transformation failed error.
    When in JDeveloper, you can test the XSL and let JDev generate an XML to test the XSL. With that XML it works but when i look at the payload in the enterprise manager of my service, it looks completly different.
    This is the error i see in my EM: Error in transforming message part "parameters" using "xsl/getUserResponse_To_getUserResponse.xsl"
    here is an example of the XML generated by JDev that WORKS with the XSL:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <ns4:getUserResponse xmlns:ns4="http://myserver.com/">
       <return>
          <classificationCode>17</classificationCode>
          <companyAddress>14</companyAddress>
          <companyVAT>CompanyVat1</companyVAT>
          <createdBy>CreatedBy21</createdBy>
          <creation>2010-09-15T09:32:31.314</creation>
          <dn>Dn22</dn>
          <email>Email8</email>
          <firstLanguage>FirstLanguage9</firstLanguage>
          <firstName>Firstname3</firstName>
          <jobFunction>JobFunction18</jobFunction>
          <lastModification>2010-09-15T09:32:31.314</lastModification>
          <lastModifiedBy>LastModifiedBy20</lastModifiedBy>
          <lastName>Lastname4</lastName>
          <login>Login2</login>
          <mobile>Mobile12</mobile>
          <password>Password5</password>
          <personalWorkAddress>15</personalWorkAddress>
          <photo>MTY=</photo>
          <remarks>Remarks19</remarks>
          <secondLanguage>SecondLanguage10</secondLanguage>
          <status>13</status>
          <telephoneWork>TelephoneWork11</telephoneWork>
          <title>Title6</title>
          <userContact>7</userContact>
          <validFrom>2010-09-15T09:32:31.314</validFrom>
          <validTo>2010-09-15T09:32:31.314</validTo>
       </return>
    </ns4:getUserResponse>This is the payload i see in the enterprise manager that will not get transformed:
    <message>
    <parts>
    <part name="parameters">
    <ns2:getUserResponse>
    <ns2:result>
    <ns1:CompanyVat>1234</ns1:CompanyVat>
    <ns1:Login>Yannick</ns1:Login>
    <ns1:Firstname>Yannick</ns1:Firstname>
    <ns1:Lastname>Ongena</ns1:Lastname>
    <ns1:Password xsi:nil="true"/>
    <ns1:Title xsi:nil="true"/>
    <ns1:UserContact xsi:nil="true"/>
    <ns1:Email xsi:nil="true"/>
    <ns1:FirstLanguage xsi:nil="true"/>
    <ns1:SecondLanguage xsi:nil="true"/>
    <ns1:TelephoneWork xsi:nil="true"/>
    <ns1:Mobile xsi:nil="true"/>
    <ns1:Status xsi:nil="true"/>
    <ns1:CompanyAddress xsi:nil="true"/>
    <ns1:PersonalWorkAddress xsi:nil="true"/>
    <ns1:Classification xsi:nil="true"/>
    <ns1:JobFunction xsi:nil="true"/>
    <ns1:Remarks xsi:nil="true"/>
    <ns1:ValidFrom>2010-09-14T08:52:05.0Z</ns1:ValidFrom>
    <ns1:ValidTo>2010-09-14T08:52:05.0Z</ns1:ValidTo>
    <ns1:LastModification>2010-09-14T08:52:05.0Z</ns1:LastModification>
    <ns1:LastModifiedBy xsi:nil="true"/>
    <ns1:Creation>2010-09-14T08:52:05.0Z</ns1:Creation>
    <ns1:CreatedBy xsi:nil="true"/>
    <ns1:Dn xsi:nil="true"/>
    </ns2:result>
    </ns2:getUserResponse>
    </part>
    </parts>
    </message> As you can see... it looks different.
    However the mapping is based upon the WSDL's from my webservice and ADF-BC service. I can't see what i'm doing wrong.
    As last, here is the XSL:
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
      <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
      <mapSources>
        <source type="WSDL">
          <schema location="http://idirblockap008:7001/UserDataService/UserDataService?wsdl"/>
          <rootElement name="getUserResponse" namespace="/myServer/dataaccess/common/types/"/>
        </source>
      </mapSources>
      <mapTargets>
        <target type="WSDL">
          <schema location="../public_html/WEB-INF/wsdl/UserService.wsdl"/>
          <rootElement name="getUserResponse" namespace="http://myServer.com/"/>
        </target>
      </mapTargets>
      <!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.2.0(build 091103.1205.1216) AT [WED SEP 15 09:45:29 CEST 2010]. -->
    ?>
    <xsl:stylesheet version="1.0"
                    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
                    xmlns:xpath20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
                    xmlns:types="/myServer/dataaccess/common/types/"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xmlns:ns4="http://myServer.com/"
                    xmlns:tns="/myserver/dataaccess/common/"
                    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
                    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
                    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                    xmlns:ora="http://schemas.oracle.com/xpath/extension"
                    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
                    xmlns:errors="http://xmlns.oracle.com/adf/svc/errors/"
                    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
                    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
                    xmlns:ns1="commonj.sdo/xml"
                    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
                    xmlns:ns5="http://infrabel.businesscorner.com/types"
                    xmlns:ns2="http://xmlns.oracle.com/adf/svc/types/"
                    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
                    xmlns:med="http://schemas.oracle.com/mediator/xpath"
                    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                    xmlns:ns3="commonj.sdo/java"
                    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
                    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
                    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
                    xmlns:ns0="commonj.sdo"
                    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
                    exclude-result-prefixes="xsi xsl types tns soap wsdl errors ns1 ns2 ns3 ns0 xsd ns4 soap12 mime ns5 bpws xpath20 ora socket mhdr oraext dvm hwf med ids xdk xref ldap">
      <xsl:template match="/">
        <ns4:getUserResponse>
          <return>
            <classificationCode>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Classification"/>
            </classificationCode>
            <companyAddress>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:CompanyAddress"/>
            </companyAddress>
            <companyVAT>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:CompanyVat"/>
            </companyVAT>
            <createdBy>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:CreatedBy"/>
            </createdBy>
            <creation>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Creation"/>
            </creation>
            <dn>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Dn"/>
            </dn>
            <email>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Email"/>
            </email>
            <firstLanguage>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:FirstLanguage"/>
            </firstLanguage>
            <firstName>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Firstname"/>
            </firstName>
            <jobFunction>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:JobFunction"/>
            </jobFunction>
            <lastModification>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:LastModification"/>
            </lastModification>
            <lastModifiedBy>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:LastModifiedBy"/>
            </lastModifiedBy>
            <lastName>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Lastname"/>
            </lastName>
            <login>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Login"/>
            </login>
            <mobile>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Mobile"/>
            </mobile>
            <password>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Password"/>
            </password>
            <personalWorkAddress>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:PersonalWorkAddress"/>
            </personalWorkAddress>
            <photo>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Photo"/>
            </photo>
            <remarks>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Remarks"/>
            </remarks>
            <secondLanguage>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:SecondLanguage"/>
            </secondLanguage>
            <status>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Status"/>
            </status>
            <telephoneWork>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:TelephoneWork"/>
            </telephoneWork>
            <title>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:Title"/>
            </title>
            <userContact>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:UserContact"/>
            </userContact>
            <validFrom>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:ValidFrom"/>
            </validFrom>
            <validTo>
              <xsl:value-of select="/types:getUserResponse/types:result/tns:ValidTo"/>
            </validTo>
          </return>
        </ns4:getUserResponse>
      </xsl:template>
    </xsl:stylesheet>Am i doing something wrong in the mediator?
    Edited by: Yannick Ongena on Sep 15, 2010 9:52 AM

    Here is the output of the log:
    <Sep 15, 2010 2:07:52 PM CEST> <Error> <oracle.webservices.service> <OWS-04115> <An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid..>
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid.
            at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575)
            at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:381)
            at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:298)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
            at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
            at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
            at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid.
            at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:260)
            at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:985)
            at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:716)
            at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:569)
            ... 68 more
    Caused by: javax.xml.ws.soap.SOAPFaultException: oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid.
            at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:882)
            at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:715)
            at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:226)
            at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:97)
            at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:256)
            ... 71 moreAnd this is the operation part of the mediator:
    <operation name="getUser" deliveryPolicy="AllOrNothing" priority="4"
                 validateSchema="false">
        <switch>
          <case executionType="direct" name="UserDataService.getUser">
            <action>
              <transform>
                <part name="$out.parameters"
                      function="xslt(xsl/getUserSmall_To_getUserSmall.xsl, $in.parameters)"/>
              </transform>
              <invoke reference="UserDataService" operation="getUser">
                <onReply>
                  <transform>
                    <part name="$out.parameters"
                          function="xslt(xsl/getUserSmallResponse_To_getUserSmallResponse.xsl, $in.parameters)"/>
                  </transform>
                  <reply/>
                </onReply>
                <onFault type="ServiceException"/>
              </invoke>
            </action>
          </case>
        </switch>
      </operation>Edited by: Yannick Ongena on Sep 15, 2010 2:08 PM
    Edited by: Yannick Ongena on Sep 15, 2010 2:39 PM

  • When will ora-01555 error not be recorded in alert file?

    Application side repeatably gets ora-01555 error, but from alert log, there is no such error recorded. I recalled normally this error will be recorded, so under which condition we can't find this error in alert file?

    You would get ORA-0155 on a LOB if
    a) the LOB storage has been defined with PCTVERSION which is low (Oracle doesn't use Undo Segments but uses space in the LOB Segment itself and if this is inadequate for multiple updates, an ORA-0155 is raised, which is not really related to Undo Segments but the space in the LOB segment)
    b) the LOB storage has been defined with RETENTION which is low
    (Even if you increase undo_retention, you'd have to modify the LOB segment to PCTVERSION and then back to RETENTION for it to use the new undo_retention value).
    See MetaLink Notes 162345.1, 66431.1 and 563470.1
    Since the ORA-01555 error doesn't really relate to Undo segments, I believe that it would not be reported in the alert.log file -- but I haven't verified this.
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Getting error " Incomplete update due to error in single records"

    Dear All,
    We are loading data from DSO to Cube using full load and the load is failing giving an error message Collection in the source system ended and when checked the error message button it is showing as  " Incomplete update due to error in single records" . and also one more message "Messages (type E) for data records with record number 0
    Message no. RSM2714". Can any one tell us the reason for the failure of this load ? and how to resolve it ?.
    When we click on the help button of the error message it is displaying the message as below
    Incomplete update due to errors in single records --> Long text
    Message no. RSM2712
    Diagnosis
    In the update rules, one InfoSource record was used to create several records in the data target. These records must be handled in the same way to enable tracking into the PSA and the treatment of errors in individual records.
    In the previous case, one record was updated in this kind of group generated by update rules, whereas other records in the same group were rejected. If you updated the PSA data record again, the records that were already updated would be updated again. Duplicate records would appear in the data target and the data target would thus be inconsistent.
    System Response
    The data record with errors was highlighted in the PSA. However, no error request was generated.
    Procedure
    Delete the request in the data target and, after removing the error, update all records for the request to the data target again.
    Regards,
    JayaKrishna

    hi,
    Can you please check out the PSA error record and check this out in Source DSO as this load is for DSO -> Cube....
    Please correct it in PSA if this is not correct as per DSO ....prior correcting data in PSA pls delete the request from Cube.....then it will allow to correct or delete record in PSA and then further push data from PSA to Target Cube...
    If its correct as per DSO then run load in DSO sometime few records wrongly updated by  end user and they correct it by evening for Submission....So u will get the corrected record and then run manually further load to Cube...
    Hope this will help....
    Regards,
    Mahesh

  • A/R Invoice Draft failed with error - "no matching records met ......."

    Hi Guys,
    For the past one week I have been struggling to import draft A/R invoices into SAP Business One 9.0 PL 07. The database to which i'm doing this import continually returns the error "no matching records met ........." during simulation and also import stage.
    Interestingly, I noticed that import picks draft invoices with only one row detail leaving out the ones with more than one row details. I desperately need a solution to this issue as my client is scheduled to go live coming Monday.
    A sample of the structure of the data is below for your review and advice:
    ODRF
    DocEntry
    DocNum
    DocType
    DocDate
    DocDueDate
    CardCode
    CardName
    DocCurrency
    DocObjectCode
    DocEntry
    DocNum
    DocType
    DocDate
    DocDueDate
    CardCode
    CardName
    DocCur
    ObjType
    1
    1
    dDocument_Items
    20140122
    20140122
    GH-XX-001
    Customer A
    GHS
    13
    2
    2
    dDocument_Items
    20140122
    20140122
    GH-XX-002
    Customer B
    GHS
    13
    3
    3
    dDocument_Items
    20140122
    20140122
    GH-XX-003
    Customer C
    GHS
    13
    DRF1:
    ParentKey
    LineNum
    ItemCode
    Quantity
    Price
    WarehouseCode
    VatGroup
    DocNum
    LineNum
    ItemCode
    Quantity
    Price
    WhsCode
    VatGroup
    1
    0
    AB-0003
    2
    34.7018
    01
    VP
    1
    1
    LC-0002
    1
    27.0245
    01
    VP
    1
    2
    TW-0002
    1
    26.8469
    01
    VP
    1
    3
    DG-0002
    5
    28.161
    01
    VP
    1
    4
    FLI-075
    25
    7.83
    01
    VP
    2
    0
    AB-0003
    27
    31.5478
    01
    VP
    2
    1
    DG-0002
    8
    25.6
    01
    VP
    2
    2
    TW-0002
    5
    23.9652
    01
    VP
    2
    3
    KW-0002
    8
    27.7913
    01
    VP
    2
    4
    LC-0002
    10
    24.1249
    01
    VP
    2
    5
    FLI-075
    35
    7.8261
    01
    VP
    2
    6
    FLI-075
    2
    7.8261
    01
    VP
    3
    0
    AB-0003
    6
    31.5478
    01
    VP
    3
    1
    DG-0002
    40
    25.6
    01
    VP
    3
    2
    LC-0002
    20
    24.1249
    01
    VP
    3
    3
    KW-0002
    15
    27.7913
    01
    VP
    3
    4
    FLI-075
    5
    7.83
    01
    VP
    Please advice on how i can work at transferring this data into SAP Business One. Thanks for your help in advance.
    Regards
    John

    Hi,
    You may check this SAP note for service type invoice. Follow instruction and apply for above conditions.
    1135341 - How to import service invoices for foreign customers
    Thanks & Regards,
    Nagarajan

  • Error while adding record

    I am getting the following error while adding record into the table CM_RECIPE_ITEM :
    Error
    ORA-20505: Error in DML: p_rowid=626, p_alt_rowid=CRI_ID, p_rowid2=, p_alt_rowid2=. ORA-01410: invalid ROWID ORA-06512: at "COSTMAN.CM_RECIPE_ITEM_T3_AFTER", line 11 ORA-04088: error during execution of trigger 'COSTMAN.CM_RECIPE_ITEM_T3_AFTER'
    Error Unable to process row of table CM_RECIPE_ITEM.
    Kindly suggest if the problem is because of the Global temporary table or the triggers given below. Also suggest the solution.
    Thanking You,
    Yogesh
    CM_RECIPE_ITEM Table
    CRI_ID------CRI_CR_ID--------CRI_BOM_CODE--------CRI_CIFG_CODE---------CRI_CIRM_CODE--------CRI_SEQ--------CRI_QTY--------CRI_RM_COST
    625----------464-----------------PRODUCT3001----------FG003----------------------10---------------------------1-------------------60-----------------10
    626----------464-----------------PRODUCT3001----------FG003----------------------12---------------------------2-------------------40------------------10
    Global temporary table
    DROP TABLE COSTMAN.INTERIM CASCADE CONSTRAINTS;
    CREATE GLOBAL TEMPORARY TABLE COSTMAN.INTERIM
    ROW_ID ROWID
    ON COMMIT PRESERVE ROWS
    NOCACHE;
    CREATE OR REPLACE TRIGGER COSTMAN."CM_RECIPE_ITEM_T3"
    BEFORE INSERT OR UPDATE ON "CM_RECIPE_ITEM" FOR EACH ROW
    BEGIN
    INSERT INTO interim VALUES (:new.rowid);
    END;
    Trigger to update data on CM_RECIPE table
    CREATE OR REPLACE TRIGGER COSTMAN."CM_RECIPE_ITEM_T3_AFTER"
    AFTER INSERT OR UPDATE ON "CM_RECIPE_ITEM"
    BEGIN
    FOR ds IN (SELECT row_id FROM interim) LOOP
    UPDATE CM_RECIPE
    SET CR_RMC = (
    SELECT SUM(CRI_QTY * CRI_RM_COST)/SUM(CR_QUANTITY)
    FROM CM_RECIPE_ITEM
    WHERE CRI_BOM_CODE = CR_BOM_CODE
    AND rowid = ds.row_id
    UPDATE CM_RECIPE
    SET CR_TOTAL_COST = (
    SELECT CIFG_PACKING + CIFG_OVERHEAD +CIFG_OTHERS
    FROM CM_ITEM_FG
    WHERE CIFG_CODE = CR_CIFG_CODE
    AND rowid = ds.row_id
    ) + CR_RMC;
    UPDATE CM_RECIPE
    SET CR_GROSS_MARGIN =
    (SELECT CIFG_DP_RATE
    FROM CM_ITEM_FG
    WHERE CIFG_CODE = CR_CIFG_CODE
    AND rowid = ds.row_id) - CR_TOTAL_COST) / CR_TOTAL_COST;
    END LOOP;
    END;
    /

    yogeshyl wrote:
    Error
    ORA-20505: Error in DML: p_rowid=626, p_alt_rowid=CRI_ID, p_rowid2=, p_alt_rowid2=. ORA-01410: invalid ROWID ORA-06512: at "COSTMAN.CM_RECIPE_ITEM_T3_AFTER", line 11 ORA-04088: error during execution of trigger 'COSTMAN.CM_RECIPE_ITEM_T3_AFTER'
    Error Unable to process row of table CM_RECIPE_ITEM.
    Kindly suggest if the problem is because of the Global temporary table or the triggers given below. Also suggest the solution.The error message points to the trigger...

  • Error while adding records into master data

    Error :
    No matching records found (ODBC -2028)
    I have a mster table with One child table while generating code throgh getnextserialva() fn getting an error mentioned above
    i did code like this
    If pVal.ItemUID = "1" And pVal.FormMode = "3" Then
                            oDBs_Head.SetValue("Code", 0, getNextSeriesVal("VEDA_FINAL_MSTR"))
                        End If
    Function getNextSeriesVal(ByVal udoID As String) As Integer
            Try
                Dim seriesService As SAPbobsCOM.SeriesService
                Dim v_CompanyService As SAPbobsCOM.CompanyService
                Dim objectType As SAPbobsCOM.DocumentTypeParams
                Dim crmSeries As SAPbobsCOM.Series
                v_CompanyService = objMain.objCompany.GetCompanyService
                seriesService = v_CompanyService.GetBusinessService(SAPbobsCOM.ServiceTypes.SeriesService)
                objectType = seriesService.GetDataInterface(SAPbobsCOM.SeriesServiceDataInterfaces.ssdiDocumentTypeParams)
                objectType.Document = udoID
                crmSeries = seriesService.GetDefaultSeries(objectType) *Error is coming this line*
                Return crmSeries.NextNumber
            Catch ex As Exception
                objMain.objApplication.StatusBar.SetText(ex.Message)
            End Try
    in form data event
    Sub FormDataEvent(ByRef BusinessObjectInfo As SAPbouiCOM.BusinessObjectInfo, ByRef BubbleEvent As Boolean)
            Try
                Select Case BusinessObjectInfo.EventType
                    Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD
                        If BusinessObjectInfo.BeforeAction = True Then
                            oDBs_Head = oForm.DataSources.DBDataSources.Item("@VEDA_FINAL_MSTR")
                            oDBs_Head.SetValue("Code", 0, getNextSeriesVal("VEDA_FINAL_MSTR"))
                        End If
                    Case SAPbouiCOM.BoEventTypes.et_FORM_DATA_LOAD
                        If BusinessObjectInfo.ActionSuccess = True Then
                            oDBs_Head = oForm.DataSources.DBDataSources.Item("@VEDA_FINAL_MSTR")
                        End If
                End Select
            Catch ex As Exception
                objMain.objApplication.StatusBar.SetText(ex.Message)
            End Try
        End Sub
    What is the problem while generating auto code..???

    Hello..
    First i register through code...i did code like this
    Public Function CreateUDOFinalProd() As Boolean
            If Not Me.UDOExists("VEDA_FINAL_MSTR") Then
                Dim findAliasNDescription = New String(,) {{"Code", "#"}, {"U_ItemCode", "Finished Goods"}}
                Me.registerUDO("VEDA_FINAL_MSTR", "Finished Good Master", SAPbobsCOM.BoUDOObjType.boud_MasterData, findAliasNDescription, "VEDA_FINAL_MSTR", "VEDA_FINAL_DLN")
                findAliasNDescription = Nothing
            End If
        End Function
    all the sub fn inside the fn is working  fine . I called same place where u suggested.
    At last showing messages UDO Registered Sucussfully..!!!
    I did table registration for docment parent and child table for  that is working fine automatically Add,update ... happening
    But same process im doing for master also as mentioned in code but that is not working for master and child but working for
    document and child
    To understand problem i did registration through front end
    for this i deleted created udo object(through code)
    again i created through front end ...stilll the same error
    by
    Firos

  • Error while saving record "User:johndoe":     Error -14071

    I have added my augmented users from the AD server. When I select user and to apply a setting under Preferences I get this on attempting an "Apply", Error while saving record "User:johndoe":Error -14071. I'm authenticating to my LDAP not AD/All Domains.
    I have the server bound correctly to the AD server. Bound to AD, then promoted to OD master.
    Tried WGM from another Mac, same error.
    I recall my AD admin extending the ad schema last year for OS X 10.4.
    Thoughts? Thanks.

    Thanks David and Mabel, and all for the suggestions. I did go through "Leveraging Active..." prior to posting. I did try your method of canceling the authorization to WGM and viewing Directories. I would select a user from this method and try to apply something from MCX, but still got the -14070 error. Yes, I do have my client bound 1st OD, 2nd AD, with OD first on the search policy for the client.
    I though I had solved my issue by authenticating to WGM and LDAP. Then selecting Groups and the Members tab, I define an OD group and select that group. I can then click the "+" towards the right of the window. Then select my AD there which populates. I can add my AD groups or single users to my OD group. Then I'm able to apply MCX settings. But, no "blue" circle next to the group's silhouette. How is my method possibly incorrect?
    Also, at some point I unbound my client from AD and it seems the client is ok with getting AD info off my OD server. Example, my AD sharepoint mounts for PHD.
    But, I do have a pause of 20 secs. are more when logging into the client as well as accessing applications. Side effect of my method?

  • Error while saving record "john doe":     Error: -14140

    when changing a users preferences i try and save but it comes up with this error
    Error while saving record "john doe": Error: -14140
    and wont allow me to save
    any ideas?
    Many Thanks

    This thread might help you:
    http://www.afp548.com/forum/viewtopic.php?showtopic=16200
    This document is supposed to be very good as well:
    http://www.afp548.com/filemgmt_data/files/AD-OD-2.1.pdf

  • Can not Update icloud for win7 Sheep error during transformation. check that the indicated transmitter propagating path is valid. tryet in appel updater and tryet downloading from apple but the same

    Can not Update icloud for win7 Gets
    Sheep error during transformation. check that the indicated transmitter propagating path is valid.
    tryet in appel updater and tryet downloading from apple but the same

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • 'Error applying transforms' when trying to install Xcelsius 2008 fp3.2

    Hello
    I've just tried to install Xcelsius 2008 fp3.2 (I am currently on Xcelsius 2008 sp3). I did read the installation notes, and I wonder if the problem I had is related to the fact that I am not logged in as administrator (I'm on XP).
    The package extracted and as the installer ran I got the message:
    'Error applying transforms. Verify that the specified transform oaths are valid'.
    Thanks
    Phil

    Hi Phil,
    Can be...
    To resolve this error, copy all files from the disc to a local computer location (for example, the desktop). Install Crystal Xcelsius from the setup.exe file at that location.
    Hope this helps.
    Kind Regards,
    Marcio

  • Error in transformation in OSB

    Hi all,
    I am getting following error in transformation in OSB console:
    <con:reason>
        OSB Assign action failed updating variable "PaymentRequestsPCMToEBS": com.bea.wli.common.xquery.XQueryException: Error parsing XML: {err}XP0006: "element {http://schemas.xmlsoap.org/soap/envelope/}Body { {http://www.w3.org/2004/07/xpath-datatypes}untypedAny }": bad value for type element {http://xmlns.oracle.com/pcbpel/adapter/db/top/PollPaymentStatusDB}StgPcmInPaymentReqCollection { {http://www.w3.org/2001/XMLSchema}anyType }
        </con:reason>
    If I test the same in OEPE then there are no errors.
    Here is the payload:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <pay:InputParameters xmlns:pay="http://xmlns.oracle.com/pcbpel/adapter/db/sp/PaymentStatus">
        <!--Optional:-->
        <pay:P_INT_NAME>string</pay:P_INT_NAME>
        <!--Optional:-->
        <pay:P_SOURCE_MESSAGE_REF>string</pay:P_SOURCE_MESSAGE_REF>
        <!--Optional:-->
        <pay:P_SOURCE_ENTITY_REF>string</pay:P_SOURCE_ENTITY_REF>
        <!--Optional:-->
        <pay:P_HEADER_REC>
            <!--Optional:-->
            <pay:INTERFACE_SOURCE_CODE>string</pay:INTERFACE_SOURCE_CODE>
            <!--Optional:-->
            <pay:BATCH_ID>string</pay:BATCH_ID>
            <!--Optional:-->
            <pay:GROUP_CODE>string</pay:GROUP_CODE>
            <!--Optional:-->
            <pay:HEADER_DESCRIPTION>string</pay:HEADER_DESCRIPTION>
            <!--Optional:-->
            <pay:PR_NUMBER>string</pay:PR_NUMBER>
            <!--Optional:-->
            <pay:HEADER_ATTRIBUTE3>string</pay:HEADER_ATTRIBUTE3>
            <!--Optional:-->
            <pay:HEADER_ATTRIBUTE4>string</pay:HEADER_ATTRIBUTE4>
            <!--Optional:-->
            <pay:NOTE_TO_BUYER>string</pay:NOTE_TO_BUYER>
            <!--Optional:-->
            <pay:DELIVER_TO_REQUESTOR_NAME>string</pay:DELIVER_TO_REQUESTOR_NAME>
            <!--Optional:-->
            <pay:CURRENCY_CODE>string</pay:CURRENCY_CODE>
            <!--Optional:-->
            <pay:EXPENDITURE_ORGANIZATION_CODE>string</pay:EXPENDITURE_ORGANIZATION_CODE>
            <!--Optional:-->
            <pay:ORGANIZATION_CODE>string</pay:ORGANIZATION_CODE>
            <!--Optional:-->
            <pay:SUGGESTED_VENDOR_NAME>string</pay:SUGGESTED_VENDOR_NAME>
            <!--Optional:-->
            <pay:SUGGESTED_VENDOR_ID>1000.00</pay:SUGGESTED_VENDOR_ID>
            <!--Optional:-->
            <pay:SUGGESTED_VENDOR_SITE>string</pay:SUGGESTED_VENDOR_SITE>
            <!--Optional:-->
            <pay:SUGGESTED_VENDOR_SITE_ID>1000.00</pay:SUGGESTED_VENDOR_SITE_ID>
            <!--Optional:-->
            <pay:SUGGESTED_VENDOR_CONTACT>string</pay:SUGGESTED_VENDOR_CONTACT>
            <!--Optional:-->
            <pay:SUGGESTED_VENDOR_CONTACT_ID>1000.00</pay:SUGGESTED_VENDOR_CONTACT_ID>
            <!--Optional:-->
            <pay:SUGGESTED_VENDOR_PHONE>string</pay:SUGGESTED_VENDOR_PHONE>
            <!--Optional:-->
            <pay:ACCRUAL_ACCOUNT_ID>1000.00</pay:ACCRUAL_ACCOUNT_ID>
            <!--Optional:-->
            <pay:VARIANCE_ACCOUNT_ID>1000.00</pay:VARIANCE_ACCOUNT_ID>
            <!--Optional:-->
            <pay:BUDGET_ACCOUNT_ID>1000.00</pay:BUDGET_ACCOUNT_ID>
            <!--Optional:-->
            <pay:AMOUNT>1000.00</pay:AMOUNT>
            <!--Optional:-->
            <pay:CERTIFIED_DATE>2008-09-29T02:49:45</pay:CERTIFIED_DATE>
        </pay:P_HEADER_REC>
        <!--Optional:-->
        <pay:P_LINES_TAB>
            <!--Zero or more repetitions:-->
            <pay:P_LINES_TAB_ITEM>
                <!--Optional:-->
                <pay:QUANTITY>1000.00</pay:QUANTITY>
                <!--Optional:-->
                <pay:UNIT_OF_MEASURE>string</pay:UNIT_OF_MEASURE>
                <!--Optional:-->
                <pay:UNIT_PRICE>1000.00</pay:UNIT_PRICE>
                <!--Optional:-->
                <pay:ITEM_SEGMENT1>string</pay:ITEM_SEGMENT1>
                <!--Optional:-->
                <pay:CHARGE_ACCOUNT_SEGMENT1>string</pay:CHARGE_ACCOUNT_SEGMENT1>
                <!--Optional:-->
                <pay:CHARGE_ACCOUNT_SEGMENT2>string</pay:CHARGE_ACCOUNT_SEGMENT2>
                <!--Optional:-->
                <pay:CHARGE_ACCOUNT_SEGMENT3>string</pay:CHARGE_ACCOUNT_SEGMENT3>
                <!--Optional:-->
                <pay:CHARGE_ACCOUNT_SEGMENT4>string</pay:CHARGE_ACCOUNT_SEGMENT4>
                <!--Optional:-->
                <pay:CHARGE_ACCOUNT_SEGMENT5>string</pay:CHARGE_ACCOUNT_SEGMENT5>
                <!--Optional:-->
                <pay:CHARGE_ACCOUNT_SEGMENT6>string</pay:CHARGE_ACCOUNT_SEGMENT6>
                <!--Optional:-->
                <pay:CHARGE_ACCOUNT_SEGMENT7>string</pay:CHARGE_ACCOUNT_SEGMENT7>
                <!--Optional:-->
                <pay:PROJECT_NUM>string</pay:PROJECT_NUM>
                <!--Optional:-->
                <pay:TASK_NUM>string</pay:TASK_NUM>
                <!--Optional:-->
                <pay:EXPENDITURE_TYPE>string</pay:EXPENDITURE_TYPE>
                <!--Optional:-->
                <pay:DESTINATION_ORGANIZATION_CODE>str</pay:DESTINATION_ORGANIZATION_CODE>
                <!--Optional:-->
                <pay:LINE_ATTRIBUTE2>string</pay:LINE_ATTRIBUTE2>
                <!--Optional:-->
                <pay:NEED_BY_DATE>2014-09-19T00:18:33</pay:NEED_BY_DATE>
                <!--Optional:-->
                <pay:DISTRIBUTION_ATTRIBUTE5>string</pay:DISTRIBUTION_ATTRIBUTE5>
                <!--Optional:-->
                <pay:CURRENCY_UNIT_PRICE>1000.00</pay:CURRENCY_UNIT_PRICE>
                <!--Optional:-->
                <pay:CURRENCY_AMOUNT>1000.00</pay:CURRENCY_AMOUNT>
                <!--Optional:-->
                <pay:ITEM_DESCRIPTION>string</pay:ITEM_DESCRIPTION>
                <!--Optional:-->
                <pay:CATEGORY_SEGMENT1>string</pay:CATEGORY_SEGMENT1>
                <!--Optional:-->
                <pay:TAX_CODE>string</pay:TAX_CODE>
                <!--Optional:-->
                <pay:DISTRIBUTION_ATTRIBUTE9>string</pay:DISTRIBUTION_ATTRIBUTE9>
                <!--Optional:-->
                <pay:REMARKS>string</pay:REMARKS>
                <!--Optional:-->
                <pay:LIABLE_FOR_WHT>string</pay:LIABLE_FOR_WHT>
            </pay:P_LINES_TAB_ITEM>
        </pay:P_LINES_TAB>
    </pay:InputParameters>
    In transformation I am using following code for converting String to Decimal
                        for $vendorSiteId in $stgPcmInPaymentReqCollection1/ns1:StgPcmInPaymentReq[1]/ns1:vendorSiteId
                        return
                            <ns0:SUGGESTED_VENDOR_SITE_ID>{ xs:decimal(data($vendorSiteId)) }</ns0:SUGGESTED_VENDOR_SITE_ID>
    Please let me know if I am missing anything.

    your payload doesn't seem to be correct.
    if you're trying to parse a soap envelop i would expect a soap:Body tag
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soap:Body>
    <pay:InputParameters xmlns:pay="http://xmlns.oracle.com/pcbpel/adapter/db/sp/PaymentStatus">
    </soap:Body>

Maybe you are looking for

  • ALV list with only 1 field

    Hi guru's, I want to create an ALV list with only a char255 field. <all_table> contains data of sflight and is of type sflight(dynamically). I want to show the data as one line. CALL FUNCTION 'DDIF_FIELDINFO_GET'        EXPORTING             tabname 

  • Routine code

    Hello ALL ,        iam working in BW but i need to find out  the cause of error because of abap routine can please help me in understanding the code. iam having below routine between 2 ods(Tables) when i first load data from 1st ODS(Table) to second

  • Crystal Reports and ntext

    I am running Crystal Reports Enterprise v 11.0.0.1282 against a Business Objects Universe. When I try to include fields of type "Memo" (ntext in the database) I get an error, because the SQL generated by Crystal is "SELECT DISTINCT". I cannot find a

  • Windows CE 6.0 BSP for Virtual PC

    I am looking for a Windows CE 6.0 BSP for Virtual PC. Many sites in the internet, such as the following Windows Embedded Blog entry comment there is such a BSP available: http://blogs.msdn.com/b/mikehall/archive/2009/05/21/download-windows-embedded-c

  • Cant Change Colour?

    I have an image of a waterfall (layer attached below) that was scanned from a 4X5 transparancy, and is now a large 800mb TIFF file. I am trying to adjust the highlights on the water, the sky, and the midground all seperately. I need to make 3 layers