Urgent Help Req.: Exception=ORABPEL-11162 Error while reading native data

Hi All,
I am getting below error: Exception=ORABPEL-11162
Error while reading native data.
[Line=6, Col=7|http://forums.oracle.com/forums/] Not enough data available in the input, when trying to read data of length "22" for "element with name PurOrderNum" from the specified position, using "style" as "fixedLength" and "length" as "22".
Ensure that there is enough data from the specified position in the input.
Let me also give you the brief scenario of what I am trying to achieve.
INTERFACE FUNCTIONING:_
I have an interface which reads the records in a file in a chunk through ChunkRead adapter and and after one successful reading if chunk it calls the DB adapter to insert the records in the table.
Now these records are committed and next chunk is read and the process goes on till all the records are read.
After this the API is called which does the processing of these records.
Inserting records in the DB is a XA transaction which means if anything goes wrong while inserting the data, the records which are added earlier are rolled back.
ISSUE:_
Now the issue comes when I do the negative testing. Since my file is based on fixed length schema., I change the length of last record from 15 to 13. (say total are 10 records)
Now what happens is when chunkread tries to read the record of 15 length it gets only 13 characters and hence ignores the records.
But the chunkread reads all other 9 records correctly and sends this to DB adapter which now inserts them correctly in the DB.
But being a global transaction I want that if any record is missing from DB in comparison to those in file then whole transaction should roll back.
So I am unable to make this whole process as global transaction. This is because the ChunkRead adapter inspite of detecting the error doesn’t throw it back.
Moreover if this problem occurs in say next chunk then also I am unable to find out how to rollback the whole transaction. Because the first chunk was correct.
So basically two concerns are there:+
How to detect that chunkread adapter has missed one record?+
Secondly, If it’s detected then how should I rollback the transaction that caused earlier records to enter into database?+
Please let me know if anyone has faced this issue earlyer and how it got resolved. Any pointers regarding this would be of great help.
Also attached is the chunkread log for reference.
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-10-06T09:23:58.466-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>16</MSG_LEVEL>
<HOST_ID>usmlrh01.xyz.com</HOST_ID>
<HOST_NWADDR>192.168.245.39</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>57</THREAD_ID>
<USER_ID>orasoa</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>192.168.245.39:29832:1223297491683:44</UNIQUE_ID><SEQ>130</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: FileRejector::rejectTextualMessage errList=[oracle.tip.pc.services.translation.xlators.nxsd.ErrorList@a5213b]</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-10-06T09:23:58.466-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>16</MSG_LEVEL>
<HOST_ID>usmlrh01.xyz.com</HOST_ID>
<HOST_NWADDR>192.168.245.39</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>57</THREAD_ID>
<USER_ID>orasoa</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>192.168.245.39:29832:1223297491683:44</UNIQUE_ID><SEQ>130</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: FileRejector::rejectTextualMessage badCount=[1]</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2008-10-06T09:23:58.467-04:00</TSTZ_ORIGINATING>
<COMPONENT_ID>tip</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>usmlrh01.xyz.com</HOST_ID>
<HOST_NWADDR>192.168.245.39</HOST_NWADDR>
<MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
<THREAD_ID>57</THREAD_ID>
<USER_ID>orasoa</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>192.168.245.39:29832:1223297491683:44</UNIQUE_ID><SEQ>130</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>JCA: Rejecting message fileName=/rh01/s01/n01/Distributions/B2B/Gentran/In/855/Test.txt, startLine=4, startColumn=1, endLine=-1, endCol=-1, Exception=ORABPEL-11162
Error while reading native data.
[Line=6, Col=7] Not enough data available in the input, when trying to read data of length "22" for "element with name PurOrderNum" from the specified position, using "style" as "fixedLength" and "length" as "22".
Ensure that there is enough data from the specified position in the input.
}</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
PFB the version details :
SOA suite version : 10.1.3.3.1 and JDEV : 10.1.3.3
Edited by: SOA Team on Oct 6, 2008 10:48 PM

Just a thought, you could set the terminator for the last field as {eol} instead of length, this means that it should read the last field regardless of the length.
Depending on the logic of Db adapter the error could be traped due to incorrect length.
If the file starts each row with a constant(s), e.g. 01 then you can terminate the previous line on that, this is the better option but relys on the file format.
The other option is a little thing call compensation, ouch. Basically this allows you to back out commited rows but you have to provide all the logic, it is generally something people avoid because of the complexity.
cheers
James

Similar Messages

  • Error while reading access data (URL, user,password) for the Adapter Engine

    Hi,
    Any idea on below message? I am doing file to file scenario and got the below tarce from sxmb_moni.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.pi1.piserver1</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>no_messaging_url_found: Unable to find URL for Adapter Engine af.pi1.piserver1</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.pi1.piserver1</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks
    Balaji

    It looks like the adapter engine is not able to register him self on SLD, you have to check in the SLD the "Exchange Infrastructure" domain, you have to verify restarting the J2EE the adapter engine update the entries in the SLD related to the specific XI Domain.
    Launch Visual Administrator >> Server >> Services >> SAP AF CPA Cache
    Enter the appropriate values for:
    SLD.selfregistration.hostname (Use fully qualified hostname)
    SLD.selfregistration.httpPort
    SLD.selfregistration.httpsPort
    Sandro

  • Error while reading access data (URL, user, password) for the Adapter Engin

    Hi all,
    I encountered a red flag in sxmb_moni and when I click on the flag, I get the following message:
    Error while reading access data (URL, user, password) for the Adapter Engine
    Is there any way I can resolve this? thanks all
    Regards,
    IX

    Possible reason is Adapter engine is not registered on SLD. Check in SLD.
    You can also try restarting J2EE adapter engine and update SLD entries specific to XI domain.
    Lauch Visual admin go to Server > services > SAP AF CPA Cache
    Enter the appropriate values for:
    SLD.selfregistration.hostname (Use fully qualified hostname)
    SLD.selfregistration.httpPort
    SLD.selfregistration.httpsPort
    Finally, if all the above seem to be correct check the userID / pwd for user ID : PI*.

  • Error while reading Infoset data

    Hi,
    I have installed the BI 7.0 content for E-recruiting. I have activated
    the infosets 0ERC_IS01, 0ERC_IS02, 0ERC_IS03, 0ERC_IS04. All the
    corresponding underlying objects are active and loaded. When I try to
    display the data for IS02, 03, 04, I get the below error.::
    1. SQL0104N An unexpected token """" was found
    following ""T00003"."OBJVERS" =". Expected tokens may
    include: "<space>". SQLSTATE=42601
    2. Error when generating the SQL statement
    3. Error reading the data of InfoProvider 0ERC_IS02.
    I am able to display the data for IS01 without any problem. I am on SAPKW70017.
    Kindly suggest how to proceed further.
    Regards,
    Adarsha A

    Hi,
    Yes I have check all the underlaying objects are active and loaded.
    IS01 is made of ODS - 0ERC_DS01 and Info object 0REQUI. ODS is time independent and Info object is time dependent. This combination is working very fine.
    Now IS02 is made of info objects - 0CDCY, 0CANDIDATE, 0REQUI. All these objects are time dependent. Will time dependent objects require some other setting? how these are BIcontent objects.
    Another observation is that if I create infosets combining ODS - 0ERC_DS01and any one info object of IS02, it is working fine. But ODS with more than one info object is not working.
    Kindly suggest.
    Regards,
    Adarsha A

  • I/O error while reading domain directory

    I have created a server under admin server. Actually i was trying to integrate weblogic server with obiee.. as i am very new to weblogic i cudn't find the reason for the error.
    while i am starting the server which i created i am getting this error
    error details i will give below.. Thanks for any help and i will highly appreciate it.
    Description: Starting OBIEE server ...
    Status: FAILED
    Begin Time: 5/12/11 10:14:36 AM IST
    End Time: 5/12/11 10:14:37 AM IST
    Exception: I/O error while reading domain directory
    Thank you.

    While starting node manager iam getting this error
    SEVERE: Fatal error in node manager server
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
    at java.net.ServerSocket.bind(ServerSocket.java:328)
    at javax.net.ssl.impl.SSLServerSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.<init>(ServerSocket.java:194)
    at java.net.ServerSocket.<init>(ServerSocket.java:150)
    at javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:84)
    at javax.net.ssl.impl.SSLServerSocketImpl.<init>(Unknown Source)
    at javax.net.ssl.impl.SSLServerSocketFactoryImpl.createServerSocket(Unkn
    own Source)
    at weblogic.nodemanager.server.SSLListener.init(SSLListener.java:76)
    at weblogic.nodemanager.server.NMServer.start(NMServer.java:206)
    at weblogic.nodemanager.server.NMServer.main(NMServer.java:377)

  • Message failing in SXMB_moni----Error while reading from the secure store

    Hi,
    The scenario is as below
    A file is picked up from a folder and processed to enrich it.This enriched file is then written back in a different folder.
    The message is failing in sxmb_moni while trying to write the file in the folder.
    The PI system is a system copy of another system and few of the configuration objects are transported through a tpz file to this PI system.The file receiver channel used to write this file is also transported through this tpz file.
    Below is the error seen in moni.:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Call Adapter --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIServer</SAP:Category><SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>Error while reading from the secure store: ERROR_U: No service user password found for Adapter Engine</SAP:AdditionalText><SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine
    </SAP:Stack><SAP:Retry>M</SAP:Retry></SAP:Error>
    Below is Trace log:
    <Trace level="1" type="B" name="PLSRV_CALL_ADAPTER"></Trace><!-- ************************************ -->
    <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV"></Trace><!-- ************************************ -->
    <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL"></Trace><!-- ************************************ -->
    <Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">
    <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP"></Trace><!-- ************************************ -->
    <Trace level="1" type="T">error reading secstore:Error while reading from the secure store: ERROR_UNKNOWN: System-dependent data for entry  changed:  / (SECSTORE,031) </Trace>
    <Trace level="1" type="System_Error">Error while reading access data (URL, user, password) for the Adapter Engine  </Trace>
    </Trace>
    </Trace>
    <Trace level="1" type="System_Error">Error exception return from pipeline processing! </Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST"></Trace><!-- ************************************ -->
    Is this because  PI system is a system copy of another system ?
    Regards,
    Sneha

    Error while reading access data (URL, user, password) for the Adapter Engine
    Check out Michal's reply:
    Re: URL for Central Adapter Engine
    As you said there was a system copy it may be the case that some things were not configured properly

  • MSS 60.1.19 - Salary Development iView - Internal error wh reading the data

    Hi guys!
    I face the problem of an iView Salary Development. I get error: Internal error while reading the data. I found a thread with the same problem, but there is no solution. Did anyone of you solve this problem?
    Thanx for answers!
    Peter

    HI Peter
    I have the ivew salary development wroking more or less.  There are some problems with totals from wage types including IT14 & 15 which I have reported and waitnig for response frmo SAP..... but at least IT0008 is working ok on it.
    I didn't get this message so let me know how to help...!  Ha<ve you done the config for the iview yet?
    helen

  • ORABPEL-11811 - Error while calling PL/Sql API Into BPEL Process

    Hi,
    I have created a BPEL Process for creating a Order in Oracle using the synchronous process.
    I have followed the below steps.
    1) Created a Stored procedure using the Order Creation API's by passing Recard Type IN parameters.
    2) Created Synchronous BPEL Process and called the above Procedure using APPS Adapter.
    3) Created a xsd file and mapped the input and output parameter values using Transform Activity.
    After the above steps, when I try to run the BPEL process I am getting the below error:
    An error occurred while preparing and executing the APPS.PROC_PROC_NAME API. Cause: java.sql.SQLException: ORA-06531: Reference to uninitialized collection
    ORA-06512: at "APPS.PROC_PROC_NAME ", line 149
    ORA-06512: at line 1
    [Caused by: ORA-06531: Reference to uninitialized collection
    ORA-06512: at "APPS.PROC_NAME", line 149
    ORA-06512: at line 1
    ; nested exception is:
    ORABPEL-11811
    Error while trying to prepare and execute an API.
    An error occurred while preparing and executing the APPS.PROC_PROC_NAME API. Cause: java.sql.SQLException: ORA-06531: Reference to uninitialized collection.
    Can anybody help in resolving the error?
    Thanks,
    Mastanvali.

    Here is the API Code..
    CREATE OR REPLACE PROCEDURE XXMAST_PRC(
    arg_in_p_header_rec           IN HeaderObject,
    arg_in_p_line_tbl          IN arrayLines,
    arg_out_x_return_status          OUT VARCHAR2,
    arg_out_order_number          OUT NUMBER,
    arg_out_header_id          OUT NUMBER,
    arg_out_flow_status_code     OUT VARCHAR2
    ) AS
         p_api_version_number          NUMBER;
         x_return_status      VARCHAR2(2);
         x_msg_count      NUMBER;
         x_msg_data      VARCHAR2(2000);
         v_msg_data               VARCHAR2(8000);
         v_msg_index_out               NUMBER(10);
         p_header_rec      OE_ORDER_PUB.HEADER_REC_TYPE;
         p_old_header_rec      OE_ORDER_PUB.HEADER_REC_TYPE;
         p_header_val_rec      OE_ORDER_PUB.Header_Val_Rec_Type;
         p_old_header_val_rec      OE_ORDER_PUB.Header_Val_Rec_Type;
         p_Header_Adj_tbl      OE_ORDER_PUB.Header_Adj_Tbl_Type;
         p_old_Header_Adj_tbl      OE_ORDER_PUB.Header_Adj_Tbl_Type;
         p_Header_Adj_val_tbl      OE_ORDER_PUB.Header_Adj_Val_Tbl_Type;
         p_old_Header_Adj_val_tbl      OE_ORDER_PUB.Header_Adj_Val_Tbl_Type;
         p_Header_price_Att_tbl      OE_ORDER_PUB.Header_Price_Att_Tbl_Type;
         p_old_Header_Price_Att_tbl      OE_ORDER_PUB.Header_Price_Att_Tbl_Type;
         p_Header_Adj_Att_tbl      OE_ORDER_PUB.Header_Adj_Att_Tbl_Type;
         p_old_Header_Adj_Att_tbl      OE_ORDER_PUB.Header_Adj_Att_Tbl_Type;
         p_Header_Adj_Assoc_tbl      OE_ORDER_PUB.Header_Adj_Assoc_Tbl_Type;
         p_old_Header_Adj_Assoc_tbl      OE_ORDER_PUB.Header_Adj_Assoc_Tbl_Type;
         p_Header_Scredit_tbl      OE_ORDER_PUB.Header_Scredit_Tbl_Type;
         p_old_Header_Scredit_tbl      OE_ORDER_PUB.Header_Scredit_Tbl_Type;
         p_Header_Scredit_val_tbl      OE_ORDER_PUB.Header_Scredit_Val_Tbl_Type;
         p_old_Header_Scredit_val_tbl      OE_ORDER_PUB.Header_Scredit_Val_Tbl_Type;
         p_line_tbl      OE_ORDER_PUB.Line_Tbl_Type;
         p_old_line_tbl      OE_ORDER_PUB.Line_Tbl_Type;
         p_line_val_tbl      OE_ORDER_PUB.Line_Val_Tbl_Type;
         p_old_line_val_tbl      OE_ORDER_PUB.Line_Val_Tbl_Type;
         p_Line_Adj_tbl      OE_ORDER_PUB.Line_Adj_Tbl_Type;
         p_old_Line_Adj_tbl      OE_ORDER_PUB.Line_Adj_Tbl_Type;
         p_Line_Adj_val_tbl      OE_ORDER_PUB.Line_Adj_Val_Tbl_Type;
         p_old_Line_Adj_val_tbl      OE_ORDER_PUB.Line_Adj_Val_Tbl_Type;
         p_Line_price_Att_tbl      OE_ORDER_PUB.Line_Price_Att_Tbl_Type;
         p_old_Line_Price_Att_tbl      OE_ORDER_PUB.Line_Price_Att_Tbl_Type;
         p_Line_Adj_Att_tbl      OE_ORDER_PUB.Line_Adj_Att_Tbl_Type;
         p_old_Line_Adj_Att_tbl      OE_ORDER_PUB.Line_Adj_Att_Tbl_Type;
         p_Line_Adj_Assoc_tbl      OE_ORDER_PUB.Line_Adj_Assoc_Tbl_Type;
         p_old_Line_Adj_Assoc_tbl      OE_ORDER_PUB.Line_Adj_Assoc_Tbl_Type;
         p_Line_Scredit_tbl      OE_ORDER_PUB.Line_Scredit_Tbl_Type;
         p_old_Line_Scredit_tbl      OE_ORDER_PUB.Line_Scredit_Tbl_Type;
         p_Line_Scredit_val_tbl      OE_ORDER_PUB.Line_Scredit_Val_Tbl_Type;
         p_old_Line_Scredit_val_tbl      OE_ORDER_PUB.Line_Scredit_Val_Tbl_Type;
         p_Lot_Serial_tbl      OE_ORDER_PUB.Lot_Serial_Tbl_Type;
         p_old_Lot_Serial_tbl      OE_ORDER_PUB.Lot_Serial_Tbl_Type;
         p_Lot_Serial_val_tbl      OE_ORDER_PUB.Lot_Serial_Val_Tbl_Type;
         p_old_Lot_Serial_val_tbl      OE_ORDER_PUB.Lot_Serial_Val_Tbl_Type;
         p_action_request_tbl      OE_ORDER_PUB.Request_Tbl_Type;
         x_header_rec OE_ORDER_PUB.Header_Rec_Type;
         x_header_val_rec OE_ORDER_PUB.Header_Val_Rec_Type;
         x_Header_Adj_tbl OE_ORDER_PUB.Header_Adj_Tbl_Type;
         x_Header_Adj_val_tbl OE_ORDER_PUB.Header_Adj_Val_Tbl_Type;
         x_Header_price_Att_tbl OE_ORDER_PUB.Header_Price_Att_Tbl_Type;
         x_Header_Adj_Att_tbl OE_ORDER_PUB.Header_Adj_Att_Tbl_Type;
         x_Header_Adj_Assoc_tbl OE_ORDER_PUB.Header_Adj_Assoc_Tbl_Type;
         x_Header_Scredit_tbl OE_ORDER_PUB.Header_Scredit_Tbl_Type;
         x_Header_Scredit_val_tbl OE_ORDER_PUB.Header_Scredit_Val_Tbl_Type;
         x_line_tbl OE_ORDER_PUB.Line_Tbl_Type;
         x_line_val_tbl OE_ORDER_PUB.Line_Val_Tbl_Type;
         x_Line_Adj_tbl OE_ORDER_PUB.Line_Adj_Tbl_Type;
         x_Line_Adj_val_tbl OE_ORDER_PUB.Line_Adj_Val_Tbl_Type;
         x_Line_price_Att_tbl OE_ORDER_PUB.Line_Price_Att_Tbl_Type;
         x_Line_Adj_Att_tbl OE_ORDER_PUB.Line_Adj_Att_Tbl_Type;
         x_Line_Adj_Assoc_tbl OE_ORDER_PUB.Line_Adj_Assoc_Tbl_Type;
         x_Line_Scredit_tbl OE_ORDER_PUB.Line_Scredit_Tbl_Type;
         x_Line_Scredit_val_tbl OE_ORDER_PUB.Line_Scredit_Val_Tbl_Type;
         x_Lot_Serial_tbl OE_ORDER_PUB.Lot_Serial_Tbl_Type;
         x_Lot_Serial_val_tbl OE_ORDER_PUB.Lot_Serial_Val_Tbl_Type;
         x_action_request_tbl     OE_ORDER_PUB.Request_Tbl_Type;
         icount                    NUMBER :=0;
    BEGIN
         fnd_global.apps_initialize(1318,21623,660);
         fnd_client_info.set_org_context(204);
         p_header_rec:= OE_ORDER_PUB.G_MISS_HEADER_REC;
         SELECT OE_ORDER_HEADERS_S.NEXTVAL INTO p_header_rec.header_id FROM DUAL;
         dbms_output.put_line('Header ID          = '|| p_header_rec.header_id);
         p_api_version_number := 1.0;
    ------------------------------------------header code-----------------------------------------------------------------------
              p_header_rec.order_type_id          := arg_in_p_header_rec.order_type_id;
              p_header_rec.sold_to_org_id          := arg_in_p_header_rec.sold_to_org_id;
              p_header_rec.ship_to_org_id          := arg_in_p_header_rec.ship_to_org_id;
              p_header_rec.transactional_curr_code:= arg_in_p_header_rec.transactional_curr_code;
              p_header_rec.order_source_id          := arg_in_p_header_rec.order_source_id;
              p_header_rec.org_id               := arg_in_p_header_rec.org_id;
              p_header_rec.ship_from_org_id          := arg_in_p_header_rec.ship_from_org_id;
              p_header_rec.payment_term_id           := arg_in_p_header_rec.payment_term_id;
              p_header_rec.price_list_id          := 1000;
              p_header_rec.freight_terms_code          := 'Due';     -- Prepay and Add
              p_header_rec.operation               := OE_GLOBALS.G_OPR_CREATE;
              p_header_rec.pricing_date          := SYSDATE;
              p_header_rec.creation_date          := SYSDATE;
              p_header_rec.booked_flag          := 'N';
              p_header_rec.created_by               := 1318;
              p_header_rec.last_updated_by          := 1318;
              p_header_rec.last_update_date          := SYSDATE;
              p_header_rec.invoice_to_org_id          := 1424;
              p_header_rec.version_number          := 1;
              p_header_rec.open_flag               := 'Y';
              p_header_rec.ordered_date          := SYSDATE;
              p_header_rec.flow_status_code          := 'ENTERED';
              p_header_rec.tax_exempt_flag          := 'S';
              p_header_rec.salesrep_id          := -3;
    --------------------------------------------LINES CODE------------------------------------------------------------
         icount := 0;
         for icount in 1 .. arg_in_p_line_tbl.count loop
              p_line_tbl(icount) := Oe_Order_Pub.G_MISS_LINE_REC;
              SELECT OE_ORDER_LINES_S.NEXTVAL INTO p_line_tbl(icount).line_id FROM DUAL;
              dbms_output.put_line('Line ID               = '|| p_line_tbl(icount).line_id);
         p_line_tbl(icount).inventory_item_id          := arg_in_p_line_tbl(icount).inventory_item_id;
         p_line_tbl(icount).ordered_quantity          := arg_in_p_line_tbl(icount).ordered_quantity;
         p_line_tbl(icount).pricing_quantity          := arg_in_p_line_tbl(icount).pricing_quantity;
         p_line_tbl(icount).line_type_id               := arg_in_p_line_tbl(icount).line_type_id;
         p_line_tbl(icount).line_number          := icount;
         p_line_tbl(icount).shipment_number          := arg_in_p_line_tbl(icount).shipment_number;
         p_line_tbl(icount).ship_to_org_id          := arg_in_p_line_tbl(icount).ship_to_org_id;
         p_line_tbl(icount).sold_to_org_id          := arg_in_p_line_tbl(icount).sold_to_org_id;
         p_line_tbl(icount).salesrep_id          := arg_in_p_line_tbl(icount).salesrep_id;
         p_line_tbl(icount).payment_term_id          := arg_in_p_line_tbl(icount).payment_term_id;
              p_line_tbl(icount).price_list_id          := 1000;
              p_line_tbl(icount).operation               := OE_GLOBALS.G_OPR_CREATE;
              p_line_tbl(icount).open_flag               := 'Y';
              p_line_tbl(icount).booked_flag               := 'N';
              p_line_tbl(icount).header_id               := p_header_rec.header_id;
              p_line_tbl(icount).line_category_code          := 'ORDER';
              p_line_tbl(icount).order_quantity_uom          :='Ea';
              p_line_tbl(icount).request_date               := SYSDATE;
              p_line_tbl(icount).schedule_ship_date          := SYSDATE;
              p_line_tbl(icount).ship_from_org_id          := 204;
              p_line_tbl(icount).flow_status_code          := 'ENTERED';
              p_line_tbl(icount).ship_to_customer_id          := 1290;
              p_line_tbl(icount).invoice_to_org_id          := 1424;
              p_line_tbl(icount).tax_exempt_flag          := 'S';
              p_line_tbl(icount).tax_date               := '02-Mar-2005';
              p_line_tbl(icount).tax_code               := 'Location';
              SELECT OE_PRICE_ADJUSTMENTS_S.NEXTVAL INTO p_Line_Adj_tbl(icount).price_adjustment_id FROM DUAL;
              dbms_output.put_line('Price Adjustment ID     = '|| p_Line_Adj_tbl(icount).price_adjustment_id);
              p_Line_Adj_tbl(icount).created_by          := 1318;
              p_Line_Adj_tbl(icount).header_id          := p_header_rec.header_id;
              p_Line_Adj_tbl(icount).line_id               := p_line_tbl(icount).line_id;
              p_Line_Adj_tbl(icount).percent               := 10;
              p_Line_Adj_tbl(icount).operation          := OE_GLOBALS.G_OPR_CREATE;
              p_Line_Adj_tbl(icount).list_header_id          := 8988;
              p_Line_Adj_tbl(icount).list_line_id          := 16596;
              p_Line_Adj_tbl(icount).list_line_type_code     := 'DIS';
              p_Line_Adj_tbl(icount).arithmetic_operator     := 'AMT';
              p_Line_Adj_tbl(icount).updated_flag          := 'Y';
              p_Line_Adj_tbl(icount).update_allowed          := 'Y';
              p_Line_Adj_tbl(icount).applied_flag          := 'Y';
              p_Line_Adj_tbl(icount).automatic_flag          := 'N';
              p_Line_Adj_tbl(icount).OPERAND               := 10;
         end loop;
         oe_msg_pub.initialize;
         oe_order_pub.process_order
              ( p_api_version_number =>      p_api_version_number
              , p_init_msg_list =>      FND_API.G_FALSE
              , p_return_values =>      FND_API.G_FALSE
              , p_action_commit =>      FND_API.G_FALSE
              , x_return_status =>      x_return_status
              , x_msg_count =>      x_msg_count
              , x_msg_data =>      x_msg_data
              , p_header_rec =>     p_header_rec
              , p_old_header_rec =>     p_old_header_rec
              , p_header_val_rec =>     p_header_val_rec
              , p_old_header_val_rec =>     p_old_header_val_rec
              , p_Header_Adj_tbl =>     p_Header_Adj_tbl
              , p_old_Header_Adj_tbl =>     p_old_Header_Adj_tbl
              , p_Header_Adj_val_tbl =>     p_Header_Adj_val_tbl
              , p_old_Header_Adj_val_tbl =>     p_old_Header_Adj_val_tbl
              , p_Header_price_Att_tbl =>     p_Header_price_Att_tbl
              , p_old_Header_Price_Att_tbl =>     p_old_Header_Price_Att_tbl
              , p_Header_Adj_Att_tbl =>     p_Header_Adj_Att_tbl
              , p_old_Header_Adj_Att_tbl =>      p_old_Header_Adj_Att_tbl
              , p_Header_Adj_Assoc_tbl =>     p_Header_Adj_Assoc_tbl
              , p_old_Header_Adj_Assoc_tbl =>      p_old_Header_Adj_Assoc_tbl
              , p_Header_Scredit_tbl =>     p_Header_Scredit_tbl
              , p_old_Header_Scredit_tbl =>     p_old_Header_Scredit_tbl
              , p_Header_Scredit_val_tbl =>     p_Header_Scredit_val_tbl
              , p_old_Header_Scredit_val_tbl =>     p_old_Header_Scredit_val_tbl
              , p_line_tbl =>     p_line_tbl
              , p_old_line_tbl =>     p_old_line_tbl
              , p_line_val_tbl =>     p_line_val_tbl
              , p_old_line_val_tbl =>     p_old_line_val_tbl
              , p_Line_Adj_tbl =>     p_Line_Adj_tbl
              , p_old_Line_Adj_tbl =>     p_old_Line_Adj_tbl
              , p_Line_Adj_val_tbl =>     p_Line_Adj_val_tbl
              , p_old_Line_Adj_val_tbl =>     p_old_Line_Adj_val_tbl
              , p_Line_price_Att_tbl =>     p_Line_price_Att_tbl
              , p_old_Line_Price_Att_tbl =>     p_old_Line_Price_Att_tbl
              , p_Line_Adj_Att_tbl =>     p_Line_Adj_Att_tbl
              , p_old_Line_Adj_Att_tbl =>      p_old_Line_Adj_Att_tbl
              , p_Line_Adj_Assoc_tbl =>     p_Line_Adj_Assoc_tbl
              , p_old_Line_Adj_Assoc_tbl =>      p_old_Line_Adj_Assoc_tbl
              , p_Line_Scredit_tbl =>     p_Line_Scredit_tbl
              , p_old_Line_Scredit_tbl =>     p_old_Line_Scredit_tbl
              , p_Line_Scredit_val_tbl =>     p_Line_Scredit_val_tbl
              , p_old_Line_Scredit_val_tbl =>     p_old_Line_Scredit_val_tbl
              , p_Lot_Serial_tbl =>     p_Lot_Serial_tbl
              , p_old_Lot_Serial_tbl =>     p_old_Lot_Serial_tbl
              , p_Lot_Serial_val_tbl =>     p_Lot_Serial_val_tbl
              , p_old_Lot_Serial_val_tbl =>     p_old_Lot_Serial_val_tbl
              , p_action_request_tbl =>     p_action_request_tbl
              , x_header_rec =>      x_header_rec
              , x_header_val_rec =>      x_header_val_rec
              , x_Header_Adj_tbl =>      x_Header_Adj_tbl
              , x_Header_Adj_val_tbl =>      x_Header_Adj_val_tbl
              , x_Header_price_Att_tbl =>      x_Header_price_Att_tbl
              , x_Header_Adj_Att_tbl =>      x_Header_Adj_Att_tbl
              , x_Header_Adj_Assoc_tbl =>      x_Header_Adj_Assoc_tbl
              , x_Header_Scredit_tbl =>      x_Header_Scredit_tbl
              , x_Header_Scredit_val_tbl =>      x_Header_Scredit_val_tbl
              , x_line_tbl =>      x_line_tbl
              , x_line_val_tbl =>      x_line_val_tbl
              , x_Line_Adj_tbl =>      x_Line_Adj_tbl
              , x_Line_Adj_val_tbl =>      x_Line_Adj_val_tbl
              , x_Line_price_Att_tbl =>      x_Line_price_Att_tbl
              , x_Line_Adj_Att_tbl =>      x_Line_Adj_Att_tbl
              , x_Line_Adj_Assoc_tbl =>      x_Line_Adj_Assoc_tbl
              , x_Line_Scredit_tbl =>      x_Line_Scredit_tbl
              , x_Line_Scredit_val_tbl =>      x_Line_Scredit_val_tbl
              , x_Lot_Serial_tbl =>      x_Lot_Serial_tbl
              , x_Lot_Serial_val_tbl =>      x_Lot_Serial_val_tbl
              , x_action_request_tbl     =>      x_action_request_tbl
         IF (x_return_status = FND_API.G_RET_STS_SUCCESS) THEN
              COMMIT;
         dbms_output.put_line('Return Status - '|| SUBSTR (x_return_status,1,255));
         dbms_output.put_line('------------------------------------');
         dbms_output.put_line('Order Number ==== '|| x_header_rec.order_number);
         dbms_output.put_line('------------------------------------');
              arg_out_x_return_status := x_return_status;
              arg_out_order_number          := x_header_rec.order_number;
              arg_out_header_id          := p_header_rec.header_id;
              arg_out_flow_status_code     := p_header_rec.flow_status_code;
         ELSE
              dbms_output.put_line('Return Status = '|| SUBSTR (x_return_status,1,255));
              dbms_output.put_line('Msg Count = '|| TO_CHAR(x_msg_count));
              dbms_output.put_line('Msg Data = '|| SUBSTR (x_msg_data,1,255));
              IF x_msg_count >1 THEN
                   FOR I IN 1..x_msg_count LOOP
                        Oe_Msg_Pub.get(
                             p_msg_index           => i
                             ,p_encoded           => Fnd_Api.G_FALSE
                             ,p_data           => v_msg_data
                             ,p_msg_index_out      => v_msg_index_out
                        DBMS_OUTPUT.PUT_LINE('v_msg_index_out '|| v_msg_index_out);
                        DBMS_OUTPUT.PUT_LINE('v_msg_data '|| v_msg_data);
                   END LOOP;
              END IF;
         END IF;
    END;
    /

  • ORABPEL-9708 Error while querying workflow task WFTask. Caused by:ORA-00936

    Hi,
    I am trying to integrate my Primavera p6 web version8.0 with the BPM setup 11.1.1.3 . The BPM is setup fine.
    But when I integrated with primavera p6 and on load of workflows portlet of p6 web where the BPM tasks are listed, I am getting following exception in BPM console:
    Error while querying workflow task WFTask.
    Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services. .
    ORABPEL-9708
    Error while querying workflow task WFTask .
    Error while querying workflow task WFTask.
    Check the underlying exception and the database connection information. If the error persists, contact Oracle Support Services. .
    at oracle.bpel.services.workflow.repos.driver.WFTask.getWFTask(WFTask.java:2181)
    at oracle.bpel.services.workflow.repos.driver.PersistencyService.getWFTask(PersistencyService.java:907)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.queryTasks(TaskQueryService.java:751)
    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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy220.queryTasks(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.queryTasks(TaskQueryServiceBean.java:120)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.queryTasks(TaskQueryService_oz1ipg_EOImpl.java:1019)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:95)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:210)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:473)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:423)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1095)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:201)
    at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallableStatement.java:864)
    at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCallableStatement.java:948)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1335)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3568)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3620)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
    at oracle.bpel.services.workflow.repos.driver.WFTask.getWFTask(WFTask.java:2153)
    at oracle.bpel.services.workflow.repos.driver.PersistencyService.getWFTask(PersistencyService.java:907)
    at oracle.bpel.services.workflow.query.impl.TaskQueryService.queryTasks(TaskQueryService.java:751)
    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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:89)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.workflow.test.workflow.ExceptionTestCaseBuilder.invoke(ExceptionTestCaseBuilder.java:155)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodEventAspect.invoke(MethodEventAspect.java:70)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at oracle.bpel.services.common.dms.MethodPhaseEventAspect.invoke(MethodPhaseEventAspect.java:82)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy220.queryTasks(Unknown Source)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryServiceBean.queryTasks(TaskQueryServiceBean.java:120)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl.queryTasks(TaskQueryService_oz1ipg_EOImpl.java:1019)
    at oracle.bpel.services.workflow.query.ejb.TaskQueryService_oz1ipg_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Could anybody please help me out in resolving the issue?
    Thanks and Regards,
    Krish

    I have the same problem with P6 R8 integration with BPM 11g (running on WL 10.3.5.0). Any sugestions how to solve this?

  • "Error while reading Exceptions" - Message No. /SCMB/ORDER 351

    Hello,
    An error message that we are getting as "Error while reading Exceptions" - Message No. /SCMB/ORDER 351 while entering a Work Order Number in the 'Work Order details' screen in the SNC Web UI. So, please let us know how to tackle this error in SNC.
    Regards,
    PCN

    Hello Pavan,
    This message can occure at multiple places. Most of these are status reading and checking in the /SCA/CL_SVORDER class. The following methods can throw this message:
    CHECK_ITEM_EXCEPTION_STATUS
    You can set a BP at line 20 and debug the STATUS_CHECK function.
    GET_ITEM_EXCEPTION_STATUS
    You can set a BP at line 29 and debug the STATUS_READ function.
    READ_ITEM_EXCEPTION_STATUS 
    You can set a BP at line 31 and debug the /scmb/cl_odm=>get3_by_id method.
    I hope this will help you.
    Regards,
    Richard

  • DAC: "error while reading repository table". Please help!

    Hi everybody,
    I copied DAC directory from server to a workstation.
    DAC client on server machine runs normally.
    When trying to run DAC client on the workstation, I get an error message "Error while reading repository table".
    I tried to find any DAC log file to get some additional information, but I couldn't.
    The connection in DAC seems to be configured properly (test connection successful).
    The only difference I found between server and workstation is that there are two Oracle homes installed on the workstation and one - on the server.
    Thanks,
    Alex

    So you can read the tables now? Good to know.
    Just as a hint: if you "tnsping" your data source from a command window, you'll see which path and file is used, so you can find out which home.
    TNS Ping Utility for 32-bit Windows: Version 11.1.0.6.0 - Production on 04-MAR-2009 16:42:43
    Copyright (c) 1997, 2007, Oracle. All rights reserved.
    Used parameter files:
    C:\Oracle\product\11.1.0\client_1\network\admin\sqlnet.ora <--- my 11g home is used and not the 9i or 10g which also reside on this machine.
    @DAC client can't connect to server: i.e. the icon stays red?
    - Is your server up and running? (I don't want to start a flame war, but it happens to the best of us)
    - Did you go through the steps here? http://download.oracle.com/docs/cd/E12513_01/doc/bic.101/e12653/dac_configure.htm
    Cheers,
    C.

  • Error while running XML data definition

    Hi,
    Want to run report using XML Publisher, created one Data Definition using xml file,
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <dataTemplate name="EmpDT" description="Employee Details" Version="1.0">
    <parameters>
    <parameter name="p_DeptNo" dataType="character"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[ SELECT Empno, Ename,Job,Mgr,Hiredate,Deptno FROM Emp WHERE deptno = nvl(:p_DeptNo,deptno) ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_EMP" source="Q1">
    <element name="EMPLOYEE_NUMBER" value="Empno"/>
    <element name="NAME" value="Ename"/>
    <element name="JOB" value="Job"/>
    <element name="MANAGER" value="Mgr"/>
    <element name="HIREDATE" value="Hiredate"/>
    <element name="DEPTNO" value="Deptno"/>
    </group>
    </dataStructure>
    </dataTemplate>
    Added concurrent program and trying to run request but it's getting completed with error, when i checked log file it was showing error like,
    XDO Data Engine Version No: 5.6.3
    Resp: 20420
    Org ID : 204
    Request ID: 5810677
    All Parameters: p_Dept_No=20
    Data Template Code: EMP_DET
    Data Template Application Short Name: AMW
    Debug Flag: N
    {p_Dept_No=20}
    Calling XDO Data Engine...
    [042811_124713802][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:231)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1796)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    can any one help me to solve this error? it's urgent.....
    reply awaited..
    Regards,
    Priyanka.

    HI,
    We are facing some issue with CXML. I have posted a new thread [cXML with SAP PI;. 
    The content of that thread is pasted below: You can give your solution in the above mentioned thread so that I can grant points.
    We need to use cXML for our project. Based on the thread ( [Error while uploading CXML data definition.; )
    the following steps need to be done with the cXML DTD.
    1.First Delete the Multiple Declaration of "Method .ANY"
    2.replace all "ds:" character with 'ds_'
    3.replace all "xades: " with 'xades_'
    4.replace all "xmlns" with 'attr_'
    5) After this use Altova to convert the DTD to XSD.
    First of all, we could not carry out the 4th point, as in that case Altova says that it is invalid, and it fails to get imported in PI as well.
    Without step 4 , if we import it as external definition, then there are certain attributes with type xml:lang coming in Red.
    Can anybody tell us on how to fix this.
    Thanks,
    Himadri

  • File Adapter giving Translation error while reading & moving pdf files

    Hello Gurus,
    I am on SOA 10.1.3.4 and using BPEL for the below procedure.
    The requirement I have is to move pdf files from one local directory to another as soon as the pdf files land in source directory. So I used a file adapter (FileAdapter_1) to poll the file and read as an opaque schema. Then I copied the name and directory in a header variable and passed the header variable to another file adapter(FileAdapter_2) which moves the file from source to target directory. The jca operation for FileAdapter_2 is as follows:
    <jca:operation
    InteractionSpec="oracle.tip.adapter.file.outbound.FileIoInteractionSpec"
    SourcePhysicalDirectory="foo1"
    SourceFileName="bar1"
    TargetPhysicalDirectory="foo2"
    TargetFileName="bar2"
    Type="MOVE">
    </jca:operation>
    It is working fine for all 90% of pdf files, but some files are failing with the following error in domain.log file.
    2012-02-24 11:15:12,170> <DEBUG> <custst1.collaxa.cube.translation> <TranslatorFactory::log> Inside TranslatorFactory
    <2012-02-24 11:15:12,170> <DEBUG> <custst1.collaxa.cube.translation> <TranslatorFactory::log> using version attribute = NXSD
    <2012-02-24 11:15:12,170> <DEBUG> <custst1.collaxa.cube.translation> <TranslatorFactory::log> loading xlator class...oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl
    <2012-02-24 11:15:12,174> <DEBUG> <custst1.collaxa.cube.translation> <TranslatorFactory::log> class loaded
    <2012-02-24 11:15:12,174> <DEBUG> <custst1.collaxa.cube.translation> <NXSDTranslatorImpl::log> Starting translateFromNative using InputStream
    <2012-02-24 11:15:12,174> <DEBUG> <custst1.collaxa.cube.translation> <XlatorHelper::logDebug> validating payload size
    <2012-02-24 11:15:12,175> <INFO> <custst1.collaxa.cube.activation> <File Adapter::Inbound> Error while translating inbound file : Sample.pdf
    <2012-02-24 11:15:12,175> <INFO> <custst1.collaxa.cube.activation> <File Adapter::Inbound>
    ORABPEL-11104
    Error while translating.
    [Line=1, Col=5] The value "%PDF" read from the native data, from the specified position, using "choiceCondition" as "fixedLength" and "length" as "4", doesnt match any of the "conditionValue" on the particles of choice model group.
    Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1312)
    at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1142)
    at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.doTranslateFromNative(NXSDTranslatorImpl.java:748)
    at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.translateFromNative(NXSDTranslatorImpl.java:509)
    at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:846)
    at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:380)
    at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:231)
    at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
    at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
    at java.lang.Thread.run(Thread.java:595)
    <2012-02-24 11:15:12,175> <INFO> <custst1.collaxa.cube.activation> <File Adapter::Inbound> Since a translation exception was thrown, this indicates that it is a non-debatching scenario.
    <2012-02-24 11:15:12,175> <INFO> <custst1.collaxa.cube.activation> <File Adapter::Inbound> Failed to translate file : {common/InboundFiles/Sample.pdf}
    Thanks in advance for your help.......

    As stated in my Original Post, I am using opaque schema for both the adapters, still not sure why the adapter is going through native translation.

  • Error while reading deployment; Deployment problem

    Hi,
    I have written an ANT script that basically deploys a .war file to a remote
    server. both the machines are UNIX based. Iam using wls8.1
    My build.xml file looks like this:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="dev" default="all" basedir=".">
    <!-- This is configurations for deploying an application on wls8.1 on win2000
    machine -->
    <target name="deploy-mailClient">
    <wldeploy action="deploy" remote="true" source="../applications/proxymon/proxy.war"
    name="
    myapp" user="system" password="g00db33r" verbose="true" adminurl="t3://153.2.255.51:8001"
    debug="t
    rue" targets="TestMon"/>
    </target>
    </project>
    But when iam running this script, iam getting this error:
    ant deploy-mailClientBuildfile: build.xml
    deploy-mailClient:
    [wldeploy] weblogic.Deployer -debug -remote -verbose -noexit -name myapp -source
    /export/home/beamon/applications/proxymon/proxy.war -targets TestMon -adminurl
    t3://153.2.255.51:8001 -user system -password g00db33r -deploy
    [wldeploy] DeploymentData : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy]
    [wldeploy] Unpexpected Error Initializing Deployer: weblogic.management.ManagementRuntimeException:
    weblogic.management.ApplicationException: [J2EE:160029]I/O error while reading
    deployment - java.io.FileNotFoundException: No such path: /export/home/beamon/applications/proxymon/proxy.war.
    [wldeploy] java.io.FileNotFoundException: No such path: /export/home/beamon/applications/proxymon/proxy.war
    [wldeploy] at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:191)
    [wldeploy] at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:155)
    [wldeploy] at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:467)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    [wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    [wldeploy] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    [wldeploy] at sun.reflect.GeneratedMethodAccessor480.invoke(Unknown Source)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    [wldeploy] at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    [wldeploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    [wldeploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    [wldeploy] at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    [wldeploy] at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    [wldeploy] at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    [wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    [wldeploy] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    [wldeploy] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    [wldeploy] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    [wldeploy] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    [wldeploy]
    BUILD SUCCESSFUL
    Total time: 9 seconds
    Please give some solutions..........this is urgent for me. I really appreciate
    your time on this.
    -s

    I believe you need to go into your config.xml and add
    ClusterConstraintsEnabled="false" attribute to the Domain element.
    ie.
    <Domain ClusterConstraintsEnabled="false" ...
    Let me know if that doesn't do the trick.
    -- Rob
    steve wrote:
    Thanks Rob. I also wanted to deploy an application to a cluster that would basically
    contain 6 managed servers ....and now and as you just said, the Deployment would
    fail if any one among these 6 is down......could be please recall and let me know
    what is this parameter that i need to set so that even if there is any one/more
    servers are down, still the Deployment could be achieved succesfully.
    I really appreciate your advises on this .......thanks again.
    -steve
    Rob Woollen <[email protected]> wrote:
    Steve wrote:
    i started the server ....and everything went fine.
    Question: suppose i have a cluster of 6 managed server, then do i alsoneed to
    have all my 6 managed server up and runnning so as to have the Deploymentcompleted
    ?By default, the deployment fails if any of the targets are not running.
    I believe there is an option to force it to deploy even if some
    of
    the targets are not up, but I don't recall the option. It isn't usually
    what you want.
    Question: How can i target deploying an application to a cluster usingANT script
    as in my build.xml file. i.e i wanted to target to a cluster ratherthan to a
    single server.Just say targets="name of your cluster". If you're unsure of your
    cluster's name. Search for <Cluster> in your config.xml and you should
    find it.
    -- Rob
    Thanks aton .....steve Gurnett
    Rob Woollen <[email protected]> wrote:
    That error indicates the Server or cluster TestMon is not currently
    running.
    -- Rob
    Steve wrote:
    Hi,
    All I wanted to do is to deploy an application called "proxy.war"
    from
    a machine
    called "A" to a machine called "B".
    Iam running this ant script on machine "A".
    Now as you just suggested.... this is how my build.xml file looks
    like:
    "build.xml" 13 lines, 468 characters
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="dev" default="all" basedir=".">
    <!-- This is configurations for deploying an application on wls8.1on win2000
    machine -->
    <target name="deploy-mailClient">
    <wldeploy action="deploy" source="../applications/ppmon/proxy.war"name="myapp"
    user="system" password="g00db3
    3r" verbose="true" adminurl="t3://153.2.255.51:8001" upload=true debug="true"
    targets="TestMon"/>
    </target>
    </project>
    This is the Exception that iam getting now:
    ant deploy-mailClientBuildfile: build.xml
    deploy-mailClient:
    [wldeploy] weblogic.Deployer -debug -verbose -upload -noexit -namemyapp -source
    /export/home/beamon/applications/ppmon/proxy.war -targets TestMon
    -adminurl
    t3://153.2.255.51:8001
    -user system -password g00db33r -deploy
    [wldeploy] DeploymentData : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy]
    [wldeploy] Initiated Task: [5] [Deployer:149026]Deploy applicationmyapp on TestMon.
    [wldeploy] Task 5 failed: [Deployer:149026]Deploy application myappon TestMon.
    [wldeploy] Deployment failed on Server TestMon
    [wldeploy] dumping Exception stack
    [wldeploy] weblogic.management.ManagementException: [Management:149311]Therequest
    to deploy "myapp" to server "TestMon" will be deferred till the serverbecomes
    active.
    [wldeploy] at weblogic.management.deploy.MasterDeployer.failTaskifServerNotUp(MasterDeployer.java:838)
    [wldeploy] at weblogic.management.deploy.MasterDeployer.createTask(MasterDeployer.java:747)
    [wldeploy] at weblogic.management.deploy.DeploymentTaskRuntime.start(DeploymentTaskRuntime.java:646)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)
    [wldeploy] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    [wldeploy] at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    [wldeploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    [wldeploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    [wldeploy] at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    [wldeploy] at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    [wldeploy] at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    [wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    [wldeploy] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    [wldeploy] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    [wldeploy] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    [wldeploy] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    [wldeploy]
    [wldeploy]
    [wldeploy] Unpexpected Error Initializing Deployer: weblogic.Deployer$DeployerException:
    Deployment exit status=1
    BUILD SUCCESSFUL
    Total time: 12 seconds
    any ideas ??????Please Help !
    -steve
    Rob Woollen <[email protected]> wrote:
    I believe remote=true means that the files should be resolved on
    the
    server rather that on the local client. Basically it gives you away
    to
    pass a relative path in and have the server use that relative pathon
    its file system.
    It doesn't sounds like remote=true is what you want. If the
    client/server share a filesystem (eg a network filesystem) then you
    don't need to specify any options.
    If you want the client's copy of proxy.war uploaded to the server,then
    set upload=true
    -- Rob
    Steve wrote:
    Hi,
    I have written an ANT script that basically deploys a .war file
    to
    a remote
    server. both the machines are UNIX based. Iam using wls8.1
    My build.xml file looks like this:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <project name="dev" default="all" basedir=".">
    <!-- This is configurations for deploying an application on wls8.1on win2000
    machine -->
    <target name="deploy-mailClient">
    <wldeploy action="deploy" remote="true" source="../applications/proxymon/proxy.war"
    name="
    myapp" user="system" password="g00db33r" verbose="true" adminurl="t3://153.2.255.51:8001"
    debug="t
    rue" targets="TestMon"/>
    </target>
    </project>
    But when iam running this script, iam getting this error:
    ant deploy-mailClientBuildfile: build.xml
    deploy-mailClient:
    [wldeploy] weblogic.Deployer -debug -remote -verbose -noexit -namemyapp -source
    /export/home/beamon/applications/proxymon/proxy.war -targets TestMon-adminurl
    t3://153.2.255.51:8001 -user system -password g00db33r -deploy
    [wldeploy] DeploymentData : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy]
    [wldeploy] Unpexpected Error Initializing Deployer: weblogic.management.ManagementRuntimeException:
    weblogic.management.ApplicationException: [J2EE:160029]I/O error
    while
    reading
    deployment - java.io.FileNotFoundException: No such path: /export/home/beamon/applications/proxymon/proxy.war.
    [wldeploy] java.io.FileNotFoundException: No such path: /export/home/beamon/applications/proxymon/proxy.war
    [wldeploy] at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:191)
    [wldeploy] at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:155)
    [wldeploy] at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:467)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    [wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    [wldeploy] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    [wldeploy] at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    [wldeploy] at sun.reflect.GeneratedMethodAccessor480.invoke(UnknownSource)
    [wldeploy] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy] at java.lang.reflect.Method.invoke(Method.java:324)
    [wldeploy] at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    [wldeploy] at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    [wldeploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    [wldeploy] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    [wldeploy] at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    [wldeploy] at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    [wldeploy] at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown
    Source)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
    [wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
    [wldeploy] at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
    [wldeploy] at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
    [wldeploy] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    [wldeploy] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    [wldeploy]
    BUILD SUCCESSFUL
    Total time: 9 seconds
    Please give some solutions..........this is urgent for me. I reallyappreciate
    your time on this.
    -s

  • Error while reading PO in backend system Inform system adiministrator

    Hi All,
    I am working on extended classic scenario and the problem is that after the PO ís ordered it gives the message " Error while reading PO in backend system Inform system administrator" and this is happening only for a particular local PO.
    When I check the PO number in R/3 it does not exist.
    The number range is correct both in SRM and R/3 (external no. range is ticked).
    Also I could not find any logs in RZ20 nor a dump.
    When I checked in bbp_pd, couldnt find any relevant information except that the PO has the status ordered.
    I am on SRM version BBPCRM 4.0 SAPKU40007
    R/3 version 4.6 C SAPKH46C47
    Thanks in advance,
    Rgrds,
    Raj
    Message was edited by:
            Raj Malhotra

    Hi
    Have you tried out this ?
    <b>There are two BADIs which might help you in achieving the job.</b>
    <u><b>BBP_EXTLOCALPO_BADI</b> [Control Extended Classic Scenario ]
    <b>and</b>
    <b>BBP_GROUP_LOC_PO</b>
    [Exit Grouping of Items for Local Purchase Orders]</u>
    <u>Read the documenatation first, using transaction - SE18
    before implementing them for your requirement.</u>
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

Maybe you are looking for