FORM_TRIGGER_FAILUER does a Rollback of posted data

Hi
How can i stop execution a trigger code with RAISE FORM_TRIGGER_FAILURE but not to ROLLBACK the posted data?
I posted the data in a second form which is called via CALL_FORM from the start-form which raises now the FORM_TRIGGER_FAILURE.
Before the second (called) form was exited a POST was made.
Many Thanks in advance
Martin Koeb

form trigger (e.g.,on-insert) failure will rollback the changes.
see the doc below:
Once a trigger fires, it can end with either success or failure. A trigger fails when it raises an unhandled exception. When this occurs, Form Builder aborts the trigger and performs the appropriate post-failure processing. The specific processing that Form Builder performs depends on the type of trigger that failed.
The following table shows the post-failure processing for three types of triggers:
Trigger Type     Result of Trigger Failure
Key - * (any key trigger)     Trigger failure is ignored.
Pre-Item     Form Builder attempts to return input focus to the source item.
On-Insert     Form Builder rolls back all database changes posted by the current commit process and attempts to navigate to the first item in the current record of the block in error.
When-Validate-Item     Item validation fails. Form Builder sets the error location. When possible, input focus is returned to the source item.
When a trigger fails, Form Builder tries to undo any conditions that would cause a runtime error as a result of the trigger's failure.
For example, the Pre-Item trigger fires when Form Builder attempts to move the input focus from a source item to a target item. When a Pre-Item trigger fails, navigation cannot be completed successfully, so Form Builder returns the input focus to the source item.
Similarly, when a commit processing trigger such as On-Insert fails, Form Builder performs the appropriate rollback to ensure data integrity.

Similar Messages

  • Moving Average does not base on Posting Date??

    Hi All,
    I got the problem with moving average, seem that the Posting Date is ignored when posting Sales document or purchase document,and moving average does not calculated correctly.
    The system only calculated the moving average
    based on the input seq, and the posting
    date is ignored??
    does anyone know its normal? or any
    setting can change the behavior?
    or any system auto adj?
    thanks
    Chris

    Hi Chris,
    This is standard functionality of SAP Business One.
    Please consider that system works with Continuous Stock System option enabled. This causes, that each item receipt have direct impact on MAP.
    Of course you have possibility to turn this off (before first posting), however then you will not have postings to the stock account, but to the revenues and expenses. In this case also MAP is not handled by the system.
    regards,
    Maciek

  • How do I modify invoice request xml file by adding posting date?

    Hi,
    We import customer invoice requests via xml files from an external data source. Currently the standard SAP xml file does not include the posting date, and invoices enter SAP with a blank posting date. When the invoice is released, the posting date is taken from the invoice date.
    Due to our month end processes, we have hundreds of invoice requests every month where we do not want posting date to equal the invoice date, and for each of those invoices the posting date is manually entered one invoice at a time during the release process. This is very time consuming.
    We would like to build functionality in our external system to create the posting date at the xml file generation stage. Could anyone let us know the following:
    - what is the name of the posting date field on invoice requests (invoice documents)?
    - where would we place the additional script in the xml file?
    I'm attaching one of our current xml files (which already contains one section that has been customized)
    Your suggestions would be appreciated.
    Thanks,
    Kerstin

    Kerstin,
    The closest i could find in the WSDL of the Manage Invoice Request Web Service that handles this integration is "<ProposedInvoiceDate>" or possibly even "<ProposedDeviatingPostingdate>", both of which sit directly under the <CustomerInvoiceRequest> element.
    For more information, go to the Service Explorer, find the ManageInvoiceRequestsIn Web Service, download the WSDL, and open it in SOAP-UI or something similar. This way you can see all the fields that you can write to, which is where i found these two elements.

  • ACE match http url with post data

    I need to make a layer-7 load balancing decision at the ACE module based on a URL string that includes form POST data. It is important that the balancing decision include and parse the part of the URL after the question mark. This doesn't seem to work with the "match http url" config on the ACE. My interpretation is that the ACE does not consider the POST data to be part of the URL string, and therefore does not include it in the regular expression matching. Am I missing something here, or have I run into a limitation of the ACE module?
    class-map type http loadbalance match-any L7__URL_MATCH_CLASS
    2 match http url index.php\?field=content.*

    Hi
    The '?' has a special meaning in the URL. It means the end of the main URL and the beginning of the URL query.
    Its not possible to match ? in the url.
    One option could be using secondary cookie matching in ACE.
    class-map type http loadbalance match-any xyz
    2 match http cookie secondary field cookie-value content
    Thanks
    Syed

  • Event to change Posting Date in invoice (ERDK table)

    Hello,
    We are using events R402 and 0062 to change the posting date, which works fine for FICA, but does not change the posting date in Invoice document.
    I was trying to find an EVENT to change the BUDAT posting date on Invoice (ERDK).
    Thanks.

    To handle this requirement you can use FICA Event R999.
    In this event you have access to the whole Print Document object which contains the billing documents that makes the invoicing unit (print document), the posting date and the scheduling date.
    Regards,
    Siva

  • Send POST-Data does not work

    Hi all,
    I am new to Flex so I try some stuff to get myself into
    AS/Flex in a good way (I hope :)).
    I wrote a small class that encapsulates the HTTPService class
    using AS. Then I tried to send some data and I get a response from
    my server but the POST-Data I try to send does not come up.
    Everything else seems to wokr in my class...
    Code attached!!!
    Anyone knows why there is no POST-Data sent to my PHP? When I
    alert the contents of my _objPostData.objPostData I get the Data I
    entered in my edtLoginUsername/edtLoginPassword. So what goes
    Wrong???
    Thx
    polysign

    "polysign.lu" <[email protected]> wrote in
    message
    news:gc7dga$ise$[email protected]..
    > Hi all,
    >
    > I am new to Flex so I try some stuff to get myself into
    AS/Flex in a good
    > way
    > (I hope :)).
    > I wrote a small class that encapsulates the HTTPService
    class using AS.
    > Then I
    > tried to send some data and I get a response from my
    server but the
    > POST-Data I
    > try to send does not come up. Everything else seems to
    wokr in my class...
    >
    > Code attached!!!
    >
    > Anyone knows why there is no POST-Data sent to my PHP?
    When I alert the
    > contents of my _objPostData.objPostData I get the Data I
    entered in my
    > edtLoginUsername/edtLoginPassword. So what goes Wrong???
    Are you SURE you're sure that no post data is getting sent?
    To me it just
    looks like you're not actually WAITING for the result by
    attaching an event
    listener to the result event. Instead, you're trying to read
    the result
    event immediately.
    HTH;
    Amy

  • IN doing MIGO Exchange Rate is taking posting date but now we need to select with document date

    Dear Experts,
    After posting in MIGO exchange rate need to select document date.present it is taking posting date.how we will make pls suggest me
    Regards,
    Rajam

    Hi Rajam
    Fx translation is actually dependant neither on doc date nor on posting date.. It is dependant on the "Translation date". If the Trans date is not entered, then Posting date is taken as the basis
    If you want to change this behaviour, refer the following notes
    574583 - For MM LIV and 42615 for FI Posting (FI Posting uses substitution)
    Br. Ajay M

  • DOCUMENT SETTING that ALLOW FUTURE POSTING DATE does not work in PL34

    Hi Expert,
    I am now using SAP B1 2005B (7.40.252) sp:00 pl:34 and realised that the ALLOW Future Posting Date was not working. 
    I still can remember while I was using pl:11 at B1 2005A, there is no such problem and wish to know when can the bug fix up? in which sp/pl?
    Wish to hear goods news ASAP .
    Thank you.
    Joan.

    Basically can you please clarrify your requirement as to what you want to change ..what I understand you would need to change the code for ABAP - RFEBBE00
    Value Date code in the above abap
            IF PAR_VALD = 'X'.
              MOVE C2-VALDT TO HLP_VALDT.  "  VALUE DATE
             write hlp_valdt to umsatz-budat dd/mm/yy.
            ELSE.
              MOVE C8-BALDT TO HLP_BALDT.
              MOVE HLP_BALDT TO HLP_VALDT.
            write hlp_valdt to umsatz-budat dd/mm/yy.
            ENDIF.
               MOVE HLP_VALDT(2) TO UMSATZ-BUDAT.
               MOVE HLP_VALDT2(2) TO UMSATZ-BUDAT3.
               MOVE HLP_VALDT4(2) TO UMSATZ-BUDAT6.
    Regards
    Anurag
    Message was edited by: Anurag Bankley

  • Posting date = Value date does not work

    hi,
       this is the problem given by them,
    symptom:
    When the parameter 'Posting date is value date' is active, the posting date of all movements of a bank statement is the bank statement date and not the value date of the individual movements of the bank statement.
    other terms:
    RFEBBE00,CODA,Belgian Bank statement,PAR_VALD,FEBPDO-BEVALD,FEBBEVALD
    Reason & Prerequisites:
    The program converts the belgian bank statement format to the Multicash format.The multicash format uses the bank statement date as the posting date.
    I want to know how the logic is done so that we will get the posting date = value date and in which user exit is it written?
    Plz help me.
    Regards,
    Shalini

    Basically can you please clarrify your requirement as to what you want to change ..what I understand you would need to change the code for ABAP - RFEBBE00
    Value Date code in the above abap
            IF PAR_VALD = 'X'.
              MOVE C2-VALDT TO HLP_VALDT.  "  VALUE DATE
             write hlp_valdt to umsatz-budat dd/mm/yy.
            ELSE.
              MOVE C8-BALDT TO HLP_BALDT.
              MOVE HLP_BALDT TO HLP_VALDT.
            write hlp_valdt to umsatz-budat dd/mm/yy.
            ENDIF.
               MOVE HLP_VALDT(2) TO UMSATZ-BUDAT.
               MOVE HLP_VALDT2(2) TO UMSATZ-BUDAT3.
               MOVE HLP_VALDT4(2) TO UMSATZ-BUDAT6.
    Regards
    Anurag
    Message was edited by: Anurag Bankley

  • Getting at POST data from a pl/sql procedure through Path Aliasing

    Hi.
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? I haven't been able to find
    any way of doing this looking through the documentation. Is the body of the request lost at the gateway
    (mod_plsql) using path alias?
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?

    Billy  Verreynne  wrote:
    Øyle wrote:
    I have mod_plsql configured with "path alias" and "path alias procedure" so that the request ends up in my
    procedure and i have the remaining path in p_path. This is what I want.
    http://<domain>/<dad>/<myalias>/<p_path>
    My question is; is there a way at this point to get at POST data in the request? Do not understand the question as a POST and GET are simply two different methods that a web browser submits a URL and data. There is no "+path+" involved here.Thank you for answering. I think the confusion is because you disregard what I said about "path alias" and "path alias procedure".
    Those are configuration of the mod_plsql gateway so that any URI containing <myalias> above is directed to the procedure stated
    by "path alias procedure". The gateway also sends any remaining parts of the URI to this procedure as an varchar2 argument (p_path).
    My problem is that I see no way to get at any POST data as the signature of this procedure has to be this one varchar2, and I don't
    know any other way to get at the body of the request.
    >
    If so, is there some other way to achieve something like !myproc(name_array [somearr], value_arr [somearr])
    where the first entry in the arrays is an eqvivalent to p_path?If you want to know what the URL is, the full path used, then you need to look at the CGI (Command Gateway Interface) environment. The web server builds a list of CGI variables. These include the type of web server, the URL, the type of HTTP command (GET or POST), and so on.
    Within your PL/SQL web procedure, you can query these CGI variables. Have a look at the function OWA_UTIL.GET_CGI_ENV in the [Oracle® Database PL/SQL Packages and Types Reference|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/w_util.htm#i997269] guide.
    Take a look at CGI variables such as PATH_INFO, PATH_TRANSLATED, SCRIPT_NAME and so on.Yes, thank you, but my problem is a bit upside down. I do use the cgi environment to get the method and I have path as input, what I can't
    find is the body of the request. I might be approaching this entirely the wrong way. It might be a bit easyer to understand if I state that I'm
    trying to find a way to implement a RESTfull service in pl/sql.

  • EBS currency translation not "posting date"

    Hello,
    We implemented EBS ealier this year.  The currency translation date on the FF_5 postings is taking the "document date" and not the "posting date" when determining which currency exchange rate to use.  This is only an issue for a couple days at month end when the document date is in the current month, but the posting date is in the prior month.
    What do we need to do to change the currency selection back to "posting date".  I have never seen SAP use anything but posting date.  I have tried reviewing all the configuration of doc type and other set up during EBS implementation and cannot see how we have triggered this date.
    Any help appreciated.
    Regards,
    Morgan

    I neglected to mention that we are calling this currency translation through a WAD button using the SET_CURRENCY_TRANSLATION command.  I did do a test by applying the currency conversion within query key figure.  This seems to work.  So it appears the issue is with how the WAD is processing the variable, not the query.  When I display the variable in a drop down item within the WAD it does have the default value that I have assigned in user exit.

  • FPBW: Extract Open Items with a posting date in the future

    Dear all,
    I'm are currently searching for possibilities to extract Open Items with a posting date in the future from SAP IS-U 4.72 into SAP BW 3.5.
    Currently I'm using the Business Content extractor 0FC_OP_01 together with the mass transaction FPBW in IS-U.
    The problem I'm facing is within the mass transaction FPBW. I've have set the key date at 01.11.2007, but this job already runs for 52.000 seconds on the same database select-statement.
    Does anybody know a possible solution to improve the performance of the statement below? (I pasted it from the process overview)
    ================================
    SELECT
    /*+
      INDEX("DFKKOP" "DFKKOP~1" "DFKKOP^1" "DFKKOP____1" "DFKKOP____1__X" "DFKKOP_1")
      "BETRH" , "BETRW" , "BUDAT" , "BUKRS" , "FAEDN" , "GPART" , "GSBER" , "INKPS" , "SPART" , "VKONT" ,
      "WAERS" , "MAHNV" , "ABWBL" , "APPLK" , "AUGBD" , "AUGBL" , "AUGBT" , "AUGDT" , "AUGRD" , "AUGST" ,
      "AUGWA" , "BLART" , "BLDAT" , "EMGPA" , "GRKEY" , "HVORG" , "MANSP" , "MWSKZ" , "OPBEL" , "OPSTA" ,
      "OPUPK" , "PERSL" , "PYMET" , "QSSHB" , "SBETW" , "SPZAH" , "STUDT" , "TVORG" , "VTREF" , "XBLNR" ,
      "XMANL" , "HKONT" , "OPUPZ" , "OPUPW" , "STAKZ" , "WHGRP" , "AUGBS" , "XANZA" , "XRAGL" , "ABWTP" ,
      "ASTKZ"
    FROM
      "DFKKOP"
    WHERE
      "MANDT" = :A0 AND "AUGST" = :A1 AND "GPART" BETWEEN :A2 AND :A3 AND ( "AUGDT" = :A4 OR "AUGDT" > :A5
      AND ( "BUDAT" <= :A6 OR "AUGBD" <= :A7 ) OR "WHGRP" <> :A8 AND "OPUPW" = :A9 )
    ORDER BY
      "AUGST" , "GPART"#
    =================================
    I have already tried to create an index on the following fields (in the same order):
    - MANDT           Client
    - AUGST           Clearing status
    - GPART           Business Partner Number
    - AUGDT           Clearing date
    - BUDAT           Posting Date in the Document
    Any help would be appreciated!
    Thanks in advance,
    Steven Groot

    Hi Marcos,
    When you have created the Restricted keyfigures for Open Items, You have to add the date characteristic on which you are looking open item and add the variable there.Here you have to use a variable of type Interval and select the operator "<" the date of the Variable.If you go through, there are standard variable for keydate, which you can use directly.
    Hope you got the idea
    Regards
    Happy Tony

  • Posting of cancelled Invoice after posting date is over

    Hello Experts,
    I am stuck up with a situation and as such seek your help.
    A invoice was generated and the subsequent accounting document was also cleared. Now after the posting date was over, someone cancelled the invoice by T.code VF11 and as expected it didnt get posted .The document flow showing is as per below :
    Order - open
    Invoice - completed
    Accounting Document - Cleared
    Cancel Invoice - Open
    Now, the business and their audit policies do not allow the client to cancel the invoice in back date ( within the posting period).
    What are the options do we have to tackle the situation.
    Joy

    The issue has been temporarily addressed by changing the posting date.
    However, now the client wants us to make an ABAP development so that no user is able to cancel the invoice after posting date is over. Now for that I have the following issues. Can someone please help me out in this.
    The basic process details I am following is as per below:
    For Transaction Code VF11 (i.e for Cancellation of Invoice) , when the invoice number which is subject to cancellation is provided, the System should search in VBRK table for the following :-
    1)The System will at first search whether the entry exists or not. If the Entry is not valid then it should give an message u201C Document xxxxx does not Existu201D.This is in line to the existing practice.
    2) If the Document number is valid then it will go to the billing date field and  will fetch the value from the VBRK table . Then it will match  whether the value fetched (i.e. this Invoice date)  is in present posting period or not. The system can find the posting period from the table V_T001B.
    a.If  the  Invoice date lies in the present posting period then the system will allow the cancellation document to be saved. This is in line to the existing process.
    b.If the Invoice date lies beyond the present posting period then the system will not allow to save the cancellation of the Invoice with a pop up message of u201C The Document number subject to cancellation do not lie within the present posting periodu201D .
    Now We have looked both the tables, from VBRK we will get Doc# and Billing date(FKDAT) but when we select Posting Date from table T001B( Permitted Posting Periods) there is some issue.
    1.  What will be the condition for selecting records from T001B table.Since there is multiple key fields
        RRCTY (Record Type) ,
        BUKRS (Posting Period Variant) ,
        MKOAR (Account Type or Masking)
        BKONT (To Account). 
    So, to get unique record what will be the value of this key fields. Is there any relationship with VBRK table ? 
    2.  Which field I have to consider as Posting Date or Period. Because there are many fields related to Posting period.

  • Default key date, Document date and posting date needs to be changed automa

    Hi Experts,
    The user wants to create a variant for Foreign currency valuation, wherein the default key date, Doc date and Posting date needs to be changed every month automatically. Is it possible?
    Please let me know your thoughts.
    Warm regards,
    Murukan Arunachalam

    Hi
    Please follow this process.
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data.
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

  • Stock in posting Date

    Hi
    Dear Guru
    we have done sum  stocks  close in year ending 2008, in that time we have tranasferd Stock from material to material, we have tranferd all the stocks from material A to Material B.
    But theire is no stcoks in the MMBE for material A , for todays date , when we are going to check MB5B, on 31/03/2008, it is showing valuated stock, of sum quantity,
    we have checked all the Material Stock Transaction, no where it is showing stock eccept in MB5B That to posting date on 31/03/2008.
    so how to remove that stock on posting date(Valuated stock). only in MB5B.
    Kindly suggest
    Madhu

    hi
    For doing stock transfer , stock must be avalaible on current date and on the last day of the previous month, if u want to to do transfer postion on previous month's date.
    reward if useful
    Amit

Maybe you are looking for

  • Structure in Graph view

    Hi I have created Structure in BI query with Restrictions & Selection. I want to show it in the graph but i am not able to see that when i select a graph. I can see if i use the table. But my user wants both table as well as graph, how do i configure

  • Error creating a new VM on OVM Server using 'xm create'

    Hi, I'm trying to create VM using an existing config file bundled with the OVM distribution, like "xmexample1". I've also ensured that all the entries in it, such as, reference to the kernel image, etc. are correct. However, when I run the command xm

  • Homesync   There is a problem syncing the file "filename.nud"

    Merger of several offices, one site relies on Now Up toDate (yeah I Know!! but it still works for them...iCal is on the horizon) NUD server is running on the original G4 for these six NUD clients - I was wary of adding it to 10.6.8 server in case it

  • Enhancment Framework- Purchase Requisitions

    Is there a pre-/post- exit enhancment that I can code to process a Purchase Requisiton Create or Change? If so which class and method would need to be enhanced? I don't want to use a BAdI.

  • ITunes Sign in Not Working

    Scenario: Upgraded to iTunes 11.00.02, at long last (first mistake: I hate the interface), and subsequently could not log onto the App Store, etc. After scouring the forums, I happened to find one thread which said in Parental Controls, to disable iT