Update Baseline date using 'RV_ACCOUNTING_DOCUMENT_CREATE'

Hello!
I am to update the baseline date BSEG-ZFBDT through the use of 'RV_ACCOUNTING_DOCUMENT_CREATE'. I modified it in a user exit 'EXIT_SAPLV60B_001'. What i did is to update XACCIT-ZFBDT which is exported from the user-exit. But when I am to check BSEG-ZFBDT, this is not updated. Can anyone help me on this?
Thanks in advance!

Hi,
  Go to FB03 give the accounting document number, company code and year..
  Then display the accounting document line items..
  Then double click on the first line item..Then you can find the base line date under the name Bline date..
Thanks,
Naren

Similar Messages

  • Updating spatial data USING JAVA

    I want to update spatial data using java.Does anyone know how can i do this;;;
    for example i have created the following table.
    CREATE TABLE customers (
    customer_id NUMBER,
    last_name VARCHAR2(30),
    first_name VARCHAR2(30),
    street_address VARCHAR2(40),
    city VARCHAR2(30),
    state_province_code VARCHAR2(2),
    postal_code VARCHAR2(9),
    cust_geo_location SDO_GEOMETRY);
    HOW CAN I UPDATE THE FIELD:cust_geo_location,
    WHICH TYPE IS: SDO_GEOMETRY;;;;;
    I wrote a programm in java, which updates the FIELD CUSTOMER_ID.
    ( rset.absolute(3);
    rset.updateInt("CUSTOMER_ID",2222 );
    CUSTOMER_ID = rset.getInt("CUSTOMER_ID");
    rset.next();
    rset.updateRow(); ).
    ---------- THE FULL JAVA PROGRAMM
    import java.sql.*;
    import java.io.*;
    import java.util.Date;
    public class update{
    public static void main (String args [])
    throws SQLException, IOException
    System.out.println ("Loading Oracle driver");
    try {
    Class.forName ("oracle.jdbc.driver.OracleDriver");
    catch (ClassNotFoundException e)
    System.out.println ("Could not load the driver");
    e.printStackTrace ();
    System.out.println ("Connecting to the local database");
    try{
    Connection conn =
    DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:XE", "sp", "spgianna");
    Statement stmt = conn.createStatement (ResultSet.TYPE_SCROLL_INSENSITIVE,
    ResultSet.CONCUR_UPDATABLE);
    // String LAST_NAME,FIRST_NAME ;
    int CUSTOMER_ID ;
    ResultSet rset = stmt.executeQuery("SELECT CUSTOMER_ID FROM CUSTOMERS");
    /* while ( rset.next() ) {
    CUSTOMER_ID = rset.getInt("CUSTOMER_ID");
    LAST_NAME = rset.getString("LAST_NAME");
    FIRST_NAME = rset.getString("FIRST_NAME");
    System.out.println( CUSTOMER_ID+""+LAST_NAME + " " +FIRST_NAME);
    rset.absolute(3);
    rset.updateInt("CUSTOMER_ID",2222 );
    CUSTOMER_ID = rset.getInt("CUSTOMER_ID");
    rset.next();
    rset.updateRow();
    System.out.println(CUSTOMER_ID);
    catch(SQLException sqle) {
    System.out.println("SQL Exception encountered: " );
    } catch(Exception e) {
    System.out.println("Unexpected Exception: " );
    HOW CAN I UPDATE THE FIELD:cust_geo_location,
    WHICH TYPE IS: SDO_GEOMETRY;;;;;;;;;;;;;;

    Hi Guys,
    Dont forget to close your stmt and connection after execution
    Use this as a template if you like:
    try{
         /**make connection**/
         ServerConnection sc = new ServerConnection();
    Statement stmt = sc.conn.createStatement();
    /**create statement & execute**/
    String insertstmt = "insert into .......";
    //execute
    stmt.execute(insertstmt);
    /**Close and catch exception**/
    stmt.close();
    sc.conn.close();
    catch(SQLException sqlE){
         sqlE.printStackTrace();
         System.out.println(sqlE.getMessage());
    As for the string "insertstmt" itself, this is where your standard SQL statement goes
    So get it working using a standard SQL editor first, then copy and paste it in to this string variable. The string should be a series of concatenated strings and variables to recreate the SQL atatement in Java. For example
    the SQL statement:
    insert into Mytable(SESSIONID, TIME1) values ('300', '4.45pm' );
    assuming the values are stored in variables called 'sessionnumber' and 'time'
    will become
    String stmt =
    "insert into Mytable(SESSIONID, TIME1) values ('"+sessionnumber+"', '"+time+"')";
    Hope this helps.
    E
    Ps. Do a system.out.println after you create the stmt. The statement printed out to the console should be a valid SQL statement that you can use in your editor. (minus the ;)
    ...keep working on the string until you can do this.

  • 'Stale data error' is encountered while trying to update the data using EO.

    Hi,
    I am getting the following error when I am trying to update the data using EO:
    '' Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user. \nAction: Cancel the transaction and re-query the record to get the new data."
    I have tried clearing the corresponding VO cache and have also used the "getTransaction().setClearCacheOnCommit(true)" method in the AM, but the error persists.
    Kindly suggest some work around for this problem.

    Chirag,
    this error is usually.... thrown by framework, if some other user has updated the same record you are trying to update by your EO, just check db, and try for a different record!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Need Sample Code in C#  to Insert,Update,Query data using W 2.0 wsdl

    Hi,
    Can anyone please share sample code in C# to Insert,Update,Query data using W 2.0 wsdl.
    Thanks in advance

    I have found solution.
    Need add following line for non string data type.
    objOutreachUpdateList.Opportunity[0].IndexedNumber0Specified = true;

  • How do I get pages 5.2 to automatically update the date - use 10.9.2

    How do I get pages 5.2 to automatically update the date in my documents - before the update I could do this. Does anybody have the knowledge or a workaround.
    If not I will dump pages 5.2 and use my old version!!! this feature is important for any and all businesses using pages??
    Any advice on how to achieve this is greatly appreciated
    I use a number of macs all using OSX
    10.9.2

    I have the same problem.
    What confuses me is that all the apple provided templates in pages seem to auto update their time and date upon opening.
    So there MUST be a way to do it... Ive been unable to work out how...
    Amnon

  • Problem with updating pricing date using BAPI_SALESORDER_CHANGE

    Hi,
    I need to update pricing date on sales order (but only on item level).
    I have been trying to use  BAPI_SALESORDER_CHANGE but nothing changes.Bapi returns no errors, ends with success.
    I hoped that bapi would change not only pricing date but also recalculate things the date affected.
    Here is my code:
    ls_head_inx-updateflag = 'U'.
    ls_bapisdls-pricing = 'C'.
    ls_item-itm_number = sales_order_posnr
    ls_item-price_date = new_price_date
    APPEND ls_item TO lt_item.
    ls_item_inx-itm_number = sales_order_posnr
    ls_item_inx-updateflag = 'U'.
    ls_item_inx-price_date = 'X'.
    APPEND ls_item_inx TO lt_item_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
              EXPORTING
                salesdocument     = sales_order
                order_header_inx = ls_head_inx
                logic_switch         = ls_bapisdls
              TABLES
                return                 = lt_return
                order_item_in     = lt_item
                order_item_inx   = lt_item_inx
    Thanks & Regards,
    Mario

    Mario,
    I run same code as yours and work for me fine, able to update ITEM pricing date.
    I suppose you are using BAPI_TRANSACTION_COMMIT after your BAPI call, then only it will work.
    Also note that VBKD table stores this date for header and item. In my system, there are generally only header rows in that table, but a new item row gets generated when I change the item date with the BAPI to some other date. Also, this BAPI sometimes issues a W message instead of ERROR for something like non-existing items, so carefully check your RETURN table too.
    'Item 000002 does not exist' as WARNING message, so might be considering it as a success.
    If nothing works, try to do the same thing for the same data using VA02 and check . If that works, BAPI will work surely.
    Regards,
    Diwakar

  • Add 5 days to baseline date using invoice date or posting date.

    Hi Everyone,
    I have been asked to test a script using ME2IN purchase order ,MIGO Goods receipt,Invoice MIRO and then test FB60 invoice to see if we can change the baseline date and increase it by 5 days.
    Please advise what i need to put in the test script and impact this can make to the business if this change is made. They needs 5 more days extra when the invoice is entered.
    Thanks
    Joe

    System gets base line date based on payment terms configuratin. You need to push baseline date back by 5 days manually. This will result your vendor item due date getting postponed by 5 days.

  • Query regarding Update the data using application

    I have scenario i need to update single record in the the application and insert into a table
    for example
    SELECT ContactID,FirstName,MiddleName,LastName,Description FROM Contact
    Contact table contains 4 columns as explained. in the application there is one tab called Contact where it displays Above information
    and description is non editable.
    Now the new requirement has come user can update the description information and save information in a new column say 'Description1'
    that means new column needs to be added in the db and also necessary changes needs to be done at the application side
    For ex :SELECT ContactID,FirstName,MiddleName,LastName,Description,Description1 FROM Contact
    Now when user views the contact table it should display description info by default from 'description' table.
    If he edits he should see edited data from 'description1' table.
    Can any body guide me please and send me sample update query please, and the logic should if updated data is there display that data from
     'description1' table other wise display from  'description' table
    Smash126

    Hi Smash126,
    You need to fire the update command once you have filled the description record. It should happen on the primary key column of the record.
    For Example: 
    UPDATE Contact
    SET Description  = 'New Description',
    Description1 = 'New Description'
    where contactID = <<ContactID from application>>
    This way both will updated to same value, and next time you will get the updated value.
    Here is some ADO.Net links:
    http://www.codeproject.com/Articles/1155/Simple-ADO-NET-Database-Read-Insert-Update-and-Del
    http://www.onlinebuff.com/article_step-by-step-select-insert-update-and-delete-using-aspnet-c-and-adonet_32.html
    Regards Harsh

  • How do I add/update/delete data using ColdFusion Builder 3?

    I feel like this is a really simple and stupid question and should be easy to figure out, but I can't.
    I am relearning ColdFusion after 12 years out of the IT field.  I am using the ColdFusion 9 Getting Started:Volume 1 book.  In Chapter 7 it states that I need to edit the Application.cfc file so that I can edit the database rather than just selecting from the database.  I can't seem to find anything related to that file in any search.  In my ColdFusion 11 Administrator I have set this mySQL database to be able to be edited, but ColdFusion Builder 3 doesn't seem to allow any editing of the tables.  I have not had much luck searching for help regarding this on the internet either.  My biggest problem so far is getting ColdFusion Builder to talk with my mySQL database properly so I can actually get on with relearning ColdFusion and writing code.  Frustrating!!

    I do have ColdFusion 11 Administrator installed.  When I go to Data and Services there and open the datasource (OWS) that I want to connect to and query off of, and go to Advanced Settings, I show that the following are selected:
    SELECT
    CREATE
    GRANT
    INSERT
    DROP
    REVOKE
    UPDATE
    ALTER
    Stored Procedures
    DELETE
    If, in ColdFusion Builder 3, I open the RDS Query viewer and write the following basic update query (Server: default:local; Datasource: OWS):
    insert into directors(FirstName, LastName)
    Values ('Benjamin', 'Forta');
    I get the following RDS error message:
    java.sql.SQLException: Can not issue data manipulation statements with executeQuery().
    According to the book and some information I have seen online, the SQL Query Tool, for security's sake, by default allows execution of SELECT statements, but no other SQL statements.  According to the book, to change this behavior I need to edit the Application.cfc file in the ows/sql directory.  I have to change the THIS.select_only flag from the default of yes to no and save the file.  I cannot find this file anywhere.  I have seen an application.cfm, but I think this is different that what they want because I can't find anything in that file that says THIS.select.

  • Updating liveCache Data using Function Module or ABAP program.

    Is it possible to update APO Live Cache using Function Module or ABAP Program.
    Will the aggregation/disaggreagation remain the same if data is modified using Function Module or ABAP Program.
    Regards,
    Vikas

    ello Vikas,
    -> Please click at
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm
    & read about 'SAP liveCache'.
    As you know objects stored in liveCache in the class containers can be accessed
    and manipulated only via LCA routines which are methods of LCA objects.
    The registration of the LCA routines is done automatically when
    the liveCache is started by the LC10, check the lcinit.log file.
    The shared procedures in the LiveCache are written in C++ and shipped
    to the customers as binary shared libraries(LCA-Routines) < LCA build >
    together with the LiveCache. The original C++ source code of the
    libraries is not generally available to the customers.
    The LCA routines could be called via "/SAPAPO/OM*" ABAP functions.
    -> For SAP liveCache documentation in English:
    http://help.sap.com/saphelp_nw04/helpdata/en/f2/0271f49770f0498d32844fc0283645/frameset.htm
    < -> Database Administration in CCMS: SAP liveCache -> liveCache Assistant ->
    liveCache: Monitoring -> Problem Analysis-> DB Procedures >
    In transaction LC10 for the LCA connection choose liveCache:Monitoring
    then go to Problem Analysis -> DB Procedures=>
    The system displays an overview of all database procedures loaded into
    liveCache, their input and output parameters, and other details.
    -> Tr. /n/SAPAPO/OM16 ( in further releases /n/sapapo/om19 ) is provided by
    SAP to get information about data stored in the LiveCache. If you would
    like to get your own views, you should write a special report in ABAP using
    "/SAPAPO/OM"-development class functionality.
    -> There are standard function modules in ABAP available to extract/change data from/in liveCache.
    -> In addition to the given information => find more information at:
    SCM 4.0 -> http://help.sap.com/saphelp_scm40/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    SCM 4.1 ->
    http://help.sap.com/saphelp_scm41/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    SCM 5.0 ->
    http://help.sap.com/saphelp_scm50/helpdata/en/12/3dfd81126e1c448c870f335f11d016/frameset.htm
    You can go to the Advanced Planner and Optimizer documentation from the above links < Supply Network Planning Run -> Aggregated Planning -> SNP Disaggregation Or SNP aggregation . >.
    If you still have open questions on the posted topic =>
    Could you please give more information on your application scenario.
    Thank you and best regards, Natalia Khlopina

  • How to delete/update GPS data using Lightroom?

    Title says it all, but I'll explain why I need it.
    I have a Sony SLT A55 which is apretty good camera, it has a GPS.
    The way GPS work in this camera is it gets a fix, and then updates every undetermined time the position. That's okay, what is stupid in its design is, if you haven't taken pics in let's say 24 hrs. and you move several miles away and start shooting indoors (no GPS signal available) it will mark all your pics with your last known position, so now I have several photographs with a location I left several DAYS ago. I'd prefer the camera not to record GPS data than having a wrong location, but that's another thing for the Sony forums.
    So, now I want to delete (or update would be another option) the GPS data from the pics that are tagged with wrong locations.
    I'm shooting RAW,
    Is there any way to do it inside Lightroom?

    I’m a Nikon user, and here’s how I geotag my images when I want to (not very often). I use a Nokia N95 smart phone and Nokia Sports Tracker to track coordinates with timestamps. I use Nikon’s ViewNX2 to import the images from my camera (or card) to the final destination (folder) of the images. I also transfer the log file from the Sports Tracker to my computer. Then I use ViewNX2 to geotag the most recently imported set of images with the log file from the Sports Tracker. (I don’t know why but I have to adjust the time offset by one hour, fortunately this setting is sticky so I don’t have to do it every time). When the images are geotagged, I do an in-place import in Lightroom, and Lightroom recognizes the GPS coordinates.
    ViewNX2 is a free download, and I think this scheme can be used to geotag jpg of tif images from any camera. The raw file capability of ViewNX2 is understandably restricted to Nikon cameras. You could try Geosetter, another free download. The problem with my system is that Geosetter did not understand the log files of my Nokia N95. GPSBabel can translate the log files to a format acceptable to Geosetter, but since ViewNX2 does importing and geotagging (and time-offsetting the N95 log file), I have no need for additional programs.
    WRT to the original question ("how to delete/update...") you could try the following: write all metadata (keywords, settings) to your master image files in LR. Then use Geosetter or some other additional tool to modify the GPS data or the affected images. Finally, synchronize the images back to Lightroom, and select the option to use metadata from the images (instead of LR's catalog).
    Best regards
    Antero

  • Updating nav data using Templates in one go

    Can anyone advise me on this:  i have a large site with hundreds of HTML files that use one of four different Templates, all of which use the same Navigation ul tags (as produced by Project Seven's Pop Menu)......
    often, I want to update all the files that utilize that nav data, and as you know, DW's template feature update will agreeably update them all, automatically.  However, my issue is in collecting all the differnet HTML files, which all reside in different folders at the root level of my site, and put them all to the server in one fell swoop.  The synch capability of DW is great but (as far as I can tell) it only gives me a complete list of those filesa affected by the update,  without distinguishing between HTML and all others.
    (I like to use the 'index' designation on many subroot level HTML docs, and put them into  separate folders, such that the URL need not have the extension HTML when giving the link to someone.  But that means all the ifles are in different folders.
    is there a way to tell DW to 'find " all the files that are HTML, that have been updated by the Template change and then 'put' them to the server in one go........?
    I'd be most grateful........
    todd

    Doing all this via DW Templates is a maintenance chore.
    Edit the navigation in the Template, let DW update all Child pages then upload all changed Child pages. For every single edit. Painful.
    Have you thought of setting up your navigation as a Server Side Include instead? It's far quicker and much more efficient than DW Templates.
    http://www.projectseven.com/products/menusystems/pmm3/tutorials/site-wide/includes/
    Then you can avoid all the Template editing, child page propagating and uploading.

  • Update Master data using transaction data

    Hi Friends,
    we have an interesting requirement wherein while creating a PO(ME21N), the net price which is entered on the screen should update the inforecord(ME12).
    This could be achieved through a user exit which carries the NETPR - net price field. In the user exit a BDC could be used to update the ME12 transaction in the background.
    Could any of you help us with the particular user exit for ME21N which is used to do manipulations with the NETPR(Net price) field. The transaction has numerous user exits though.
    Awaiting your valuable inputs.
    Thank you.
    Regards,
    Gayathri N.

    better to check in SE15 . which are the projects are in active status for Package ME.
    regards
    Prabhu

  • Baseline date of a Debit memo

    Dear all,
    When credit/debit memo is created with copy from the original invoice it is a legal requirement that the baseline date (used for the calculation of the payment due date) is equal to the baseline date of the original document. For the credit memo we have this setting in the system, however for the debit memo this is not set like this so far and the document date is used as a baseline date. Please give same idea how to change the setting in order to have baseline date for debit memo equal to baseline date of the original document.
    Thanks a lot
    Desimira

    To activate the payment terms on these non-invoice related credit memos, enter a V in the "Invoice Reference" field when
    entering the document.
    The above works for credit memo, please check for debit memo.
    Rgds
    Murali. N

  • Unable to update a field using the Data tab on a VIEW

    When viewing data using a VIEW instead of going to the table directly, am unable to change the values in any of the fields
    When I click on the list of VIEWs for a schema, then select a view that is based on a SELECT statement for a single table with a Primary key, and then click on the DATA tab to modify the value in one of the fields, SQL Developer does not allow me to change the value.
    Went into SQL Plus, and was able to execute an UPDATE statement against the same row of that VIEW, and update that field ("UPDATE vw_mytable SET thisfield = 'YES' WHEN row_id_number = 1'").
    Does SQL Developer not allow updating tables through a VIEW?
    Will it allow updating in the future? Please say yes.
    Oracle 10g DB and latest version of SQL Developer.

    Remember to add feature requests and vote on them on the SQL Developer Exchange!
    <br>
    <p>We have added updateable views to 1.1, but do remember, not all views are updateable - even in SQL*Plus.</p>
    <br>
    Sue

Maybe you are looking for

  • Hard drive may be on it's way out - what now?

    I have a CoreDuo 1.83GHz white iMac, in the past month or so the hard drive has begun acting up (most recently permissions going haywire, losing printer drivers and unable to add any), Disk Utility has reported problems which it has managed to fix (b

  • Searching the Help index in the trial version of Photoshop CS5

    I'm working with a trial version of Photoshop CS5.  I noted a post about the failure of PS Help to return any results when doing a local search.  Apparently, there was a bug and a fix, as described here: http://forums.adobe.com/thread/739143 Hi all: 

  • Java Web Start vs Signed Applet

    What is the difference between a web start application and a signed applet. I tested both but i dont see any advantage to web start. Someone can tell me ?

  • Economical instructor-led online course

    I have a query on which online course should be taken which is most economical to take for Oracle Database 10g Administrator Certified Master certification. I went through the link, http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?pa

  • XSS download for ESS installation?

    Hi, I just installed the NetWeaver Sneak Preview and now I like to add ESS to it. I have access to mySAP ERP 2004 and 2005 backend systems. In the forum I read that I need a XSS (is this cross side scripting?) installation package and the ESS Busines