How to Add function modules to retrieve current month

how to Add function modules to retrieve current month from TVARV variables (currently we have functions to do close month).

Hi
Double click on the CODE for the line..
SET PF-STATUS 'XYZ'.
It will open the Menu Painter (SE41). Click on the Function Keys Tree Node and And assign the
Function Keys and Function codes for the Menu Items.
Hope this would help you.
Murthy

Similar Messages

  • Function Module to convert Current Date & Time to Julain Date.

    Hi Guys,
                  Is there any Function Module for converting Current system Date to Julian Date.
    I only want a Function Module not any report program.
    Thanks......
    Sudheer.

    hiii
    i tried to find a FM for that but could not find any..ya after reading this thread i read about how julian date can be make..from this link only i read about Julian date
    and for this time is also needed but i think there is not any FM for this.still i am searching.let me know if you get any.

  • Function module to retrieve day of the week from a date.

    Hi Experts,
    i am looking for a function module to retrieve the day of the week from a specific date. For example, the date is 20070820. The day of this date is 'Monday'.
    Please let me know how do i get the result i.e. 'Monday'.
    thanks a lot for ur timely help.
    Best regards,
    Aksh

    DATE_COMPUTE_DAY
         Returns a number indicating what day of the week the date falls on. Monday is returned as a 1, Tuesday as 2, etc.
    DATE_IN_FUTURE
         Returns a number indicating what day of the week the date falls on. Monday is returned as a 1, Tuesday as 2, etc.
    DAY_ATTRIBUTES_GET
         Return useful information about a day. Will tell you the day of the week as a word (Tuesday), the day of the week (2 would be Tuedsay), whether the day is a holiday, and more
    regards,
    srinivas

  • How to create function module for getting customer name

    Hi Experts,
                   How to create function module?  when in import parameter kunnr values to be passed it must give name1 details according to the customer number...
    how to write the logic in source code....
    Regards,
    Thiru. R

    1. First of all create function group.
    2. Create function module using this function group.
    3. If only one kunnr is needed at a time, create import parameter for it. But if many kunnr to be entered at a time,use table.
    4. Fetch name1 for each kunnr from KNA1 table.
    "->> if many kunnr
    if not t_kunnr[] is initial.
    select kunnr as kunnr name1 as name1
    into table t_kunnr_name1
    from kna1
    for all entried in table t_kunnr
    where kunnr = t_kunnr-kunnr.
    endif.       
    sort t_kunnr_name1 by kunnr name1.
    delete adjacent duplicates from t_kunnr_name1 comparing kunnr name1.
    table t_kunnr_name1 will contain kunnr and its name1.
    I hope logic is clear for you now.
    Regards,
    Aparna

  • How to add some days to the current system date

    can anyone help how to add some days to the current date i.e if today is 3-12-2007 and if v add 15 more days then the output should be 18-12-2007

    RajeshChandan wrote:
    First of all thanks a lot ,and coming to the question i dont mean to change the sysdate instead i want to write a prg. where after entering the current date it should effect with the no.of days that i have given but not the system date .if u can answer please reply for thisAh, I see. In that case, you can use an instance of GregorianCalendar and use it's add(...) method to add days, months, years etc. to it.
    http://java.sun.com/javase/6/docs/api/java/util/GregorianCalendar.html
    Good luck.

  • How to Add 15 Days to the current Date in eCATT

    Hello eCATT Guru's,
    How to add 15 days to the current date in eCATT.
    I have changed the Date format to mm/dd/yyyy.
    now i want to add 15 days to the sy-datum.
    How to do that.do any one know?
    Thanks in Advance,
    Raj

    Check out this link -
    http://help.sap.com/saphelp_46c/helpdata/en/d7/e21a50408e11d1896b0000e8322d00/frameset.htm
    It gives details about DATE variables in CATT. Hope this will help you out.
    ashish
    Reward points if you find this helpful.
    Message was edited by: Ashish Gundawar

  • Function module for retrieving values of the Characteristics?

    Hi,
    is there a function module for retrieving values of the Characteristics?
    will reward,
    regards,
    M.

    Hello,
    Check this.
        L_OBJECT = G_T_STPO-IDNRK.
    *--- Merkmale incl. Bewertung zum Objekt/Klassenart lesen ----------*
        CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
             EXPORTING
                  CLASSTEXT          = 'X'
                  CLASSTYPE          = '300'
                  FEATURES           = 'X'
                  LANGUAGE           = SY-LANGU
                  OBJECT             = L_OBJECT
                  INITIAL_CHARACT    = ' ' "keine unbewertete M.
                  OBJECTTABLE        = 'MARA'
                  KEY_DATE           = SY-DATUM
    *            NO_VALUE_DESCRIPT  =
                  CHANGE_SERVICE_CLF = 'X'
                  INHERITED_CHAR     = 'X'
             TABLES
                  T_CLASS            =  H_CLASS
                  T_OBJECTDATA       =  H_CLOBJDAT
             EXCEPTIONS
                  NO_CLASSIFICATION  = 1
                  NO_CLASSTYPES      = 2
                  INVALID_CLASS_TYPE = 3
                  OTHERS             = 4.
    Regards,
    Vasanth

  • Function Module to Retrieve Characteristic Value

    Hi,
    Is there any function module to retrieve the characteristic value of a sales order item (in the item batch determination button)?
    Thanks,
    Mawi

    That wasn't it, but it gave me the one piece I was missing.
    Answer is:
    Function Module "CLAE_CLASSIFY_OBJECT"
    In CHANGE_KSSK
    M = 0
    KLA = (Class Type)
    OBJEK = (Material Number for the Material Characteristic being changed)
    OBTAB = MARA
    CLASS = (Class Name with Characteristic to be changed)
    S = 1
    S = (blank)
    AENNR = (EC Change Number or Blank)
    DATUV = (Today's Date or date for change)
    C = "X"
    In CHANGE_AUSP
    OBJEK = (Material Number for the Material Characteristic being changed)
    ATINN = (Chararacteristic to be changed)
    M = 0
    KLA = (Class Type)
    ATWRT = (New Value for Characteristic)
    C = X

  • Function module to retrieve all the personnel numbers in the eval path

    Hi all,
    I want to retrieve all the personnel numbers that fall in the evaluation path.
    Like if my evaluation path is "B002" ( eval path for relationship is line supervisor of ), I want a function module that retrieves all the pernrs in this wval path up to the bottom level.
    if A reports to B and B reports to C and C reports to D . I want a function module to retrieve(either positions or pernrs) C, B and A when I run it for position D.
    any help??
    regards
    Sam
    regards
    Sam

    Hi
    U can use FM  RH_STRUC_GET to get the pernr in the evaluation path
    data : IT_RESULT_TAB     TYPE STANDARD TABLE OF SWHACTOR .
                CALL FUNCTION 'RH_STRUC_GET'
                  EXPORTING
                    ACT_OTYPE  = C_OTYPE
                    ACT_OBJID  = W_POSIT
                    ACT_WEGID  = C_WEGID (relation B002 like )
                    ACT_BEGDA  = W_BEGDA
                    ACT_ENDDA  = W_BEGDA
                   ACT_TDEPTH = 1 ( depath 1, 2, etc )
                  TABLES
                    RESULT_TAB = IT_RESULT_TAB .
    Nb : Give points if it worths

  • Function Module to retrieve appraisal data using a Document ID (GUID)

    Hi,
    Is there a function module to retrieve appraisal data of a document using the document ID (GUID). The new Document ID is of 32 char length. I am working on version 4.7 110.
    Edited by: Beril PC on Jul 16, 2008 8:01 AM

    check for functiona modules starting with phap* or hap*
    Regards,
    Divya

  • How to create function module in abap for VirtualProvider in bi

    how to create function module in abap for VirtualProvider in bi ???????????????
    can any one help me with simple example ?????????????????
    Moderator message : Duplicate post locked. Read forum rules before posting.
    Edited by: Vinod Kumar on Jun 15, 2011 4:40 PM

    Hi ,
    Thanks for replies about my question??.
    If i am using the exit in my char relation ship how can i debugg that exit???
    if i am using BPS0 how to do it???If i am using BPS_WB how to do it??
    Case1.Variable (type Exit) I known how to do debugg this one in BPS0 but i'm not sure in BPS_WB??
    Case2:Char Relation Ship(Type Exit) how to do in BPS0 and BPS_WB??.
    Thanks.

  • HOW TO CALL FUNCTION MODULE INSIDE SMARTFORM

    PLEASE ANYONE TELL ME, ABOUT  HOW TO CALL FUNCTION MODULE INSIDE SMARTFORM. IT IS VERY URGENT!!!!!!!!!1

    Hi,
      Under Global Definitions, we have 'Form Routines' tab. Under this tab, u can have a dynamic subroutine call. With in FORM and ENDFORM, you can call the Function Module.With in the Program Lines editor, u can define the subroutine........PERFORM. 
    If helpful, reward points.
    Rgds,
    CK

  • How to Use Function Module READ_TEXT

    Hi
    Anyone give me code or link or example for how to use function module READ_TEXT
    and what are the parameters which we have to pass in module.
    Regards.
    Mohsin

    Hi,
    refer the given below code.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
       CLIENT                        = SY-MANDT
        id                            = 'KOPF'uF0E0 these details we will get thru transaction , where we enter these details.
        language                      = 'EN'uF0E0 these details we will get thru transaction , where we enter these details.
        name                          = TNAME  "table name
        object                        = 'AUFK'    " these details we will get thru transaction , where we enter these details.
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    IMPORTING
       HEADER                        = HTEXT
      tables
        lines                          = LTEXT
    * EXCEPTIONS
    *   ID                            = 1
    *   LANGUAGE                      = 2
    *   NAME                          = 3
    *   NOT_FOUND                     = 4
    *   OBJECT                        = 5
    *   REFERENCE_CHECK               = 6
    *   WRONG_ACCESS_TO_ARCHIVE       = 7
    *   OTHERS                        = 8
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks
    Arun

  • How to use functional module " DETERMINE_DUE_DATE"

    Hi All,
    Can anyone suggest how to use functional module " DETERMINE_DUE_DATE" as it is used in an FI transaction code "FBL5N" and i have to use it in my zprogram to capture the net due date..please suggest..
    Regards,
    Shanu

    hi,
    CALL FUNCTION 'DETERMINE_DUE_DATE'
                 EXPORTING
                      I_FAEDE = LS_FAEDE
                 IMPORTING
                      E_FAEDE = LS_FAEDE
                 EXCEPTIONS
                      OTHERS  = 1

  • How to assign function module with process code in IDOC ?

    how to assign function module with process code in IDOC ? and what code i have to write in that function module for custom IDOC ?
    helpful answer will be rewarded?

    Hi,
    First goto transaction we42 -->editing mode --> new entries -->give name of your process code and description --> processing with alv service and function module -->then press enter -->after that enter the name of the function module you want to associate from the drop down and save it.
    Thats the way to assign function module with process code.
    In that process code we will have the Function modules and Bapi's which will take the data which we are sending through IDOC and then process it.
    for example: i am triggering the IDOC for every purchase order created then this process code in the receiver system will take the data which i have enetered in the sender system to create the purchase order and process it and creates the same purchase order in the receiver's system.
    Reward if helpful.
    with regards,
    Syed

Maybe you are looking for

  • Month Sorting at Universe Level

    Hi All, We have created a Universe on BEx query to develope an BO Explorer. We are having Sorting problem with Fiscal Period values, which is in Character type. So need some clarification on below queries.. Q: Can we change the Fiscal Period datatype

  • Installation keeps getting failed on some CC applications

    After performing clean install Mac OS X 10.9 (Mavericks), I tried to install Adobe CC applications back on my Mac couple days ago. While other CC applications had been installed without a hassel, I find two applications that kept failling to be insta

  • Multitenancy and Entity Manager

    We are using JPA with eclipse link. We have extensive JPA queries. Our code is in production for a while. Now we have  a business use case, to support multitenancy. We will be using the Oracle Pluggable Database mechanism where each client will have

  • Why do I have 2 iPhoto Library icons?

    Hello I have 2 unrelated issues. (I believe) First, In my home folder...picutures folder, I have 2 iPhoto Library icons. one with a date modified 20/6/2010 size 45.98GB. the other date modified Today 44.65 GB. In the last few days I have been deletin

  • Encoding in e-mail

    I am sending e-mail by SO_DOCUMENT_SEND_API1. E-mail encoding is Content-Type: text/html; charset="ISO-8859-5" And non-latin symbols (russian) are sent in wrong way: <td>=C0=E3=E0=EB=E0=EA=EE=E2==E0 =C5=EB=E5=ED=E0</td>          I checked SAP codepag