A function module to add an entry to the change log of the ODS needed

Hi all,
I want to add an entry to the change log table of the ODS .
Is there a Function module available for this or a work around for this.
Regards
Akshay

Hi Kiran,
You can directly add days to the date.
Eg:
DATA date LIKE sy-datum.
DATA days TYPE i.
date = sy-datum.
days = 100.
date = date + days.
WRITE date.
Regards
Wenceslaus

Similar Messages

  • Function Module to select all entries in  ALV output

    Hi,
      I have an ALV report and Select ALL and Deselect ALL Buttons added to it .
      When the Select ALL button is pressed,all entries of the ALV report should be selected.
      When the Deselect ALL button is pressed,all entries of the ALV report should be deselected.
      Is there any function module to select all entries of the output and vice versa.
      Thanks in advance.
    Regards,
    Navas

    Hi Navas,
    I have written a part of the code you can use.
      TYPE-POOLS: slis.
      DATA : ls_event TYPE slis_alv_event.
    Set PF Status
      ls_event-name = slis_ev_pf_status_set .
      ls_event-form = slis_ev_pf_status_set .
      APPEND ls_event TO gt_event.
      CLEAR  ls_event.
    FORM pf_status_set USING rt_extab TYPE slis_t_extab.
      SET PF-STATUS 'Z_STATUS'.
    ENDFORM  .                 "set_pf_status
    (no need for any perform. This will be called automatically).
    While calling the FM for ALV, pass the internal table gt_event in it_events parameter.
    Double click on Z_STATUS and add two buttons in Application Toolbar.
    1. Select All - Give function code name as &ALL,
    2. Deselect All - Give function code name as &SAL.
    Hope this helps.
    Thanks,
    Dawood.
    Edited by: Dawood.S.Ghasletwala on Apr 3, 2009 3:51 PM

  • Any Function module or BAPIs are available to get scheme name for the inter

    I have internal order no value in table  AUFK-AUFNR ,  and the internal order corresponding Scheme value is available in IMPR-PRNAM . Now I want to inner join both the tables to extract the data , but there is no common field . Is there any Function module or BAPIs are available to get scheme name for the internal orders?

    look at DB-VIEW  "V_IVP_OR".
    Regards,
    Laurent

  • How do you add an entry in the monitor log from the update rules?

    How do you add an entry in the monitor log from the update rules?

    Check this link for relevant SAP recommended implementation.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0c22e690-0201-0010-9581-832abdb5d50d
    Sample Code (Routine) available on the last page of the document.
    award points if useful

  • HOW TO USE FUNCTION Deletion of Requests from the Change Log IN PRCSES CHAN

    Respected all
    i used Deletion of Requests from PSA from the prcess chain and found good results, now i have only one request at the psa and thus i am doing good space utililisation. but when i am using Deletion of Requests from the Change Log i am not getting any changes in the request of dso. kindly let me know how to use this 2nd function.
    thanks
    abhay

    Hi Mahodaya,
    As per SAp standards its good to delete the requestes that are no longer needed for the delta update and no longer used ffor inti from the change log table and the data is loaded already in to DSO.
    Goto RSPC
    Click on create New PC -> enter the PC name n long descp
    Next we need to define the start process for the PC.Maintain the start variant process.save n come back.
    for deletion of change log we have option in the Other BW Processes -> deletion of requestes from change log
    Once u select the option we get a dialoge box here we need to create the variant for the process enter the process variant n long descp. cick ok.
    Next in the maintenance screen for the deleting the request from change log table will appear.
    Enter the selection patterns to which the requestes should be deleted from the change log.
    In the maintenance screen, select one or more Data Store objects for which requests are to be deleted from the relevant change log tables under Data Store Object column and select theInfo Area of the corresponding Data Store Objects under Info Area
    If you select the first check box exclude selction pattern, this means that del of requests from change log table will be ignored.
    or
    We can delete the requests which are Older than N-number of days (or) date in the above screen. For this one, enter the number of days (or) date in the filed Older than .
    OR
    If we want to select the requests with a certain status then we can also do in the above screen. We can select the following status indicators from the above screen.
    Delete Successfully Updated Requests Only -This status will delete only requests which
    are successfully updated into corresponding Data Store objects.
    Delete Incorrect Requests that were not Updated - This status will delete only incorrect requests which are not successfully updated into the corresponding Data Store Objects.
    Delete Activation Requests only, No Load requests- This status will delete only the activation requests (requests that begin with ODSR_... ). No load requests are deleted.

  • How to find out the changes made to the customized table entries

    Hi Team
    i want to know the changes made to the customized table. i have a 'Z' table in my production system, in that table i would like to know whether any table entry is deleted or not. if at all there is any deletion happened, i want to know who had done it.
    So i request you to please let me know the procedure for the same.
    Thanks
    Raj

    Hi Nagaraju,
                       Go to Table Maintenance (SM30)- Display mode-- Utilities-- change Logs. Give the Date range. before giving the date range click on display status , this will show you If the display is active or not. Kindly please let me know If you need any more information on this.
    Regards
    Ram Pedarla

  • How to rebuild the config from the entries in the change logs

    Hi,
    We have overwritten something vital in the KEDR t.code through a transport.  The users have created their own entries in the KEDR t.code directly in the system because this t.code was available for editing although the Client was locked for customizing (option no changes allowed). Not sure why SAP allows KEDR to be edited although the client was locked for customizing. Anyone knows?
    Now the problem is how can we restore the entries maintained by the users?
    Fortunately this KEDR table is enabled for audit log. Is there a way to actually restore the entries from the change logs? Please advise.

    If the device is already in the Prime Infrastructure, you can open it in Device work center and select the device > use the configuration archive option > scheduled deploy.
    Also, the Prime Infrastructure Plug and Play feature allows you to perform an initial provisioning of a software image and configuration on a new device. For more details check :
    Automating Device Deployment Using Plug and Play Profiles
    Working with Device Configurations
    -Thanks
    Vinod

  • Function module to add some table entries to a transport request

    Hi All,
    I need a FM using which I can add the entries of a table to a customizing Transport request.
    For ex: I have a TR : TRxxxxxx , and I want to add an entry of Zxy table to it so that it can be transported,
    Kindly let me know how to pass values to this FM.
    I think I have to pass values something as:
    pgmid: r3tr
    object: tabu
    objname: zxy
    objfunc : K
    TIA.

    Just goto the table zxy in change mode change some desc or something and save, It will ask transport number and give one transport number
    Else you can select the workbench transport requret in SE10, goto menu -> Request/Task -> Object list -> Include objects -> Select freely select objects
    Regards
    Sasi
    Edited by: sasikumar palanichamy on Dec 30, 2008 6:29 PM

  • Function module to add record into incompletion log of creating sale order

    Hi SD Experts,
    Do you know any function module / class  to add record a into incompletion log procedure of creating / changing sale order process? We can do it through configuration OVA2 but I need to add more condition before adding to this table.
    Thanks,
    Duy

    Hi,
    Refer to The SDN Post : [user exit to update the incompletion log in sales order for pricing error |Re: user exit to update the incompletion log in sales order for pricing error]. 
    Limitation : While creating Sales order, this works only for document type with external number range as the code required for updating XVBUV require Sales Order Number.
    Regards
    Vinod

  • Require a function module to add days to a date?

    My purpose is to add days to a particular date and get the resulting date. I tried using this function module "RP_CALC_DATE_IN_INTERVAL", but the problem is this function module only accepts two digits for days. i.e. i am only able to add a maximum of 99 days to a particular date, but i do want to go further and add more so please tell me if there is any function module which shall help me add 3 digit days to a date.

    Hi Kiran,
    You can directly add days to the date.
    Eg:
    DATA date LIKE sy-datum.
    DATA days TYPE i.
    date = sy-datum.
    days = 100.
    date = date + days.
    WRITE date.
    Regards
    Wenceslaus

  • Function module for no of entries in a table

    is there any function module by which we can get the number of entries in a database table?

    Hi,
    You can use like:
    select count(*)from dbtab into cnt.
    which will return u the no. of records.
    Regards,
    Renjith Michael.

  • Function Module to post budgeting entry

    Hi All,
    Is anybody aware of a function module which can help me to post a budgeting entry ? I would appreciate if anyone can give me an idea to post a preposted budgeting entry created via transaction "FMBB". The process has to be a background one since I will be integrating this in the background processing of the workflow. Till now I have been exploring the method "PREPOSTED_POST" of the class "CL_FMKU_ENTRYDOC_HANDLER" but it has lots of dependencies and I am not being able to use this method. The transaction "FMBB" does not support BDC as well as it includes a splitter control from where we have to select the document and none of the fields have a parameter ID associated.
    Best Regards,
    Sudhi

    Try
    FMAVC_READ_INDEX_ACO_DOWN 
    FMBCFF_ENTRY_DOC_POST     
    FMBCFF_POST_REVERSAL_DOC  
    FMBCFF_REVERSAL_DOC_POST  
    FMCCF_BUDGET_POST         
    FMBD_POST                 
    FMCU_GET_BULEDGERS        
    KBPV_POST_DATA            
    Thanks

  • BAPI or function module to add/update MRP Area (MDMA table precisely)

    Hi All,
    can any one suggest me the BAPI to add/update MRP Area. I need to update the fields in MDMA table.
    Thanks in Advance,
    KG

    Dear Brahmankar,
    My actual requirement is that I will get an excel sheet with data to be added to MARC and MDMA table. I guess the report you suggest is good for manually updating/creating/deleting MRP area. It will as good as using BDC in MM02 transaction programatically. Doing BDC will be the last option. If I am able to use any function module then it will good I guess. Please correct me, if I am wrong and suggest me how to proceed.
    Thanks and Regards,
    KG

  • Function module to find table entries associated with transport request

    Hi all,
       I have requirement, like we have created a table and maintenance view for that table - and made entries in that table.
       now we want to know all the entries made in the table are associated with transport request or not.
      how to do it programmatically?? is there any function module which gives the result for transport object associated with the table entries ?????
    Thanks
    Sathish

    Hi,
    Use the table <b>E071K</b>
    in se16 give :
    request number in TRKORR
    Table name in OBJNAME
    in the filed TABKEY u will get the <b>values of the key fields</b> in the table
    by comparing the key fields u can find out the enrties related to the request number
    Please let me know if i am not clear
    ---Patil
    Message was edited by:
            Santhosh Patil
    null

  • Function Module to add Delivery Schedule item in Schedule Agreement

    Hi,
    I have a requirement where I have to add Delivery Schedule line items to Schedule Agreement (ME38 transaction code). Well I have try to use Function Module (ME_CONFIRMATION_MAINTAIN) looks like its not working, but when I debug ME38 it is using same FM.
    when I use ME_CONFIRMATION_MAINTAIN separately I am filling up below values
    I_BSTAE  - ASN 
    I_EBELN  - 550000122
    I_EBELP  - 0010
    I_FUNKT - DV
    I_KDATB - 05/03/2000
    I_KDATE - 12/31/2006
    I_MEINS - PC
    I_MENGE -  30,259.000
    I_TRTYP - V
    I_VORGA - LE
    I_WERKS - DD22
    and I am filling up XEKET and not filling up YEKET (I don't know if I have to fill this)
    Please suggest me ?
    Note : mine is SAP 4.7 system
    Thanks
    Sarath

    I resolved the problem myself. Thanks.

Maybe you are looking for