Import PO Receipts using custom conversion.

I am importing PO Receipts through a custom conversion by populating the PO Interface tables and running the receving Transaction processor. But when I look for the receipt in the application, I cannot find it. The receipts correspond to existing Approved POs. The Tables are actually populated in the database, the Concurrent Program contain no errors, and the Processing Mode has been set to both Batch and Immediate. has anyone else experienced this issue? If so, were you able to find a resolution? Any help would be greatly appreciated. Thanks.
Ray

INSERT INTO RCV_TRANSACTIONS_INTERFACE(INTERFACE_TRANSACTION_ID,
PROCESSING_STATUS_CODE,
TRANSACTION_DATE,
GROUP_ID,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
CREATION_DATE,
CREATED_BY,
TRANSACTION_TYPE,
PROCESSING_MODE_CODE,
TRANSACTION_STATUS_CODE,
QUANTITY,
ITEM_DESCRIPTION,
UOM_CODE,
VENDOR_ID,
VENDOR_SITE_ID,
FROM_ORGANIZATION_ID,
SOURCE_DOCUMENT_CODE,
PO_HEADER_ID,
PO_LINE_ID,
PO_UNIT_PRICE,
PO_DISTRIBUTION_ID,
DESTINATION_TYPE_CODE,
BILL_OF_LADING,
VENDOR_ITEM_NUM,
COMMENTS,
ATTRIBUTE15,
VENDOR_NAME,
VALIDATION_FLAG,
SHIPMENT_LINE_STATUS_CODE
VALUES (rcv_transactions_interface_s.NEXTVAL,
(PO_RECORD.PO_RECEIPTS_STG_ID),
PO_RECORD.PROCESSING_STATUS_CODE,
TO_DATE(PO_RECORD.TRANSACTION_DATE, 'YYYYMMDD'),
TO_NUMBER(PO_RECORD.GROUP_ID),
SYSDATE, --TO_DATE(PO_RECORD.T_LAST_UPDATE_DATE, 'YYYYMMDD'),
v_user_id, --TO_NUMBER(PO_RECORD.T_LAST_UPDATED_BY),
SYSDATE, --TO_DATE(PO_RECORD.T_CREATION_DATE, 'YYYYMMDD'),
v_user_id, --TO_NUMBER(PO_RECORD.T_CREATED_BY),
PO_RECORD.T_TRANSACTION_TYPE,
PO_RECORD.PROCESSING_MODE_CODE,
PO_RECORD.T_TRANSACTION_STATUS_CODE,
TO_NUMBER(PO_RECORD.QUANTITY),
PO_RECORD.ITEM_DESCRIPTION,
PO_RECORD.UOM_CODE,
--TO_NUMBER(PO_RECORD.T_VENDOR_ID),
v_vendor_id,
-- TO_NUMBER(PO_RECORD.T_VENDOR_SITE_ID),
v_vendor_site_id,
TO_NUMBER(PO_RECORD.TO_ORGANIZATION_ID),
PO_RECORD.SOURCE_DOCUMENT_CODE,
TO_NUMBER(PO_RECORD.PO_HEADER_ID),
TO_NUMBER(PO_RECORD.PO_LINE_ID),
TO_NUMBER(PO_RECORD.PO_UNIT_PRICE),
TO_NUMBER(PO_RECORD.PO_DISTRIBUTION_ID),
PO_RECORD.DESTINATION_TYPE_CODE,
PO_RECORD.BILL_OF_LADING,
PO_RECORD.VENDOR_ITEM_NUM,
PO_RECORD.T_COMMENTS,
PO_RECORD.T_ATTRIBUTES15,
PO_RECORD.VENDOR_NAME,
PO_RECORD.T_VALIDATION_FLAG,
PO_RECORD.SHIPMENT_LINE_STATUS_CODE
INSERT INTO RCV_HEADERS_INTERFACE(HEADER_INTERFACE_ID,
PROCESSING_STATUS_CODE,
RECEIPT_SOURCE_CODE,
TRANSACTION_TYPE,
AUTO_TRANSACT_CODE,
TEST_FLAG,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
RECEIPT_NUM,
VENDOR_NUM,
VENDOR_ID,
VENDOR_SITE_ID,
FREIGHT_CARRIER_CODE,
EXPECTED_RECEIPT_DATE,
COMMENTS,
FREIGHT_TERMS,
ATTRIBUTE14,
ATTRIBUTE15,
VALIDATION_FLAG,
TRANSACTION_DATE,
ORG_ID,
OPERATING_UNIT
VALUES (rcv_headers_interface_s.NEXTVAL,
(PO_RECORD.XXPO_RECEIPTS_STG_ID),
PO_RECORD.PROCESSING_STATUS_CODE,
PO_RECORD.RECEIPT_SOURCE_CODE,
PO_RECORD.H_TRANSACTION_TYPE,
PO_RECORD.AUTO_TRANSACT_CODE,
PO_RECORD.TEST_FLAG,
SYSDATE, --TO_DATE(PO_RECORD.T_LAST_UPDATE_DATE, 'YYYYMMDD'),
v_user_id,
PO_RECORD.RECEIPT_NUM,
V_VENDOR_ID,
-- TO_NUMBER(PO_RECORD.VENDOR_CODE),
-- TO_NUMBER(PO_RECORD.H_VENDOR_ID),
v_vendor_id,
-- TO_NUMBER(PO_RECORD.H_VENDOR_SITE_ID),
v_vendor_site_id,
PO_RECORD.FREIGHT_CARRIER_CODE,
TO_DATE(PO_RECORD.EXPECTED_RECEIPT_DATE, 'YYYYMMDD'), -- date?
PO_RECORD.H_COMMENTS,
PO_RECORD.FREIGHT_TERMS,
PO_RECORD.ATTRIBUTES14,
PO_RECORD.H_ATTRIBUTES15,
PO_RECORD.H_VALIDATION_FLAG,
TO_DATE(PO_RECORD.TRANSACTION_DATE, 'YYYYMMDD'),
TO_NUMBER(PO_RECORD.ORGANIZATION_ID),
PO_RECORD.OPERATING_UNIT
We are using Oracle Apps R12. We are using 'RECEIVE' by the way.

Similar Messages

  • Receipt using shipment no

    Hi,
    I have to do receipt using custom program by passing shipment no as parameter.
    if i insert the records into RCV_TRANSACTIONS_INTERFACE only, the records are not picking.
    can you please tell me the process if i am wrong.
    Thanks in Advance
    Reddy

    is it require to insert the records into rcv_headers_interface , lines again?
    i am asking because records already there in rcv_shipment_headers , lines table with shipment no.
    now need to do receipt with transaction type 'RECEIVE' , please advice how to proceed.

  • Receipt using shipment

    Hi,
    I have to do receipt using custom program by passing shipment no as parameter.
    if i insert the records into RCV_TRANSACTIONS_INTERFACE only, the records are not picking.
    can you please tell me the process if i am wrong.
    Thanks in Advance
    Reddy

    hi,
    is it require to insert the records into rcv_headers_interface , lines?
    i am asking because records already there in rcv_shipment_headers , lines table with shipment no.
    now need to do receipt with transaction type 'RECEIVE' , please advice how to proceed.
    thanks
    Reddy

  • R12 Customer Conversion by using TCA API  OR  Standard interface table ?

    R12 Customer Conversion should be done via  TCA API  OR  Standard interface table? Why ?
    Which approach is more suitable  kindly let us know your thoughts.

    We have used interface tables just to have better control and reprocessing abilities. You may need to be little careful about the TCA tables.

  • Send custom error message using IDoc conversion rule?

    Hello,
    I am using an Idoc conversion rule in BD79 to load cost centers.  In my conversion rule I use a conversion exit function module to concatenate 2 specific characters and sending cost center value together and then this output value placed in the receiving cost center field.  This works fine, but now I want to send a custom error message to the idoc and fail the idoc if the sending cost center value is greater than 8 digits. 
    Does anyone know how to send an error message or update an idoc with an error message using a conversion rule (bd79)?
    Thank you,
    Rhonda

    Hi Rhonda,
    Any luck on the below.. i have a similar issue...
    Sorry to hijack your thread...

  • EN99 Import Simulation-Foreign Trade / Customs

    Hi ,
    I am using TCode EN99. When I simulate import processing with reference to
    - a purchase order line item and it's ok (with RMIMPO)
    - a good receipt and the system doesn't  calculate the custom duties.
    I checked the documentation, it refers to program name:
    "Program RVEXIMSI Description
    Import Simulation
    Buyers can use the import simulation function to simulate an import process that saves time and expense.
    Output
    When you execute the program, you receive the following information from the simulation run:
    1. Information on customs tariff numbers and customs duties
    2. Information on the preference situation
    3. Information on verification documents and authorities
    4. Log information on the simulation run
    Note
    The link to pricing allows you to simulate different scenarios for the customs duty rate to be paid.
    You can use other factors in pricing that influence values, such as surcharges and discounts, freight charges or insurance costs, for the import simulation. The relevant condition types are stored in pricing procedure RMIMP0.
    Requirement
    A prerequisite for a correct simulation run is that you maintain all the necessary data, such as determination tables, in Customizing.
    In order to calculate customs duties, you have to maintain the relevant condition records.
    The standard system contains pricing procedure RMIMP0 with the following condition types:
    CU00: Gross price - Customs simulation
    CURB: Total discount
    CUFR: Freight/Quantity
    CUIN: Insurance
    CUZK: Customs quota
    CUPE: Pharmaceutical products
    CUAS: Customs exemption
    CUPZ: Customs duty rate - Preference
    CUDL: Customs duty rate - Third country
    CUAD Anti-dumping
    Access sequence 0002 is used for condition type CU00.
    Note that the info record category field remains blank or 0 when you maintain the relevant condition records.
    Also note that the term "home country" corresponds to "importing country"."
    The good receipt use standard procedure RM0000, even changing procedure to RMIMPO, the duties and gross price are not calculated automatically.
    Can anyone help me on how this program it's work and how custom duties are calculated automatically?
    Regards,

    HI, Mauro!
    It seems that you are familiar with the import simulation in Foreign Trade Customs.
    Please consider the issues I have, maybe you can help me:
    1. In simulation (TCode: EN99), I need to convert the value of customs taxes into the local currency (RON) using the customs exchange rate.
    The customs taxes in import simulation are calculated into the currency of the PO (USD).
    2. I need to bring onto the CUFR freight condition the value of freight expenditures in the shippment cost document (FRB1), so that they are included into the base value for calculating the customs taxes (again in simulation).
    (If I have the freight condition as a value in the inforecord, then the simulation knows to get the value and includes it in the import pricing schema, otherwise it does not.)
    Looking forward to hearing from you or anyone else who faced the same issues,
    Monica

  • Using Custom Targets with Monaco Profiler??

    Does anyone know how to use custom RGB or CMYK profiling targets and import them into Monaco Profiler to build color profiles?
    I usually use Bill Atkinson's RGB targets and build RGB profiles with my driver using ProfileMaker, but want to build some profiles using Monaco Profiler. Monaco generates its own targets, but they are massive and use 3 to 4 times as much paper. For example, I can print Bill Atkinson's 1728 patch RGB target on one 11x17 sheet of paper. A 1728 patch target created from Monaco Profiler requires three 17x22 sheets of paper!  That's 6X the paper.  Besides, I already have saved measurement readings from MeasureTool for over 20 papers, and would like to avoid reprinting and remeasuring.  (This is for a Canon iPF6100 printer).
    I know this has been done before, but the targets have to be sequenced and reformatted properly so they will import into MP, and I don't know how to do it. Bill Atkinson has a script to do the conversion, but unfortunately it is Mac only, and I'm on a PC operating WinXP Pro.
    Thanks in advance,
    Lou

    I used to use Monaco, but have not for a few years now.  But, if I recall correctly, I thought you could trim the amount of swatch patches down if you wanted to in the user interface.  I used to use an xRite spectro and would read as many patches as possible ( the thinking was, the more the merrier ).  It seemed to be fairly easy to name and save the final .icc profile and then import it into Wasatch RIP in the calibration process.  But, when Monaco printed the patches, I remember they recommended all profiles and settings turned off in the RIP ( so, in theory, there were no adjustments made to the RAW prints which were then read by Monaco where it created an adjusted .icc profile which then could be used in the RIP ).  However, there was one profile made before the prints from Monaco and that was for Ti ( total ink ) which could then be setup in the RIP.  Not sure about the Canon, but I was profiling an HP 5500.  Once I was done with Monaco, the .icc profile I created via Monaco was then imported into the RIP where I could set my individual RGB and CMYK parameters.  I did many, many different variants in every conceivable scenario, but got the best results setting RGB and CMYK in the RIP which were based on the application color settings.
    But, I do not think it wise to use custom RGB's or CMYK's in the Monaco Profiler and am not sure you can.  This would defeat the purpose of doing a custom .icc print profile, in my thinking.  Perhaps I'm mistaken and you can apply custom RGB and CMYK profiles, then I would think you'd turn them off in the RIP.  Again, it's been a few years since I used Monaco, but I'm pretty sure they recommended not to use any profiles when printing the patches.

  • Goods receipt using DTW

    Hi Experts
    I wasnt to be able to do a goods receipt using DTW. Please note that i DONT want to do a goods receipt for a customer
    Instead of manually doing a goods receipt through inventory> inventory transactions> Goods receipt (where there is no customer involved) i want to do a DTW import due to the volume
    Can some one tell me which upload spread sheets i need to use.
    I have looked at the SAP template under the that on the given template the customer code field is mandotary. AS mentioned above i do not want to use customers
    Thank you
    Kind Regards
    Apsara

    Hi Apsara.....
    I think something is wrong with the Goods Receipt OIGN template. Because it is purely for Stock not have concern with Business Patner.
    I would suggest you to create new template from Maintain Interface in DTW.....
    For How to Create Template unsing DTW please refer this link.......
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=64258757
    Regards,
    Rahul

  • Customer Conversion Error Table

    Hi,
    I'm just trying to look for Error table in customer conversion in r12 can you just help me. I goggled but i didnt find the error table and I dont have access for etrm's.
    Thanks & regards,
    pallis

    Records with errors are marked with E in the INTERFACE_STATUS column of the interface table. Error details are recorded in the table HZ_IMP_ERRORS. You can also use TCA Import Error report
    You can also refer MOS note:
    How to import party using TCA Bulk Import Registery Interface Tables [ID 1451645.1]
    thanks

  • How to get data for current week and previous week using customer exit in Bex.

    Hi everyone,
    I have a scenario in which I need to display data for current week and previous week (based on "sy_datum" the program has to calculate current week and previous week) in Bex using  Customer exit. I have created one variable in Bex Query Designer and I have written code for the variable in CMOD. But it is not working fine, (I know that we can do the same by using offset value in Bex). Can some one guide me how to achieve my requirement using customer exit.
    Thanks in Advance,
    G S Ramanjaneyulu.

    Hi krishna,
    Thanks for your quick reply, can you have a look at my code,
    case i_vnam.
    WHEN 'ZPWK_CWK'.
    ranges : pre_week for sy-datum.
    data : start_date type DATS,
           end_date TYPE dats .
    ************FM TO GET FIRST DATE OF CURRENT WEEK ************************
    CALL FUNCTION 'BWSO_DATE_GET_FIRST_WEEKDAY'
      EXPORTING
        DATE_IN  = sy-datum
      IMPORTING
        DATE_OUT = start_date.   " WEEK FIRST DATE
    end_date = START_DATE + 6.   " WEEK LAST DATE
    END_DATE   = START_DATE - 1.   " PREVIOUS WEEK END DATE
    START_DATE = START_DATE - 7.   " PREVIOUS WEEK START  DATE
    **********PREVIOUS WEEK DATES IN PRE_WEEK******************
    pre_week-SIGN   = 'I'.
    pre_week-option = 'BT'.
    pre_week-LOW    = START_DATE.
    pre_week-HIGH   = END_DATE.
    APPEND  pre_week.
    CLEAR : START_DATE,END_DATE.
    endcase.
    Regards,
    G S Ramanjaneyulu.

  • Session broker and custom conversion manager

    I'm having some problem using session broker and a custom conversion manager. I just moved from using single session to using a session broker in the sessions.xml. I'm using a custom conversion manager as shown in this tech. tips URL
    http://www.oracle.com/technology/products/ias/toplink/technical/tips/customconversion/index.html
    Here's my conversion manager set up code -
    public class JpmiConversionManagerSetup extends SessionEventAdapter
    * During the pre-login event the new MyConversionManager must be installed
    * @see oracle.toplink.sessions.SessionEventAdapter#preLogin
    * @param event
    public void preLogin(SessionEvent event) {
    ConversionManager cm= new JpmiConversionManager();
    ConversionManager.setDefaultManager(cm);
    event.getSession().getLogin().getPlatform().setConversionManager(cm);
    My session broker manages 2 sessions. In sessions.xml for one session I have the <event-listener-class> entry where I need some conversion, another session I don't have any such entry as I don't need any conversion.
    Now when I try to run a named query using session broker the conversion part blows up, throws a ConversionException. Any idea? Do I need to configure the session broker instead of session in the preLogin or anything like that?

    I think sessions editor is not available in 10.1.3dp4 yet. So I have to write the sessions.xml by hand. But the parser throwing me an error saying that <session-broker> is not allowed in sessions.xml.
    SessionLoaderExceptions:
    org.xml.sax.SAXParseException: <Line 41, Column 18>: XML-24534: (Error) Element 'session-broker' not expected.
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:415)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:284)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:302)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:199)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:111)
         at oracle.toplink.platform.xml.xdk.XDKParser.parse(XDKParser.java:160)
         at oracle.toplink.platform.xml.xdk.XDKParser.parse(XDKParser.java:190)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:191)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadDocument(XMLSessionConfigLoader.java:151)
         at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:88)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:364)
         at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:331)
         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:324)
    Any idea how to or where to write sessions broker in sessions.xml for 10.1.3dp4???

  • How to create a Language Branch using custom workflow?

    Hi,
    I’ve a requirement where I need to create a workflow process which will create a Language branch.  i.e I wanted to achieve the functionality using custom workflow as given in the docs: https://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html#Managing the Translation of your Language Branches 
    As per the OOTB functionality,
    1.     If the target page is not exist in the Language branch, it will copy the reference page to target path.
    2.     If the target page is already exists, it will not create a copy of the reference.           
    After the translation, if we make any changes in the reference page and activate the reference, then we have a button called 'Show side by Side' under Translation in the side kick which shows differences between reference page and translated page.
    Example:
    So, I would like know how we can achieve this in my custom workflow process. In my workflow process, I’m checking whether the page is existed in the target path or not. If not exist, I used page copy.
    Eg: Page page = newPage.copy(originalPage,targetPath+"/"+originalPageName,null,true,true );
    When I use above api, it just copies the page and it will not maintain any relation with reference page.
    Any pointers would be more helpful.
    Thanks
    Siva

    Hi,
    I have a similar request to export the texts from one language and after the translation to import them to the new language, did you find any solution? My question is how can I add some steps into my workflow to validate the imported data -and if the user validate the texts then proceed with next step(in my case I import the text from a file and generate a form with values). I read the documentation from Adobe but I didn't find anything related to how we can add a workflow to a dynamically generated from(I don't use the CQ form component).
    Can anybody help me with this?
    Thx, Lorand

  • How can I use custom WLST commands for Oracle SOA Suite in Weblogic

    Hi There,
    I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
    I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
    However, my WLST shell is not recognizing the commands and giving me the NameError!
    wls:/devDomain1/domainRuntime> listLogs()
    Traceback (innermost last):
    File "<console>", line 1, in ?
    NameError: listLogs
    I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
    I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
    - Launched the WLST shell from Oracle Home.
    cd ORACLE_HOME/common/bin
    ./wlst.sh
    - Tried to run the listLogs command from domainRuntime()
    I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
    I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
    There is no SOA Suite installed.
    Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
    Please advise if this is possible and how?
    Cheers.
    Satish

    I have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
    CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
    The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
    I hope this can help

  • Error  While Polling Database changes using Custom SQL

    Hi,
    I am using Oralce SOA Suite 11g DbAdapter for polling Database changes.
    My source database is DB2,I am using custom query for polling the changes in source database.
    I am using "Update an External Sequencing Table on a Different Database" polling Strategy
    Query section of the Mapping file is as follows.
    <querying xsi:type="query-policy">
    <queries>
    <query name="ReceiveF554102TXEDataSelect" xsi:type="read-all-query">
    <call xsi:type="sql-call">
    <sql><![CDATA[SELECT FILE_NAME, LIBRARY_NAME,
                   USER_NAME, SEQUENCE_NUM,
                   JOURNAL_CODE, ENTRY_TYPE, TIME_STAMP, JOB_NAME, JOB_USER,
                   JOB_NUMBER, PROGRAM_NAME, ARM_NUMBER, ADDRESS_FAMILY, RMT_ADDRESS,
                   REMOTE_PORT, SYSTEM_NAME, REL_RECORD, OTRCLN, IBMCU, IBITM, IBLITM,
                   IBAITM, IBY55ETAFR, IBY55ETATH, IBY55NUM01, IBY55NUM02, IBY55NUM03,
                   IBY55NUM04, IBY55NUM05, IBY55NUM06, IBY55NUM07, IBY55NUM08,
                   IBY55NUM09, IBY55NUM10, IBELM01, IBELM02, IBELM03, IBELM04, IBELM05, IBY55STR01,
                   IBY55STR02, IBY55STR03, IBY55STR04, IBY55STR05, IBY55CHA01,
                   IBY55CHA02, IBY55CHA03, IBY55CHA04, IBY55CHA05, IBY55DAT01, IBY55DAT02,
                   IBY55DAT03, IBY55DAT04, IBY55DAT05, IBUSER, IBPID, IBJOBN, IBUPMT,
                   IBUPMJ FROM PY_JRNMON.F554102T WHERE ((TIME_STAMP > (SELECT LAST_READ_DATE FROM SOALIB.SOASEQHDR WHERE (TABLE_NAME = 'F554102T'))) AND (TIME_STAMP < SYSDATE)) ORDER BY TIME_STAMP ASC]]> </sql>
    </call>
    <reference-class>ReceiveF554102TXEData.F554102T</reference-class>
    <lock-mode>none</lock-mode>
    <container xsi:type="list-container-policy">
    <collection-type>java.util.Vector</collection-type>
    </container>
    </query>
    </queries>
    <delete-query xsi:type="delete-object-query">
    <call xsi:type="sql-call">
    <sql>UPDATE SOALIB.SOASEQHDR SET LAST_READ_DATE = #LAST_READ_DATE WHERE (TABLE_NAME = 'F554102T')</sql>
    </call>
    </delete-query>
    </querying>
    I am getting following Error after defining the custom SQL in my mapping.xml file. (After executing the Created Process)
    Caused by: BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by BINDING.JCA-11626
    Query Not Found Exception.
    Could not find Named Query [ReceiveSampleCustomPollSelect] with ? arguments, belonging to Descriptor [ReceiveSampleCustomPoll.F554102T] for [oracle.tip.adapter.db.DBActivationSpec@2ec733b0] inside of mappings xml file: [ReceiveSampleCustomPoll-or-mappings.xml].
    You may have changed the queryName info in either the _db.jca or toplink-mappings.xml files so that they no longer match.
    Make sure that the queryName in the activation/interactionSpec and in the Mappings.xml file match. If an old version of the descriptor has been loaded by the database adapter, you may need to bounce the app server. If the same descriptor is described in two separate Mappings.xml files, make sure both versions include this named query.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake. This polling process will shut down, unless the fault is related to processing a particular row, in which case polling will continue but the row will be rejected (faulted).
         at oracle.tip.adapter.db.exceptions.DBResourceException.createNonRetriableException(DBResourceException.java:653)
         at oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:619)
         at oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:291)
         at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:883)
         at oracle.tip.adapter.db.transaction.DBTransaction.getSession(DBTransaction.java:375)
         at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:266)
         at oracle.tip.adapter.db.InboundWork.init(InboundWork.java:322)
         at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:526)
         ... 4 more
    Caused by: BINDING.JCA-11626
    Query Not Found Exception.
    Could not find Named Query [ReceiveSampleCustomPollSelect] with ? arguments, belonging to Descriptor [ReceiveSampleCustomPoll.F554102T] for [oracle.tip.adapter.db.DBActivationSpec@2ec733b0] inside of mappings xml file: [ReceiveSampleCustomPoll-or-mappings.xml].
    You may have changed the queryName info in either the _db.jca or toplink-mappings.xml files so that they no longer match.
    Make sure that the queryName in the activation/interactionSpec and in the Mappings.xml file match. If an old version of the descriptor has been loaded by the database adapter, you may need to bounce the app server. If the same descriptor is described in two separate Mappings.xml files, make sure both versions include this named query.
         at oracle.tip.adapter.db.exceptions.DBResourceException.queryNotFoundException(DBResourceException.java:694)
         at oracle.tip.adapter.db.ox.TopLinkXMLProjectInitializer.initializeQuery(TopLinkXMLProjectInitializer.java:1238)
         at oracle.tip.adapter.db.DBManagedConnectionFactory.acquireSession(DBManagedConnectionFactory.java:728)
         ... 8 more
    Help required to fit custom SQL in mapping.xml file for complex queries.
    Thanks,
    Arun Jadhav.

    "Execuite Custom SQL" in DB adapter and you'l get it.
    But in this case you'll have to implement your own polling strategy (if you need one).
    If you want to use one of the predefined polling strategy you should use "Poll for New or Changed records" and import all the tables you use and connect them in wizard.

  • "Quantity falls into negative inventory" Error when importing Goods Receipt through DTW

    Hi,
    We extending the automation between our production plant an SAP Business one.
    We're using DTW import "Goods Receipt PO" currently and want to extend this to internal productions based on Production Orders.
    I've created three csv files to create the import. OIGN, IGN1 an SNRT (as we use serial number based products)
    Some remarks:
    - The stock is sufficient to do the production. No negative stock is created by this the production order.
    - The used materials are all based on "backflush", so should be handled automatically
    - Using the SAP GUI everything goes well. No errors.
    hereby the files I've used (the actual serial number file is of course longer):
    OIGN:
    DocNum;DocType;HandWritten;DocDate;PartialSupply
    DocNum;DocType;Handwrtten;DocDate;PartSupply
    1;dDocument_Items;tNO;20140402;Y
    IGN1:
    ParentKey;LineNum;BaseType;BaseEntry;BaseLine;Quantity
    DocNum;LineNum;BaseType;BaseEntry;BaseLine;Quantity
    1;0;202;92;;49
    SRNT:
    ParentKey;LineNum;InternalSerialNumber;ManufactureDate;ReceptionDate;Notes;BaseLineNumber
    DocNum;LineNum;DistNumber;MnfDate;InDate;Notes;DocLineNum
    1;0;0409001;20140331;20140402;Firmware=SD-TRPE v1.12 y13m10d16;0
    1;1;0409002;20140331;20140402;Firmware=SD-TRPE v1.12 y13m10d16;0
    1;2;0409004;20140331;20140402;Firmware=SD-TRPE v1.12 y13m10d16;0
    1;3;0409005;20140331;20140402;Firmware=SD-TRPE v1.12 y13m10d16;0
    What am I doing wrong? Do we need the handle the goods issue manually when using DTW instead of the auto backflush method in SAP?
    Looking forward to your response.
    Kind regards,
    Vincent

    Hi,
    Please check SAP note:
    841270
    - How to import serial numbers correctly via the DTW
    Please advice your decimal setting for quantity at general settings.
    Thanks & Regards,
    Nagarajan

Maybe you are looking for