Graphic on selection screen forces execution as a transaction

Is it possible for a graphic to be added to the selection screen of an ABAP report and have the report continue to be executable via SA38? My developer is telling me that it must be executed via an assigned transaction code now and this is not what the enduser wants.

Hi Linda,
Your developer is right.
you can create a screen and use custom_container to add a graphics and also include your selection screen in that screen.
You can provide the enduser with the z transaction code, so that, he can run it and get the desired output... [End users generally are given custom transactions, if the standard reports/transactions dont serve their purpose]
Regards,
Raj
For upload graphic into system use tcode : SMW0
Code for display Graphics.
DATA query_table LIKE w3query OCCURS 1 WITH HEADER LINE.
DATA html_table LIKE w3html OCCURS 1.
DATA return_code LIKE w3param-ret_code.
DATA content_type LIKE w3param-cont_type.
DATA content_length LIKE w3param-cont_len.
DATA pic_data LIKE w3mime OCCURS 0.
DATA pic_size TYPE i.
IF container is initial.
CREATE OBJECT container
EXPORTING container_name = 'CUSTOM_CONTAINER'.
CREATE OBJECT picture
EXPORTING parent = container
EXCEPTIONS error = 1.
IF sy-subrc ne 0.
ENDIF.
ENDIF.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
query_table-value = 'ZDAT_TRANSFER'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
OBJECT_NOT_FOUND = 1
parameter_not_found = 2
OTHERS = 3.
IF sy-subrc = 0.
pic_size = content_length.
ENDIF.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
CALL METHOD picture->load_picture_from_url
EXPORTING url = url.
IF sy-subrc ne 0.
Fehlerbehandlung
ENDIF

Similar Messages

  • I have mapped the fields on the selection-screen  to the BDC on transaction

    I have mapped the fields on the selection-screen  to the BDC on transaction F110.
    When I am selecting a particular any value in select-option on the selection screen, it is giving some default value and the value given by me,for example:
    Payment methods:C
    but in BDC recording for F110 Payment methods:IEQC when the programs is running in foreground mode.
    how can I rectify it?

    This is because payment methods may be a table and what you see IEQC is actually, I for include, EQ for equal and C as your payment method. This is standard structure for ranges or select-options. You can use variable-low which will give you only C.

  • Program displaying technical codes in the selection screen during execution

    Hi Gurus
    I am facing problem during the execution of the newly created program that during execution of program selection screen is displaying technical codes.
    from where to change the settings so that it should show the description
    Regrads
    Manvir

    Hi ,
    goto se38 ..give ur code name and select change...now on the top u will see Goto..
    follow this path Goto >Text Elements > Selection text.
    Now you can give the name u want..
    regards,
    Anuj

  • Selection Screen from prog exec and transaction code is coming different

    Dear all,
    The selection screen is coming diffrent from the execution of the transaction S_ALR_87013558 and execution from the program name.
    The program name I found from SYSTEM->STATUS. But when I have checked in TSTC table for the program name for this transaction, it is showing blank in table.
    How can I make the selection screen same from both the executions ?
    Please help....
    Thanks & Regards
    Nrusingha Dash.

    Hi Nrusingha,
    Check with T.Code SE93.
    The transaction S_ALR_87013558 is calling another transaction START_REPORT.
    Just check with SE93 by giving the T.Code START_REPORT as input.
    see whether your program and this T.Code supported program is same or not.
    Regards,
    SB.

  • Hiding a selection screen field for Standard Report Transaction

    Hello All,
    We are trying to hide a check box on the selection screen for a standard sap report transaction (s_alr....). We can hide it by creating a variant but then if the users don't select it, the checkbox will be visible. We can't use transaction variant to hide this since its not a dialog transaction.
    We don't want any users to select that option by clicking on the checkbox and then running the report. Any suggestions or help is much appreciated.
    Thanks,
    Sal

    Did you think about modifying the standard report by adding NO-DISPLAY to the parameter option?
    If you are not allowed to modify another option - although much more effort - would be to replicate the standard selection screen in an own Z-report and at the end do a SUBMIT standard report WITH parameter
    In your won report you can easily hide that parameter and always pass a space to the standard report.
    To submit data to the standard report just use
    DATA: lt_par  TYPE TABLE OF rsparams.
    build the selection table based on the selection criteria the user entered and do:
    SUBMIT rep USING SELECTION-SCREEN 1000
           WITH SELECTION-TABLE lt_par.
    Then just remove access to the standard transaction and create an own transaction for your custom report which is added to the users authorized transactions.
    Not the easiest way to do it, but it does work.
    Regards,
    Michael

  • Selection Screen options for Tcode CRM_DNO_MONITOR - Transaction Monitor

    Hi all,
    I need information regarding the selection screen when i am executing the Tcode CRM_DNO_MONITOR.
    When i am executing CRM_DNO_MONITOR in the selection screec there are follwing options:
    Mine
    My Department
    My colleagues
    My Team(s)
    In the selection screen if choose "Mine" option am able to see the o/p and if i select any other options am not getting the o/p. So It would be great if any one explain what are these options for and how they are use full ?
    If i want to delete the unwanted selection criteria is that possible.
    Thank you in advance,
    Regards
    Vijay

    solved myself...!

  • Report Groups - Selection screen on receiver report

    Hi there,
    When dealing with sender / receiver reports, do you know if it's possible to force a selection screen prompt when calling a receiver report during execution?
    A report was written in the Report Painter, and belongs to a report group called 1OAB.  This report group has three receiver reports defined, so when users double click on a value, it will forward navigate to another report (receiver report, selected after double click) using the same selection criteria of the current report (sender).
    My <b>problem</b>, is that the selection criteria that is passed by the sender isn't sufficient for the receiver report, and the report ends up running with a much larger selection than required. 
    My <b>question</b>, is whether or not we can either:
    <b>a)</b> Interrupt during the report call and prompt with the report selection screen for the receiver report.  This would allow the user to input any missing selections.
    <b>b)</b> Add in any missing selections via a user exit.  I have not had much luck in finding such an exit.  The closest I got was form 'USEREXIT1' from include LRSTIF90.  This exit appears to be called before and after the report call.  I'm not sure if it's a true exit though, as it's just a piece of code in an include and is referred to as an exit?  To implement would I just register the object and add in my code?
    Any suggestions would be appreciated!
    Thanks,
    L

    FYI the only solution I see is to put in a modification to prompt a selection screen during execution. Modification would go in include 'LRSTIF02' as follows:
    PERFORM report_check_obligatory TABLES it_fieldr
                                      USING flg_obl.
    ** MODIFICATION **
    if ld_tcode = 'FBL3N'.
        flg_obl = 'X'.
    endif.
    ** END MODIFICATION **
      IF flg_obl IS INITIAL.
        CALL TRANSACTION ld_tcode AND SKIP FIRST SCREEN.
      ELSE.
        CALL TRANSACTION ld_tcode.
      ENDIF.
    * clear parameter ids
    * perform clear_pid_fieldr tables it_fieldr it_dfies.
      PERFORM reset_pid_fieldr TABLES it_fieldr it_selpid.
    * if flg_return = 'X'.
    *   call transaction ld_tcode and skip first screen.
    * else.
    *   leave to transaction ld_tcode.
    * endif.
    ENDFORM.
    If anybody has a better idea on how to accomplish this I'd love to hear it!
    Thanks,
    L

  • BLANK Selection-screen possible?

    Hi
    Can we have a blank Selection-Screen for a report?
    If yes, please tell me how?
    Thanks

    Hi subhash,
    1. yes we can have.
    2. just copy paste
       - it will show a blank selection screen
       - on execution, it will write hello
    3.
    REPORT ABC.
    PARAMETERS :  A TYPE C MODIF ID DIS.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'DIS'.
          SCREEN-INVISIBLE = 1.
          SCREEN-INPUT = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    START-OF-SELECTION.
      WRITE :/ 'HELLO'.
    regards,
    amit m.

  • Additional field in selection screen of a abap query

    Hi,
    I am adding a new additional field in the selection screen through abap query(using transaction SQ02) which is of type VBRK-FKSTO.
    The value entered can be 'X' or empty space.But the value which is entered in the selection screen is not getting reflected in the code.Kindly advice me on what needs to be done to capture the selection screen value in the code.
    Regards,
    S.Subasree

    Hi
    You can add new field in VFX3 selection screen as follow. In the report code we can see various explicit enahcement points provided by SAP.One of them is ENHANCEMENT-POINT sdblbddl_01 SPOTS es_sdblbddl STATIC. Here you can declare your selection screen parameters.  Then in the processing i can see a call customer fucntion happening in VBSK_DISPALY which you can implement to add your logic.
    Thanks
    Nabheet

  • How to clear all selection screen parameters before calling transaction?

    Hi Experts
       I have a ABAP report that displays data using ALV.
      When I double click a cell it calls transaction MB51. Before calling the transaction I need to set some parameters of the selection screen  of the transaction.
      My code is like below:
      <UL>
       <LI>FREE MEMORY ID 'MAT'. <I>"material</I>
       <LI> FREE MEMORY ID 'WRK'. <I>"plant</I>
       <LI> FREE MEMORY ID 'CHA'. <I>"batch</I>
       <LI><I>* Get the selected ALV row data</I>
       <LI>READ TABLE i_recon INDEX p_selfield-tabindex INTO x_recon.
       <LI><I>*   If link MB51 is clicked then open tcode MB51</I>
       <LI> IF p_selfield-sel_tab_field+8(4) = 'MB51'.
       <LI><I>*   Pass material, plant to the corresponding tcode</I>
       <LI>       SET PARAMETER ID 'MAT' FIELD x_recon-matnr.
       <LI>       SET PARAMETER ID 'WRK' FIELD p_plant.
        <LI>      CALL TRANSACTION 'MB51' AND SKIP FIRST SCREEN.
    </UL>
    The problem is:
    <UL> <LI> 1. First, I run the given transaction before running the report in a separate session with some set of values in the selection screen. For example: plant = AB01, Material = 990001 and Batch = 10001.</LI>
    </UL>
    <UL>
            <LI> 2. Then in another session I run my report. In the report ALV I have selected a record where plant = AB01, Material = 990001 but Batch is blank. But it opens the transaction with plant = AB01, Material = 990001 and Batch = 10001.
    Even though in my ALV record the batch is blank yet it uses the batch value from the memory. That is, the batch value that was given in the transaction earlier. Why it is not getting cleared? I have also used FREE MEMORY ID code in the beginning. But still it is not clearing the values in the memory.
    </UL>
    <UL>
            <LI>What shall I do to clear all the selection screen parameters before calling the transaction?</LI>
    </UL>
    <UL>
            <LI>
    Thanks
    Gopal
    </LI>
    </UL>
    Edited by: gopalkrishna baliga on Aug 11, 2010 10:29 AM

    Its because sap memory is globally shared.
    Do it like this.
    READ TABLE i_recon INDEX p_selfield-tabindex INTO x_recon.
    IF p_selfield-sel_tab_field+8(4) = 'MB51'.
    perform bdc_dynpro      using 'RM07DOCS' '1000'.
    perform bdc_field       using 'BDC_OKCODE'   '=ONLI'.
    perform bdc_field       using 'MATNR-LOW'  x_recon-matnr.
    perform bdc_field       using 'WERKS-LOW'  p_plant.
    perform bdc_field       using 'CHARG-LOW'  p_batch.
    perform bdc_field       using 'DATABASE'  'X'.
    call transaction 'MB51' with i_bdcdata mode 'E'.
    endif.
    form bdc_dynpro using program dynpro.
      clear la_bdcdata.
      la_bdcdata-program  = program.
      la_bdcdata-dynpro   = dynpro.
      la_bdcdata-dynbegin = 'X'.
      append la_bdcdata to i_bdcdata.
    endform.
    form bdc_field using fnam fval.
        clear la_bdcdata.
        la_bdcdata-fnam = fnam.
        la_bdcdata-fval = fval.
        append la_bdcdata to i_bdcdata.
    endform.

  • Problem in passing selection screen values using CALL TRANSACTION.

    Hi All
    I am facing problem in transfering selection screen values to the called transaction. I am trying to pass the path of the transaction filer but to no avail. The variable for filepath is not empty.
    Below is my code:
    DATA: lt_bdcdata TYPE TABLE OF bdcdata,
           wa_bdcdata TYPE bdcdata,
           opt TYPE ctu_params.
    CLEAR wa_bdcdata.
    wa_bdcdata-program  = 'RFBASM00'.
    wa_bdcdata-dynpro   = '1000'.
    wa_bdcdata-dynbegin = 'X'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'BDC_CURSOR'.
    wa_bdcdata-fval = 'RFPDO1-FEBUMSF'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'RFPDO1-FEBUMSF'.
    wa_bdcdata-fval = gv_filepath.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'BDC_OKCODE'.
    wa_bdcdata-fval = 'PASS'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    opt-dismode = 'E'.
    opt-updmode = 'S'.
    CALL TRANSACTION 'FF_5' USING lt_bdcdata OPTIONS FROM opt.
    Please help.
    Harsh

    Hi Harsh,
    I think you have entered wrong main program for tcode 'FF_5' and wrong screen field for the file name. Use the below code instead of yours.
    DATA: lt_bdcdata TYPE TABLE OF bdcdata,
           wa_bdcdata TYPE bdcdata,
           opt TYPE ctu_params,
           gv_filepath type char128 value 'C:\testfile.txt'.
    CLEAR wa_bdcdata.
    wa_bdcdata-program  = 'RFEBKA00'.
    wa_bdcdata-dynpro   = '1000'.
    wa_bdcdata-dynbegin = 'X'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'BDC_CURSOR'.
    wa_bdcdata-fval = 'UMSFILE'.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    wa_bdcdata-fnam = 'UMSFILE'.
    wa_bdcdata-fval = gv_filepath.
    APPEND wa_bdcdata TO lt_bdcdata.
    CLEAR wa_bdcdata.
    *wa_bdcdata-fnam = 'BDC_OKCODE'.
    *wa_bdcdata-fval = 'PASS'.
    *APPEND wa_bdcdata TO lt_bdcdata.
    *CLEAR wa_bdcdata.
    opt-dismode = 'A'.
    opt-updmode = 'S'.
    CALL TRANSACTION 'FF_5' USING lt_bdcdata OPTIONS FROM opt.
    Thanks.
    Regards,
    Jey

  • Calling a Transaction from Selection screen of Z Program...

    Hi,
    I am trying to call a Standard transaction from a report when they clicked one push button on selection screen.
    when i used CALL TRANSACTION 'MM01'. When i press save after entering the values in MM01, it is saving and coming out to selection screen of my Z program.
    But my question is when they press in BACK button in MM01 then only it should come out from MM01 and it should display the my Z Program selection screen. suppose if they press SAVE button on MM01 it should save and screen should be MM01 only.
    when i used LEAVE TO TRANSACTION 'MM01'. it is working fine but when i press BACK button from MM01 it is coming out and showing SAP EASY ACCESS screen. My requirement is when i press back button in MM01 then it must come to my Z program selection screen only.
    I hope it is clear.
    Regards,
    Sunny

    >
    sunny_143 wrote:
    > Hi,
    >
    > I am trying to call a Standard transaction from a report when they clicked one push button on selection screen.
    >
    > when i used CALL TRANSACTION 'MM01'. When i press save after entering the values in MM01, it is saving and coming out to selection screen of my Z program.
    >
    > But my question is when they press in BACK button in MM01 then only it should come out from MM01 and it should display the my Z Program selection screen. suppose if they press SAVE button on MM01 it should save and screen should be MM01 only.
    >
    >
    > when i used LEAVE TO TRANSACTION 'MM01'. it is working fine but when i press BACK button from MM01 it is coming out and showing SAP EASY ACCESS screen. My requirement is when i press back button in MM01 then it must come to my Z program selection screen only.
    >
    > I hope it is clear.
    >
    > Regards,
    > Sunny
    I'm not clear about what happens when you press the BACK button.
    First, LEAVE TO TRANSACTION is no help.  That ends your Z program.  CALL TRANSACTION is your only option.  If it doesn't work as you'd like, you're a bit stuck, as MMnn are standard SAP transactions, and you can't modify that. (well, you can, but that's a whole other tin of worms). 
    Perhaps if you told us what you're trying to achieve with the Z program, there might be another approach that will do that.
    matt

  • Copying standard report transaction selection screen

    Hi  everybody,
    How can we copy standard report transaction's VI05 selection screen to my custom report transaction's selection screen some zprogram . The problem is that when i am copying the selection screen into my programs screen, it is getting copied, but not as selection screen rather as normal screen. I have defined a transaction code for the same with the custom screen no as the selection screen but its giving a message that selection screen 9001 doesn't exist. However if i keep the selection screen as 1000 the screen in the standard transaction VI05 the transaction is executing fine.
    But again the problem was that although it seems that the screen 1000 of the standard program for VI05 has been copied to my custom program but its not showing in the object list of my custom program. so I cannot do any changes which i require.
    If anybody requires any clarification u can raise your doubts i will try to make it more clear.
    Can any body help me with this?
    Your help will be deeply appreciated.
    Thanks a lot!
    Best Wishes!
    Regards
    Prem

    Hi Prem,
    Even if the GUI Status is active, you cannot see two components of Standard Selection Screen.
    1. All Selections - Push Button
    2. Categories - Screen Block in the first with two options
         2.1. OI_STAND
         2.2. OI_BULK
    This is becoz, there are enhancement spots included in the Standard program and the enhancement spots will not be copied, unless you copy them manually.
    Check the same.
    Regards,
    -Syed.

  • Double click on a field in selection screen

    hi everybody
    I wanted to know if it is possible to double click on a field in a selection screen and go to a transaction and come back on the selection screen
    Afterwards processing is done on that field
    Thanks for your kind help

    hi,
    I dont think it is poosible.
    well there is a sequence in which the events are triggered for a report/Program.
    and user actions are handled in the At User Command event.

  • Calling the selection screen of the calling program after the execution of

    Hi all,
    I had created a program for a purchase order display.
    It has three radio-buttons from where i am calling different programs.
    I am using submit in the calling program and get parameter in at selection-screen output of the called program.
    I am getting the end report without the display of the selection screen of called program. But when i am clicking back on the end-report then i want to come back on the selection screen of the calling program. But i am coming out of the execution.
    Can anyone please tell me how to call the selection screen.
    Thanks in advance,
    Regards
    vamsi

    Hi, when you do the SUMBIT statement, make sure that you are using the extension........  AND RETURN.
    Submit <report> <b>AND RETURN</b>.
    This should return control to the caller.
    Regards,
    Rich Heilman

Maybe you are looking for

  • Area MSS_HCM_AREA_RELATEDACTIVITY does not exist

    Hi, Our customer is implementing XSS on SAP ERP 6.0 EHP5 and SAP Portal 7.02 SP8. All Business Packages are deployed and the funcionalities (ESS and MSS) running on WD4A are fine and most of WD4J funcionalities as well. At the moment we are facing a

  • Why do I have to delete a mail message three times?

    I've been meaning to ask about this for some time, so the problem is not new, but whenever I want to delete a mail from the inbox, I delete it, then I have to delete it from the Mail trash, then I have to delete it a third time from Mail- On My Mac.

  • Kernel panics, graphic file corruption with Firewire

    I've been having consistent problems with Firewire since I got my Mac Pro last year. I only recently narrowed it down to Firewire so I thought I'd write it up here for the record. I never actually solved the problem, just started using USB-2 instead

  • Source list report in ALV GIRD FORM ME0M

    Hi    Please share any parameter id is available to view the source list in  ALV GIRD FORM    Thanks in advance Regards K.Mohansambasivam

  • No video in iMovie 5.0.2

    For some reason, when I am importing .mov videos (VERY low quality), the screen is just white and it only plays the audio. Can someone help? Thanks.