Tcode j1ia101 for ARE1 internal document in background

Hi gurus,
Can any body tell me BAPI or any FM to run tcode j1ia101 in background.
regards
manas

Hi imdarpan,
                      I was facing the same problem. It is triggering twice one for Event linkage and the other is triggering because of SPRO settings. Ask your FI consultant to remove with workflow setting in spro for FBCJ.
Regards,
Dheepak

Similar Messages

  • Error while detrmining Internal Document Number for Excise Invoice.

    Hello mate, I am trying to create excise invoice for for factory sale. while saving the document I am getting an error" Error
    while detrmining Internal Document Number for Excise Invoice. Message: Maintain Number Range for J_1IINTNUM". I have already maintained number range for mentioned object "J_1INTNUM" in TCODE SNUM , still getting error. Please solve my querry . Is it related to transport or number range activation or something else? I have maintained number range with serial no. "01"

    Hello ,
    Ensure that number ranges are properly maintained in the respective client that should be the year specific.Some times even u maintained the system should not consider that number ranges  due to table updation problem ,because i had faced the same in the earlier and received the reply from the sap stating that this error was occured rarely after the years,so please ignore that ,for your problem u first come out of the screen and then re log in and then create the excise invoice ,then check the number ranges .
    Please revert for any
    Kalyan

  • Tcode for display Invoice Document

    Hi,
    I want to know the tcode to display the invoice Document.
    Note: im aware that In MR90,i can fill Invoice Doc. Number & Fiscal year for printing the invoice.
    Regards,
    Baskar

    Hi,
    MIRO - Enter Invoice
    MIR7 - Park Invoice
    MIRA - Enter Invoice for Invoice Verification in Background
    MIR4 - Display Invoice Document
    MR8M - Cancel Invoice Document
    MRBR - Release Blocked Invoices
    MIR5 - Display List of Invoice Documents
    MIR6 - Invoice Overview
    MR90 - Output Messages
    MIR4 and MIR5 will solve your query, also you can try MR11.
    regards,
    Prashant Rathore.

  • Tcode to see Dunning Block for a Billing Docuement

    I need to see Dunning block for a Billing docunent, what is the tcode to see the Dunning Blosck user for a billing document.

    Hi,
    Go to FBL5N look for the FI invoice, open the invoice and see the dunning block field is populated. You can unblock it by changing the document to change mode from the main menu bar.
    Thanks,
    JD

  • Tcode for dispaly FM document

    Dear guru,
    When I post Invoice Receipt via MIRO, I can display FM document by click "Follow-on Documents".
    Is there a tcode for displaying FM Document directly?
    Thank you
    Moderator: Please, avoid asking basic questions

    Hi, FM03

  • How can I preserve word internal document hyperlinks when importing into indd cs6

    I have a document that is hundreds of pages long. The document was created in word by another user and has many internal document hyperlinks. Is it possible to preserve the hyperlinks, so that they show up and work in indd CS6? The document will then be exported as an interactive pdf and the links need to work there as well.
    The final product is the interactive pdf. I am just using indd to add a simple background to the content created in word. If there is any other way to preserve the hyperlinks, perhaps, by somehow adding the background in acrobat pro and excluding even taking the document into indd, please let me know.
    Mahalo!

    Thanks Lori for the reply.
    Unfortunately. my Epson 3170 Photo does not come with scan-to-fax software.
    I ended up creating a word doc and inserting the scans into it - on scan per page.
    Thanks for the suggestion though. It is greatly appreciated.
    Dual G5 2GHz, 2.5 GB RAM, 360 GB HDD   Mac OS X (10.4.2)  

  • Accounting entries for ARE1

    HI
    For exports under LOUT when we create a ARE1 form . We also post this ARE1 form Can you please let me know what are the accounting entries generated here, as we donot have an accouting entry for Exicse duties at excise invoice level for exports under LOUT.
    Thank you.

    Hi Rithvika ,
    Thats true as we are not paying any duty under LOUT no accounting entries should be generated at the time of post of ARE1 form.
    To further discuss..
    For Exports under rebate when we post and ARE1 form then we have accouting entries where can we see them.
    and I am facing another issue while creating excise invoice for Exports under LOUT selecting LOUT as excise invoice type and savingg the document no issue in that but while creating an ARE1 form from J1IA101 create ARE1 form system is asking for a Bond number . here in our process we do not use bond for exports its by Letter of undertaking please advice me how to go about this.
    Thanks.

  • What is the use of internal document number in excise invoice

    Hi All,
    Could you please explain the use of "Internal Document" number in Excise invoice.
    Regards,
    Mullairaja

    As you would be aware for all types of Excise Transactions like DLFC (for normal sales), GRPO (for goods receiving) etc., system will generate an internal number which is only for reference and this will be a continuous number irrespective of excise transaction type.
    For example, if you generate a sale order, the excise transaction type would be DLFC and let us assume the internal number generated by the system is 11 and immediately, if you generate any other excise document other than normal sales, the internal number would be 12.  This number range you need to maintain in TCode SNUM for object  J_1IINTNUM every year.
    thanks
    G. Lakshmipathi

  • Update routine to populate value for field ZDOCCATG(Document category)

    Hi Experts,
       I need to populate  data for field ZDOCCATG(Document Category) based on the value of the below  two fields,
    1. 0deb_cre_lc(Debit / credit Amount)
    2. 0ac_doc_typ(Belegart)
    The logic is as follows:
    if 0deb_cre_lc > '0'.
         if 0ac_doc_typ == 'dz'.
          ZDOCCATG = Disputes.
         else
      ZDOCCATG = Invoices.
       end If.
    else
    if 0ac_doc_typ < '0'.
    ZDOCCATG = Credits.
    end if.
    I need to write the update routine to get the values assigned for Document category based on these two fields. When i open the routine for the field ZDOCCATG, i can see the below screen:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine
      RESULT = .
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Please let me know the code to be inserted (based on the logic mentioned above) in the above screen . Thanks
    Regards,
    Kavitha Jagannath

    Hi Kavitha,
          Supposing the technical name of fields is /bic/0deb_cre_lc and /bic/0ac_doc_typ use the code below at the marked position.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line -
    TABLES: ...
    DATA: ...
    $$ end of global - insert your declaration only before this line -
    FORM compute_data_field
    TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
    USING COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
    RECORD_NO LIKE SY-TABIX
    RECORD_ALL LIKE SY-TABIX
    SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
    CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
    RETURNCODE LIKE SY-SUBRC "Do not use!
    ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine                 
    <----- Paste the code below as shown here --->
    if comm_structure-/bic/0deb_cre_lc > 0.
      if comm_structure-/bic/0ac_doc_typ == 'DZ'.
       result = 'DISPUTES'.
      else
       result = 'INVOICES'.
      endIf.
    elseif comm_structure-/bic/0deb_cre_lc < 0.
      result = 'CREDITS'.
    end if.
    <----
    >
    if abort is not equal zero, the update process will be canceled
    ABORT = 0.
    $$ end of routine - insert your code only before this line -
    ENDFORM.
    Regards:
    Jitendra
    Edited by: Jitendra Gupta on Oct 15, 2009 3:05 PM

  • Internal table in background job

    hi everyone
    I have to process 4 internal tables to send to spool in background
    HOw should the parameters be passed?
    I have used the 
    SUBMIT /EU000/FI_PAYMENT TO SAP-SPOOL
    SPOOL PARAMETERS mstr_print_parms
    WITHOUT SPOOL DYNPRO.
    but I dont know how I shd pass the internal tables
    Plz help

    Hi sia anjali.....
    There is one concept in Spool Request,,, You can only produce a spool of a thing which you are writing....
    for ex your report consist of 4 internal Tables,,, Then you can easily Produce a single spool request for all the 4 Internal tables with it's contents...
    I am giving you the sample code for 2 Internal Tables.......... In this case you have to use two reports....
    for ex.....
    (1)- The first Report will only consist of the submit statement.....
    REPORT  ZTEST99                                 .
    SUBMIT   ztest100           TO SAP-SPOOL
                                          DESTINATION         'LP01'
                                          IMMEDIATELY         ' '
                                          KEEP IN SPOOL     'X'
                                          WITHOUT SPOOL DYNPRO AND RETURN.
    (2)- The second Report will consist of your internal tables that you want to display.......
    *& Report  ZTEST100                                                    *
    REPORT  ZTEST100                                .
    data: begin of itab occurs 10.
          include structure mseg.
    data: end of itab.
    data: begin of itab1 occurs 10.
          include structure bseg.
    data: end of itab1.
    start-of-selection.
    select * from mseg into table itab up to 10 rows.
    select * from bseg into table itab1 up to 10 rows.
    loop at itab.
    write:/ itab-mblnr, itab-mjahr.
    endloop.
    uline.
    loop at itab1.
    write:/ itab1-bukrs, itab1-belnr.
    endloop.
    now this wil produce the spool request in SP01 T-code..........
    If have any other queries do let me know......
    Thanks
    Saurabh

  • FIPP object, getting error while posting document in background step

    Hi Experts,
    Once approval is done we are posting document in background, but getting following error
    No batch input data for screen SAPMF05A 0607
    We have delegeted object FIPP to ZFIPP and added method zpost with same code as post with some initial validations.
    Your help in solving this error would be really appreciated.

    If you really haven't done any relevant changes to the SAP standard post method, I would look for an answer from OSS. And if not found, then ask from SAP. But if you have replaced the standard post method code with for example some BDC code, then you need to check this with your ABAP guys... I don't think that it has anything to do with workflow.
    Regards,
    Karri

  • Display document header for a parked document in ECC 6.0

    Hi,
    Does anyone know how to view the header information of a parked document? I cannot find the u201CDisplay header/hatu201D icon anymore when I go to display a parked document via FBV3. This is in ECC 6.0 whereas; in 4.6C I see the u201Chatu201D icon. For the same parked invoice, in ECC 6.0 it is calling FV63 whereas in 4.6C it is calling FBV3 internally to display the parked document when document, company code and FY are input on FBV3 and hit continue.
    Please let me know if there is way to display header info for a parked document in ECC 6.0.
    Thanks,

    Thanks for your reply!!
    What document are you displaying? I tried displaying a parked vendor invoice and that is when I do not see the hat icon. Probably you are displaying a G/L document (example SA), I am able to see the hat icon in that case.
    In 4.6C, it calls FBV3 internally for displaying both invoices and regular g/l documents whereas, in ECC 6.0 it is calling FV63 if it is an invoice and on FV63 I do not see a hat icon. So, was wondering is that how it is or is there any setting that needs to be turned on?
    Thanks,

  • An accounting document is not required for this billing document

    Hi,
    While releasing the billing document to accounting the error is coming like "An accounting document is not required for this billing document"
    Diagnosis:
    The billing document has the net value '0' and does not create an accounting document. Despite this, the posting status 'C' (Posting document has been created) is set internally for this billing document.
    But the net value is coming in the sales order and alsi into the Billing document.
    gurus plz help me.
    regards,
    ragesh.

    Goto VOFA screen and check for ur billing type , what is assigned in the document type field?.
    Also please check, the posting block is activated. if it is, please remove.
    Also goto the accounting document type settings at OBA7, check whether the customer field is ticked under the account type allowed tab.
    Please let me know, whether ur problem solved..
    Reward points if useful..

  • How to send 997 for a partner documents to multiple IDs?

    We are using EDI X12, and we are facing a challenge to send 997's to different IDs based on transaction type. The partner in this case sends documents to us from different ISA/GS IDs for different document types, so we are required to send 997s to the respective ISA/GS ID.
    In B2B agreements we can't define more than one agreement with the same document type so we are restricted to only one ISA/GS ID for all the documents acknowledgements.
    One other option I thought of was to defer the acknowledgements and let SOA composite handle it, but again as we can't specify the ISA/GS ID in the message header, we will be restricted to only one ISA/GS id which is again an issue.
    Does anyone have any ideas on how to achive this?
    Thanks
    Venkat

    Hi Venkat,
    If you are using 11g, please set the "Functional Ack internal properties" to true in Administration -> configuration screen
    If 10g, please set oracle.tip.b2b.edi.FAInternalProperties to true
    Regards,
    Dheeraj

  • Help on ALV GRID display outputting format for 2 internal tables

    Hi,
        I have requirement in ALV GRID where I need to display the data from 2 internal tables. The first internal table has the content of Delivery due list data and second the internal table has the corresponding stock transfer data of the Delivery Due list. I have a checbox on my selection screen, when unchecked it should output the 1st internal table data, i.e for Delivery due list. When it is checked then it should output 1st Internal table data + 2nd internal table data of stock transfer. For example, 1 document delivery due list data and 2nd line for that document should show the stock transfer data. You can also check the transaction code VL10E for that will show a delivery due list...and for stock tranfer,you need to check with Purchase order in in the USer Role tabstrip. Pls suggest.
    Regards,
    Mira

    Hi,
    U can try out this code
    REPORT zzz_test NO STANDARD PAGE HEADING
                           MESSAGE-ID zz.
    The Data Declarations
    INCLUDE zzm_test_alv_data.
    The Selection Screen Definition
    INCLUDE zzm_test_alv_selscrn.
    The definition and implementation of the event reciever class
    INCLUDE zzm_test_alv_class.
    START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM f1000_load_itabs.
    END-OF-SELECTION
    END-OF-SELECTION.
      IF NOT cb_disp IS INITIAL.
        CALL SCREEN 9001.
      ENDIF.
    Include for getting data
      INCLUDE zzm_test_alv_forms.
    Include for PAI and PBO of screen
      INCLUDE zzm_test_alv_screen.
      INCLUDE ZZM_TEST_ALV_DATA                                          *
    This include has all the data declaration defined
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    Table Declarations:
    TABLES: mara,
            makt.
    Internal Tables:
    The following structure type must be defined in the data dictionary
    DATA:  i_fieldcat  TYPE lvc_t_fcat,
           i_fieldcat1 TYPE lvc_t_fcat,
           i_output1   TYPE STANDARD TABLE OF mara,
           i_output2   TYPE STANDARD TABLE OF makt,
    Work Areas:
           w_output1   TYPE STANDARD TABLE OF mara,
           w_output2   TYPE STANDARD TABLE OF makt.
    Variable:
    DATA: lv_repid    LIKE sy-repid.
    lv_repid = sy-repid.
      INCLUDE ZZM_TEST_ALV_SELSCRN                                       *
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    SELECTION-SCREEN BEGIN OF BLOCK b_main WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP 1.
    PARAMETERS: cb_disp AS CHECKBOX.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN END OF BLOCK b_main.
      INCLUDE ZZM_TEST_ALV_CLASS                                         *
    This include has all the data declaration defined for ALV
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    INCLUDE <icon>.
    Predefine a local class for event handling to allow the
    declaration of a reference variable before the class is defined.
    DATA : o_alvgrid1 TYPE REF TO cl_gui_alv_grid ,
           o_alvgrid2 TYPE REF TO cl_gui_alv_grid ,
           cont_for_cognos1   TYPE scrfname VALUE 'BCALC_GRID_01_9100',
           cont_for_cognos2   TYPE scrfname VALUE 'BCALC_GRID_01_9200',
           custom_container1 TYPE REF TO cl_gui_custom_container,
           custom_container2 TYPE REF TO cl_gui_custom_container,
          Work Area
           w_layout TYPE lvc_s_layo ,
           w_variant TYPE disvariant.
          Constants
    CONSTANTS : c_lay(1) TYPE c VALUE 'A' .                  " All Layouts
    CONSTANTS: BEGIN OF c_main_tab,
               tab1 LIKE sy-ucomm VALUE 'MAIN_TAB_FC1',   "
               tab2 LIKE sy-ucomm VALUE 'MAIN_TAB_FC2',   "
               END OF c_main_tab.
      INCLUDE ZZM_TEST_ALV_FORMS                                         *
    This Include has the various forms used in the program
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    *&      Form  f9001_build_field_cat
          To Build Field Catalog
         -->P_I_FIELDCAT  text
         -->P_0021   text
    FORM f9001_build_field_cat TABLES   p_fieldcat STRUCTURE lvc_s_fcat
                          USING value(p_structure).
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
           EXPORTING
                i_structure_name       = p_structure
           CHANGING
                ct_fieldcat            = p_fieldcat[]
           EXCEPTIONS
                inconsistent_interface = 1
                program_error          = 2
                OTHERS                 = 3.
      IF sy-subrc <> 0.
        MESSAGE i005 WITH 'Error in ALV field catalogue creation'.
                                                                " text-e05.
        LEAVE LIST-PROCESSING.
      ENDIF.
    ENDFORM.                    " f9001_build_field_cat
    *&      Form  f9000_objects_create
          For creating Custom Containers
    -->  p1        text
    <--  p2        text
    FORM f9000_objects_create.
      CREATE OBJECT custom_container1
          EXPORTING
              container_name = cont_for_cognos1
          EXCEPTIONS
              cntl_error = 1
              cntl_system_error = 2
              create_error = 3
              lifetime_error = 4
              lifetime_dynpro_dynpro_link = 5.
      CREATE OBJECT custom_container2
          EXPORTING
              container_name = cont_for_cognos2
          EXCEPTIONS
              cntl_error = 1
              cntl_system_error = 2
              create_error = 3
              lifetime_error = 4
              lifetime_dynpro_dynpro_link = 5.
      IF sy-subrc NE 0.
    add your handling, for example
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  titel = lv_repid
                  txt2  = sy-subrc
                  txt1  = 'The control could not be created'(510).
      ENDIF.
      CREATE OBJECT o_alvgrid1
           EXPORTING i_parent = custom_container1.
      CREATE OBJECT o_alvgrid2
           EXPORTING i_parent = custom_container2.
    ENDFORM.                    " f9000_objects_create
    *&      Form  f9003_layout
          To define the layout
         -->P_SY_TITLE  text
         -->P_0030   text
         -->P_0031   text
         -->P_0032   text
    FORM f9003_layout USING  value(ptitle)
                             value(pzebra)
                             value(pmode)
                             value(pwidth).
      w_layout-grid_title  = ptitle.
      w_layout-zebra       = pzebra.
      w_layout-sel_mode    = pmode.
      w_layout-cwidth_opt  = pwidth.
      w_variant-report     = sy-repid.
    ENDFORM.                    " f9003_layout
    *&      Form  f9006_error_handle
         To handle event
         -->P_PTEXT  text
    FORM f9006_error_handle USING value(ptext).
      IF sy-subrc NE 0.
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  titel = text-e03 " Error Note
                  txt2  = sy-subrc
                  txt1  = ptext.
      ENDIF.
    ENDFORM.                    " f9006_error_handle
          FORM EXIT_PROGRAM                                             *
    FORM exit_program.
      CALL METHOD custom_container1->free.
      CALL METHOD custom_container2->free.
      CALL METHOD cl_gui_cfw=>flush.
      IF sy-subrc NE 0.
        CALL FUNCTION 'POPUP_TO_INFORM'
             EXPORTING
                  titel = lv_repid
                  txt2  = sy-subrc
                  txt1  = 'Error in FLush'(500).
      ENDIF.
    ENDFORM.
    *&      Form  f1000_load_itabs
          Select from Database
    -->  p1        text
    <--  p2        text
    form f1000_load_itabs.
      SELECT * FROM mara
               INTO TABLE i_output1
               UP TO 50 rows.
      SELECT * FROM makt
               INTO TABLE i_output2
               UP TO 50 rows.
    endform.                    " f1000_load_itabs
      INCLUDE ZZM_TEST_ALV_SCREEN                                        *
    2/ Description / Include functions
    This include contains PBO and PAI events for the screen of report
    ZZZJJ_TEST_ALV
    3/ Responsibility
    Author............: Judith Jessie Selvi
    Creation Date.....: 28/03/2005
    DATA FOR TABSTRIP 'MAIN_TAB'
    CONTROLS:  main_tab TYPE TABSTRIP.
    DATA:      BEGIN OF i_main_tab,
                 subscreen   LIKE sy-dynnr,
                 prog        LIKE sy-repid VALUE
                                  'ZZZ_TEST',
                 pressed_tab LIKE sy-ucomm VALUE c_main_tab-tab1,
               END OF i_main_tab.
    *&      Module  STATUS_9001  OUTPUT
          text
    MODULE status_9001 OUTPUT.
    IF custom_container1 IS INITIAL.
      SET PF-STATUS 'ZSTATUS'.
      SET TITLEBAR 'ZTITLE'.
      Creating Object
        PERFORM f9000_objects_create.
      Building the field catalog
        PERFORM f9001_build_field_cat TABLES i_fieldcat
                                USING 'MARA'.
        PERFORM f9001_build_field_cat TABLES i_fieldcat1
                                USING 'MAKT'.
      Modifying the field catalog
       PERFORM f9002_modify_field_cat TABLES i_fieldcat.
      For Layout
        PERFORM f9003_layout USING sy-title 'X' 'B' 'X'.
    ENDIF.
    ENDMODULE.                 " STATUS_9001  OUTPUT
    *&      Module  MAIN_TAB_ACTIVE_TAB_SET  OUTPUT
          Call method to display in the output grid
    MODULE main_tab_active_tab_set OUTPUT.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
      To display report
         i_main_tab-subscreen = '9100'.
          CALL METHOD o_alvgrid1->set_table_for_first_display
          EXPORTING
             is_variant                    = w_variant
             i_save                        = c_lay
             is_layout                     = w_layout
          CHANGING
             it_outtab                     = i_output1[]
             it_fieldcatalog               = i_fieldcat[]
          EXCEPTIONS
             invalid_parameter_combination = 1
             program_error                 = 2
             too_many_lines                = 3
             OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE i000 WITH text-e06."Error in ALV report display
        LEAVE LIST-PROCESSING.
      ENDIF.
        WHEN c_main_tab-tab2.
      To display report
          i_main_tab-subscreen = '9200'.
          CALL METHOD o_alvgrid2->set_table_for_first_display
          EXPORTING
             is_variant                    = w_variant
             i_save                        = c_lay
             is_layout                     = w_layout
          CHANGING
             it_outtab                     = i_output2[]
             it_fieldcatalog               = i_fieldcat1[]
          EXCEPTIONS
             invalid_parameter_combination = 1
             program_error                 = 2
             too_many_lines                = 3
             OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE i005 WITH text-e06."Error in ALV report display
        LEAVE LIST-PROCESSING.
      ENDIF.
    WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 “MAIN_TAB_ACTIVE_TAB_SET OUTPUT
    *&      Module MAIN_TAB_ACTIVE_TAB_GET INPUT
          Check & Process the selected Tab
    MODULE main_tab_active_tab_get INPUT.
      CASE sy-ucomm.
        WHEN c_main_tab-tab1.
          i_main_tab-pressed_tab = c_main_tab-tab1.
        WHEN c_main_tab-tab2.
          i_main_tab-pressed_tab = c_main_tab-tab2.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 “MAIN_TAB_ACTIVE_TAB_GET INPUT
    *&      Module USER_COMMAND_9001 INPUT
          User Command
    MODULE user_command_9001 INPUT.
      CASE sy-ucomm.
        WHEN 'BACK'.
          PERFORM exit_program.
          SET SCREEN '0'.
        WHEN 'EXIT' OR  'CANC'.
          PERFORM exit_program.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 “USER_COMMAND_9000 INPUT
    *&      Module MAIN_TAB_ACTIVE_TAB_SET INPUT
          Set sunscreen
    MODULE main_tab_active_tab_set INPUT.
      main_tab-activetab = i_main_tab-pressed_tab.
      CASE i_main_tab-pressed_tab.
        WHEN c_main_tab-tab1.
            i_main_tab-subscreen = '9100'.
        WHEN c_main_tab-tab2.
            i_main_tab-subscreen = '9200'.
        WHEN OTHERS.
         DO NOTHING
      ENDCASE.
    ENDMODULE.                 “MAIN_TAB_ACTIVE_TAB_SET INPUT
    Thanks & Regards,
    Judith.

Maybe you are looking for