Iw31/iw32 change date using userexit

HI,
I need to change a date(CAUFVD-GLTRP) when PM work order creates or changes based on the rules(tcodes IW31,IW32).
I have tried couple of userexits. i didn't gey any luck. Please help , if anyone come across this issue.
thanks

Check Note [441323|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=441323] for change log or use revision field for change the date
-S.N

Similar Messages

  • IW31/32- Change Date Restriction choices for "StartPoint" and "End"

    Hello,
    In IW31/32> Operation tab> then "Dates" screen.
    Is there a way to change Date Restriction choices for "StartPoint" and "End."
    Start Point: there are 4 choices: Must Start on, Cannot start before, cannot start after, start from resource planning
    End: Must finish on, Cannot finish before, finish not later, finish from confirmation.
    We want to limit the choice to 2 optiions on Start and End/ in addtion change the text.
    Is this possible.
    Thanks,

    Hi,
      No its not possible  to accomplish this in standard using configuration functionality.
    You may able to accomplish restricting the values on the drop down through the implicit enhancement functionality available in ECC 6.0.
    You will have to make  a screen modification to make the associated start point/ end point key text editable.
    Regards
    Narasimhan

  • Capture who changed data using Forms Personalization & changed to what data

    Dear All,
    When the data is changed to a new data (say the price has been changed), I need to capture
    a) the original data
    b) newly changed data
    c) who changed the data
    into a newly created custom table using FORMS PERSONALIZATION.
    How do I do using FORMS PERSONALIZATION?
    Thanks.
    Matthew

    Hey guys, I did it.... and it does work. Here is what I did.
    I created a table to capture the required data.
    CREATE TABLE XYKA_PRICE_CHANGE_DTLS
    LIST_LINE_ID NUMBER,
    PRODUCT_ID VARCHAR2(240),
    PRODUCT_ATTR_VAL_DISP VARCHAR2(4000),
    NEW_PRICE NUMBER,
    DIV_NAME VARCHAR2(240),
    PRICE_CHANGED_BY VARCHAR2(6),
    PRICE_CHANGED_TIME DATE,
    OLD_PRICE     NUMBER
    Create two procedures which needs to enter data into this XYKA_PRICE_CHANGE_DTLS table. We will pass values from FORMS PERSONALIZATION by calling this
    procedure in the ACTION tab.
    CREATE OR REPLACE procedure PRICE_CHANGE_DETAILS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
    v_name varchar2(240);
    BEGIN
    select name into v_name from qp_secu_list_headers_v where list_header_id = head_id;
    insert into XYKA_PRICE_CHANGE_DTLS(NEW_PRICE, PRICE_CHANGED_BY,ITEM_NUMBER,PRICE_CHANGED_TIME,PRODUCT_ID,LIST_LINE_ID,PRICE_LIST_NAME,OLD_PRICE) values (price,updated_by,disp,sysdate,prod_id,line_id,v_name,old_price);
    COMMIT;
    END;
    CREATE OR REPLACE procedure APPS.PRICE_CHANGE_DTLS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
    V_PRICE_CHANGED_TIME date;
    V_PRODUCT_ID varchar2(240);
    V_LIST_LINE_ID number;
    V_count number := 0;
    BEGIN
    select count(*) into v_count from XYKA_PRICE_CHANGE_DTLS
    WHERE LIST_LINE_ID = line_id AND PRODUCT_ID = prod_id AND NEW_PRICE = price;
    if nvl(v_count,0) = 0 THEN
    PRICE_CHANGE_DETAILS(price,updated_by,disp,prod_id,line_id,head_id,old_price);
    else
    null;
    end if;
    END;
    In fact, I want to capture the current price and the changed price in pricing which is OPERAND field in qp_list_lines_v table (OM MANAGER > PRICING > PRICE
    LISTS > PRICE LIST SETUP)
    In the FORM PERSONALIZATION, enter the seq and the description
    Seq          1
    Description     GLOBAL_VARIABLE
    Level          Function
         In the CONDITION tab
              Trigger Event          WHEN-NEW-ITEM-INSTANCE
              Trigger Object          LIST_LINES.OPERAND
              Processing Mode     Not in Enter-Query Mode
              Level               Site
    In the ACTION tab
              Seq          1
              Type          Property
              Description     Operand Value
              Language     All
              Object Type     Global Variable
              Target Object     XX_EXIST_OPERAND_VALUE
              PropertyName     VALUE
              Value          ${item.list_lines.operand.value}
              Seq          2
              Type          Property
              Description     USER
              Language     All
              Object Type     Global Variable
              Target Object     XX_USER_ID
              PropertyName     VALUE
              Value          =fnd_global.user_id
    Seq          2
    Description     CONDITION & PASSING PARAMETER
    Level          Function
         In the CONDITION tab
              Trigger Event     WHEN-VALIDATE-RECORD
              Trigger Object     LIST_LINES
              Condition     ${item.list_lines.operand.value} <>${global.XX_EXIST_OPERAND_VALUE.value}
              Processing Mode     Not in Enter-Query Mode
              Level               Site
    In the ACTION tab
              Seq          1
              Type          Builtin
              Description     PASSING_VALUE
              Language     All
              Builtin Type     Exceute a Procedure
              Argument     ='begin PRICE_CHANGE_DTLS('''||${item.list_lines.operand.value}||''','''||${global.XX_USER_ID.value}
    ||''','''||${item.list_lines.product_attr_val_disp.value}||''','''||${item.list_lines.product_id.value}
    ||''','''||${item.list_lines.list_line_id.value}
    ||''','''||${item.list_lines.list_header_id.value}||''','''||${global.XX_EXIST_OPERAND_VALUE.value}
    ||''');end'
    Click APPLY NOW button. Save it and the close this FORMS PERSONALIZATION. Go back to the navigation and then click on the module. Try changing the price.
    Your current and the newly changed price along with who changed it, time etc will be inserted into XYKA_PRICE_CHANGE_DTLS table.
    Edited by: e-brain on Sep 14, 2009 11:21 AM
    Edited by: e-brain

  • Change Data Using Javascript

    Hi Guys,
        I'm wondering can I change a data in the data view without binding it to a UI using javascript?
        Thanks,
    Mao

    Hi,
    I mean in the hierarchy node select the field to which you want to populate the value. And in the script editor write this.rawValue = <your value>.
    Regards,
    Vidya Chowdhary A.

  • Batch change dates using filenames as source

    Howdy all!
    I take a lot of pictures with my cell phone, and the date and time of the jpegs usually are just close, but not exact. The file name however usually contains all the data I need. It is something like 1227091536.jpg, which would be a photo taken today at 3:36 pm. So I use that info to manually update the date and time of each photo.
    However, it would be really neat if a plugin, or anything for that matter, existed that would take the filename in that format, and use that info to update the date and time of the photo.
    Anybody know of anything like that out there? Or come up with some clever way to speed up the process of correcting dates and times for cell phone pics?
    Thankee!
    David

    Update:
    Upon further inspection of my files, the phone almost consistently always added 5 hours onto each image. So it was easy to fix those. But, there were still photos here and there, that the phone was off in the date and time by up to a month. Those photos were set aside for individual adjustment.
    Still a pain to sift through and find the ones that are not off by the magical 5 hours, but it's a small percentage of the overall pictures.
    Dave

  • Changing data does'nt reflect in UPDAT and UPTIM fields

    Hi...
    I'm very new to abap, I'm trying to trace the date and time on which a record was altered in tables kna1,knb1,knvv
    and similarly in lfa1,lfb1,lfm1...
    so please help me...
    I'm changing data in these tables but UPDAT and UPTIM fields are not updating itself..
    I'm changing data using fk02, fd02 transactions...

    Hi,
    Hi there is something called confirmation of change, Once you confirm the change, these fields will be updated.
    Try it....
    Award Points If Useful

  • How to change data in decision table using excel file in operating system?

    Hello, BRF Experts
    I now brf + for the first time in the current project is being developed.
    Now, project has been facing a big problem.
    Develop system that was developed in the history of decision table in the operating system can be used to update excel file, etc. I do not know whether.
    So, I was tested, but can not change data in decision table.
    [ error message : system is not change allowed ].
    The operating system itself to the current system setting is immutable and check it
    : changes and transports for client-specific object -> no changed allowed
    : cross-client object changes -> no changes to repository and cross-client customizing object.
    Decision table in the operating system can update the details if I want to know what to do.
    Maintenance view can be modified in the operating system as a decision table, I wonder if you can create a view.
    Edited by: Sung-Wook Ha on Jan 13, 2012 2:02 PM

    Hi ,
    Exchanging data with Microsoft Excel is done with the help of the XML-based file format (file extension .XSLX) introduced with Microsoft Excel 2007. If you are using an older version of Microsoft Office, you can download the Microsoft Office Compatibility Pack to upgrade the supported file formats from the Microsoft Download Center ([Exchanging Decision Table Data With Microsoft Excel |http://www.microsoft.com/downloads/details.aspx?familyid=941b3470-3ae9-4aee-8f43-c6bb74cd1466]). Once you have downloaded the Compatibility Pack, you have to install it on every workstation that has an older version of Microsoft Office installed.
    Please refer the link-
    [BRFplus-Data exchange with MS Office 2007|http://help.sap.com/erp2005_ehp_05/helpdata/en/b8/e03486d1df48c6baa3c4354f5198ee/frameset.htm]
    Hope this helps.
    Thanks,
    Ajay

  • Change Customer master Address Data using Structure biadd2 in report rfbide00.?

    hello
         i want to change Customer  Master Address Data using using RBIDE00 report program but when i execute the report it will accept input from batch file
    but the same is not getting updated in  customer master .
    please  help me to resolve this issue .
    thanks & regard
    laxmikant soni

    Found the answer from SDN - not possible unless using some BUS.
    RFBIDE00 - Address data issue
    Thread closed.

  • No longer able to use + and - keys to change dates or time?

    I recently upgraded from an igloo iMac running OS 10.3.9 to a new Mac mini with 10.5.8 (awaiting upgrade to Snow Leopard).
    I used to use the + and - keys all the time to change dates and time in iCal, but have been unable to since my upgrade. Has that functionality been deleted, or is there a way to do it that I have just not discovered yet?
    Thanks.

    Forgotten Passcode or device disabled after entering wrong passcode
    If you have Find My iPhone enabled, you can use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
    Alternatively, place the device in recovery mode and restore it to erase the device:
    Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to shut down.
    While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    Continue holding the Home button until you see the Connect to iTunes screen.
    iTunes will alert you that it has detected a device in recovery mode. Click OK, and then restore the device.

  • Using Change Data Capture in SSIS - how to handle schema changes

    I was asked to consider change data capture for a database recently.  I can see that from the database perspective, its quite nice.  When I considered how I'd do this in SSIS, it seemed pretty obvious that I might have a problem, but I wanted to
    confirm here.
    The database in question changes the schema about once per month in production.  We have a lot of controls in our environment, so everytime a tables schema is changed, I'd have to do a formal change request to deal with a change to my code
    base, in this case my SSIS package; it can be a lot of work.   If I wanted to track the data changes for inserts, update and deletes using an SSIS package to send the data changes to the destination tables, would I have to change my SSIS package
    with every schema change, or is there a way to keep the exact same SSIS package with CDC without having to change it every month?
    Thanks,
    Keith

    Hi Keith,
    What is your exact requirement?
    If you want to capture the object_created, object_deleted or object_altered informations, you can try using
    Extended events .
    As mentioned in your OP:
    "If I wanted to track the data changes for inserts, update and deletes using an SSIS package to send the data changes to the destination tables, would I have to change my SSIS package with
    every schema change, or is there a way to keep the exact same SSIS package with CDC without having to change it every month?"
    If you want the databases in two different environments to be in sync, then take periodic
    backup and apply(restore) on the another destination DB.
    (or)
    you can also try with
    SQL Server replication if it is really needed.
    As I understand from your description, if you want the table data & schema to be in sync in two different database:
    then create job [script that will drop the destination DB table & create the copy of source DB table ] as per your requirement:
    --CREATE DATABASE db1
    --CREATE DATABASE db2
    USE db1
    GO
    CREATE TABLE tbl(Id INT)
    USE db2
    GO
    IF EXISTS (SELECT * FROM SYS.OBJECTS WHERE name = 'tb1' and TYPE = 'u')
    DROP TABLE dbo.tb1
    SELECT * INTO db2.dbo.tb1 FROM db1.dbo.tbl
    SELECT * FROM dbo.tb1
    --DROP DATABASE db1,db2
    sathya - www.allaboutmssql.com ** Mark as answered if my post solved your problem and Vote as helpful if my post was useful **.

  • Using Changed Data

    Hi,
    I implemented CDC without error and started the journal.
    My table name to be journalized: DWH_SEC_TYPES
    In the J$DWH_SEC_TYPES table and JV$DDWH_SEC_TYPES
    view, the changed data can be viewed. Also there is another view named JV$DWH_SEC_TYPES which doesnt involve any data.
    When i execute my interface that is using the journalized table, the LKM is trying to load data from JV$DWH_SEC_TYPES view which means no data avaliable. If JV$DDWH_SEC_TYPES is used to pull data,there will be no problem. How can we manage it?
    LKM : LKM SQL to Oracle
    Tnks in advnce
    select     
         DWH_SEC_TYPES.SEC_TYPE_OID     C1_SEC_TYPE_OID,
         DWH_SEC_TYPES.SEC_TYPE_CODE     C2_SEC_TYPE_CODE,
         DWH_SEC_TYPES.SEC_TYPE_DESC     C3_SEC_TYPE_DESC,
         DWH_SEC_TYPES.RECORD_STATUS     C4_RECORD_STATUS,
         DWH_SEC_TYPES.CREATION_DATE     C5_CREATION_DATE,
         DWH_SEC_TYPES.LAST_CHANGE_DATE     C6_LAST_CHANGE_DATE,
         DWH_SEC_TYPES.USER_CREATED     C7_USER_CREATED,
         DWH_SEC_TYPES.SEC_CLASS_OID     C8_SEC_CLASS_OID,
         JRN_SUBSCRIBER     JRN_SUBSCRIBER,
         JRN_FLAG     JRN_FLAG,
         JRN_DATE     JRN_DATE
    from     ODI_WORK.JV$DWH_SEC_TYPES DWH_SEC_TYPES
    where     (1=1)
    AND JRN_SUBSCRIBER = 'SBSC_VERA_KIYMET' /* AND JRN_DATE < sysdate */

    Thanks for answer Bouch,
    The steps i carried out;
    Purge Journal-->insert new record-->extend window--->execute interface
    However i still encounter the same problem.
    I m using consistent JKM named "JKM Oracle 10g Consistent (LOGMINER)".
    I can see the journal data when i click the journal data from the model.
    Might be something to do with LKM?

  • Is sql server using trigger to capture change data in SQL server CDC?

    hi all,
    what is the Architecture of SQL server change data capture(CDC)? is sql server using trigger to capture change data in SQL server CDC? for example Change Data Capture (CDC) in SQL Server 2008 using we can capture change Data records INSERTs, UPDATEs, and
    DELETEs applied to SQL Server tables.so my question is SQL server using triggers to capture change data like INSERT TRIGGER, UPDATE TRIGGER and DELETED TRIGGER using each tables after enabled CDC...?
    Thanks
    Tharindu Dhaneenja 
    Tharindu Dhaneenja http://dhaneenja.blogspot.com

    It is not using triggers. The source is the transaction log.
    Related link:
    Basics of Change Data Capture
    ...The source of change data for change data capture is the SQL Server transaction log. As inserts, updates, and deletes are applied to tracked source tables, entries that describe those
    changes are added to the log. The log serves as input to the change data capture capture process. This reads the log and adds information about changes to the tracked table’s associated change table. Functions are provided to enumerate
    the changes that appear in the change tables over a specified range, returning the information in the form of a filtered result set. The filtered result set is typically used by an application process to update a representation of the source in some external
    environment. ...
    Kalman Toth, SQL Server & Business Intelligence Training; SQL Server 2008 Training

  • Need to change CONTRACT End date using Bapi BAPI_CUSTOMERCONTRACT_CHANGE

    Hi,
    I need to change date of a contract and for the same I am using Bapi "BAPI_CUSTOMERCONTRACT_CHANGE".
    I am passing the following Parameters to the BAPI.
    SALESDOCUMENT  -- Have passed the Contract Number in this.
    CONTRACT_HEADER_IN -- Have passed the values of the following fields ::
    COLLECT_NO -- Sales Document number
    Sales_Org  -- Sales Organization
    Distribution Channes -- Dist. Channel
    Division -- Division
    CT_VALID_T -- New date which I want as the contract end date.
    CONTRACT_HEADER_INX -- Following values have been paased in this Structure.
    UPDATEFLAG -- 'U'.
    CT_VALID_T -- 'X'.
    Now when I run the BAPI with these inputs I get the output as ' Field 'GUEEN' cannot be copied, because it is not ready for input'.This is a information message. But the changes are not reflected in the contract. I have done the commit work after BAPI.
    When I changes the value for CT_VALID_T flag from 'X' to 'U' the message mentioned above does not come but the end result is same and changes are not reflected in the contract.
    I would be really helpful to you if get any kind of helf to know ehy the output is not coming.
    Thanks a Lot for your kind help!!!!
    Regards,
    Lalit Kabra

    Hi Lalit,
    The value for CT_VALID_T flag has to be 'X' in the CONTRACT_HEADER_INX structure.
    In this case, you receive an informative message "Field 'GUEEN' cannot be copied, because it is not ready for input'"
    That is the problem. You cannot change this field because your functional team has this field as "not ready for input" in change mode.
    Can you change this field in transaction VA42? If you can't modify it in dialog, you can't modify it with BAPI.
    Regards,

  • How to- Log Changes in Plan Data Using Datastore Object

    Hi,
    I followed the u201CHow tou2026 Log Changes in Plan Data Using Datastore Objectu201D  in order to trace the changes made in Planning.
    Although it is working fine, Iu2019m only being able to write the changes made by users that have SAP_ALL.
    Do you know what kind of authorization is missing on other users?
    Best regards,
    João Arvanas

    Hello João
    I would recommend you to use the authorization logn on RSECADMIN to
    trace what is the authorization missing for the user who you are using.
    Also you can try to set break-points on the introduced code and check
    where the issue is raised and check that is the authorization system is
    looking for.
    Let me know if this helps, otherwise I will give you other updates.
    Also you may post here what is the error that you are getting. That can
    help us to giving more specific answers.
    Best regards
    Lucimar

  • How can you change data on a SQL 2012 application database that uses availability groups from BizTalk server?

    If you use the WCF-SQL adapter it is recommend that you set UseAmbientTransaction to true if you are changing data. I think this requires MSDTC to be enabled on the SQL server that you are changing the data on. (http://msdn.microsoft.com/en-us/library/dd787981.aspx)
    I think that Availability groups does not support MSDTC. (http://msdn.microsoft.com/en-us/library/ms366279.aspx).
    How can you change data on a SQL 2012 application database that uses availability groups from BizTalk server?

    Hi,
    Yes, Availability groups doesn't support MSDTC. Please refer to the similar discusison which maybe helpfull:
    http://dba.stackexchange.com/questions/47108/alwayson-ag-dtc-with-failover
    http://stackoverflow.com/questions/17179221/msdtc-in-always-on-availability-groups

Maybe you are looking for

  • AutoUpdater from Internal Server Errors

    I have setup an internal server to host Adobe Flash Player updates. I can browse to the http and https sites from my the workstation I am trying to upgrade. When I look in the FlashInstall.log i see the following several times: 2012-11-18+17-25-0.215

  • Motion 3.0 disappointment

    I just read in the Motion 3.0 Supplemental Documentation PDF that lights DO NOT cast shadows! I can't believe it. Oh well, back to After Effects... 2GHz dual G5 (rev2)    

  • OLEDB in OBIEE 11g

    Hi, I want to get data from OSI PI (Historian server) using OLEDB. PI doesn't support ODBC. Does OBIEE 11g supports OLEDB? Thanks Regards

  • AD Password Sync Connector: Configuring IT Resource Parameters

    Hi, In the installation guide of the AD Password Sync Connector there is a step (page 30) to configure the IT Resource (ADITResource) parameters: ADPWSYNCH Installed, ADPWSYNCH OIMFlag and ADPWSYNCH ADFlag. Even after a successful installation of the

  • E 6 Personal Mail setup -- please help

    Hello E6 experts, can you please help me with the steps involved in setting up personal mailboxes in the E6? It's been asked before here... Every time I begin using the mail setup "wizard" I only reach the option for Mail for Exchange. How can one by