Customizing af:document uncommittedDataWarning

JDeveloper Version 11.1.1.2.0
I’m using the <af:document uncommittedDataWarning="on" property as discussed on http://www.oracle.com/technology/products/adf/patterns/11/UnsavedDataWarning.html
Is it possible to overwrite the popup message with a new message?
For example “The page contains uncommitted data.” might become “The page contains unsaved data.”
Is it possible to fire some event or method when the user selects “OK”?
For example do a Rollback event; when the user "Press OK to continue".
Thanks,
Phil

Hi,
you don't call it from a task flow finalize because then you are about to exit the flow. Unless you have a shared transaction, you don't have a chance to commit the transaction once you left the task flow. So you need to show the warning before you leave the task flow (wile still on a view to show the popup). This is the same that the default uncommitted data warning does: it checks the transaction state while you are on the page.
Frank

Similar Messages

  • Send Customer Payment document to external application.

    Dear All,
    I am working on one of our customer requirement to send Customer Payment data from SAP ECC 6.0 to their application using SAP PI 7.0
    I have created a customer Invoice (in Transaction Code FB70)  without any reference document .
    Now I want to generate a Customer payment document on the top of Customer Invoice generated as mentioned above.
    Can any one please suggest the following:
    1) Can we generate Customer payment document in transaction FII0
    2) What are the mandatory parameters to generate Customer payment document.
    3) If I need to send this data to external application using IDOCs , so can i use Program RFFOEDI1 as suggested in other threads.
        what are the parameters needs to given to run the program?
    4) How to configure the our output type so whenever we generate a Customer payment document, an IDOC should be genarated.
    Also please confirm if I can use IDOC PAYEXT with basic type PEXR2001 or should I go for some other IDOC.
    Best Regards
    Honey
    Edited by: Honey Gyanani on Jun 29, 2009 7:19 AM

    I have posted the same Question in ERP Financials and got the answer.
    Honey...

  • Custom xsd document validation referencing child xsd via import/include

    Hi,
    I need to build an ebXML 2.0 agreement which will use multiple xsd's. I have a root xsd document(Company.xsd) which imports two child xsd document(Product.xsd and Person.xsd).
    I've validated the xsd's and it seems to work. I even built a composite process and it works.
    The problem is when I use it in B2B Gateway 11g. I get an error saying it cannot validate against the xsd.
    I followed a thread Re: ebMS with custom xsd document which import other xsd's that tells me that
    I should ZIP it(all top level) and use the zipfile as the document definition and specify the root xsd(Company.xsd). Zipping it with just basic one level
    xsd seems to work but not multi level.
    Are multiple level xsd supported in B2B 11g?
    Regards,
    Robert
    P.S.
    I've attached the xsd and sample xml data.
    --- Company.xsd----
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.company.org" xmlns:per="http://www.person.org" xmlns:pro="http://www.product.org" targetNamespace="http://www.company.org" elementFormDefault="unqualified">
         <xsd:import namespace="http://www.person.org" schemaLocation="Person.xsd"/>
         <xsd:import namespace="http://www.product.org" schemaLocation="Product.xsd"/>
         <xsd:element name="Company">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="Person" type="per:PersonType" maxOccurs="unbounded"/>
                        <xsd:element name="Product" type="pro:ProductType" maxOccurs="unbounded"/>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
    </xsd:schema>
    --- Person.xsd----
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.person.org"
    xmlns="http://www.person.org"
    elementFormDefault="unqualified">
    <xsd:complexType name="PersonType">
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="SSN" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ---- Product.xsd----
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.product.org"
    xmlns="http://www.product.org"
    elementFormDefault="unqualified">
    <xsd:complexType name="ProductType">
    <xsd:sequence>
    <xsd:element name="Type" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ----Sample XML Data----
    <?xml version="1.0" encoding="UTF-8"?>
    <n1:Company xsi:schemaLocation="http://www.company.org Company.xsd" xmlns:n1="http://www.company.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Person>
              <Name>MyName</Name>
              <SSN>12345</SSN>
         </Person>
         <Product>
              <Type>TheProduct</Type>
         </Product>
    </n1:Company>
    Edited by: RSamaniego on 30/08/2010 14:14

    This is the error I'm getting. I got this from the soa-server1-diagnostic file.
    [2010-08-31T08:46:54.209+12:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1e84d54] [userId: <anonymous>] [ecid: 0000If4kAAfECSIMyqqYMG1CV1Rh000033,0] [APP: soa-infra] [dcid: e89d49f26b5a6f2c:11cf61b2:12ac4ba60b9:-7ffd-000000000000002b] oracle.xml.parser.v2.XMLParseException: Element 'Name' not expected.[[
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:342)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processDocument(CustomDocumentPlugin.java:896)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processOutgoingDocument(CustomDocumentPlugin.java:438)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    oracle.xml.parser.v2.XMLParseException: Element 'Name' not expected.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:342)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processDocument(CustomDocumentPlugin.java:896)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processOutgoingDocument(CustomDocumentPlugin.java:438)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Edited by: RSamaniego on 30/08/2010 13:57

  • Receiving Custom XML Document over AS2 (HTTPS) - Inbound Processing

    Hi All,
    Need help in Receiving Custom XML Document over AS2 (HTTPS) - Inbound Processing
    External Trading Partner will be able to post the XML Documents to https://<b2bconsolehost>:<b2bconsoleport>/b2b/httpReceiver.
    Here is the process flow:
    1. External Trading Partner will be posting the XML Documents to https://<b2bconsolehost>:<b2bconsoleport>/b2b/httpReceiver
    2. B2B, consumes the Custom XML validates as per the XSD and process it.
    3. How to send the ACK back to External Trading Partner if it validates successfully and sent it to 'IP_IN_QUEUE'
    4. How to send the ACK back to External Trading Partner if the validation fails after receiving the XML document.
    5. Does the External Trading Partner require any certificates to post the XML Documents to https://<b2bconsolehost>:<b2bconsoleport>/b2b/httpReceiver (no need of encryption/decryption)?
    6. How to enable the B2B server to accept the HTTPS messages from the Trading Partner (no need of encryption/decryption).
    Please let me know. Thanks In Advance.
    Regards,
    Amirineni

    Hi Nandu, Ramesh,
    We have done the set-ups for transmitting a Custom XML Document over HTTP1.1 in B2B.
    Our Business Case is as follows:
    1. Read the Flat File using BPEL File Adapter
    2. Transform the Message in BPEL and send it to B2B
    2. Based on the set-ups in B2B, we need to post the XML message to the folliwng URL:-
    http://databridge.buy.datastream.net:5555/invoke/dsImport/receiveXML
    In the B2B Set-Ups, I have done the following:
    Business Protocol name: Custom Document over Internet
    Exchange Protocol: AS
    Document Protocol: Custom
    Transport Protocol: HTTP-1.1
    Host name : http://databridge.buy.datastream.net
    Port: 5555
    I have also deployed the agreement as well as the configuration. The issue that I am currently facing is when I select the configuration in WSIL browser in JDeveloper, I am getting the following error:
    "Unable to get schema information for target".
    Hence I am not able to map the message in BPEL and send it to B2B.
    Could you please let me know the possible causes and if I am missing anything in the set-ups in B2B.
    As always, your help and guidance is highly appreciated.
    Thanks,
    Dibya

  • Problem printing custom size document

    I am trying to print a custom size document (4.4"x7.2") that I created in Microsoft Word.  I have set the Page size in Word, tried to create a custom size page in my Printer, and am unable to select this paper size in the properties of my printer (using the control panel).  I am at a loss at how to eliminate the "Paper Mismatch" error.  Any assistance would be greatly appreciated.  (I have two other size papers I need to generate documents for as well...4.4"x6.2"  and 4.4"x8.2")
    Thanks!

    kathyfh
    Welcome to the HP Community Forum.
    I doubt I will get any thanks for this; some days are just like that.  Smiling.
    While there are several instances where the Specification Sheet is actually in error and Windows does support Custom sizes for some printer models in a similar printer class, I do believe that in the case of THIS printer model, the specs are correct:  Only Mac OS supports Custom paper sizes.
    More simply said:  You cannot get there from here.
    You are likely stuck with the paper sizes supported by the printer as specified in that Spec sheet.
    I could not find the necessary file  Create Custom Paper Sizes in Windows 7, Windows 8, and Mac OS X  for YOUR printer model that one would expect to see in the How-to Support pages if the "Custom" paper sizes are supported for Windows.
    I could be wrong -- I have been wrong before.   I do not mind being wrong if it means you get what you need.
    If you had something even close to what is allowed, you might be able to select something from the list, adjust the paper in the printer and try to get away with it by adjusting the Printing Preferences.
    Printing Preferences
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • User exit for Change the Tariff Number in Customs Declaration Document

    Hi Guru,
    Due the business requirement, user only maintain the Tariff Number in ECC, there is an solution when GTS creating the customs declaration document in GTS, there is an user exit calling the Function Module (Customized program) to get the Tariff Number from ECC and then update the Tariff number in the item level automatically.
    Do you know if there is user exit or BADI can update the "Tariff Number" in the item level of Customs Declaration Document in GTS?
    Thanks,

    Hi,
    I would not do it in that manner, first because of performance reasons and 2nd, GTS needs to have the Data in the system and for certain procedures (for example swiss customs you will have to manipulate them in GTS). Furthermore we tried to do this for dummy numbers and then conclusion is that it only works with a Programm modification (at least for CH customs) becasue the system needs to retreive more than just the Tarif number.
    Yet if ECC has to be your master for Numbering (which I dont recommend by the way), but if there is really no other way.
    Then create a batch job that transfers the ECCN number to GTS (there is a standard functionnality to do so), and then do a batch job in GTS that retreives these numbers.
    Regards,
    Marc

  • Custom XML Document over AS2

    Hi All,
    We are planning to send Custom XML Document over HTTP(AS2) to the Remote Trading Partner. The XML Document needs to be posted to a particular URL in the Remote Trading Partner Site.Here is the process flow:
    1. The input application format file having the messages will be transformed to an XML message in BPEL.
    2. Then as per the set-ups done in B2B, this particular XML message needs to be posted to a URL.
    I went through the B2B User's Guide but could not find any documentation on how to set up Custom XML Document over HTTP(AS2).
    Could you please share the documents/technical notes or link which I can refer to do the set-ups in B2B.
    Please let me know. Thanks In Advance.
    Regards,
    DIbya

    Hi Nandu, Ramesh,
    We have done the set-ups for transmitting a Custom XML Document over HTTP1.1 in B2B.
    Our Business Case is as follows:
    1. Read the Flat File using BPEL File Adapter
    2. Transform the Message in BPEL and send it to B2B
    2. Based on the set-ups in B2B, we need to post the XML message to the folliwng URL:-
    http://databridge.buy.datastream.net:5555/invoke/dsImport/receiveXML
    In the B2B Set-Ups, I have done the following:
    Business Protocol name: Custom Document over Internet
    Exchange Protocol: AS
    Document Protocol: Custom
    Transport Protocol: HTTP-1.1
    Host name : http://databridge.buy.datastream.net
    Port: 5555
    I have also deployed the agreement as well as the configuration. The issue that I am currently facing is when I select the configuration in WSIL browser in JDeveloper, I am getting the following error:
    "Unable to get schema information for target".
    Hence I am not able to map the message in BPEL and send it to B2B.
    Could you please let me know the possible causes and if I am missing anything in the set-ups in B2B.
    As always, your help and guidance is highly appreciated.
    Thanks,
    Dibya

  • Attaching custom defined document to the BEx-report

    Hai
    I created a query in the Bex-Query Designer and then publish in the web through portals without using WebTemplates.
    Now my client wants to attach a custom defined document(which requirment gathering document) to this query . How can i attach this custom define document to the query .
    When i publish the report in the web then i have following tabs.
    DataAnalysis
    Graphical Display
    Information
    Information Broadcasting .
    when i go to 'information' there i have "Query Documentation" tab . When i press this tab how can i get the my custom defined document
    pls let me know
    kumar

    Hi ,,
    Do this way....
    Go RSA1 --> Documents -> meta data
    then select object type ELEM and select object name <the query u want>
    and add a text there or u can download from the file.
    In BEX in query property check mark the document display then it will show a link in report and when u click that it will show the details..
    did u check this as sent in ur previous thread....
    Thanks,
    Debasish

  • Custom change document object

    I want to trigger a new change object behind the standard tcode . In exit I need to call Y_DEBI_WRITE_DOCUMENT  to update my Y_DEBI custom change object . But when I am trying to update Generation prg on SCDO it asks a Table_frame func module ..
    Is the custom change document objects are designed for custom tables ?.
    Edited by: carlos eduardo on Aug 6, 2008 7:50 AM

    Yes Carlos,
    It is desined for Custom Tables.
    For more information you can look into the following link:
    http://www.sapdevelopment.co.uk/tips/changedoc/cdhome.htm
    Regards,
    Rizwana

  • NO Event created for Customer Billing Document (VF01) in Work Flow

    Hi expert ,
    I would like to trigger a work flow from the customer invoice created event.
    Bus Object should be "VBRK" or "BUS2037" ( Customer billing document )
    But ,I cannot get any event after the billing transaction in VF01.
    I use the "SWEL" transaction to monitor all events triggered, but I don't see any event related with billing ( I only see events for sales order creation ).
    Also in "SWO1" BUS2037 has only one event  : "ItCustBillingDoc.assigned"; but It doesn't make any sense to me .Why isn't there a created event for invoice ?
    Has any of you been thru that problem ?
    Thanks for advising .
    Sincerely
    Yvon.

    Hi thanks for your answer.
    SWELS is activated.
    PB still remains :
    In  SWEL i see no event triggered after the creation of a billing invoice .
    I can only see an event related to BUS2032 which is the sales order creation .
    But nothing related to the billing document although the doument is created in SD ( I have the record in VBRK ).
    Any idea Why ?
    Thanks again

  • Refernce between MIRO document and the customer billing document

    Hi,
    We have aa requirment in the third party business process. Is there any referce table between the Miro document and the customer billing document in case of third party business process other than sale orders.
    Is there any other way where i can know that for this billing document this is my MIRO document number in case of third party business process. For the reportin purpose we need the information is there any table or any function module which satisfies the above requirement.
    Thanks in advance.
    Sunil

    Hi,
    As per my best knowledge there's no direct connection between "MIRO document" and billing document.
    - the logistics invoice(s) (MIRO document) is (are) connected to the PO in table EKBE (PO no. in EBELN, Invoice no. in BELNR where BEWTP="Q")
    - PO and SO are connected in table VBFA (SO no. in VBELV, PO no. in VBELN where VBTYP_N="V")
    - SO and billing documents are connected in table VBFA (SO. no. in VBELV, Billing doc. no. in VBELN where VBTYP_N="M")
    Maybe there are other solutions too.
    Regards,
    Csaba

  • Custom change document is not tracking changes for SAP tables

    Hi gurus,
    I have created a custom change document for tables EKBE and KONV. But the change document is not tracking changes in BDCP table for changes in EKBE or KONV.
    Please help me out.........

    HI,
    Use this link for change pointers concept.
    change pointers
    let me know if u have any issue.
    ~linganna

  • Include messageID in the custom XML document

    Hello B2B Gurus
    Requirement is to include the B2B messageID in XML Payload? For CUstom documents how can this be acheived? is it possible to extract the message ID from the B2B_WIRE_MESSAGE table before the message is sent across the wire to the destination end point.
    Our Requirement is to package the cutom documnet as a SOAP message and also include MessageID in the SOAP headers. SOAP packaging can be acheived through middleware but I am not sure how to extract the messageID? I thought about callout .... but seems like callout interface doesn't provide any additioanl api's to extract the messageID. Please help.

    Hi Anuj
    Thanks for your response.
    Yes it is for O/B Custom Documents. I have used the BPEL Advanced function "generate-guid()" for the messageID generation and I could see the B2B_WIRE_MESSAGE.messageID being populated with the generted messageiD.
    No issues here. Is there an issue with ithis approach?
    Also, I have noticed that the messageID generated internally by B2B is very different from userGenerated messageID.
    For example: B2B Generated Message ID looks like 8A7F95E8131049BE5D9000001693F06F
    where as user genrated looks like 2d363037353031393135323537363133
    do I need to use any special functions to keep the messageID consistent with B2B generated messageID?
    Thanks

  • B2B Custom Inbound Document

    Hello All,
    I was trying the B2B Custom Inbound .... i am keeping a file in a folder..that file i want my trading partner NewPartner to pick up and send that to host MyCompany and i am using B2B adapter in my BPEL composite to receive the file and do some business logic. Now, the file is picked up, but is not getting to the composite...i mean no instances for my composite in EM. when i go to the reports tab in B2B console, it says agreement not found....
    The configuration I did in administration/Documents
    I defined Custom--->1.0---->PurchaseOrder----->PurchaseOrderDef
    And in the PurchaseOrder (Document Type) tab, in the ebMS Section, i have filled the following values...
    Action Name : PurchaseOrder
    Service Name : PurchaseOrder
    From Role : NewPartner
    To Role : MyCompany
    And in the definition tab, i have given the following values...
    xsd : Custom_PurchaseOrder.xsd
    Identification xpath expression : /*[local-name()='PurchaseOrder']
    In the listening channel of administration...
    i have created a channel with generic file 1.0 protocol...
    folder name: C:\Users\sunny\Desktop\B2BCustom
    file name format : NewPartner_12345.dat
    I haven't created any other channels for NewPartner and MyCompany Specifically....
    I have created an agreement for NewPartner , selected the document definition...and deployed the code..
    Now, when i keep the sample file NewPartner_12345.xml in the folder, it is getting picked up...but my composite is not receiving the file...
    In B2B console, in the reports tab...the error message says like below...
    Machine Info: Description: Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type PurchaseOrder-1.0-INBOUND.
    Error Level     ERROR_LEVEL_COLLABORATION
    Error Severity     ERROR
    Error Text     Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type PurchaseOrder-1.0-INBOUND
    Please help me fix this...
    Thanks a lot in advance...

    Please post all B2B related questions in Oracle B2B forum -
    Integration - B2B
    Text Agreement not found for trading partners: FromTP null, ToTP MyCompany with document type PurchaseOrder-1.0-INBOUNDMake sure that your remote TP's name is exactly what you are providing as part of file name - "NewPartner". You should also be able to see the name in the agreement you created.
    Regards,
    Anuj

  • Standard report customer acc. documents + BSEC?

    Hello guys,
    any idea whether there is a standard report that provides information on customer accounts' line items WITH address and bank data about one-time customers (i.e. including table BSEC)?
    Thanks and regards
    Stefan

    Hi,
    I hope you have tried to execute the report with the  suggested selections.  You may not be able to see the document number but you will be able to see the balances of a one time customer broken up based on the name and address used. 
    So one customer code with different names/addresses will appear seperately in the report.
    Alternatively you can also use the FBL5N report, with the standard layout say, 1SAP-LC.  You can also play with the header of the layout to bring in more customer specific details.
    Cheers.

Maybe you are looking for

  • SAP GUI installation issue.

    Hi All, I am trying to install SAP GUI640v16 on my machine (Windows XP). In the middle of the installation, I'am getting an error like: Your computer needs to be restarted due to pending system changes. It is not safe to continue without a reboot. Ho

  • Change GL account number during SD billing posting

    Hi all, scenario :-> debit : Customer                   credit : sample sales I need to change the GL account posting from sample sales to income ageing during SD Billing posting. Is there any suitable user exits or BAdI for this case? I need it urge

  • Table Import Data - "Insert script" - National characters

    Hi all, it looks like that there is a problem with support of national characters in imported data file when method "Insert script" is chosen. Table -> Import Data -> Open datafile "csv". As far as in the preview window I'm seeing properly displayed

  • IChat AV 3 producing communication errors

    I have been using iChat for a number of years at my current house, everything has been working fine. Recently I can no longer video conference, it comes up with a communications error the details of which I shall post at the bottom. The strange thing

  • Reports not showing.

    Hi guys Just wondering if i coudl get a bit of help please. We can not seem to get any reports from Crystal reports. Below is the process that is followed. From 4Series Parties go into party you need the valuation for. Then choose: u2022     Portfoli