Screens in report

Hi Guys,
I have a report with some of the following selection screen parameters.
1. check box : If checked means ;"txt" file is to be uploaded.else data is to be fetched form data base
    and displayed and further it can be maintained(Insert ,display particualr record form the list,update   
    particular record.)
2.  Two radio buttons.
     HQ                  SUB.
1  If HQ is selected & Check box is checked it uploads a".TXT file and updates data in 2 different db  
   tables z1 & z2.
2.If SUB is selected & Check box is checked it uploads a "TXT file & updates data in 2 different
   Db tables z1 & z2.
3.If HQ is selected & check box is not checked it fetches data form Db z1 & Z2 & dispalys it in the from
   of list z1 data in one block & z2 data in other block on the same O/P screen.Now i want that when the  record from the block displayed from "z1" is selected and the button display is clicked it shd .call screen 100 to dispaly that record for "Z1".But if a record from block displayed form Z2  is selected it shd .call scren 200 to display the particular record.Now my concern is  how do i check whether the record selected is from z1 or z2 as both block are on same 1st o/p screen.I mean how shd i decide the call to screen 100 or 200.how to handle this.

Hi,
check the following code for reference and use checkbox instead of radiobutton.
*& Report  Z_19189LEAVE
report  z_leave.
tables:zemp_1989,zmag_1989,zleave_1989.
data: it_emp type standard table of zemp_1989,
     wa_emp type zemp_1989,
   it_mag type standard table of zmag_1989,
  wa_mag type zmag_1989,
      it_leave type standard table of zleave_1989,
           wa_leave type zleave_1989.
selection-screen begin of block b1.
  parameters: semp_id like zemp_1989-id,
              rd1 radiobutton group gp1,
              rd2 radiobutton group gp1,
              rd3 radiobutton group gp1.
  select-options: sappldat for zleave_1989-rqstdate.
  selection-screen end of block b1.
at selection-screen.
   if rd1 = 'X'.
     call screen '1001'.
     elseif rd2 = 'X'.
       call screen '1002'.
endif.
include z_19189leave_status_1001o02.
include z_19189leave_user_command_1i01.
Regard
Rajesh Kumar

Similar Messages

  • File Screening Audit Report does not contain any data : report statistics is empty

    Hi ,
     I have enabled File screen audit and Record file screening activity in auditing database options in file server 2008. 
    I am getting details of file screen audit in Event log  , But incident report file screen audit report does not contain any value.
    Getting report for each incident of file screen audit  , But it does not contain any data in report statistics.
    Data available in scheduled report of file screen audit.. not available in incident report only..
    Please assist...
    Thanks,
    Vasanth.M
    Thanks, Vasanth.M.

    Please note that, If the Record file screening activity in the auditing database check box is cleared, the File Screening Audit Reports will not contain any information. To configure file screen audit, I would refer you on this informative
    technet library :
    https://technet.microsoft.com/en-us/library/cc754540.aspx
    Carlo

  • Creating Selection screen in Report Painter

    Good day everyone,
      Does anyone know how I could create a selection screen in Report Writer? Thanks!
    >Christian<

    Hi,
    Simple Parameters  or Selec-options statements will suffice.
    Eg : Parameters : p_matnr type mara-matnr.
           select-options : s_matnr for mara-matnr.
    In selection screen, you may have selec-options, parameters, check boxes, radio buttons etc.
    Regards,
    Sujatha.

  • Adding gsber in selection screen of report painter

    To gurus,
    I have a small requirement, I have to get business area  (GSBER) in  selection screen of report.
    I have developed the report using report painter  FGI1 --FAGLFLEXT which is having gsber field.
    In selection screen it self i want this GSBER FIELD .How to achieve it.
    kindly guide me.
    regards,
    padmaja.

    Hi
    What I understand from your question is you want bussiness area value on selection screen you can achive this by just using the by export/import parameter or by get/set  parameter id.
    Please elaborate what exactly you want.
    Regards
    Sagar.

  • Modification on selection screen of report

    Hello guys,
    I have a requirement where in i need to modify the initial selection screen as per clients requirement. The scenario is as follows:
    Suppose 'EMPLOYEE' and 'PORTFOLIO' are two of the fields of a cube on which the report will be run. Now suppose there are three employees as A, B and C and A handles portfolios X & Y, B handles portfolios W & Y while C handles portfolios X & Z.
    The initial selection screen of report will have two selection fields first as the employee and second as the portfolio.
    When we do F4 at employee it will display A, B and C. Now the requirement is if we F4 at portfolio it should display only the relevant one for that employee.
    For example: if i give employee as A and when i do F4 at portfolio screen it should give me only X and Y and not all the portfolios viz. W, X, Y & Z
    Is there a way to achieve the above scenario????

    Hi Chakradhar,
                             Refer this code :
    SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME TITLE TEXT-456.
    PARAMETERS PO RADIOBUTTON GROUP RADI USER-COMMAND R.
    SELECTION-SCREEN END OF BLOCK BL2.
    AT SELECTION-SCREEN OUTPUT.
    CALL SCREEN 100.
    when user will click on this radio button , a pop up screen will appear dynamically.
    Reward points if helpful.
    Regards,
    Hemant

  • AT SELECTION-SCREEN stops report

    Hello,
    I run a report using the AT SELECTION-SCREEN stmt.
    Below AT SELECTION-SCREEN is an IF ... ELSE block. Within that block the report checks, whether the user input (made in a SELECT-OPTIONS) complies some requirements.
    I check for example, if that what the user types in matches a defined string...
    But if i use an AT SELECTION-SCREEN, the report does not continue after execution after that!
    It returns to the selction screen...
    How can I achieve, that the report continues with execution...?
    Thx,
    holger

    Hi Holger,
    1. This is the default behaviour.
    2. For report purpose execution,
       the event is
       START-OF-SELECTION ( and not at selection-screen)
    3. However u CAN ACHIEVE this by :
       after all validations , use the syntax
       LEAVE TO LIST-PROCESSING.
    4.  I tried the same at my end,
       its working fine.
    5. However, if u use step 3,
       there will be a problem :
       after the execution of report,
      it wil get HANG. ie. it won't then
      get back using the toolbar buttons.
      U may try it for yourself.
    6. Bottom line is:
       use
      START-OF-SELECTION (FOR FINAL EXECUTION OF THE REPORT)
    Regards,
    Amit M.
    Message was edited by: Amit Mittal

  • Customer/Supplier Ageing Screens and Reports

    Hi
    We have a request for change in the Customers/Suppliers Ageing screens and reports.
    Our clients require the appropriate transaction date field to be available on the detailed screen and the detailed report and statement.
    eg. If they are ageing by document date - they need to see the document date against each transaction and it is very important that the reports have it. 
    We have more than one case where this has been requested.  It is quite usual and an expected piece of information for credit control operators.
    Thanks

    Hi Adrian
    Would the XLR you have produced solve  the following problem I have.
    When producing an ageing report the value date used is not the due date of the document but the due date using the BP's terms. 
    I've tried to create an XLR but cannot resolve the fact that items reconciled after my ageing date are excluded.
    Any help would be appreciated.

  • How to create multiple selection screens in reports

    How to create multiple selection screens in reports
    Thanks,
    Sridhar

    Ex: hope you will find an idea from the below example :
    SELECTION-SCREEN BEGIN OF BLOCK SEL1 WITH FRAME TITLE TIT1.
    PARAMETERS: CITYFR LIKE SPFLI-CITYFORM,
                CITYTO LIKE SPFLI-CITYFORM.
    SELECTION-SCREEN end OF BLOCK SEL1
    SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW.
    SELECTION-SCREEN INCLUDE BLOCKS SEL1.
    SELECTION-SCREEN BEGIN OF BLOCK SEL2 WITH FRAME TITLE TIT2 .
    PARAMETERS: AIRPFFR LIKE SPFLI-AIRPFROM,
                AIRPTO LIKE SPFLI-AIRPTO.
    SELECTION-SCREEN END OF BLOCK SEL2
    SELECTION-SCREEN END OF SCREEN 5000.
    INITIALIZATION.
    TIT1 = 'ITIES'.
    aT SELECTION-SCREEN.
    CASE SY-DYNNR.
    WHEN '0500'.
       MESSAGE W159(at) WITH 'SCREEN 500'.
    WHEN '1000'.
       MESSAGE W159(at) WITH 'SCREEN 1000'.
    ENDCASE.
    START-OF-SELECTION.
    TIT1 = 'CITIES FOR AIRPORTS'.
    TIT2 = 'AIRPORTS'.
    CALL SELECTION-SCREEN 500 STARTING AT 10 10.
    TIT1 = 'CITIES AGAIN'.
    CALL SELECTION-SCREEN 1000 STARTING AT 10 10.

  • FM to display Selection screen on report output??

    Hi Experts,
    Is there an FM to display Selection screen on report output.
    Thanks In Advance.

    Hi Ashwin,
    Refer to below link
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/755b94ca5911d299af5c9604c10e27/content.htm
    or
    The easiest way is to define your selection screen in the TOP include of your module pool.
    Then call the selection screen.
    Selection Screen
    selection-screen begin of screen 1010 as window title text-001.
    selection-screen begin of block b1 with frame title text-002.
    parameters: p_vornr type resb-vornr,
    p_refno(20) type c,
    p_plnid type zplcfg-plnid as listbox visible length 20,
    p_sorts type c as listbox visible length 20.
    selection-screen begin of line.
    selection-screen comment (20) text-004.
    selection-screen position 33.
    parameters: p_order as checkbox default 'X'.
    selection-screen end of line.
    selection-screen end of block b1.
    selection-screen end of screen 1010.
    Now call the selection screen.
    call selection-screen 1010.
    if sy-subrc = 0.
    perform get_production_orders.
    perform process_orders.
    endif.
    Thanks!!

  • Creating Cpmplecated screen in report program

    hi,
    We have requirement of creating report program with complecated screen design.This screen can be created easily in Dialog programming .I want to create similar screen in report program .
    Please suggest how can I achieve this.
    Thanks
    Saurabh

    Hi,
        In the report program,
        parameters: a type i.
    now go to se51 enter the name of your program and screen no as 1000 and do the required changes as per the requirement.
    if you execute the report, whatever you modified by using se51 will come.

  • Skip output screen of report

    Hi ,
    I have a requirement in which i hav to skip the output screen for report    "    RSBDCSUB  ".
    Any pointers will be greatful.
    Thanks in advance
    Regards
    Rahul

    Hello Rahul,
    Try SUBMIT command.  See example below.
    Kind Regards,
    Rae Ellen Woytowiez
    * Runs batch input session.
          SUBMIT rsbdcsub
    *****         with batchsys ...
                  WITH bis EQ sy-datum
                  WITH fehler EQ ' '
                  WITH logall EQ 'X'
                  WITH mappe EQ wa_bgr00-group
    *****         with queue_id ...
                  WITH von EQ sy-datum
    *****         with z_verarb ...
                  EXPORTING LIST TO MEMORY
                  AND RETURN.
    Edited by: Rae Ellen Woytowiez on May 11, 2011 6:57 PM

  • How we can assign the customised selection screen to report category

    hai
    gurus
    how we can assign the customised selection screen to report category

    Hi Naresh,
    You can do like this.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN BEGIN OF BLOCK SELECTION WITH FRAME.
    SELECT-OPTIONS: S_FKART FOR VBRK-FKART.
    SELECT-OPTIONS: S_FKDAT FOR VBRK-FKDAT OBLIGATORY.
    SELECT-OPTIONS: S_VBELN FOR VBAK-VBELN.
    SELECT-OPTIONS: S_AUART FOR VBAK-AUART.
    SELECTION-SCREEN END OF BLOCK SELECTION.
    SELECTION-SCREEN END OF BLOCK B1.
    if you give me brief i can help you out more.
    Thank you .
    Regards
    Ram

  • Default screen no. reports.

    hi experts ,
    what is the default screen no. reports. , that u face,
    this is from ibm.
    kindly give the solution.
    regards.
    sreenivasulu

    hi Bysani ,
       The default screen number is 1000 of reports until and unless you call a particular screen with your specified screen number ..
       to check this , create a sample report with parameter statement and execute that , in the selection screen check the transaction number , u get it here as 1000.
    Reward if you are satisfied !
    Regards,
    Ranjita

  • Error while writting a screen in report

    Hello Friends,
                            I am running a report while executing i am getting error Error when writing a screen,
    If anyone have useful answer please replay.
    Thanking
    Shrikant

    Hello ,
    While running program i am getting following dump error.
    Short text                                                                        
        Error when writing a screen.                                                                               
    What happened?                                                                    
        Error in the SAP kernel.                                                                               
    The current ABAP "ZHRM_DEVIATION_ALL" program had to be terminated because the
        ABAP processor detected an internal system error.                             
    Thanks
    Shrikant

  • Selection Screen in Report Painter

    Dear Experts,
    I have an issue in the report painter. While executing the report from GRR2, selection screen is not displayed but report is coming as I expected.
    I want to create the selection screen for this report. I have created this report without copying from the standard report.
    Thanks in Advance.
    Regards,
    Aswimn

    Hi,
    Please refer following links.
    <Link farm removed by moderator>
    Regards,
    Renuka S.
    Edited by: Vinod Kumar on May 25, 2011 10:12 AM

  • How to generage pop up screen on selection screen of report program?

    Hi Guys,
            I am having a requirement to generate the <b>pop up screen on the selection screen</b> of the report program.
           Suggest me the best one with model program

    Hi Chakradhar,
                             Refer this code :
    SELECTION-SCREEN BEGIN OF BLOCK BL2 WITH FRAME TITLE TEXT-456.
    PARAMETERS PO RADIOBUTTON GROUP RADI USER-COMMAND R.
    SELECTION-SCREEN END OF BLOCK BL2.
    AT SELECTION-SCREEN OUTPUT.
    CALL SCREEN 100.
    when user will click on this radio button , a pop up screen will appear dynamically.
    Reward points if helpful.
    Regards,
    Hemant

Maybe you are looking for

  • Impressão de Nota Fiscal - PLD - Lista de variáveis disponíveis

    Quando você utiliza o Print Layout Designer (PLD) para editar os modelos de nota fiscal, você deve utilizar algumas variáveis do sistema, que armazenam informações relevantes. Estas variáveis encontram-se no documento "How to modify nota fiscal repor

  • Restoration Failed

    Hi I have a HP  c8p48av The hardrive failed back in October and I had a HP service center in Singapore replace the hardrive under warranty and reload Windows 8 (originally installed OS).  After upgrading to windows 8.1 my touch screen stopped working

  • XSLT Mapping - Unable to find resource

    Hi all,   We upgraded our XI system and tried to test one of our well-running scenarios and found the following error for most of the XSLT mappings. <br> <b>Unable to find resource mapping.xsl</b> <br> But I found that the runtime cache contains the

  • JDeveloper,  Table with Partitions

    Hi, iḿ designing a database with JDeveloper 11, but in the table object does not appear the partitioning option as manual shows. (I'm following the example in the help.) What's the problem ? cheers campos

  • Trouble with .dwg conversion

    When I try to convert a .dwg (CAD) file to a PDF file, I only see a small corner of my original file. The .dwg file is my layout page with multiple drawings on one sheet. Any help?