GL Account Start date and Close date

Hi,
Is it possible to maintain start date and close date of a GL account
Thanks & Regards
Radha

Requirement is, from a specific date the GL account should allow for posting and in the same way the GL account should not allow for posting for a specific posting.
So is it possible to give validity period for a GL account

Similar Messages

  • Download using open data set and close data set

    can any body please send some sample pgm using open data set and close data set .the data should get downloaded in application server
    very simple pgm needed

    Hi Arun,
    See the Sample code for BDC using OPEN DATASET.
    report ZSDBDCP_PRICING no standard page heading
    line-size 255.
    include zbdcrecx1.
    *--Internal Table To hold condition records data from flat file.
    Data: begin of it_pricing occurs 0,
    key(4),
    f1(4),
    f2(4),
    f3(2),
    f4(18),
    f5(16),
    end of it_pricing.
    *--Internal Table To hold condition records header .
    data : begin of it_header occurs 0,
    key(4),
    f1(4),
    f2(4),
    f3(2),
    end of it_header.
    *--Internal Table To hold condition records details .
    data : begin of it_details occurs 0,
    key(4),
    f4(18),
    f5(16),
    end of it_details.
    data : v_sno(2),
    v_rows type i,
    v_fname(40).
    start-of-selection.
    refresh : it_pricing,it_header,it_details.
    clear : it_pricing,it_header,it_details.
    CALL FUNCTION 'UPLOAD'
    EXPORTING
    FILENAME = 'C:\WINDOWS\Desktop\pricing.txt'
    FILETYPE = 'DAT'
    TABLES
    DATA_TAB = it_pricing
    EXCEPTIONS
    CONVERSION_ERROR = 1
    INVALID_TABLE_WIDTH = 2
    INVALID_TYPE = 3
    NO_BATCH = 4
    UNKNOWN_ERROR = 5
    GUI_REFUSE_FILETRANSFER = 6
    OTHERS = 7.
    WRITE : / 'Condition Records ', P_FNAME, ' on ', SY-DATUM.
    OPEN DATASET P_FNAME FOR INPUT IN TEXT MODE.
    if sy-subrc ne 0.
    write : / 'File could not be uploaded.. Check file name.'.
    stop.
    endif.
    CLEAR : it_pricing[], it_pricing.
    DO.
    READ DATASET P_FNAME INTO V_STR.
    IF SY-SUBRC NE 0.
    EXIT.
    ENDIF.
    write v_str.
    translate v_str using '#/'.
    SPLIT V_STR AT ',' INTO it_pricing-key
    it_pricing-F1 it_pricing-F2 it_pricing-F3
    it_pricing-F4 it_pricing-F5 .
    APPEND it_pricing.
    CLEAR it_pricing.
    ENDDO.
    IF it_pricing[] IS INITIAL.
    WRITE : / 'No data found to upload'.
    STOP.
    ENDIF.
    loop at it_pricing.
    At new key.
    read table it_pricing index sy-tabix.
    move-corresponding it_pricing to it_header.
    append it_header.
    clear it_header.
    endat.
    move-corresponding it_pricing to it_details.
    append it_details.
    clear it_details.
    endloop.
    perform open_group.
    v_rows = sy-srows - 8.
    loop at it_header.
    perform bdc_dynpro using 'SAPMV13A' '0100'.
    perform bdc_field using 'BDC_CURSOR'
    'RV13A-KSCHL'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RV13A-KSCHL'
    it_header-f1.
    perform bdc_dynpro using 'SAPMV13A' '1004'.
    perform bdc_field using 'BDC_CURSOR'
    'KONP-KBETR(01)'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'KOMG-VKORG'
    it_header-f2.
    perform bdc_field using 'KOMG-VTWEG'
    it_header-f3.
    **Table Control
    v_sno = 0.
    loop at it_details where key eq it_header-key.
    v_sno = v_sno + 1.
    clear v_fname.
    CONCATENATE 'KOMG-MATNR(' V_SNO ')' INTO V_FNAME.
    perform bdc_field using v_fname
    it_details-f4.
    clear v_fname.
    CONCATENATE 'KONP-KBETR(' V_SNO ')' INTO V_FNAME.
    perform bdc_field using v_fname
    it_details-f5.
    if v_sno eq v_rows.
    v_sno = 0.
    perform bdc_dynpro using 'SAPMV13A' '1004'.
    perform bdc_field using 'BDC_OKCODE'
    '=P+'.
    perform bdc_dynpro using 'SAPMV13A' '1004'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    endif.
    endloop.
    *--Save
    perform bdc_dynpro using 'SAPMV13A' '1004'.
    perform bdc_field using 'BDC_OKCODE'
    '=SICH'.
    perform bdc_transaction using 'VK11'.
    endloop.
    perform close_group.
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • What is open data set and close data set

    what is open data set and close data set,
    how to use the files in sap directories ?

    hi,
    Open Dataset is used to read or write on to application server ... other than that i am not sure that there exists any way to do the same ... here is a short description for that
    FILE HANDLING IN SAP
    Introduction
    • Files on application server are sequential files.
    • Files on presentation server / workstation are local files.
    • A sequential file is also called a dataset.
    Handling of Sequential file
    Three steps are involved in sequential file handling
    • OPEN
    • PROCESS
    • CLOSE
    Here processing of file can be READING a file or WRITING on to a file.
    OPEN FILE
    Before data can be processed, a file needs to be opened.
    After processing file is closed.
    Syntax:
    OPEN DATASET <file name> FOR {OUTPUT/INPUT/APPENDING}
    IN {TEXT/BINARY} MODE
    This statement returns SY_SUBRC as 0 for successful opening of file or 8, if unsuccessful.
    OUTPUT: Opens the file for writing. If the dataset already exists, this will place the cursor at the start of the dataset, the old contents get deleted at the end of the program or when the CLOSE DATASET is encountered.
    INPUT: Opens a file for READ and places the cursor at the beginning of the file.
    FOR APPENDING: Opens the file for writing and places the cursor at the end of file. If the file does not exist, it is generated.
    BINARY MODE: The READ or TRANSFER will be character wise. Each time ‘n’’ characters are READ or transferred. The next READ or TRANSFER will start from the next character position and not on the next line.
    IN TEXT MODE: The READ or TRANSFER will start at the beginning of a new line each time. If for READ, the destination is shorter than the source, it gets truncated. If destination is longer, then it is padded with spaces.
    Defaults: If nothing is mentioned, then defaults are FOR INPUT and in BINARY MODE.
    PROCESS FILE:
    Processing a file involves READing the file or Writing on to file TRANSFER.
    TRANSFER Statement
    Syntax:
    TRANSFER <field> TO <file name>.
    <Field> can also be a field string / work area / DDIC structure.
    Each transfer statement writes a statement to the dataset. In binary mode, it writes the length of the field to the dataset. In text mode, it writes one line to the dataset.
    If the file is not already open, TRANSFER tries to OPEN file FOR OUTPUT (IN BINARY MODE) or using the last OPEN DATASET statement for this file.
    IF FILE HANDLING, TRANSFER IS THE ONLY STATEMENT WHICH DOES NOT RETURN SY-SUBRC
    READ Statement
    Syntax:
    READ DATASET <file name> INTO <field>.
    <Field> can also be a field string / work area / DDIC structure.
    Each READ will get one record from the dataset. In binary mode it reads the length of the field and in text mode it reads each line.
    CLOSE FILE:
    The program will close all sequential files, which are open at the end of the program. However, it is a good programming practice to explicitly close all the datasets that were opened.
    Syntax:
    CLOSE DATASET <file name>.
    SY-SUBRC will be set to 0 or 8 depending on whether the CLOSE is successful or not.
    DELETE FILE:
    A dataset can be deleted.
    Syntax:
    DELETE DATASET <file name>.
    SY-SUBRC will be set to 0 or 8 depending on whether the DELETE is successful or not.
    Pseudo logic for processing the sequential files:
    For reading:
    Open dataset for input in a particular mode.
    Start DO loop.
    Read dataset into a field.
    If READ is not successful.
    Exit the loop.
    Endif.
    Do relevant processing for that record.
    End the do loop.
    Close the dataset.
    For writing:
    Open dataset for output / Appending in a particular mode.
    Populate the field that is to be transferred.
    TRANSFER the filed to a dataset.
    Close the dataset.
    Regards
    Anver
    if hlped pls mark points

  • Open data and close dataset

    code required for  how to upload to application server and download it from application server using open dataset and closedataset.

    Hello bharath,
    Check out this code:
    EPORT Z_CRM_REP_SCORE100 no standard page heading message-id zmsgap.
    *&     Type Declaration
    Types: Begin of t_file,
           BPEXT type BU_BPEXT,               "External Number of Business Partner
           NAME_FIRST type BU_NAMEP_F,        "First Name
           NAME_LAST type BU_NAMEP_L,         "Last Name
           CITY1 type AD_CITY1,               "City
           COUNTRY type AD_COMCTRY,           "Country
           TEL_NUMBER type AD_TLNMBR1,        "Telephone Number
           End of t_file.
    Types: Begin of t_but000,                "External Number of Business Partner
           PARTNER type BU_PARTNER,
           BPEXT type BU_BPEXT,
           NAME_FIRST type BU_NAMEP_F,       "First Name
           NAME_LAST type BU_NAMEP_L,        "Last Name
           PERSNUMBER type AD_PERSNUM,       "Person Number
           ADDRCOMM type BU_ADDRCOMM,        "Address Number
           end of t_but000.
    Types: Begin of t_adr2,
           ADDRNUMBER type AD_ADDRNUM,       "Address Number
           PERSNUMBER type AD_PERSNUM,       "Person Number
           COUNTRY type AD_COMCTRY,          "Country
           TEL_NUMBER type AD_TLNMBR,        "Telephone Number
           End of t_adr2.
    Types: Begin of t_adrc,
           ADDRNUMBER type AD_ADDRNUM,       "Address Number
           CITY1 type AD_CITY1,              "City
           End of t_adrc.
    *&      Internal tables and Work Areas Declaration
    Data: it_file type standard table of t_file,
          wa_file type t_file,
          it_sapdata type standard table of t_file,
          wa_sapdata type t_file,
          it_output type standard table of t_file,
          wa_output type t_file,
          it_but000 type standard table of t_but000,
          wa_but000 type t_but000,
          it_adr2 type standard table of t_adr2,
          wa_adr2 type t_adr2,
          it_adrc type standard table of t_adrc,
          wa_adrc type t_adrc.
    *Variable Declaration for file path
    Data:gv_path type SAPB-SAPPFAD value 'C:\FILE.TXT',
         gv_path1 type string value 'file1.txt'.
    *Variable Declaration for index.
    Data: gv_tabix type sy-tabix.
    *Variable Declaration for Line selection.
    Data: v_fieldname type BUT000-BPEXT,
           v_fieldvalue type BU_BPEXT.
    *Calling subroutine to create flat file in application server.
    Perform f_file_to_server.
    *Calling subroutine to fetch values from flat file into an internal table.
    Perform f_dataset.
    *&      Event Start-of-Selection.
    Start-of-Selection.
    *Calling subroutine to fetch values from table BUT000 into an internal table.
      Perform f_select_but000.
    *Calling subroutine to fetch values from table ADR2 into an internal table.
      Perform f_select_adr2.
    *Calling subroutine to fetch values from table ADRC into an internal table.
      Perform f_select_adrc.
    *&      Event End-of-Selection.
    End-of-Selection.
    *Calling subroutine to fill an internal table with SAP data.
      Perform f_fill_sapdata.
    *Calling subroutine to compare the values between I_SAPDATA and I_FILE.
      Perform f_compare.
    *&      Event At Line Selection.
    At Line-Selection.
    *Checking for list index.
      Case sy-lsind.
    *When list index is 1.
        When '1'.
    *Get the value of external number and apss it to the field value..
          Get Cursor Field v_fieldname value v_fieldvalue.
    *Passing field value to field name.
          wa_sapdata-BPEXT = v_fieldvalue.
          If v_fieldname = 'WA_SAPDATA-BPEXT'.
    *Taking only that value whose External Number exist in the internal table IT_BUT000.
            Read Table it_but000 into wa_but000 with key BPEXT = v_fieldvalue binary search.
    *Checking if value exist.
            If sy-subrc eq 0.
    *If it exists then call BP transaction to change the values for that particualr BP according to Aries data.
              Set Parameter id 'BPA' FIELD WA_BUT000-partner.
              Call Transaction 'BP' and skip first screen..
            Endif.                                                        "End of Sy-subrc check.
          Endif.
        Endcase.
    *&      Form  f_file_to_server
    *       This module is used to create flat file in application server
    *       by using function module ARCHIVFILE_CLIENT_TO_SERVER .
    FORM f_file_to_server .
    *Calling function module to create flat file in application server.
      CALL FUNCTION 'ARCHIVFILE_CLIENT_TO_SERVER'
        EXPORTING
          PATH       = GV_PATH
          TARGETPATH = 'FILE1.TXT '
        EXCEPTIONS
          ERROR_FILE = 1
          OTHERS     = 2.
    *checking if file is created successfully
      IF SY-SUBRC <> 0.
    *If file is not created then display a message.
        Message E009.
      ENDIF.                 "End of Sy-subrc check.
    ENDFORM.                    " f_file_to_server
    *&      Form  f_dataset
    *       This module is used to fetch values from flat file,stored in
    *       application server, into an internal table it_file.
    FORM f_dataset .
    *Opening file from application server.
      Open dataset gv_path1 for input in text mode encoding default.
    *Reading the file.
      While sy-subrc eq 0.
        Read dataset gv_path1 into wa_file.
        Append wa_file to it_file.
        Clear wa_file.
      Endwhile.
    *closing the file in application server.
      Close dataset gv_path1.
    ENDFORM.                    " f_dataset
    *&      Form  f_select_but000
    *       This module is used to select values from table BUT000 into an
    *       internal table i_but000.
    FORM f_select_but000 .
    *Selecting values from table BUT000.
      Select PARTNER
             BPEXT
             NAME_FIRST
             NAME_LAST
             PERSNUMBER
             ADDRCOMM
             From but000 into table it_but000
             where TYPE = '1'
             and BPEXT ne ''
             and ADDRCOMM ne ''.
    *Checking if values are fetched in the internal table.
      If sy-subrc eq 0.
        sort it_but000 by BPEXT PERSNUMBER .
      Endif.                           " End of Sy-subrc check.
    ENDFORM.                    " f_select_but000
    *&      Form  f_select_adr2
    *       This module is used to select values from table ADR2 into an
    *       internal table i_adr2 corresponding to the values in i_but000.
    FORM f_select_adr2 .
    *Checking if internal table i_but000 is not empty.
      If not it_but000[] is initial.
    *Selecting values from table ADR2.
        Select ADDRNUMBER
               PERSNUMBER
               COUNTRY
               TEL_NUMBER
               into table it_adr2
               from adr2
               for all entries in it_but000
               where PERSNUMBER = it_but000-PERSNUMBER.
    *Checking if values are fetched in the internal table.
        If sy-subrc eq 0.
          sort it_adr2 by ADDRNUMBER.         " End of Sy-subrc check.
        Endif.
      Endif.                                  "End of internal table check.
    ENDFORM.                    " f_select_adr2
    *&      Form  f_select_adrc
    *      This module is used to select values from table ADRC into an
    *      internal table i_adrc on the basis of values in i_adr2.
    FORM f_select_adrc .
    *Checking if internal table i_but000 is not empty.
      If not it_adr2[] is initial.
    *Selecting values from table ADRC.
        Select ADDRNUMBER
               CITY1
               from adrc
               into table it_adrc
               for all entries in it_adr2
               where ADDRNUMBER = it_adr2-ADDRNUMBER.
    *Checking if values are fetched in the internal table.
        If sy-subrc eq 0.
          sort it_adrc by ADDRNUMBER.         " End of Sy-subrc check.
        Endif.
      Endif.                                  "End of internal table check.
    ENDFORM.                    " f_select_adrc
    *&      Form  f_fill_sapdata
    *       This module is used to fill values in internal table i_sapdata
    *       with the values selected from BUT000,ADRC and ADR2.
    FORM f_fill_sapdata .
    *Checking if internal table it_but000 is not empty.
      If not it_but000[] is initial.
        Loop at it_but000 into wa_but000.
    *Filling the values of internal table IT_BUT000 into workarea of IT_SAPDATA.
          wa_sapdata-BPEXT = wa_but000-BPEXT.
          wa_sapdata-NAME_FIRST = wa_but000-NAME_FIRST.
          wa_sapdata-NAME_LAST = wa_but000-NAME_LAST.
    *Taking only those values whose Person Number exist in the internal table IT_ADR2.
          Read  table it_adr2 into wa_adr2 with key PERSNUMBER = wa_but000-PERSNUMBER Binary Search.
    *If value exists then populate those values in work area of IT_SAPDATA.
          If sy-subrc eq 0.
            wa_sapdata-COUNTRY = wa_adr2-COUNTRY.
            wa_sapdata-TEL_NUMBER  = wa_adr2-TEL_NUMBER .
    *Taking only those values whose Address Number exist in the internal table I_ADRC.
            Read table it_adrc into wa_adrc with key ADDRNUMBER = wa_adr2-ADDRNUMBER Binary Search.
    *If value exists then populate that value in work area of I_SAPDATA.
            If sy-subrc eq 0.
              wa_sapdata-CITY1 = wa_adrc-CITY1.
            Endif.                              "End of Sy-subrc Check.
          Endif.                                "End of Sy-subrc Check.
    *Inserting workarea of sapdata into its internal table.
          Append wa_sapdata to it_sapdata.
    *Clearing all workareas.
          Clear: wa_adrc,wa_adr2,wa_sapdata.
        Endloop.
      Endif.                                      "End of internal table check.
    *Clearing workarea.
      Clear wa_but000.
    ENDFORM.                    " f_fill_sapdata
    *&      Form  f_compare
    *       This module is used to compare values between the Aries data
    *       and SAP data and display those values which are different.
    FORM f_compare .
    *Checking if internal table it_sapdata is not empty.
      If not it_sapdata[] is initial.
        Loop at it_sapdata into wa_sapdata.
    *Taking only those values whose External Number exist in the internal table IT_FILE.
          Read table it_file into wa_file with key BPEXT = wa_sapdata-BPEXT.
    *Comparing the workareas of two internal tables
          If wa_sapdata ne wa_file.
    *Checking if values of work area donot match then write the header.
            Write: / sy-uline(120).
            Format color 1.
            Write: /1 'External Number' Centered.
            Format Hotspot on.
            Write: 17 wa_sapdata-BPEXT.
            Format Hotspot off.
            Write: 47 sy-vline,
               48 'Aries data' Centered,
               80 sy-vline,
               81 'SAP data' Centered,
               120 sy-vline.
            WRITE: / sy-uline(120).
    *Checking if first name in the aries data and SAP data does not match.
            If wa_sapdata-NAME_FIRST ne wa_file-NAME_FIRST.
    *If it doesnt match then display it using subroutine.
              Perform f_write using 'First Name' wa_file-NAME_FIRST  wa_sapdata-NAME_FIRST.
            Endif.                                                                              " End of Sy-subrc check.
    *Checking if last name in the aries data and SAP data does not match.
            If wa_sapdata-NAME_LAST ne wa_file-NAME_LAST.
    *If it doesnt match then display it using subroutine.
              Perform f_write using 'Last Name' wa_file-NAME_LAST  wa_sapdata-NAME_LAST.
            Endif.                                                                              " End of Sy-subrc check.
    *Checking if city in the aries data and SAP data does not match.
            If wa_sapdata-CITY1 ne wa_file-CITY1.
    *If it doesnt match then display it using subroutine.
              Perform f_write using 'City' wa_file-CITY1  wa_sapdata-CITY1.
            Endif.                                                                             " End of Sy-subrc check.
    *Checking if country in the aries data and SAP data does not match.
            If wa_sapdata-COUNTRY ne wa_file-COUNTRY.
    *If it doesnt match then display it using subroutine.
              Perform f_write using 'Country' wa_file-COUNTRY  wa_sapdata-COUNTRY.
            Endif.                                                                             " End of Sy-subrc check.
    *Checking if phone number in the aries data and SAP data does not match.
            If wa_sapdata-TEL_NUMBER ne wa_file-TEL_NUMBER.
    *If it doesnt match then display it using subroutine.
              Perform f_write using 'Phone Number' wa_file-TEL_NUMBER  wa_sapdata-TEL_NUMBER.
            Endif.                                                                            " End of Sy-subrc check.
          Endif.                                                                               "End of Equality check.
        Endloop.
    *Clearing workareas.
        Clear: wa_sapdata, wa_file.
      Endif.                                                                                "End of internal table check.
    ENDFORM.                    " f_compare
    *&      Form  f_write
    *       This module is used to display the field names which has been
    *       changed in SAP from Aries data.
    *      -->P_field_name   text
    *      -->P_Aries_data   text
    *      -->P_SAP_data     text
    FORM f_write  USING    VALUE(P_field_name)
                           VALUE(P_Aries_data)
                           VALUE(P_SAP_data).
      Format color 2.
      Write : /1 P_field_name,
              47 sy-vline.
      Format color off.
      Write: 48 P_Aries_data,
             80 sy-vline,
             81 P_SAP_data,
             120 sy-vline.
      WRITE: / sy-uline(120).
    ENDFORM.                    " f_write
    Please reward points if helpful.
    Regards,
    Aditi

  • Query with Start Date and End Date

    Dear Members,
    I have done a basic query on to get a report on Sales Invoices processed in a given period with the General Ledger account they were posted to. Minor hassle is that to change the dates, I have to go into the script (see extract below) and change dates manually, save query etc.
    Is there a way to have the query, when selected to run, pop up with window, allowing user to input say "start date" and "finish date". I imagine it will require some complex addition to the script below, any assistance will be appreciated.
    Regards
    Raj
    SELECT T1.[DocNum] AS 'Document Number', T1.[DocDate] AS 'Posting Date', T0.[AcctCode] AS 'Account Code', T0.[Dscription] AS 'Item/Service Description', T0.[LineTotal] AS 'Row Total' FROM  [dbo].[INV1] T0  INNER  JOIN [dbo].[OINV] T1  ON  T1.[DocEntry] = T0.[DocEntry]   WHERE T1.[DocDate] > (CONVERT(DATETIME, '20110801', 112) )  AND  T1.[DocDate] < (CONVERT(DATETIME, '20110831', 112) )

    Hi Raj,
    try this:
    /*SELECT FROM [dbo].[OINV] T0*/
    declare  @StartDate as datetime
    /* WHERE */
    set @StartDate = /* T0.DocDate */ '[%0]'
    /*SELECT FROM [dbo].[OINV] T1*/
    declare  @EndDate as datetime
    /* WHERE */
    set @EndDate = /* T0.DocDate */ '[%1]'
    SELECT T1.DocNum AS 'Document Number', T1.DocDate AS 'Posting Date', T0.AcctCode AS 'Account Code', T0.Dscription AS 'Item/Service Description', T0.LineTotal AS 'Row Total'
    FROM dbo.INV1 T0 INNER JOIN dbo.OINV T1 ON T1.DocEntry = T0.DocEntry WHERE T1.DocDate > @StartDate AND T1.DocDate < @EndDate
    Thanks,
    Neetu

  • Exception Handling for OPEN DATA SET and CLOSE DATA SET

    Hi ppl,
    Can you please let me know what are the exceptions that can be handled for open, read, transfer and close data set ?
    Many Thanks.

    HI,
    try this way....
      DO.
        TRY.
        READ DATASET filename INTO datatab.
          CATCH cx_sy_conversion_codepage cx_sy_codepage_converter_init
                cx_sy_file_authority cx_sy_file_io cx_sy_file_open .
        ENDTRY.
    READ DATASET filename INTO datatab.
    End of changes CHRK941728
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          APPEND datatab.
        ENDIF.
      ENDDO.

  • My ipod starts voicing song data, artist data, and playlist data while I am listening to music.  Is this a feature or a defect?  I do not know why it occurs, but the only way to stop it is to stop the music then play the playlist again.

    My ipod starts voicing song data, artist data, and playlist data while I am listening to music.  Is this a feature or a defect?  I do not know why it occurs, but the only way to stop it is to stop the music then play the playlist again.

    To make sure voiceover is off, you need to go to summary screen then click the "Configure Universal Access" button. Then you will get a dialog where you can make sure voiceover is off. All of the boxes in the dialog should be unchecked.
    i

  • Search on basis of start date and end date

    Hi,
    I have added two fields 'Start Date' and 'End Date' on a search page.
    I have done the VO extension also.
    Now, I have to implement search logic to get all the records created in between 'Start Date' and 'End Date' after pressing the 'GO' button on that page.
    Can anyone please provide guidance to extend the controller.
    Thanks in advance.
    Gaurav.

    Hi Anil,
    Thanks for ur reply.
    As per the link, I have written following code in the controller :
    package oracle.apps.irc.vacancy.webui;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean;
    public class xxVacancyCriteriaCO extends VacancyCriteriaCO
    public xxVacancyCriteriaCO() {}
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    // Pressing the Go button causes the search to be executed.
    OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OAViewObject oaviewobject = (OAViewObject)am.findViewObject("XXIrcVacancySearchCriteriaVO");
    if (pageContext.getParameter("Go") != null)
    String created = pageContext.getParameter("ViewDate");
    oaviewobject.setWhereClauseParam(0, created);
    oaviewobject.executeQuery();
    OAAdvancedTableBean table = (OAAdvancedTableBean)webBean.findChildRecursive("ResultsTable");
    table.queryData(pageContext, false);
    But while compiling it, I am getting the error as :
    "Error(14,42): PerTransactionTopCOImpl not found in class oracle.apps.irc.common.webui.IrcOAControllerImpl in class oracle.apps.irc.vacancy.webui.VacancyCriteriaCO in class oracle.apps.irc.vacancy.webui.xxVacancyCriteriaCO"
    Can u please suggest where the mistake is?
    Thanks again.
    Gaurav.
    Edited by: Gaurav on Jan 14, 2011 12:51 AM

  • How to display absence start date and end date in workflow notification?

    Hi,
    I would like to display the absence start date and end date at
    1) Subject of workflow email notification/worklist notification OR/AND
    2) Content of workflow email notification/worklist notification.
    Appreciate if anyone can advise on this as this information is very crucial to our client.
    Thank you.
    Regards,
    Shiau Chin, Teo

    1) Subject of workflow email notification/worklist notification OR/ANDyou have to customize the subject of notification message. You can find the message using following query.
    SELECT message_type, message_name
       FROM wf_notifications notif
      where notification_id = <your notification>;> 2) Content of workflow email notification/worklist notification.
    its already there I think.

  • Basic Start/Finish Date and Requirment Date in Maintenance Order

    Sir,
    We want to know the link between Order Start/finish date and requirement date in Maintenance Order.
    As we are facing problem during change in dates.
    When we change either start date or finish date in the order, the system automatically change the requirment date as of ondate of all the materials which has been earlier issued and also consider the today date.
    Like in Maintenance Order
    Basic Start Date - 01.04.2009
    Basic End Date  - 31.05.2009
    We have issued materials on the order at different date by putting offset value for the requirement date.
    Now if we increase the Basic End Date of order to n30.062.009 or whatelse, the system automatically changes the requirement dates of all the materials issue based on current date. Suppose we changed the Basic End date on 10.11.2009, the system changes all the requirement dates by calulating offset value from 10.11.2009. However these materials has been issued earlier.
    I want to know if there is any remedy to stop to change the requirement dates automatically.
    With Regards
    Mudit Gupta

    HI
    In general the requirement date will get changed only when the IMG settings in OPU7 permits the requirments dates should be adjusted towards the order basic start and end dates
    kinldy check and adjust as per the requirement
    regards
    thyagarajan

  • Function module to find start date and end date of fiscal year for company

    Hi,
    Is there any function module exist which will provide me start date and end date of fiscal year for company code and fiscal year provided?
    Thanks & Regards,
    Parag

    Hi,
    please check this link
    it would be very useful
    http://www.sapdevelopment.co.uk/fmodules/fms_fiscalyr.htm
    Thanks and regards
    durga.K

  • Org.Assignment Infotype start date and End date is getting wrong.

    Hi, When i create a new employee in PA40, in Org. Assignment infotype start date and end date is getting wrong. for eg. When i create an employee on 01.04.2014.    In org. assignment infotype its getting like this. 01.01.2014  to  31.03.9999  and 01.04.9999 to 31.12.9999  Two date entries are creating by default.

    Hi
    Check in the Table - T588Z : Dynamic Actions ,is there any custom routines causing the defaulting dates functionality.
    Thanks,
    Sreeram

  • Modelling Time Dimension with Fact Table containing Start Date and End Date

    Hi Gurus,
    I have a time dimension with Year till Date. I have a fact table which consists of Start Date, End Date, Person ID, Department ID.
    How do i design Time dimension with fact table the below scenario
    In the dashboard i have start Month and End month as prompts.
    In the report i need to display Count(Person ID) > Start Date and < End Date along the trend.
    For instance, i have selected Jan-2009 as start date and Apr-2009 as End Date, then i need to display Count(Person ID) of Jan-2009, Feb2009, Mar-2009 andApr-2009.
    I Can not connect Time dimension with only Start Date or only with End Date to get the trend along the months.
    Please advice on the issue which i am having.

    Hi,
    Thanks for the response, Infact i tried using Complex join in physical layer. I have considered Time table joined with Fact table, and used >= and took and alias of the Time table and joined fact table using <=. When coming to BMM, i am not knowing how do i design this as if i merge the both the time dimensiona and its alias into single table, values will not be correct and if i make them as seperate columns. i can not show the trend as both are different columns.
    Can you please let know where i am going wrong.
    Thanks

  • How to create start date and end date

    Hi guys
    Need to create start date and end date as prompt in webi report.... how could it be possible please help me ...
    regards

    @Universe:
    Go to Condition/Filter:
    Definition: Date=@Prompt("Select Start Date",D,,mono/multi,free/constrained,...)
    OR @Select(Class\Object Date)=@Prompt("Select Start Date",D,,mono/multi,free/constrained,...)
    Parse it & Apply OK.
    Class/Object : If you have already object Date in any class already, use them.
    Follow the same for End date also.
    For both filters/prompts, check Apply on Universe
    @Report/Query:
    Drag [Date] object to Query filters section and in Operand say Prompt. Change text as Select Start Date & again drag [Date], this time say Select End Date.
    Hope it helps you alot.
    Gracias...!!

  • Updating start date and end date at header level for a contract

    As per the requirement I have to create a contract and assign the start date and end date to the contract.
    I am using BAPI_CONTRACT_CREATEFROMDATA for creating a contract. I am assigning value for start date and end date for header data of contract in fields
    -CT_VALID_F and CT_VALID_T of CONTRACT_HEADER_IN import parameter and also setting the corresponding indicator in CONTRACT_HEADER_INX parameter.
    The BAPI executes successfully and does not return any error but when I check the start date and end date for contract in va43 the values are not assigned.
    I also want to update the start date and end date for contract in other case for which I am using BAPI_CUSTOMERCONTRACT_CHANGE and passing date values to the same fields as those create but it give me an error while executing. The error is as follows:
    Field 'GUEEN' cannot be changed, VBAKKOM 2000000162 ready for input.
    Can anyone suggest what can be done for update the date values?
    Thanks in advance.
    Komal

    So are we... The BAPI BAPI_CONTRACT_CREATE has the following importing parameters:
    HEADER     TYPE     BAPIMEOUTHEADER
    HEADERX     TYPE     BAPIMEOUTHEADERX
    VENDOR_ADDRESS     TYPE     BAPIMEOUTADDRVENDOR
    TESTRUN     TYPE     BAPIFLAG-BAPIFLAG
    TECHNICAL_DATA     TYPE     BAPIMEOUTTECH
    Change the HEADER and HEADERX parameters as I have indicated in my first post.
    Regards,
    John.

Maybe you are looking for

  • How to edit the text of a certain column in SALV_WD_TABLE  in ESS layout

    hi,expert. i want to change the text of the column:appraisee name in ESS worklist.      Application :HAP_START_PAGE_POWL_UI_ESS     Web Dynpro Component: SALV_WD_TABLE     Window Information: TABLE     View Information: VIEW_TABLE how can i achieve i

  • Newbie question: cannot find symbol symbol: class STRING

    I've just decided to teach myself some java, and on my first try something's going wrong and I don't know what it is. I'm currently doing this tutorial: http://java.sun.com/docs/books/tutorial/uiswing/learn/example1.html and everything is good until

  • Adding new records in output based on extracted data

    Hi Experts, Good day! I'm still having a problem with my material hitorical data project. I have a requirements in our historical data of material price which adding data that are not existing based on data extracted from standard tables such as A004

  • F110 - Print Preview

    Hi, How can we see the print preview after completion of F110 without going to Spool Request. Our Technical consultant want to see the print preview, our spool requests are taking lot of time and those requests are appearing after one or two days onl

  • Call manager 5 in cisco phone

    Hello All, Maximum 3 call managers can be added in CM group and one SRST reference. So totally 4 CM servers but why we have CM server 5 in all cisco phones under network configuration. -Murali