Condition validation in file  adapter

hi all,
in my file scenrio , source file has records based on the vendor number(primary key).i want to check VNO before picking the record....no records are picked based on same VNO. where can we use condition chck for this.
vijay.

Hi Vijay,
Either you can pick the file, check the field in message mapping and if conditioned is satified you can prevent to go to target system.
but if you want not to pick the file itself, then you have to developer module. Check out java docs for adapter module at help.sap.com.
Ranjeet Singh.

Similar Messages

  • Need  file adapter polling with read operation to be triggered by a BPEL without using synchronous read

    The scenario is:-
    Web Service Client -->input-->BPEL-->if input valid-->trigger file adapter with read operation--> receive file
    i am not able to stop the polling until it is required to trigger the polling.
    As soon as i deploy the composite the file adapter starts polling without waiting for input.
    Since i am using two receive activities, the second one which is suppose to receive file from file adapter is always showing pending state. (asynchronous callback)

    Hi there,
    IMHO the traditional read is used only as inbound operation, that means
    that it starts polling the input folder as soon as the composite gets
    deployed - which is the same you are experiencing.
    In your case you need an outbound operation that needs to be invoked at
    a certain moment. I don't know what are the reasons not to use sync
    read, but this is the only outbound read operation supported by the
    adapter. If you can not use the sync read, then you would have to design
    some custom solution where you call a web service or EJB for instance
    that reads the desired files.
    Another option I can think of, though have not use personally is using
    the adapters programatically in Java - take a look at this blog post as
    it seems related to this topic -
    https://technology.amis.nl/2012/01/22/using-the-oracle-weblogic-technology-adapters-with-custom-java-message-driven-bean-mdb-triggered-by-file-adapter-part-of-the-story/.
    Hope this helps,
    A.

  • XML validation in sender file adapter

    Hi
    I am using FCC on the sender file adapter ....i need to make sure that one of the fields should always be integer else the sender adapter should give error
    Can i use xml validation with FCC on the sender file adapter?

    Hi Hema,
    As per understanding you need to check one or few fields value is integer or not.
    You can achieve in 2 ways :
    Case1:Using inbuilt xml validation options.
    For 7.11 and below
    1)In ESR/Message type/Export the xsd to local machine.
    2)Insert the xsd file in the below loc
    /usr/sap/<sid>/DVEBMGS00/j2ee/cluster/server0/validation/schema/
    <guid>/<namespace1>/<service_interface_name>/<namespace2>
    <sid>: System ID of the server instance.
    <guid>: The GUID of the SWCV.
    <namespace1> : The namespace within which the service interface is defined.
    <service_interface_name> : The name of the service interface.
    <namespace2>
    : The namespace of the Message Type used by the service interface. In many
    instances, namespace1 and namespace2 are the same.
    Italic path folders need to create by you.
    For 7.3 and above
    Michal's PI tips: XML validation - changes in 7.3
    Case 2 :Handling using simple UDF.
    Input-->UDF-->Output
    try {
       Integer.parseInt(input);
       return input ;
    catch(NumberFormatException e) {   
    throw new StreamTransformationException( "Input field value for xyz field "+input+"is not in integer format.Plz correct it"); 
    Regards
    Venkat

  • File Adapter : read XML file with data validation and file rejection ?

    Hello,
    In order to read a XML file with the file adapter, I have defined a XSD that I have imported to my project.
    Now the File Adapter reads the file correctly but it does not give an error when:
    - the data types are not valid. Ex: dateTime is expected in a node and a string is provided
    - the XML file has invalid attributes.
    How can I manage error handling for XML files ?
    Should I write my own Java XPath function to validate the file after is processed ? (here is an example for doing this : http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21058568.html)
    Thanks.

    one option is to specify validateXML on the partnerlink (that describes the file adapter endpoint) such as shown here
    <partnerLinkBinding name="StarLoanService">
    <property name="wsdlLocation"> http://<hostname>:9700/orabpel/default/StarLoan/StarLoan?wsdl</property>
    <property name="validateXML">true</property>
    </partnerLinkBinding>
    hth clemens

  • File Adapte picking up XML if XSD valid without verifing the XSD in adapter

    hi',
    I am facing one issue
    I have a sample XML file which I want to read through BPEL process
    for this I have configured the file adapter with the schema and reading the file adapter with the receive activity
    next I have created one XSD file (which file adapter referes to) and one XML file,
    File adapter reads it after the XML file gets validated with the XSD which is kept in a location *'/test/xsd/emp.xsd'*,
    now the issue is that the file adapter is picking up and initiating the process without verifying the XSD mentioned in the adapter
    it is only checking the XML file with the XSD mentioned in the XML,
    for example if I have a xml file which is refering to some other schema it also gets read by file adapter without worring about what schema is mentioned in file adapter
    please advice me is this the way File adapter works in Oracle BPEL or I am doing some thing wrong
    I am using SOA suite 10.1.3.3.0 which is deployed in UNIX enviornment.
    thanks
    Yatan

    thanks Ketan ,
    as you suggested, after adding validateXML to true, the XML is getting validated to the XSD in the adapter,
    the process is getting invoked and the receive activity is throwing error of 'Invalid XML', this is perfect as I expected
    however now the issue is, the file which is invalid in terms of XSD present in the file adapter is still being archived to 'success dir' i.e. 'LogicalArchiveDirectory', ideally it should have moved to fail directory,
    but if the XML file is not complete or having some error in terms of the XSD it is refering to 'target namespace' and 'target location'
    then it will move to the fail directory and the receive activity is also showing the error,
    see this is how I have configured my bpel.xml file for the file adapter.
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="Read_Tph_ProdTrans_File">
    <property name=*"prod_trans_success_file" type="LogicalArchiveDirectory"*>/aaa/bb/ccc/wis/tph/bpl_inbound/adjust/success</property>
    <property name=*"prod_trans_incoming_file" type="LogicalDirectory"*>/aaa/bb/ccc/wis/tph/bpl_inbound/adjust/new</property>
    <property name="portType">Read_ptt</property>
    <property name="rejectedMessageHandlers">file:///aaa/bb/ccc/wis/tph/bpl_inbound/adjust/fail</property>
    </activationAgent>
    please advice how to bring this adapter to proper behaviour.
    thanks
    Yatan

  • ESB File Adapter data validation issue

    I have a really simple ESB process.
    File Adapter Read
    (XML format with XSD) --> Routing Service --> SOAP Call to BPEL Process
    Quite simply, the ESB uses the File Adapter to read an XML file which has an associated XSD. The contents are then routed to a BPEL Process.
    If the XML file is valid in syntax but contains an element which is not in the XSD, the file contents are pushed to the BPEL process which has validateXML set to true - thus the error is caught and handled by the BPEL process.
    This is what I want to happen.
    If the XML file is invalid in syntax - for example -
    <TAG>hello</WRONGTAG>
    The ESB process rejects the file and stops dead.
    I would rather the invalid file is pushed to the BPEL so that the BPEL can handle the error.
    Why?
    Because my error handling in the BPEL picks up the invalid XML format and emails the users to inform them there is a problem.
    Can someone help? Is this possible? Thanks.
    Message was edited by:
    IanBaird

    Hello again! You are now aware of the problem as there has been a lot of conversation between myself and Dave Berry [and you!] regarding this issue.
    For the rest of the readers - here is a brief summary of progress so far. Sorry but there has been so much communication that I think the best way is to direct you to various links.
    If an adapter fails in ESB, then it is possible to trap these failures and handle them as documented here:
    Dave Berry said:
    you need to look into the adapter rejection handlers which are documented on OTN ESB page in the exception handling lesson and the adapters OTN dev resources page http://www.oracle.com/technology/products/integration/adapters/dev_support.html
    I had also devised my own solution in the meantime, which involves reading the input file as opaque schema and passing this to a BPEL process which converts it to an XML document! This can then be validated and use standard BPEL error handling to find any problems in the file format etc.
    See my blog for a tutorial on doing this:
    http://soastuff.wordpress.com/2007/06/06/handling-opaque-datatypes-in-bpelesb/
    The only problem with this at the moment is that the BPEL function ora:parseEscapedXML has a bug in it - so it fails if the XML does not comply with the XSD it tries to convert to.
    This in turn causes an ORABPEL-09500 error which does not seem to get handled by the BPEL process so the process fails.
    As things stand, this bug remains - though Dave Berry has been very helpful in identifying it and bringing it to Muruga's attention. Hopefully we can get a fix (?) and a workaround whilst the fix is being implemented (?)
    Cheers.

  • XSd-validation isn't performed when invoking file Adapter

    I've configured an ESB where data needs to be transformed using a file adapter and a db adapter.
    The deleimted files first need to be validated using xsd (native transformation) and if validation was performed correctly they can be transformed and loaded into db tables.
    The xsd-validation isn't performed in my use case where some fields are required, have a decimal-format etc., if the files don't comply they're still picked up and being transformed to the db adapter, where the insertion will fail then because the file had errored records in it.
    I'm using esb 10.1.3.3 in this case.
    kind regards,
    Nathalie

    Hi Nathalie,
    I'm not able to define properties on my esb routing
    service in release 10.1.3.3, the definition tab isn't
    showing any detailed information for my routing
    service.Strange, we're also using 10.1.3.3. Make sure in the ESB Control when you select the routing service, that the operation for which you want to validate the payload is selected. If it is selected, the operation details section should show the validation option. Also see page 3-14 of the ESB Developers Guide. You can also change the esbsv-file:
    <operations>
    <operationInfo guid="xyz" qname="Test.Insert.insert" wsdlOperation="insert" mepDisplayName="One Way" mep="OneWay">
    <request validate="true" xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/d
    b/top/Insert" element="tns:TestCollection"/>
    </operationInfo>
    </operations>
    </service>
    using the validate="true" option.
    No logging is being generated for this matter, so I'm
    not sure which problem I'm facing wright now. I will
    bounce the service and try again.We had such an issue when we didn't validate payload at runtime and inserted data using DB adapter. Our TopLink mappings didn't correspond to the XML data to be inserted. That caused only 2 tables out of 4 to be updated, without any error logged. Enabling validation, resulted in an error being thrown; the behaviour we wanted.
    The only thing that's of importance here, is that I
    need to define this functionality within BPEL and not
    ESB, the customer has only acquired bpel for this
    matter because human task integration was necessary.One of the advantages of 11g fortuntely is that separation of concerns will be better. It will be much clearer where to use adapters. Not that this helps in your current case right now :-s
    I should be able to accomplish the xsd validation
    inside a bpel configuration.That should work, good luck!
    Regards, Ronald

  • File adapter become second step in the ccBPM (filename base on the input)

    Hi XI Expert,
    Could you help to advise me, what i should o with this scenario :
    i have ccBPM scenario :
    1. monitoring database table (using JDBC adapter), query filepath information and update
        status accordingly after process.
    2. read xml file (name and path base on the first step).
    my problem is how to pass filepath and filename to file adapter, becase as i know file adapter (sender) only
    can monitoring fix directory and file (patter).
    Thank you
    Fernand

    Hi,
    It would be better if you elaborate your scenario.
    Just check out the steps to create and display the file :
    1 Create Material MM01 1 Create PR ME51N
    2 Change Material MM02 2 Change PR ME52N
    3 Display Material MM03 3 Display PR ME53N
    4 List Extendable Materials MM50 4 Release individual PR ME54N
    5 Stock Overview MMBE 5 Release Collective PR ME55
    6 Flag for Deletion MM06 6 Create RFQ ME41
    7 Enter storage locations MMSC 7 Change RFQ ME42
    8 Create vendor (centrally) XK01 8 Display RFQ ME43
    9 Change vendor (centrally) XK02 9 Print RFQ ME9A
    10 Display vendor (centrally) XK03 10 Maintain Quotations ME47
    11 Vendor Changes (Centrally) XK04 11 Comparitive statement ME49
    12 Block Vendor (Centrally) XK05 12 Create contract ME31K
    13 Mark vendor for deletion (centrally) XK06 13 Change Contract ME32K
    14 Excise Master Maintenance J1ID 14 Display Contract ME33K
    15 Create Purchasing Info Record ME11 15 Release Contract ME35K
    16 Change Purchasing Info Record ME12 16 Print Contract ME9K
    17 Display Purchasing Info Record ME13 17 Create PO ME21N
    18 Changes to Purchasing Info Record ME14 18 Change PO ME22N
    19 Flag for Deletion ME15 19 Display PO ME23N
    20 Info Records Per Vendor MW1L 20 Release Individual PO ME29N
    21 Info Records per Material ME1M 21 Release collective PO ME28
    22 Create/ Change Service Master AC03 22 Print PO ME9F
    23 Display Service Master AC04 23 Goods Receipt/Change /Display MIGO
    24 List Display: Service Master AC06 24 Print of Material Document MB90
    25 Invoice Verification MIRO
    26 Park Invoice MIR7
    27 Display Invoice MIR4
    28 Cancel Invoice MR8M
    29 Release Blocked invoice MRBR
    30 Display of Invoice documents MIR5
    Test Description: Procurement of Non-Stock Items Test Description: Procurement of Imported Gas in Bonded Warehouse
    No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
    1 Create PR with account assignment category ME51N 1 Create contract ME31K
    2 Change PR ME52N 2 Change Contract ME32K
    3 Display PR ME53N 3 Display Contract ME33K
    4 Release individual PR ME54N 4 Release Contract ME35K
    5 Release Collective PR ME55 5 Print Contract ME9K
    6 Create RFQ ME41 6 Create PO (do not select GR based IV) ME21N
    7 Change RFQ ME42 7 Change PO ME22N
    8 Display RFQ ME43 8 Display PO ME23N
    9 Print RFQ ME9A 9 Release Individual PO ME29N
    10 Maintain Quotations ME47 10 Release collective PO ME28
    11 Comparitive statement ME49 11 Print PO ME9F
    12 Create PO with account assignment category (A for asset and K for cost center) and enter G/L a/c ME21N 12 Invoice verification (for customs duty, warfage , CVD) MIRO
    13 Change PO ME22N 13 GR bonded MIGO
    14 Display PO ME23N 14 Transfer the material Plant storage to unbonded MIGO/MB1B
    15 Release Individual PO ME29N 15 Capture excise invoice J1IG
    16 Release collective PO ME28 16 Print of Material Document MB90
    17 Print PO ME9F 17 Invoice Verification MIRO
    18 Goods Receipt/Change /Display MIGO 18 Park Invoice MIR7
    19 Print of Material Document MB90 19 Display Invoice MIR4
    20 Invoice Verification MIRO 20 Cancel Invoice MR8M
    21 Park Invoice MIR7 21 Release Blocked invoice MRBR
    22 Display Invoice MIR4 22 Display of Invoice documents MIR5
    23 Cancel Invoice MR8M
    24 Release Blocked invoice MRBR
    25 Display of Invoice documents MIR5
    Test Description: Procurement of Imported Gas in Non-Bonded Warehouse Test Description: Procurement of Gas (Domestic) in Manufacturing Location
    No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
    1 Create contract ME31K 1 Create Contract ME31K
    2 Change Contract ME32K 2 Change Contract ME32K
    3 Display Contract ME33K 3 Display Contract ME33K
    4 Release Contract ME35K 4 Release Contract ME35K
    5 Print Contract ME9K 5 Print Contract ME9K
    6 Create PO (do not select GR based IV) ME21N 6 Create PO ME21N
    7 Change PO ME22N 7 Change PO ME22N
    8 Display PO ME23N 8 Display PO ME23N
    9 Release Individual PO ME29N 9 Release individual PO ME29N
    10 Release collective PO ME28 10 Release collective PO ME28
    11 Print PO ME9F 11 Print PO ME9F
    12 Invoice verification (for customs duty, warfage , CVD) MIRO 12 Create Inbound delivery VL31N
    13 GR plant stocks MIGO 13 Change Inbound delivery VL32N
    14 Capture excise invoice J1IG 14 Display Inbound delivery VL33N
    15 Print of Material Document MB90 15 Create Shipment(Transport Planning) VT01N
    16 Invoice Verification MIRO 16 Change Shipment VT02N
    17 Park Invoice MIR7 17 Display Shipment VT03N
    18 Display Invoice MIR4 18 Create Shipment costs VI01
    19 Cancel Invoice MR8M 19 Change Shipment costs VI02
    20 Release Blocked invoice MRBR 20 Display Shipment costs VI03
    21 Display of Invoice documents MIR5 21 Goods Receipts MIGO
    22 Capture and Post Excise MIGO / J1IEX
    23 GR for free goods receipt MIGO
    24 Post Excise for free goods MIGO / J1IEX
    25 Print of Material Document MB90
    26 Invoice Verification MIRO
    27 Park Invoice MIR7
    28 Display Invoice MIR4
    29 Cancel Invoice MR8M
    30 Release Blocked invoice MRBR
    31 Display of Invoice documents MIR5
    Test Description: Procurement of Gas (Domestic) in Trading Location Test Description: High Sea Sales
    No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
    1 Create Contract ME31K 1 Create Contract ME31K
    2 Change Contract ME32K 2 Change Contract ME32K
    3 Display Contract ME33K 3 Display Contract ME33K
    4 Release Contract ME35K 4 Release Contract ME35K
    5 Print Contract ME9K 5 Print Contract ME9K
    6 Create PO ME21N 6 Receipt of Order from Customer Manual Process
    7 Change PO ME22N 7 Create sales order SD process
    8 Display PO ME23N 8 Automatic PR Automatic
    9 Release individual PO ME29N 9 Display PR ME53N
    10 Release collective PO ME28 10 Create PO ME21N
    11 Print PO ME9F 11 Change PO ME22N
    12 Create Inbound delivery VL31N 12 Display PO ME23N
    13 Change Inbound delivery VL32N 13 Release individual PO ME29N
    14 Display Inbound delivery VL33N 14 Release collective PO ME28
    15 Create Shipment(Transport Planning) VT01N 15 Print PO ME9F
    16 Change Shipment VT02N 16 Goods Receipt/Change /Display MIGO
    17 Display Shipment VT03N 17 Print of Material Document MB90
    18 Create Shipment costs VI01 18 Invoice Verification MIRO
    19 Change Shipment costs VI02 19 Park Invoice MIR7
    20 Display Shipment costs VI03 20 Display Invoice MIR4
    21 Goods Receipts MIGO 21 Cancel Invoice MR8M
    22 Capture and Post Excise J1IG 22 Release Blocked invoice MRBR
    23 GR for free goods receipt MIGO 23 Display of Invoice documents MIR5
    24 Post Excise for free goods J1IG
    25 Print of Material Document MB90
    26 Invoice Verification MIRO
    27 Park Invoice MIR7
    28 Display Invoice MIR4
    29 Cancel Invoice MR8M
    30 Release Blocked invoice MRBR
    31 Display of Invoice documents MIR5
    Test Description: Procurement Scenario in Haldia / Aegis Test Description: Procurement of Services
    No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
    1 Create Contract ME31K 1 Create PR( with Item category D) ME51N
    2 Change Contract ME32K 2 Create PR ME51N
    3 Display Contract ME33K 3 Change PR ME52N
    4 Release Contract ME35K 4 Display PR ME53N
    5 Print Contract ME9K 5 Release individual PR ME54N
    6 Create PO ME21N 6 Release Collective PR ME55
    7 Change PO ME22N 7 Create RFQ ME41
    8 Display PO ME23N 8 Change RFQ ME42
    9 Release individual PO ME29N 9 Display RFQ ME43
    10 Release collective PO ME28 10 Print RFQ ME9A
    11 Print PO ME9F 11 Maintain Quotations ME47
    12 Receipt of Order from Customer 12 Comparitive statement ME49
    13 Goods Receipt/Change /Display MIGO 13 Create contract ME31K
    14 Print of Material Document MB90 14 Change Contract ME32K
    15 Invoice Verification MIRO 15 Display Contract ME33K
    16 Park Invoice MIR7 16 Release Contract ME35K
    17 Display Invoice MIR4 17 Print Contract ME9K
    18 Cancel Invoice MR8M 18 Create service PO ME21N
    19 Release Blocked invoice MRBR 19 Change PO ME22N
    20 Display of Invoice documents MIR5 20 Display PO ME23N
    21 Release service PO ME29N
    22 Release collective PO ME28
    23 Print PO ME9F
    24 Service Entry/ Acceptance ML81N
    25 Invoice Verification MIRO
    26 Park Invoice MIR7
    27 Display Invoice MIR4
    28 Cancel Invoice MR8M
    29 Release Blocked invoice MRBR
    30 Display of Invoice documents MIR5
    Test Description: Procurement of Assets via Internal Order Test Description: Painting / Rework of Cylinders
    No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
    1 Create Capital Investment order KO01 1 PO Creation (Item Category L, Account Assignment K) ME21N
    2 Create an AUC for the Internal Order KO02 2 Change PO ME22N
    3 Release the Internal order KO02 3 Display PO ME23N
    4 Create a Purchase order with account assignment 'F' and asssinging the suitable order number ME21N 4 Release service PO ME29N
    5 Post Goods Receipt with reference to PO MIGO 5 Release collective PO ME28
    6 Post Invoice Verification MIRO 6 Print PO ME9F
    7 Do an initial settlement of internal order to AUC (automatic). Need not maintain settlement rule in the order for AUC KO88 7 Material transfer to vendor MB1B
    8 Create an asset against which the order needs to be finally settled (Full settlement) AS01 8 Receive the material from vendor MIGO
    9 Settlement rule need to be maintained in the order for asset number for full settlement KO02 9 Logistics Invoice Verification MIRO
    10 Do a final(Full) settlement of the internal order to asset. 'Select the option full settlement' KO88 10 Park Invoice MIR7
    11 Check the posted entries for the asset AS03 11 Display Invoice MIR4
    12 Cancel Invoice MR8M
    13 Release Blocked invoice MRBR
    14 Display of Invoice documents MIR5
    Test Description: Posting of Gas Gain / Loss at the end of the Month Test Description: Physical Inventory
    No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
    1 Create Physical Inventory Document and Post MI10 1 Create Physical inventory document MI01
    2 Update Excise Records J1IG / J1I5 2 Change Physical Inventory Document MI02
    3 Display Physical Inventory Document MI03
    4 Enter Inventory count MI04
    5 Recount MI11
    6 Post difference count MI07
    7 Count/ difference MI08
    Test Description: Filling of Cylinders 8 Update Excise Records J1IG / J1I5
    No. Business Process Steps Transaction Code
    1 Run the Filling Transaction ZFILL
    2 Check for the Material Document MB03
    Test Description: Day End Excise Transactions
    No. Business Process Steps Transaction Code
    1 Update of Registers RG1 and RG23 (Part 1) J1I5
    2 Escise Register Extraction J2I5
    3 Print Excise Registers J2I6
    4 Download Register Data J1IR
    Test Description: STO Process Manufacturing to Trading Test Description: STO Process Trading to Trading
    No. Business Process Steps Transaction Code No. Business Process Steps Transaction Code
    1 Create PO ME21N 1 Create PO ME21N
    2 Change PO ME22N 2 Change PO ME22N
    3 Display PO ME23N 3 Display PO ME23N
    4 Print PO ME9F 4 Print PO ME9F
    5 Create Outbound delivery VL10B 5 Create Outbound delivery VL10B
    6 Change Outbound delivery VL02N 6 Change Outbound delivery VL02N
    7 Display Outbound delivery VL03N 7 Display Outbound delivery VL03N
    8 Print of Material Document MB90 8 Print of Material Document MB90
    9 Create Excise Invoice J1IS 9 Create Excise Invoice J1IJ
    10 Goods Receipts MIGO 10 Goods Receipts MIGO
    11 Capture and Post Excise J1IG 11 Capture and Post Excise J1IG
    12 GR for free goods receipt MIGO 12 GR for free goods receipt MIGO
    13 Post Excise for free goods J1IG 13 Post Excise for free goods J1IG
    14 Print of Material Document MB90 14 Print of Material Document MB90
    Test Description: STO Process Trading to Manufacturing
    No. Business Process Steps Transaction Code
    1 Create PO ME21N
    2 Change PO ME22N
    3 Display PO ME23N
    4 Print PO ME9F
    5 Create Outbound delivery VL10B
    6 Change Outbound delivery VL02N
    7 Display Outbound delivery VL03N
    8 Print of Material Document MB90
    9 Create Excise Invoice J1IJ
    10 Goods Receipts MIGO
    11 Capture and Post Excise J1IG
    12 GR for free goods receipt MIGO
    13 Post Excise for free goods J1IG
    14 Print of Material Document MB90
    Sr.no Transaction Menu Path
    1 Create PR for Materials
    (ME51) Log&#61664;MM&#61664;Purchasing&#61664;Requisition&#61664;create&#61664;Ent
    er appropriate document type,item category(blank for materials),appropriate A/C ***.Cat,Del date,plant,pur grp,mat grp and ‘Req tracking no’ and ‘Requisitioner’(not mandatory)&#61664;press enter&#61664;Enter MESC no. of the material or Description in short text/long text,Qty,unit&#61664;press enter&#61664;Enter estimated unit price&#61664;press enter&#61664;Enter G/L A/C and Cost centre or ‘ORDER’depending upon A/c ***. Category&#61664;press enter&#61664;Save. Note the PR no.
    2 Create PR for Services (ME51) Log&#61664;MM&#61664;Purchasing&#61664;Requisition&#61664;create&#61664;Enter appropriate document type,item category’D’, appropriate A/C ***.Cat,Del date,plant,pur grp,mat grp and ‘Req tracking no’ and ‘Requisitioner’(not mandatory)&#61664;press enter&#61664; ‘Do you want to create outline?’&#61664;No&#61664;Enter job heading in Short text,service no or service descriptionin item 10,20,- - - - ,Qty,unit,estimated price&#61664;click on ‘Outline’&#61664;Enter G/L A/C noand Cost centre or ORDER’depending upon A/c ***. Category&#61664;Click on job heading&#61664;click on ‘new sub group’&#61664;Create new subgroups such as ‘Scope of work’, ‘Special conditions, etc&#61664;Save. Note the PR no.
    3 Check Release Strategy for PR (ME54) Log&#61664;MM&#61664;Purchasing&#61664;Requisition&#61664;display&#61664;Enter PR no.&#61664;Press Enter&#61664; Select the line item and click on the Release Strategy (Green) icon&#61664;Note the release strategy.
    4 Create Service RFQ
    (ME41) Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;RFQ&#61664;Create&#61664;Enter Quot. Deadline,pur org,pur grp,plant, &#61664;Click on ‘Ref to Preq’,Enter PR no&#61664;.press enter&#61664;Select services &#61664;Click on ‘Copy+Dtails’ &#61664;Click on Vendor adress&#61664;Select Vendor&#61664;Press Enter&#61664;Check vendor details&#61664;Save&#61664;Note collective RFQ no.&#61664;Press Enter&#61664;Note the individual vendor RFQ no.&#61664;Select second vendor and follow the same procedure for as many no of vendors as deesired.
    If Quotations are to be compared with the BPCL estimate, then create RFQ for ‘BPCL Estimate’as a vendor (vendor no.300648)
    5 Printing of RFQ’s(ME9A) Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;RFQ&#61664;Messages&#61664;print/transmit&#61664;Enter individual vendor’s RFQ no&#61664;Execute&#61664;tick in the check box&#61664;click on output
    6 Reprinting of RFQ Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;RFQ&#61664;change&#61664;Enter RFQ no.&#61664;enter&#61664;click on Header&#61664;Messages&#61664;Delete the message ‘NEU’ and create new message by writing ‘NEU’&#61664;press enter&#61664;Save&#61664;enter printer name&#61664;tick on print immediately & release after output&#61664;Enter.
    7 Maintain RFQ
    (ME47) Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;Quotation&#61664;Maintain&#61664;Enter each party’s Individual RFQ no.&#61664;Enter&#61664;select the item and click on ‘services’&#61664; Enetr the tax code&#61664; Enter quotations of each party against each line item and save&#61664;Enter jurisdiction code. .
    8
    Quotation comparison
    (ME49)
    Log&#61664;MM&#61664;Purchasing&#61664;RFQ/Quotation&#61664;Quotation&#61664;Price Comparison&#61664;Enter collective RFQ no.&#61664;Execute
    9 Create PO wrt RFQ(ME21) Log&#61664;MM&#61664;Purchasing&#61664;Pur. Ord&#61664;create&#61664;vendor known&#61664;Ref to RFQ&#61664;Enter Vendor’s RFQ no&#61664;Enter&#61664;Select the items&#61664; ‘Copy+ Details’&#61664;press enter&#61664;Enter jurisdiction code&#61664;Save. Note the PO no.
    10 Create Service PO
    Vendor known
    (ME21) Log&#61664;MM&#61664;Purchasing&#61664;Pur. Ord&#61664;create-vendor known&#61664;Enter vendor no, Pur org’1000’, Pur Grp, Item Cat.’D’, A/C ***.cat.’K’, Delivery Date, Plant, Material group (alpha numeric for services), Req tracking no. (Optional)&#61664;Press enter&#61664;Acknowledge the warning&#61664;Do you want to create Outline? Press “NO”&#61664;Enter the short text of the services in the header&#61664;Enter service no. or the short text of the services with quantity,Unit and Price.To write more details about services,select the line item & click on “Long text for line”(Paper and pencil symbol) OR double click on the service line item &#61664;click on long text symbol against line item short text&#61664;Enter ‘G/L A/C’ and ‘Cost Centre’&#61664;Save&#61664;enter Tax code ‘00’&#61664;press enter&#61664;Enter jurisdiction code ‘IN 00’&#61664;Note the PO number.
    11 Check Release Strategy for PO(ME23) Log&#61664;MM&#61664;Purchasing&#61664;PO&#61664;display&#61664;Enter PO no.&#61664;Press Enter&#61664;Go back&#61664;Select the line item and click on the Release Strategy (Green) icon&#61664;Note the release strategy.
    12 Release PO(ME28) Log&#61664;MM&#61664;Purchasing&#61664;PO&#61664;Release&#61664;Enter PO no in document no. and Release code &#61664;Execute&#61664;select the PO&#61664;Click on ‘Release + Save’.
    13 To paste a file in any long text Create a word document and save the same as RTF file.
    To upload this file in the long text, click on Text&#61664;Upload&#61664;select radio button on RTF&#61664;Click on ‘Transfer’&#61664;Give menu path for the saved RTF file&#61664;Click on Transfer&#61664;Go back&#61664;Save.
    14 Create SES(ML81) Logistics&#61664; Materials Management &#61664; Purchasing &#61664; Purchase order Display&#61664;Purchase Order Select Purchase Order &#61664;Follow on Functions &#61664; Service Entry Sheet &#61664; Maintain &#61664; Press Enter &#61664; Select the item &#61664;Click on Create Entry sheet icon &#61664; Click Service sel icon &#61664; Press enter &#61664; Select items &#61664; Click on Adopt services icon &#61664; Enter the actual quantities &#61664; Save.
    15 Release SES(ML81) Logistics &#61664; Materials Management &#61664; Purchasing &#61664; Purchase Order &#61664; Follow On Functions &#61664; Service Entry Sheet&#61664; Maintain &#61664; Select the Purchase order No. &#61664; Press Enter &#61664; Double Click on Service Entry Sheet No. &#61664; Go Back &#61664; Click on Accept icon (green colour) &#61664; Enter appropriate release code as per authority &#61664; Save.
    16 Logistic Invoice verification
    (MR1M) Logistics &#61664; Materials Management &#61664; Purchasing&#61664; Purchase Order &#61664; Display &#61664; Purchase Order&#61664; Follow On Functions &#61664;Log .Inv Ver.&#61664;Enter Doc date, Gross inv amount,Press enetr . Check the tax code for TDS/WCT W.tax base (if applicable.If w.tax base amount is not mentioned the system will take Gross inv amount by default for calculating works contract tax) ),terms of payment & W tax code will get defaulted from vendor master, &#61664;Click on header &#61664; Enter PO number in Allocation ,House bank and Payment method as C ( Cheque) &#61664;Go Back &#61664;Click on item list &#61664;Check the green signal and then save.
    17 Goods Issue(MB1A) Logistics &#61664; Materials Management &#61664;Inventory management&#61664;Goods movement &#61664;Goods Issue&#61664;Click on ‘To Reservation’ and enter Resservation no,if GI to be done wrt to reservation.Otherwise enter movement type,plant,sloc&#61664;press enter&#61664;Enter MESC no,Qty,Cost centre or ORDER as the case may be and SAVE.
    L8 Goods Receipt
    (MB01) Logistics &#61664; Materials Management &#61664; Purchasing&#61664; Purchase Order &#61664;Display&#61664;Purchase Order &#61664; Follow On Functions &#61664;Goods receipt&#61664;Bill of lading or delivery challan no&#61664;click on ‘copy+details’,Enter quantity to be received&#61664;Save.
    19 Electricity and other Statutory payments
    (ME21) Create PO with Vendor known, order type FO, Item Category ‘B’ and A/C ***.Cat ‘K’.&#61664;Press enter&#61664;Enter validity start and end date&#61664;Enter&#61664;Enter short text, overall limit & expected value&#61664;Enter&#61664;Enter G/L A/C, Cost Centre&#61664;Enter&#61664;Save&#61664;Enter tax code&#61664;Enter&#61664;Note the FO order no.
    For this order neither Service Entry nor Goods receipt is required. An Invoice can be directly processed in the system for making payment.
    Carryout Logistics Invoice verification in reference to the purchase order. Though the cost center defaults from the purchase order, the same can be changed during the invoice verification.
    20 LIV for FO order
    (MR1M) Logistics &#61664; Materials Management &#61664; Purchasing&#61664; Purchase Order &#61664; Display &#61664;Purchase Order&#61664; Follow On Functions &#61664;Log .Inv Ver.&#61664;
    Enter Document Date, Reference, & Amount to
    be paid. Press enter .Check the tax code for TDS/WCT.Click on header . Enter the PO number in Allocation/House bank and payment method. Go back.
    Click on Item list &#61664; Select the invoice item by ticking in the check
    box on the left &#61664; Click on Account Assignment &#61664; In the account assignment page &#61664; enter the amount you have entered earlier in the amount field (The amount can be distributed amongst various cost centres) &#61664; Go back &#61664; Indicator turns green &#61664; Save
    21 Travel & Ticketting Create standard PO type NB with item category ‘D’ and A/C ***. Cat ‘K’.Enter each bill as line item.While entering the G/L A/C and Cost centre , enter ‘INDAIRLINES’ or ‘JETAIRWAYS’ in the ‘ORDER’ so that corporation can avail of bulk discount.
    22 Outline Agreement Creation w.r.t. RFQ
    (ME31K) Logistics &#61664;Materials Management &#61664;Purchasing&#61664;Outline Agreement&#61664;Contract&#61664;Create
    Click on Reference to RFQ &#61664;Give the individual RFQ number against which the contract is to be created &#61664;Press enter &#61664;Give the validity start ,end dates and the target value of the contract. Press Enter&#61664;Select the material line item and click on ‘ Copy +Details’ .In case the account assignment is not given befor give the relevant account assingnment category K/F/P and then click on ‘Copy Details’ &#61664;Press Enter &#61664;If the ssignment is not given give the required account assignment now . If it is to be maintained same for all the services click on Auto repeat AA&#61664;Give the Jurisdiction code as IN00 . Check whether all the services have been copied from the RFQ along with the rates by selecting the material line item and then going to services screen (HammerSpanner) &#61664;Save the contract . note the number
    23 Create PO w.r.t. Contract
    (ME21) Logistics &#61664; Materials Management &#61664; Purchasing&#61664; Purchase Order Create &#61664; Vendor known&#61664; Click on Reference to Contract &#61664; Give the Contract number in Outline agreentment field &#61664;Press Enter &#61664;Select The material line item and click on Copy +Details &#61664;Press enter &#61664;Say No when asked “Do you want to create an outline”&#61664;Change the short text as per the requirement and then click on Service Sel icon &#61664;Press enter to select the services from the contract .Select the required services and then click on Services(Adopt Services icon). The quantities of the various line item are defaulted as 1 . Change the quantities as per the requirement. Press enter . Save the PO and note the number .
    24 PO for one time vendor Create standard PO with vendor code ‘900000’. Give correct vendor details. Save and release the PO. For one time vendor IV to be done and not LIV.
    25 IV for one time vendor Logistics&#61664; Materials Management &#61664; Purchasing &#61664; Purchase order Display&#61664;Purchase Order Select Purchase Order &#61664;Follow on Functions &#61664;Invoice verification&#61664;Enter all details of bills&#61664;Enter &#61664;Cancel&#61664;Enter Amount ,Payment method,Payment method supplement&#61664;Enter&#61664;Simulate &#61664;Save.
    26 Cancel PO(ME22) Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;change&#61664;Enter PO no.&#61664;enter&#61664;Select the items to be cancelled&#61664;Click on delete.
    27 Close PO
    (ME22) Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;change&#61664;Enter PO no.&#61664;enter&#61664;click on Header&#61664;Details&#61664;Tick on complete Delivery&#61664;Save
    28 Print PO
    (ME9F) Logistics &#61664; Materials management &#61664; Purchasing &#61664; Purchase Order &#61664;Messages&#61664;print/transmit&#61664;Enter PO no.&#61664;Execute&#61664;Tick in the check box&#61664;Click on output&#61664;Output device ‘LOCL’&#61664;tick on print immediately
    29 Reprinting of PO Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;change&#61664;Enter PO no.&#61664;enter&#61664;click on Header&#61664;Messages&#61664; create new message by writing ‘NEU’&#61664;press enter&#61664;Save&#61664;enter printer name&#61664;tick on print immediately & release after output&#61664;Enter.
    30 PO History
    (ME23) Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;Display&#61664;Enter PO no.&#61664;Press Enter&#61664;(Incase of metrials select the material line item . For services Go back to material screen &#61664;Select line item & click on PO history(Graph symbol)
    31 LD Deductions Log&#61664;MM&#61664;Invoice verification&#61664; Invoice verification&#61664;Click on ‘Enter credit memo’&#61664;Enter document date,vendor code,company code 1000,currency&#61664;Click on ‘Memo’ icon&#61664;Enter reason for LD&#61664;Click on enter&#61664;Enter the amount,payment method supplement&#61664;press enter&#61664;Click on Edit&#61664;New item&#61664;G/L Account&#61664;Enter G/L A/C ‘480070’,click on ‘Credit Posting’&#61664;Press Enter&#61664;Fill in the same amount & Business area&#61664;Enter&#61664;Save.
    32 Release of Retention Money After the final Invoice verification, Find out all the Invoicing documents from the PO history.
    Log&#61664;MM&#61664;Purchasing&#61664;Purchase order&#61664;Display&#61664;Enter PO no.&#61664;Press Enter&#61664;(Incase of metrials select the material line item . For services Go back to material screen &#61664;Select line item & click on PO history(Graph symbol)
    Double click on the LIV documents&#61664;click on ‘Follow on Documents’&#61664;Double click on the retention money document&#61664;Document&#61664;Display->Change&#61664;Change the base line date (6 months from the final bill) and remove payment block ‘H’&#61664;Save.
    By this procedure the payment shall fall due 6 months after the final bill or on the ‘Base line date’
    33 Down payment Request Accounting&#61664;Financial Accounting&#61664;Accounts payable&#61664;Posting&#61664;Down payment&#61664;Request&#61664;Enter Document date, document type KA, company code 1000,posting date, currency. vendor code, Trg .SP G/L Ind. ‘A’ &#61664;Press Enter&#61664;Enter the amount of advance, Business area, Due on date, PO no against which the advance is being paid, item no 10 in the next field, Enter PO no preceded by ‘*’ in the allocation field, Enter relevant text in the text field, Enter the relevant W.tax code(from ‘D’ series)&#61664;Press Enter&#61664;Accept warning, if any&#61664;Click on more data from menu&#61664;Enter house bank &#61664;Save
    34 Check Vendor Line items for above Accounting&#61664; Financial Accounting&#61664;Accounts payable&#61664;Account&#61664;Display Line items&#61664;Enter Vendor code&#61664;Tick open items with special G/L indicators button, Go to selection criteria, Enter business area&#61664;Enter&#61664;Note the displayed Vendor line items for Down payment request in open items
    35 Clearing Down Payment Accounting&#61664;Financial Accounting&#61664;Accounts payable&#61664;Posting&#61664;Down payment&#61664;Clearing&#61664;Enter Document date, posting date, company code, currency, Vendor code, Relevant Invoice document no against which the document is to be recovered, fiscal year, Enter PO no preceded by * in the Allocation field, Enter relevant text in the text field&#61664;Enter&#61664;Message ‘Correct the line marked line items appears, Double click the line item, Enter the relevant text, payment method supplement&#61664;Save. For checking the Vendor line item for Down payment clearing, follow the same menu path as in Sr no. 31
    36 Enter Credit Memo Logistics&#61664;Material Mgmt &#61664;Invoice verification&#61664; Enter Credit memo&#61664;Fill in the details: Date - “ Today’s Date”, Document Type - “ KA”, Company code - “1000”, Currency - “ INR”, Vendor code - “fill in vendor code” Do not enter P.O No. Press Enter&#61664; Fill in the amount to be deducted with “ withholding Tax code” as “Z0”, Payment method as “C”, payment method supplement as applicable Invoice ref No “ Eight digit No as noted from invoice document” and Necessary text in “allocation”. Press Enter&#61664; In this screen, use path Edit&#61664; New item&#61664; GL Account(480070 for LD and 480000 for misc income), In the pop-up box press Radio button as “Credit posting” Fill in necessary GL Account as mentioned below Press enter &#61664; In this screen Give the same amount and fill in the “Business Area” where credit is to be given {In case of Credit, to be given for multiple business area/ GL account repeat} Press Enter&#61664;Click on simulate (check the entries are Proper i.e. diff is zero.) &#61664;Save&#61664; Note and record Credit document No
    You can revert back with a bit more elaboration of your scenario.
    Regards,
    Sushama

  • File adapter validate file checking directory for files

    Hi Gurus,
    We have requirement. There are 3 directories (Processing, Error and Archive)in the Source side.SAP PI need to pick up a file called "abc.txt" from the processing tab.
    But there is a condition.
    1. If "abc.txt" file exists in the "Error" directory then Not process the interface.
    2. If there is no "abc.txt" file in the "Error" directory then validate the file "abc.txt" in the "Processing" directory. If the file is not according to the validation rule then move the "abc.txt" file to the "Error" directory and then stop the processing.
    3. if the above two conditions are ok then move the "abc.txt" file to "archive" directory and send the file to PI.
    Please help me to achive this requirement.

    Hi Kevin,
    You need to use the option of "advanced selection for source file" in the source tab of  sender comm. channel.
    chk this link :-
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter
    hope its of some help
    Regards,
    Rohit

  • File adapter - Write - Elapsed Time based batching not working.

    We are creating an asynchronous BPEL process that creates a file every 2 mins with the messages the BPEL process received in the last 2 minutes. We are using a file adapter with only "elapsed time" set to 2 minutes (Number of Messages and File size disabled) . If we deploy this into BPEL console and use bpel console's stress test feature, it doesnt create any file at all. If we use a file adapter based on Number of messages, it works fine. Can any one of you suggest what could be the problem ?

    Unfortunately, this is documented bahaviour (solution/workaround anyone?!):
    Elapsed Time Exceeds:
    Specify a time which, when exceeded, causes a new outgoing file to be created.
    Note:
    The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
    For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

  • Typical Requirement in File Adapter

    Hi All,
              My scenario is File to Proxy.
    Now scenario to pick up the File (at sender) is like this:
    There is a file pick up from FTP Server daily. We will have two files on FTP server.First file is a blank file , which we call a FLAG File. Second file is DATA File containing required data to update in SAP.
    Its a conditional File pick up:
    1. If FLAG File (Blank) is present on FTP Server then pick up the data file and delete Flag File.
    else
    2.If FLAG File is not present on FTP server, dont pick up the DATA File and stop Processing.
    Please suggest some good solution to achieve the same using File Adapter.
    Also suggest, if same can be customised through Run Operating System before\after message processing.
    Please help.Its Urgent..
    Thanks,
    Anurag

    Suggestion 1: You need a BPM for this. Poll for the flag file and if present it gets into BPM. Inside the BPM check the content of the file. Remember only with latest SP you get the option to generate a message for an empty file. Use a conditional branch and proceed with the rest of the processing. You can use a dummy correlation.
    Suggestion 2: Use scripts and schedule this at OS level (independent of XI). In the script file do the vaildation of checking the flag file and if the validation is ucess move the data file to the foolder FIle adapter keeps polling.
    Regards,
    Jaishankar

  • File adapter SyncRead Operation adds "???" to first record of csv file

    Hi All,
    One interface is reading one CSV file (containing two fields only) using SyncRead Operation of File Adapter. But I found, when file adapter parsed the data it appends "???" to first field of the first record which cause further data validation in the process.
    Test.csv file
    123456,159357
    147258,987654
    Trace of the FileAdapter:
    <messages>
    <Invoke_FILE_Inbound_InputVariable>
    <part  name="Empty">
    <empty/>  
    </part>
    </Invoke_FILE_Inbound_InputVariable>
    <Invoke_FILE_Inbound_OutputVariable>
    <part  name="body">
    <Root-Element>
    <TestElements>
    <Emplid>���123456</Emplid>  
    <SupId>159357</SupId>
    </TestElements>
    <HRRespIDElements>
    <Emplid>147258</Emplid>  
    <SupId>987654</SupId>
    </TestElements>
    </Root-Element>
    </part>
    </Invoke_FILE_Inbound_OutputVariable>
    </messages>
    Can anyone help me to understand , what is reason? Or I missed anything.
    Thanks & Regards,
    Sharmistha

    Unfortunately, this is documented bahaviour (solution/workaround anyone?!):
    Elapsed Time Exceeds:
    Specify a time which, when exceeded, causes a new outgoing file to be created.
    Note:
    The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
    For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

  • OutBound File Adapter Issue

    Hi,
    I need some help in configuring file adapters:
    Process: I have a inbound adapter where i am feeding 4000 - 5000 rows of data from a flat file. I use these records to query a database and get response. I have a outbound file adapter where I write database response to a file.
    Problem: I have set the, write new file to 100 records. But if there are 3950 records going to outbound file adapter, It is only writing 3900 records in the output file directory.
    I need to write all records to the file. Please help me achieve this.
    Thank You
    Anil

    Hi,
    the batching criteria (100) is not met.
    You could improve the bahaviour by setting "Elapsed Time Exceeds" parameter, but still, there are some probs because critaria is only evaluated on invocation (anyone has an answer to that?!):
    from Doc:
    Elapsed Time Exceeds: Specify a time which, when exceeded, causes a new outgoing file to be created.
    Note:
    The Elapsed Time Exceeds batching criteria is evaluated and a new outgoing file is created, only when an invocation happens.
    For example, if you specify that elapsed time exceeds 15 seconds, then the first message that is received is not written out, even after 15 seconds, as batching conditions are not valid. If a second message is received, then batching conditions become valid for the first one, and an output file is created when the elapsed time exceeds 15 seconds.

  • How to iterate through multiple records read from a file adapter?

    I am reading multiple records from a file using SyncRead file adapter.
    I want to iterate through the records to perform some action on every record. How to do this?
    I found few threads related to this..but did not get the solution.
    Please note that I am using Jdev 10.1.3.4
    Thanks

    For count expression, I am getting following error:
    <Faulthttp://schemas.oracle.com/bpel/extensionhttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>null:subLanguageExecutionFault</faultcode>
    <faultstring>business exception</faultstring>
    <faultactor>cx-fault-actor</faultactor>
    <detail>
    <code>XPathExecutionError</code>
    <summary>XPath expression failed to execute. Error while processing xpath expression, the expression is "ora:countNodes(bpws:getVariableData('Invoke_3_SynchRead_OutputVariable','EmpCollection','/ns4:EmpCollection'))", the reason is FOTY0001: type error. Please verify the xpath query. </summary>
    </detail>
    </Fault>
    I hard-coded count, in order to proceed. Then I got following error
    <Faulthttp://schemas.oracle.com/bpel/extensionhttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>null:bindingFault</faultcode>
    <faultstring>business exception</faultstring>
    <faultactor>cx-fault-actor</faultactor>
    <detail>
    <code>null</code>
    <summary>file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELProcess4_1.0_dc4a703c46a242f69d6cea305b2df3a3.tmp/WriteDA.wsdl [ WriteDA_ptt::insert(VbEmpCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: Mapping Not Found Exception. The mapping [C1] for descriptor [class bpel___localhost_default_BPELProcess4_1_0__MD5_ad2539e1386433a9e059bcc969732f11_.WriteDA.VbEmp] could not be found. The input xml record had an element [VbEmp/C1]. ; nested exception is: ORABPEL-11627 Mapping Not Found Exception. The mapping [C1] for descriptor [class bpel___localhost_default_BPELProcess4_1_0__MD5_ad2539e1386433a9e059bcc969732f11_.WriteDA.VbEmp] could not be found. The input xml record had an element [VbEmp/C1]. Make sure that the input xml is valid relative to the xsd and that the mapping exists in the Mappings.xml. If an old version of the descriptor without this mapping 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 attribute/mapping. </summary>
    <detail>null</detail>
    </detail>
    </Fault>
    The bpel code is as follows (I can share entire BPEL project..But not sure how to attach to the thread :( )
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Wed Feb 03 18:00:26 IST 2010
    Author: administrator
    Purpose: Synchronous BPEL Process
    -->
    <process name="BPELProcess4"
    targetNamespace="http://xmlns.oracle.com/BPELProcess4"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:ns4="http://TargetNamespace.com/InboundService"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/BPELProcess4"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/ReadFA/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns3="http://xmlns.oracle.com/pcbpel/adapter/db/top/WriteDA"
    xmlns:ns2="http://xmlns.oracle.com/pcbpel/adapter/db/WriteDA/"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:BPELProcess4"
    myRole="BPELProcess4Provider"/>
    <partnerLink name="WriteDA" partnerRole="WriteDA_role"
    partnerLinkType="ns2:WriteDA_plt"/>
    <partnerLink name="ReadFA" partnerRole="SynchRead_role"
    partnerLinkType="ns1:SynchRead_plt"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="inputVariable"
    messageType="client:BPELProcess4RequestMessage"/>
    <variable name="outputVariable"
    messageType="client:BPELProcess4ResponseMessage"/>
    <variable name="Invoke_2_insert_InputVariable"
    messageType="ns2:VbEmpCollection_msg"/>
    <variable name="Invoke_3_SynchRead_InputVariable"
    messageType="ns1:Empty_msg"/>
    <variable name="Invoke_3_SynchRead_OutputVariable"
    messageType="ns1:EmpCollection_msg"/>
    <variable name="Invoke_3_SynchRead_InputVariable_1"
    messageType="ns1:Empty_msg"/>
    <variable name="Count" type="xsd:integer"/>
    <variable name="iterater" type="xsd:integer"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in BPELProcess4.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:BPELProcess4" operation="process"
    variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <invoke name="Invoke_3" partnerLink="ReadFA" portType="ns1:SynchRead_ptt"
    operation="SynchRead"
    outputVariable="Invoke_3_SynchRead_OutputVariable"
    inputVariable="Invoke_3_SynchRead_InputVariable_1"/>
    <assign name="Assign_1">
    <copy>
    <from expression="1"/>
    <to variable="iterater"/>
    </copy>
    <copy>
    <from expression="1"/>
    <to variable="Count"/>
    </copy>
    </assign>
    <while name="While_1"
    condition="bpws:getVariableData('iterater') &lt;= bpws:getVariableData('Count')">
    <sequence name="Sequence_2">
    <switch name="Switch_1">
    <case condition="bpws:getVariableData('Invoke_3_SynchRead_OutputVariable','EmpCollection','/ns4:EmpCollection/ns4:Emp/ns4:C4') = &quot;Pune&quot;">
    <sequence name="Sequence_1">
    <assign name="Assign_3">
    <copy>
    <from expression="bpws:getVariableData('Invoke_3_SynchRead_OutputVariable','EmpCollection','/ns4:EmpCollection/ns4:Emp')[bpws:getVariableData('iterater')]"/>
    <to variable="Invoke_2_insert_InputVariable"
    part="VbEmpCollection"
    query="/ns3:VbEmpCollection/ns3:VbEmp"/>
    </copy>
    </assign>
    <invoke name="Invoke_2" partnerLink="WriteDA"
    portType="ns2:WriteDA_ptt" operation="insert"
    inputVariable="Invoke_2_insert_InputVariable"/>
    </sequence>
    </case>
    <otherwise>
    <sequence name="Sequence_3">
    <empty name="Empty_1"/>
    <assign name="Transform_1">
    <bpelx:annotation>
    <bpelx:pattern>transformation</bpelx:pattern>
    </bpelx:annotation>
    <copy>
    <from expression="ora:processXSLT('Transformation_3.xsl',bpws:getVariableData('Invoke_3_SynchRead_OutputVariable','EmpCollection'))"/>
    <to variable="Invoke_2_insert_InputVariable"
    part="VbEmpCollection"/>
    </copy>
    </assign>
    </sequence>
    </otherwise>
    </switch>
    <assign name="Assign_2">
    <copy>
    <from expression="bpws:getVariableData('iterater') + 1"/>
    <to variable="iterater"/>
    </copy>
    </assign>
    </sequence>
    </while>
    <reply name="replyOutput" partnerLink="client"
    portType="client:BPELProcess4" operation="process"
    variable="outputVariable"/>
    </sequence>
    </process>
    From the process flow, I can see that the array element expression works and the first employee record is correctly assigned to the Invoke_2_Input_Variable.
    However Invoke_2 is erroring out.
    Thanks
    Edited by: user8645981 on Feb 5, 2010 2:44 AM

  • File adapter-How to set line break in text file-split record into two lines

    Dear Guru's,
    I have to solve following problem with XML (with mulitiple records) to TEXT file scenario using file adapter. I have to output for ever ONE data record in XML always two identical lines in text file. Second line should have a little bit different mapping in few fields like date,... So I did duplicate fileds in my output structure in mapping and need to know how to set line break in the middle and see half of structure in first line and next structure half in second line
    My output structure in mapping is:
    CASHFLOW
    - INTERFACE
    - GESELLSCHAFT
    - ANWENDUNG
    - PRODUKT
    - VERTRAG
    - BETRAG
    - WAEHRUNG
    - DIRECTION
    - BEWEGUNGSTYP
    - FAELLIGKEIT
    - ZINSFESTSTELLUNG
    - ZAHLUNGSTAG
    - RENDITE
    - INTERFACE2
    - GESELLSCHAFT2
    - ANWENDUNG2
    - PRODUKT2
    - VERTRAG2
    - BETRAG2
    - WAEHRUNG2
    - DIRECTION2
    - BEWEGUNGSTYP2
    - FAELLIGKEIT2
    - ZINSFESTSTELLUNG2
    - ZAHLUNGSTAG2
    - RENDITE2
    Question is how can I set on receiving file adapter in Content Conversion Parameters that fields from first structure half INTERFACE...RENDITE should be outputed in one line and fields from second half of structure INTERFACE2...RENDITE2 should start on second line in final text file.
    I'm getting at the moment one line only and I need to know how can set line break so that second line starting with INTERFACE2(CA)...RENDITE2 will start in new line.
    CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",2,12,2009-01-28,2009-01-27,2009-01-28,"0.0000000",CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",1,10,2009-01-27,2009-01-27,2009-01-27,"0.0000000"
    This should be final output:
    CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",2,12,2009-01-28,2009-01-27,2009-01-28,"0.0000000"
    CA,"0100","7","512",20090127010001,-12454762586.6800,"EUR",1,10,2009-01-27,2009-01-27,2009-01-27,"0.0000000"
    My file adapter settings:
    RecordsetStructure=CASHFLOW
    CASHFLOW.fieldNames=INTERFACE,GESELLSCHAFT,ANWENDUNG,PRODUKT,VERTRAG,BETRAG,WAEHRUNG,DIRECTION,BEWEGUNGSTYP,FAELLIGKEIT,ZINSFESTSTELLUNG,ZAHLUNGSTAG,RENDITE
    CASHFLOW.fieldSeparator=,
    CASHFLOW.endSeparator='nl'
    CASHFLOW.fieldNames=INTERFACE2,GESELLSCHAFT2,ANWENDUNG2,PRODUKT2,VERTRAG2,BETRAG2,WAEHRUNG2,DIRECTION2,BEWEGUNGSTYP2,FAELLIGKEIT2,ZINSFESTSTELLUNG2,ZAHLUNGSTAG2,RENDITE2
    CASHFLOW.fieldSeparator=,
    It wont help if I add two identical structures in mapping because in output i would see for multiple entries section with first lines only and after that section with second lines only. And CASHFLOW is one part of more complex mapping ...
    (This is final output structure RecordsetStructure=HEADER,CASHFLOW,CONDITION,REFERENCE,CONTRACT - more sections with different data and all these should have duplicate lines at the end)
    Thanks a lot for any help
    Cheers
    Marian
    Edited by: Marian  Luscon on Jul 14, 2009 11:44 AM

    Hi Ivan,
    right, I did test just for sure.
    Putting constant 'nl' into field CASHFLOW-INTERFACE1 didnt help - still getting one line instead two lines.
    CA ,"0100" ,"7" ,"512" ,20090127GTP101 ,-12454762586.6800 ,"EUR" ,2 ,12 ,2009-01-28 ,2009-01-27 ,2009-01-28 ,"0.0000000" ,'nl' ,"GTP1" ,"7" ,"512" ,20090127GTP101 ,-12454762586.6800 ,"EUR" ,1 ,10 ,2009-01-27 ,2009-01-27 ,2009-01-27 ,"0.0000000"
    So there is still question. Is there any way (mapping,...) how to output always 2 lines in text file for one record in XML. It always does 1 record in mapping structure = 1 line but we need 2 lines ...
    Example:
    Input: 4 records in XML
    Output: 8 lines in final text file ...
    Thanks to you all guys
    Marian

Maybe you are looking for

  • Need to install Snow Leopard--seems complicated.  Can I pay Apple store to do it?

    While I'm mostly a right brain  type (writer), I can still do a lot of semi-geeky on my Mac Book Pro and even recently figured out how to rescue my mother's iMac from the "death screen" by using some keyboard shortcuts after unplugging all her cords.

  • Maximum number of volumes "dbmsrv" can handle

    We plan to reorganize our production EPR system. Our SAN has 176 disks. To be able to distribute the load evenly across all the physical disks I want to create as much volumes for the database. I know from the past that "dbmsrv" wasn't able to handle

  • I can't edit my image in the browser

    Hi everyone, I have a problem with the new feature of Adobe Muse (editing with browser) When i publish the site with the edit window, i can only change the TEXT....I can't edit or insert new image even if the bloc image is editable...(i have a messag

  • Where there are effects in the menubar?

    Hi, I've Logic Pro 9.6 and Soundtrack Pro 3. Sometimes. In this last time I would like to insert a plugin in a part of an audiofile. Once a time I used to go in the menubar searching PROCESS > EFFECTS and then find a list of plugins, but now there is

  • Getting photoshop cs4 to work like image ready cs2 did for web - help :)

    maybe one day i'll be able to come on here and give someone some help ok im pretty new to using cs4 photoshop and i was quite comfortable in using cs2 with the swith over to image ready when doing slices and rollovers etc, i have seen various people