Get reports content of earlier versions through ABAP code.

Hi All,
I want to get contents of report in an internal table for earlier versions.
Do we have any standard table/FM to get the report's content in our program?
To be more specific I want to know how much line of code added/modified in each versions.
Thanks.
Regards,
PK

hi pranshu,
I find your requirement very different.
i have few doubts, when u mean contents u mean lines of code or the output records of the report.
if u mean lines of code modified u want to know, u have version management where u can find the changed lines of code,since the inception of the program.
regards,

Similar Messages

  • Help regarding calling BRFPLUS function through ABAP code

    Hi,
          I have  a situation where I have to input  data into a BRFPLUS function  as a table (i.e the data is input as select options where list or range of data can be provided).The corresponding output is also in the form a table .I've created this function in BRFPLUS and is working fine .Now I have to call it through ABAP code.Can someone kindly  provide me with the probable code for this scenario.
    E.g:
            ZT_MATNR  is the table in brfplus representing the list of MATNR values input along with other such inputs to function module Z_FM
            ZT_ATM   is the  resultant output table  of the function  which contains several fields.
    Now I have to call this BRFPLUS function with help of ABAP code.Could someone kindly help.

    Hello ,
    There should be a number of BRF+ tutorials available in SCN which discuss the FDT APIs. You can have a look at them to get an idea of the various APIs available and their uses.
    For your usecase, you should do the following.
            lo_fdt_function         TYPE REF TO if_fdt_function,
            lo_fdt_result           TYPE REF TO if_fdt_result,
    * Get function handle
          CALL METHOD lo_fdt_factory->get_function
            EXPORTING
              iv_id       = lv_function_id
            RECEIVING
              ro_function = lo_fdt_function.
    where lv_function_id is the GUID of the BRF+ function . You can either make it a constant , or you can use a FDT API to get the function GUID from the BRF+ application name and function name.
    *   Set function context
        TRY.
            CALL METHOD lo_fdt_context->set_value
              EXPORTING
                iv_id    =
                ia_value =
    This is one way to set the input context ( pass the input to the BRF+ function to process ). There are other ways to do this as well. Which one you use would depend on the kind of input you want to pass.
    * Execute BRFPLUS function
      TRY.
          CALL METHOD lo_fdt_function->process
            EXPORTING
              io_context = lo_fdt_context
            IMPORTING
              eo_result  = lo_fdt_result.
    * Get result output
      TRY.
          CALL METHOD lo_fdt_result->get_value
            IMPORTING
              ea_value =
    Another direct way of doing it would be to use the method PROCESS of the class CL_FDT_FUNCTION_PROCESS.
    I have not gone into much explaination here , but it should provide you an idea of how you can go about it.Read the SCN docs on the APIs to get a better idea , or better still if you can get hold of a copy of the BRF+ book by Carsten Ziegler , you will get an end to end explaination of all BRF+ APIs in it.
    Regards,
    Indranil.

  • Uncaught Exception occured while sending mail through abap code.

    Hi,
    Uncaught Exception occured while sending mail through abap code.Run time Errors "UNCAUGHT_EXCEPTION" occured after excuting the call method  CALL METHOD SEND_REQUEST->SEND( ).kindly help in resolving the issue.

    HI,
    Runtime Error:  UNCAUGHT_EXCEPTION details.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_ADDRESS_BCS
    Short text
         An exception occurred that was not caught.
    What happened?
         The exception 'CX_ADDRESS_BCS' was raised, but it was not caught anywhere along
         the call hierarchy.
         Since exceptions represent error situations and this error was not
         adequately responded to, the running ABAP program 'SAPLZSEND_MAIL' has to be
         terminated.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_ADDRESS_BCS', was not caught in
        procedure "SEND_MAIL" "(FORM)", nor was it propagated by a RAISING clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        An exception occurred
    How to correct the error
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "UNCAUGHT_EXCEPTION" "CX_ADDRESS_BCS"
        "SAPLZSEND_MAIL" or "LZSEND_MAILU01"
        "ZSEND_EMAIL"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    The exception must either be prevented, caught within proedure
    "SEND_MAIL" "(FORM)", or its possible occurrence must be declared in the
    RAISING clause of the procedure.
    Please help me to resolve this issue.

  • Do the Premiere templates come with 2014 install or do I have to get them from an earlier version of Premiere?

    I teach at a high school and my IT person just installed CC 2014, but I do not see Premiere templates.  Do I have to install them off of an earlier version?

    There are no template files for Creative Cloud, so the "workaround" is to use the files from the CS6 version. You can manually copy the content across into the CC folders:
    COPY these three folders:
    C:\Program Files\Adobe\Adobe Premiere Pro CS6\presets\Styles
    C:\Program Files\Adobe\Adobe Premiere Pro CS6\presets\Templates
    C:\Program Files\Adobe\Adobe Premiere Pro CS6\presets\Textures
    into:
    C:\Program Files\Adobe\Adobe Premiere Pro CC\presets\
    There are instructions at http://helpx.adobe.com/x-productkb/multi/library-functional-content-missing.html to get the CS6 files if you have deleted them from your system.

  • After I downloaded Firefox 4, it said my system cannot run it. How do I get back to an earlier version of Firefox?

    My Mac is running OSX10.4.11. Where do I go to download an earlier version of Firefox (before 4.0) that is compatible with my system?

    Yeah, Firefox 4 requires Mac OS X 10.5 or later. You can download Firefox 3.6 from [http://www.mozilla.com/en-US/firefox/all-older.html this download page].

  • How to assign a class to the material through ABAP code

    Hi,
    I am working on a transaction in ABAP which takes material name, material description and a class from the user. Now, after this much input I create the material, its configuration profile through the ABAP code. For this I know I have to make relevant entries in tables MARA, MAKT, CUCO.. and also check for the existence of the class in the table KLAH.
    Now the point where I am stuck is that I am not able to get how to assign the class to the material through the code. I am able to get the internal class id from the table KLAH but I am not able to figure how the internal material number is being generated in the table INOB and i need this number as well as the internal class id number to insert a record in the table KSSK to show proper assignment.
    Can anyone please suggest me some solutions?
    Thanks....

    Hi,
    I tried using BAPI_OBJCL_CREATE. In order to understand it functioning better I created a material and class (of type 300) through transactions MM01 and cl01 respectively. Then i  created a report and called the FM BAPI_OBJCL_CREATE, gave the material name as the material above, table as MARA, class as the one i created above and class type 300. I even analysed the message of the table return (return-message) after executing the report. The messahe said assignment done. But when I checked mnaually in cl20n there was no assignment done to the required material. There was also no entry for the required material in the table INOB which I need.
    Can anyoene tell me that where am i going wrong? Please do help.

  • Triggering Process chains through abap code

    Hi Experts,
    Can you please let me know if it is possible to trigger a BW Process chain using an abap code.
    If yes , kindly let me know the sample code.
    Help done would be appreciated.
    Regards,
    Uday

    Hi Thanks for your reply.
    When I am trying to execute process chain with variant as a APD ( In this APD data is getting loaded form one Query to Transactional ODS.) This process chain being executing through one ABAP program using the following code
    CALL FUNCTION 'RSPC_API_CHAIN_SCHEDULE'
    EXPORTING
    I_CHAIN = 'XYZ'. ( Dummy Process chain name)
    While executing this program I am getting following message :
    You can specify the name of the application server here
    on which all jobs in the chain are scheduled
    If you do not specify a name, the jobs from batch
    management are divided between the available servers
    How to avoid this message.
    Can we write any code in the above program to assign any fixed server name so that it will not ask for any server name.
    Your help is much appreciated.

  • Updating HRP table through abap codes - is it correct

    Hi all,
    In my hrp1001 table,I want that All Qualifications (Q) and Tasks (T) assigned to all the functional roles (ZF) existing in the system should be transferred to the positions(S) tagged to those respective functional roles.
    For that I am supposed to write a code which copies the entries from Qualifications (Q) and Tasks (T) and tag the same to the positions (S).
    Below is the sample code which is adding just one record to HRP1001 through abap statment. What I am curious to know is wheather it is logically correct to update HRP  table through abap statments or no. If not, Please let me know what should we do as a solution - should we update all records through LSMW of PP01 or any thing else we can do???
    REPORT  ZHRPAR0005 .
    TABLES: HRP1000, HRP1001.
    DATA IT_1001 LIKE HRP1001 OCCURS 5 WITH HEADER LINE..
    SELECT SINGLE * FROM HRP1001 INTO IT_1001 WHERE OTYPE = 'CP' AND PLVAR = '01' AND SCLAS NE 'S'.
    IT_1001-OTYPE = 'S'.
    APPEND IT_1001.
    INSERT INTO HRP1001 VALUES IT_1001.
    Thanks
    Ribhu

    Hi Ribhu..
    there are various FMs available for this purpose..
    use those... becasue if u directly insert, update or modify record in HRP1000 or HRP1001...
    then some related table might not be updated..
    So use FMs..
    RH_COPY_INFTY
    RH_CUT_INFTY
    RH_DELETE_INFTY
    RH_INSERT_INFTY
    RH_INVERT_RELA_INFTY
    RH_UPDATE_INFTY
    <b>For IT 1001 </b>
    RH_CUT_INFTY_1001_EXT
    RH_CUT_INFTY_1001_EXT_GENERIC
    RH_DELETE_INFTY_1001_EXT
    RH_DEL_INFTY_1001_EXT_GENERIC
    RH_INSERT_INFTY_1001_EXT
    RH_UPDATE_INFTY_1001_EXT
    RH_BASE_READ_INFTY_1001
    RH_READ_INFTY_1001
    RH_READ_INFTY_1001_EXT
    RH_READ_INFTY_1001_EXT_ONLY
    Reward if useful
    Regards
    Prax

  • Updating HRP tables through abap code- is it correct?

    Hi all,
    In my hrp1001 table,I want that All Qualifications (Q) and Tasks (T) assigned to all the functional roles (ZF) existing in the system should be transferred to the positions(S) tagged to those respective functional roles.
    For that I am supposed to write a code which copies the entries from Qualifications (Q) and Tasks (T) and tag the same to the positions (S).
    Below is the sample code which is adding just one record to HRP1001 through abap statment. What I am curious to know is wheather it is logically correct to update HRP table through abap statments or no. If not, Please let me know what should we do as a solution - should we update all records through LSMW of PP01 or any thing else we can do???
    REPORT ZHRPAR0005 .
    TABLES: HRP1000, HRP1001.
    DATA IT_1001 LIKE HRP1001 OCCURS 5 WITH HEADER LINE..
    SELECT SINGLE * FROM HRP1001 INTO IT_1001 WHERE OTYPE = 'CP' AND PLVAR = '01' AND SCLAS NE 'S'.
    IT_1001-OTYPE = 'S'.
    APPEND IT_1001.
    INSERT INTO HRP1001 VALUES IT_1001.
    Thanks
    Ribhu

    Hi Ribhu..
    there are various FMs available for this purpose..
    use those... becasue if u directly insert, update or modify record in HRP1000 or HRP1001...
    then some related table might not be updated..
    So use FMs..
    RH_COPY_INFTY
    RH_CUT_INFTY
    RH_DELETE_INFTY
    RH_INSERT_INFTY
    RH_INVERT_RELA_INFTY
    RH_UPDATE_INFTY
    For IT 1001
    RH_CUT_INFTY_1001_EXT
    RH_CUT_INFTY_1001_EXT_GENERIC
    RH_DELETE_INFTY_1001_EXT
    RH_DEL_INFTY_1001_EXT_GENERIC
    RH_INSERT_INFTY_1001_EXT
    RH_UPDATE_INFTY_1001_EXT
    RH_BASE_READ_INFTY_1001
    RH_READ_INFTY_1001
    RH_READ_INFTY_1001_EXT
    RH_READ_INFTY_1001_EXT_ONLY
    Reward if useful
    Regards
    Prax

  • BPC Master Data Deletion through ABAP code

    Hi All,
    I have a requirement of deleting the orphan nodes for one of the dimension in BPC using ABAP code.
    Please let me know any standard program or classes for deleting the master data from dimension.
    Regards
    Pratibha Biradar

    Hi Pratibha,
    Here is the code to add master data, you can change the flag to 'D' to delete, i have not checked it for delete, it is working for adding.
    DATA: ls_message TYPE uj0_s_message,
    lt_messages TYPE uj0_t_message,
    l_success TYPE uj_flg,
    l_appset_id TYPE uj_appset_id,
    l_dimension_id TYPE uj_dim_name,
    lo_member_mgr TYPE REF TO if_uja_member_manager,
    lo_dimension TYPE REF TO if_uja_dimension_manager,
    lo_master_data_store TYPE REF TO if_ujam_master_data_store,
    lo_context TYPE REF TO if_uj_context,
    ls_dimension TYPE uja_s_dimension,
    lt_errors TYPE uja_t_members_error,
    lr_members TYPE REF TO data,
    lr_data TYPE REF TO data.
    FIELD-SYMBOLS:
    <lt_member_data> TYPE STANDARD TABLE,
    <ls_member_data> TYPE any,
    <lv_field> TYPE any.
    TRY.
        lo_context = cl_uj_context=>get_cur_context( ).
        cl_uj_context=>set_cur_context(
        i_appset_id = l_appset_id
        i_module_name = lo_context->d_calling_module
        is_user = lo_context->ds_user
        lo_dimension = cl_uja_bpc_admin_factory=>get_dimension_manager(
        i_appset_id = l_appset_id
        i_dimension_id = l_dimension_id
        lo_dimension->get(
        EXPORTING
        if_with_hier_maxlevel = abap_false
        IMPORTING
        es_dimension = ls_dimension
        CREATE OBJECT lo_master_data_store TYPE cl_ujam_master_data_store.
    * creating masterdata table
        lr_members = lo_master_data_store->get_table_buffer( ls_dimension ).
        ASSIGN lr_members->* TO <lt_member_data>.
    * Add members to <LT_MEMBER_DATA>, these are the member that will be saved.
        CREATE DATA lr_data LIKE LINE OF <lt_member_data>.
        ASSIGN lr_data->* TO <ls_member_data>.
    * Fill each field, such as ID, and EVDESCRIPTION, update other fields here as well as
    * any properties that need to be updated.
        ASSIGN COMPONENT 'ID' OF STRUCTURE <ls_member_data> TO <lv_field>.
        IF sy-subrc = 0.
          <lv_field> = 'ProductD'.
        ENDIF.
        ASSIGN COMPONENT 'MBR_NAME' OF STRUCTURE <ls_member_data> TO <lv_field>.
        IF sy-subrc = 0.
          <lv_field> = 'ProductD'.
        ENDIF.
        ASSIGN COMPONENT 'EVDESCRIPTION' OF STRUCTURE <ls_member_data> TO <lv_field>.
        IF sy-subrc = 0.
          <lv_field> = 'Product D Update'.
        ENDIF.
        ASSIGN COMPONENT 'PARENTH1' OF STRUCTURE <ls_member_data> TO <lv_field>.
        IF sy-subrc = 0.
          <lv_field> = 'TotalProduct'.
        ENDIF.
        ASSIGN COMPONENT 'OBJVERS' OF STRUCTURE <ls_member_data> TO <lv_field>.
        IF sy-subrc = 0.
          <lv_field> = 'A'. "Version flag, should be "A" for Active
        ENDIF.
        ASSIGN COMPONENT 'ROWFLAG' OF STRUCTURE <ls_member_data> TO <lv_field>.
        IF sy-subrc = 0.
    """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""Here you can change it to 'D' for Deleting """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
          <lv_field> = 'I'. " This is an action flag, I=Insert, M=Modify """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
        ENDIF.
        APPEND <ls_member_data> TO <lt_member_data>. " Add to the table.
    * Create member manager
        lo_member_mgr = cl_uja_bpc_admin_factory=>get_member_manager(
        i_appset_id = l_appset_id
        i_dimension_id = l_dimension_id ).
    * Save the members UNCOMMENT ONLY when you want to write the data!!!!!
    * lo_member_mgr->save(
    * EXPORTING
    * ir_members = lr_members " List of members to save
    * IMPORTING
    * et_errors = lt_errors
    * NOW PROCESS THE DIMENSION
        DATA: ls_dimensions TYPE uja_s_dim_name,
        lt_dimensions TYPE uja_t_dim_name.
        CLEAR ls_dimensions. REFRESH lt_dimensions.
        ls_dimensions-dimension = l_dimension_id. " Add dimensions to the list
        APPEND ls_dimensions TO lt_dimensions.
        lo_member_mgr->process(
        EXPORTING
        it_dim_list = lt_dimensions
        if_set_offline = abap_false
        if_validate = abap_true
        IMPORTING
        ef_success = l_success
        et_message_lines = lt_messages ).
      CATCH cx_uj_no_auth .
    ENDTRY.
    hope this will help,
    thanks,
    Rishi

  • Append Duplicate entries in Start Routine through ABAP code

    Hi Experts,
    I need to write an ABAP code in the start routine for the following conditions.
    For every record in fiscal period (FISCPER) which has non u2013quarter months eg if Jan/Feb ie (001.2007 or 002.2007) I need to create an additional duplicate record which keeps all the other values same but negates the key figures and replaces the month by a quarter ending month
    Eg: if my records are
    FISCPER   COMP_CODE    GLACCT       BALANCE
    001.2007     1000                     6789090       70
    002.2007      1000                    6789090       80
    I need to create/append duplicate entries by negating the Balance value and replacing the Fiscper with 003.2007
    FISCPER COMP_CODE   GLACCT   BALANCE
    003.2007    1000                6789090    -70
    003.2007    1000                6789090    - 80
    Hence the entire structure should now look like:
    001.2007       1000        6789090         70
    002.2007       1000        6789090         80
    003.2007       1000        6789090        -70
    003.2007       1000        6789090       - 80
    Similarly, I need to append duplicate entries for all non quarter ending months and replacing the Fiscper with the quarter ending month and also negate the Key figure value.
    Hence, similarly,
    001.2007        1000            6789090             70
    002.2007        1000            6789090             80
    003.2007        1000            6789090             -70
    003.2007        1000            6789090            - 80
    004.2007        1000            6789090              30
    005.2007        1000            6789090              90
    006.2007        1000            6789090             -30
    006.2007        1000            6789090             -90
    I am very new to ABAP, can someone please provide the ABAP start routine code for this..
    Regards,
    Dipali

    Hi,
        Check the below code. Paste it in yr Start Routine.
    '*'Begin of code
    DATA : wa_Data_Package LIKE Data_Package.
    DATA : t_Data_Package LIKE Data_Package.
    DATA : wa_temp LIKE Data_Package-BALANCE.
    Loop at Data_Package into wa_Data_Package.
    IF ( wa_Data_Package-FISCPER EQ 001/2007 ) or
         ( wa_Data_Package-FISCPER EQ 002/2007 ).
      wa_temp = wa_Data_Package-BALANCE.
      t_Data_Package-FISCPER = 003/2007.
      t_Data_Package-BALANCE = -wa_temp.
      Clear : wa_temp.
    ELSEIF ( wa_Data_Package-FISCPER EQ 004/2007 ) or
                 ( wa_Data_Package-FISCPER EQ 005/2007 ).
      wa_temp = wa_Data_Package-BALANCE.
      t_Data_Package-FISCPER = 006/2007.
      t_Data_Package-BALANCE = -wa_temp.
      Clear : wa_temp.
    ELSEIF ( wa_Data_Package-FISCPER EQ 007/2007 ) or
                 ( wa_Data_Package-FISCPER EQ 008/2007 ).
      wa_temp = wa_Data_Package-BALANCE.
      t_Data_Package-FISCPER = 009/2007.
      t_Data_Package-BALANCE = -wa_temp.
      Clear : wa_temp.
    ELSEIF ( wa_Data_Package-FISCPER EQ 010/2007 ) or
                 ( wa_Data_Package-FISCPER EQ 011/2007 ).
      wa_temp = wa_Data_Package-BALANCE.
      t_Data_Package-FISCPER = 012/2007.
      t_Data_Package-BALANCE = -wa_temp.
      Clear : wa_temp.
    ENDIF.
    APPEND t_Data_Package to Data_Package
    Endloop.
    '*'End of code
    Regards,
    Balaji V

  • How to get Report Data of bigger Memory through BI PublicReportService

    Hi all,
    I am trying to get a BI Report which contains large chunks of data , more than 15 MB of data through a Composite .
    I have created a Composite and using /xmlpserver/services/PublicReportService?wsdl">https://<hostname>/xmlpserver/services/PublicReportService?wsdl (https://) 's runReport operation to invoke the data.
    I have set the value of sizeOfDataChunkDownload as -1 in the input XML.
    When I try to invoke the PublicReport Web Service, I am getting errors like timeout exception , outof Memory Error.
    Kindly suggest me if its possible to get such huge report and whether this is the right operation and right way to get the report.
    And also if there is any alternative method to get large chunks of report.
    Thanks

    Go to Report properties -> Formatting -> FO Processing -> Enable scalable feature of XSLT processor -> YES
    If your server has multiple processors then use "Enable multithreading" to YES
    Restart BI application and test
    regards
    Jorge
    ps. If this answers your question then please mark this answer as "Correct" or else "Helpful"

  • I want to load iBooks but the app store says I need ios7. How do I get ios7 or an earlier version of iBooks?  Under settings/general there is no category for software update.

    I can't load iBooks because I do not have ios7. My setting/general does not have a software update category. How do I fix this?

    Connect to iTune and Check for Updates (tap to enlarge image)

  • Call SE11 Search Help through ABAP code.

    Hello,
    I have a requirement in which I need to call various search helps created through SE11 in a Function Module. I want the Search help to return the Values which I would use in my Function Module.
    Please suggest if there's a standard FM/ Statement to process SE11 Search helps.
    Thanks,
    Shalabh

    TYPE-POOLS: shlp.
    DATA: l_shlp     TYPE shlp_descr_t,
          l_wa       TYPE ddshiface,
          l_bukrs    TYPE char50,
          l_repid    TYPE syrepid,
          L_DYNNR    TYPE SYDYNNR,
          l_ret_val  LIKE ddshretval OCCURS 0 WITH HEADER LINE,
          l_t_fields TYPE dynpread   OCCURS 0 WITH HEADER LINE.
    PARAMETERS: p_bukrs TYPE pa0001-bukrs,
                p_werks TYPE pa0001-werks,
                p_btrtl TYPE pa0001-btrtl.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks.
      FIELD-SYMBOLS <fs> TYPE ddshiface.
      l_repid = sy-repid.
      L_DYNNR = SY-DYNNR.
      CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
        EXPORTING
          shlpname       = 'H_T500P'
    *     SHLPTYPE       = 'SH'
        IMPORTING
          shlp           = l_shlp
      LOOP AT l_shlp-interface INTO l_wa.
        IF l_wa-shlpfield  EQ 'BUKRS'.
          l_wa-valtabname = 'PA0001'.
          l_wa-valfield   = 'BUKRS'.
        ELSEIF l_wa-shlpfield EQ 'PERSA'.
          l_wa-valtabname = 'PA0001'.
          l_wa-valfield   = 'WERKS'.
        ENDIF.
        MODIFY l_shlp-interface FROM l_wa.
      ENDLOOP.
    * Process standard searchhelp
      CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
        EXPORTING
          shlp          = l_shlp
        TABLES
          return_values = l_ret_val.

  • Cancleling a background job through ABAP code

    hi
    in my report i have a condition like this
    if s_erdat > sy-datum.
    xxxxxxxx
    xxxxxxxxxxx
    xxxxxxxxx
    xxxxxxxx
    endif.
    if my selection screen date is grater than the system date i dont need to run the report at all
    when i am running this report in back ground and i have given the erdat date greater than the system date my job status is finished.
    but i dont want the job to be finished i want the job to be cancled. in this case how i need to modify the code

    if s_erdat > sy-datum.
    xxxxxxxx
    xxxxxxxxxxx
    xxxxxxxxx
    xxxxxxxx
    else.
    message e001 text-001. "date is lower than the current date.
    endif.
    if you raise a error message background job will be cancelled with the text 001 in job spool..
    Edited by: Jackandjay on Apr 22, 2008 12:57 AM

Maybe you are looking for

  • Problem with Purchase Requisition

    Hello, Our people create purchase requisitions with several line items and to simplify this they would need a possibility to hold the purchase req (as it is possible for POs). Is there a way to do this, i.a. hold a 'unfinished' purchase requisition w

  • Value of currently selected tree node

    Hi there, I'm new to Apex(4.1.1) and i'm having a little problem. I got 2 Pages. The frist one consists of a treeregion and a submit button. The Second one is a Report. I want to create a workflow, that the user selects a treenode and presses submit.

  • Selection screen - Background submit using JOB_SUBMIT

    Hello friends,                   I am using 2 reports , say report 1(R1) and report 2(R2). I am getting a particular value in selection screen from R2 and based on that value I am submitting the report R1 in background using JOB_OPEN,JOB_SUBMITand JO

  • Displayerrors in the developmodule. Can anyone help me?

    Hello! Sometimes i've got some Display errors like this example.. This can occur when i switch to the next RAW-Photo in the developmodule. The Grid of the Bibliothek appears some seconds additionally to the new Foto. I've changed the Hardware (to: i7

  • HT2731 They ask me about security questions, how do I figure out what they are?

    How do I buy an app? It won't allow me with out security answers