Function module required--Urgent

Hi Friends,
I have a requirement where in I have to get the final date if I add some days to the initial date.
For example I have the begin date as 11/02/2007...I have the number of days as 91...If I add these days to the initial date I will get the final date.
Is there any fm to achieve the same if i have the initial date and number of days...Please let me know..Its bit urgent
Susmita

hi ,
you dont have to go for any function module.You can directly add the number of days to the date for getting the final date.try this example..
parameters:
  p_date like sy-datum,
  p_days type i.
  p_date = p_date + p_days.
  write p_date.
regards,
veeresh

Similar Messages

  • Function module required to hide assignment block for Opportunity.

    Hi all,
    I have an requirement where i have to hide the assignment block "subsequent assignment" for the opportunity. I dont have any idea how to do it. Is there any function module or BADI to do so.
    Please reply if you have any hints about that.
    Thanks and Regards.
    Raman Khurana.

    Hi Raman,
    there are several ways:
    1.
    Implement method DO_CONFIG_DETERMINATION and get another configuration for the overviewpage. In this configuration you can display the assignmentblocks as desired.
    2.
    Methods DETACH_STATIC_OVW_VIEWS in combination with REATTACH_STATIC_OVW_VIEWS.
    Here you can iterate over all assignment blocks and strip those not wanted from the UI.
    3.
    In the business partner there is a BAdI for this. THere might be one for BT as well. Maybe someone knows, or debug for the call yourself.
    For detail use the search functionality of this forum. There have been some threads regarding this the last weeks.

  • Update Equipment BOM using Function module (very urgent)

    Hi All,
    I am an ABAPER and trying to update equipemnt BOM.
    I want to update equipment BOM using a function module. I am currently using 'CSAI_BOM_MAINTAIN' function module. But i am not able to update the Equipment BOM. After function call the sy-subrc value is 0, even though the BOM is not updated.
    Please help its very urgent.
    Kind Regards,
    Sharat.

    Hi Sharat,
    I am facing the same problem. Could you please let me know what might be the reason.
    Plz mail me at [email protected]
    Plz update this section once u have mailed the answer.
    Thanks a lot in advance.
    Regards,
    Himanshu

  • Table name /function module needed(urgent)

    need a function module or a table in which i cod get a list of "tables names " used in "includes " .... urgent
    ne alternate way to fetch so is also welcome

    Hi
    use the program
    RPR_ABAP_SOURCE_SCAN
    Regards
    Anji

  • Function Module required for getting Value Range data

    I need a function module where in i can get the data from a value range in a domain.
    Message was edited by:
            Gurpreet Singh

    Hi,
    You can use this code to get the Doman's fixed values.
    DATA:  lt_fixed_values     TYPE ddfixvalues,
      CALL METHOD cl_abap_typedescr=>describe_by_name
        EXPORTING
          p_data      = 'Domain_name' " Pass the domain name here
        RECEIVING
          p_descr_ref = lcl_abap_typedescr.
      TRY.
          lcl_abap_elemdescr ?= lcl_abap_typedescr.
        CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF lcl_abap_elemdescr IS BOUND.
        CALL METHOD lcl_abap_elemdescr->get_ddic_fixed_values
          EXPORTING
            p_langu        = sy-langu " Give the language
          RECEIVING
            p_fixed_values = lt_fixed_values " This table will have the fixed values
          EXCEPTIONS
            not_found      = 1
            no_ddic_type   = 2
            OTHERS         = 3.
      ENDIF.
    Regards,
    Sesh

  • Function Module require for Accounting Document

    Hi All,
    Is there any Function Module available for getting Accounting document no which is created after IR.
    Regards,
    Paras

    Hi,
    You can use BAPI_ACC_DOCUMENT_POST.
    Regards,
    Eli

  • BAPI(Function Module Required)

    Hi Gurus ,
    Please provide me the function module (BAPI) for the following.
    1. Create Purchase Requisition
    2. Update/Change Equipment master(Iq02)
    Thanks
    Tausif

    Purchase Requisition:
    BAPI_REQUISITION_CHANGE Change Purchase Requisition
    BAPI_REQUISITION_CREATE Create Purchase Requisition
    BAPI_REQUISITION_DELETE Delete/Close Purchase Requisition
    BAPI_REQUISITION_GETDETAIL Display Purchase Requisition Details
    BAPI_REQUISITION_GETITEMS Read Purchase Requisition Item
    BAPI_REQUISITION_GETITEMSREL List Purchase Requisitions Awaiting Release
    Equipment:
    BAPI_EQMT_CREATE Create equipment
    BAPI_EQMT_DETAIL Read details for equipment
    BAPI_EQMT_DISMANTLEFL Dismantle equipment at functional location
    BAPI_EQMT_DISMANTLEHR Dismantle equipment from equipment hierarchy
    BAPI_EQMT_GETCATALOGPROFIL Determine catalog profile for equipment
    BAPI_EQMT_GETLISTFORCUSTOMER Select customer equipment
    BAPI_EQMT_INSTALLFL Install equipment at functional location
    BAPI_EQMT_INSTALLHR Install equipment in equipment hierarchy
    BAPI_EQMT_MODIFY Change equipment
    thanks
    sitaram

  • How to find the outbound idoc function module?(Urgent)

    Dear All,
    How to identify the outbound function module if there is process code assigned to message type.
    For partner profile the mesasge type is assigned and idoc type .This is the only information maintained .
    Now my question is how to identify the fucntion module which is getting trigger in the system is there any data maintained in the standard table  or any t-code .
    Points will be rewarded for right answers.
    Thank You.
    Regards,
    Ravi Ganji

    Hi,
    If u know the message and basictype then we can know the process code for that message type in transaction code WE64.
    if we know process codes then we can know the function modules in transaction codes WE41(Outbound process code) and WE42(Inbound process code).
    Each process code is attached with a FM...
    Reward if helpful
    Regards,
    Nagaraj

  • Functional Module  required

    Is there any functional module which take a floating point value in any format and export the same value in the format defined in the user profile??
    as the FM CONVERT_DATE_TO_EXTERNAL solve the same purpose for date..

    Oadman, i think u are right that this fm should solve the porpose. But when i am trying to execute this FM it is not converting the format.
    Ex:
    I am gining IFIELD =  123,567.89
    Default setting : 123,456.89
    It is giving the output
    EFIELD =  123,567.89

  • Standard Function Modules required

    I am look for a standard Function Module / RFC / BAPI for the below
    Get the list of table (for a given search criteria like if I give m* it should return me list of
              tables starting with m)
    Get details of the table (its field details)
    Regards,
    Samson.

    Select TABNAME fron dd02l into Itab where Tabname like M*
    Select FIELDNAME ROLLNAME DOMNAME DATATYPE from dd03l into itab2 fro all entries in Itab where tabname = itab-tabname.
    Or:
    Select TABNAME fron dd02l into Itab where Tabname like M*
    Loo at Itab.
    Pass table name in each loop pass to FM: GET_FIELDTAB or DDIF_FIELDINFO_GET
    GET_FIELDTAB    -
    >If you pass table it will give you related fields.
    Endloop.
    Regards,
    Gurpreet

  • Functional Module required for getting list of successful jobs

    Hi All,
    There is one function module BP_JOB_SELECT which gives me name of unsuccessful job. Now I want to find the name of all successful job. Can anyone please tell me the function module name for that?
    Thanks in advance,
    Siddarth.

    You can use the same FM - BP_SELECT_JOB.
    While filling structure JOBSEL_PARAM_IN, you can pass FINISHED = 'X' and
    SCHEDUL = ' '
    READY     = ' '
    RUNNING  = ' '
    ABORTED = ' '
    Regards,
    Mohaiyuddin

  • Function Modules required....

    Hi Gems!!
      Can any one help me out by providing Function Modules for Creating Transfer Order and after that FM for confirming it.. as its done in transactions LT01 and LT12 respectively.
    Helpful answers will definitely be rewarded!!!!!

    Hi Susanth,
    Please check as below declared using the function module:
    DATA: l_v_tanum      TYPE tanum.
    "assuming you have data here as per some records
        LOOP AT fp_im_final_sel ASSIGNING <l_fs_final_sel>. 
          READ TABLE fp_i_lqua INTO l_wa_lqua WITH KEY lenum =
                                                    <l_fs_final_sel>-lenum
                                                    BINARY SEARCH.
          IF sy-subrc EQ 0.
            l_wa_lubqu-lqnum    =  <l_fs_final_sel>-lqnum.
            l_wa_lubqu-menge    =  <l_fs_final_sel>-verme.
            APPEND l_wa_lubqu TO l_i_lubqu.
          ENDIF.
        ENDLOOP.
    CALL FUNCTION 'L_TO_CREATE_POSTING_CHANGE'
            DESTINATION 'NONE'
            EXPORTING
              i_lgnum                    = l_wa_mseg_temp-lgnum
              i_ubnum                   = l_wa_mseg_temp-ubnum
              i_squit                      = 'X'
              i_nidru                      = 'X'
              i_update_task           = space
              i_commit_work          = 'X'
              i_bname                    = sy-uname
            IMPORTING
              e_tanum                   = l_v_tanum
            TABLES
              t_lubqu                     = l_i_lubqu
            EXCEPTIONS
              foreign_lock               = 1
              tp_completed                 = 2
              xfeld_wrong                  = 3
              ldest_wrong                  = 4
              drukz_wrong                  = 5
              tp_wrong                     = 6
              squit_forbidden              = 7
              no_to_created                = 8
              update_without_commit        = 9
              no_authority                 = 10
              i_ubnum_or_i_lubu            = 11
              bwlvs_wrong                  = 12
              material_not_found           = 13
              manual_to_forbidden          = 14
              bestq_wrong                  = 15
              sobkz_missing                = 16
              sobkz_wrong                  = 17
              meins_wrong                  = 18
              conversion_not_found         = 19
              no_quants                    = 20
              t_lubqu_required             = 21
              le_bulk_quant_not_selectable = 22
              quant_not_selectable         = 23
              quantnumber_initial          = 24
              kzuap_or_bin_location        = 25
              date_wrong                   = 26
              nltyp_missing                = 27
              nlpla_missing                = 28
              lgber_wrong                  = 29
              lenum_wrong                  = 30
              menge_wrong                  = 31
              menge_to_big                 = 32
              open_tr_kzuap                = 33
              lock_exists                  = 34
              double_quant                 = 35
              quantity_wrong               = 36
              OTHERS                       = 37.
    Try to implement this, if you still have clarification you can get back to me at [email protected]
    Message was edited by:
            Pradeep C

  • Process code's function module required for the IDOC Message type PROACT

    Hi,
    I am trying to trigger an IDOC from ME32K transaction which will carry my Contract agreement details to XI. The IDOC I am using for this purpose is PROACT.PROACT01. But I couldn't find the outbound process code / Function module for the process code associated to this IDOC message type.
    Pls help me out....
    Thanks,
    Ram Kalyan

    I checked table EDIFCT for the message type and found this:
    Function module            Function type    Basic type                                      Message Type
    IDOC_INPUT_PROACT          F               PROACT01                                       PROACT
    Oops...I think you are looking for outbound..Ignore

  • Function Module required to convert the date coming from external system

    Hi Friends,
       I need a Function Module that would convert the incoming date from external sytem in format YYYYMMDD to the SAP system in DDMMYYYY. The External system data type for the date is Numberic. Please suggest any FM if you know.I found out many in SAP but didn't find for this requirement

    Wait a minute.  I am definetely missing something here.  You want to convert from an external format YYYYMMDD to SAP's internal format?  SAP's internal format is YYYYMMDD.
    All you should have to do is move you external date directly to your internal date.
    data: date1(8) type c value '20051225'. "Format YYYYMMDD
    data: date2 type sy-datum. "Format (YYYYMMDD)
    write: / date2.
    When you write out date2 it will be in whatever format your user profile has. 
    If you want to force the date format independent of your user profile settings during the write statement:
    write: / date2 DDMMYY.
    Message was edited by: Thomas Jung

  • Function module required for time stamp conversion into MST

    Hello,
    Please let me know if there is a SAP function module that can convert timestamp from GMT or provided timestamp into MST. I will need to use this function in BW transformation.
    Thanks.

    Try this one: TZ_GLOBAL_TO_LOCAL.
    Haven't used it myself yet, but it looks good.
    Good luck!
    Best regards,
    Zhou

Maybe you are looking for

  • Problem in accessing ADF Faces Table portlet in Oracle 10.1.4 portal server

    I created one ADF Faces Portlet ,showing a simple table in 10.1.3.1 When i do run from Jdevloper it works fine. But after registering it as WSRP in oracle portal server 10.1.4 ,when i am adding this portlet in a page ,it is giving javasript error. I

  • ITunes won't fill up my nano (I think)

    Hi, My wife got me a 2 GB nano for our anniversary/Christmas. I have created a couple of smart playlists in iTunes (rock/pop and classical) and have set the nano to sync with those two playlists only. I have limited the size of the classical playlist

  • What do you have to do to get yourelf banned here?

    Dear administrator, I think you took down the wrong thread.

  • EVO:RAIL - Use Cases?

    I think as soon as the world becomes aware of EVO:RAIL then folks will start asking what the use cases are. It's clear that there are couple of immediate use cases, but I'm betting that customers will bring to the table applications that perhaps we h

  • How to create ODS based on a table (e.g. TCURR)

    Hello! I need to have access to V_TCURR in my BEx reports, cause I want to show relevant rates. Could you give me some links (if they exists) where I can find information about this? And I'd be really pleased if someone write a step-by-step instructi