Screen variant in dialog program

Can we create a screen variant on our own screen dialog program ?

hi,
Go to tcode SHD0 and create the screen variant.
then use in the program
data scvariant like shdsvci-scvariant.
call function 'RS_HDSYS_SET_SC_VARIANT'
exporting
progname = sy-repid
DYNPRO =
scvariant = scvariant
overwrite_scvariant = 'X'.
reward if helpful,
Regards,
preet

Similar Messages

  • Creating Variant in Dialog Program Screen

    Hi All,
    Can I create Variant in Dialog Program screen.If yes, how can I do this?
    Thanks
    Saurabh

    dfsdf

  • How to use a parameter  of a report program from selection screen in a dialog program

    how to use a parameter value(entered ) of a report program from a selection screen in a dialog program.
    I have to fetch the value entered in the parameter of report program and display it in a dialog program

    Hi Aasim,
    Just mention like below in your ABAP report.
       PARAMETERS: p_aufnr TYPE aufnr MEMORY ID ord.
    and mention the same memory ID name in the module pool screen property it automatically populates the value to and fro

  • Can any one give step by step screen shots for dialog programming

    can any one give step by step screen shots for dialog programming ..
    thanks
    venki...

    Hi
    see the following links and example programs and practice the same dialog pool program
    Check the below link:
    http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    You can also check the transaction ABAPDOCU which gives you lot of sample programs.
    Also you can see the below examples...
    <b>Go to se38 and give demodynpro and press F4.
    YOu will get a list of demo module pool programs.
    One more T-Code is ABAPDOCU.
    YOu can find more examples there.
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB</b>
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Reset Screen field in dialog program

    Hi,
    I have four inputs fields in my dialog program, i select based on f4 value and insert into table. Once i press save, the fourth
    input field must be automatically reset to blank.So that i again  input some value and save.
    How to achieve this?

    Hi Renjit ,
    Once your save operation is successful , clear the corresponding varaible in the program ..
    Regads,
    Arun

  • Selection screen dialog programming

    I have used a selection screen in the dialog programming.
    I have written some code in the at selection screen to display the output on a table control in another screen 1001.
    my problem is that when i try to enter the multiple values for material ,
    it goes to the at selection screen and displays the output again.
    if i write the code in start of selection instead of at selection screen
    it doesnt give any output at all.
    how do i correct this error?
    SELECTION-SCREEN BEGIN OF SCREEN 2000 .
    SELECT-OPTIONS : s_ersda FOR MCHB-ERSDA OBLIGATORY.
    SELECT-OPTIONS : s_matnr FOR MCHB-MATNR.
    SELECT-OPTIONS : s_matkl FOR MARA-MATKL.
    SELECT-OPTIONS : s_ferth FOR MARA-FERTH.
    SELECTION-SCREEN END OF SCREEN 2000.
    at selection-screen.
    statements to fill the output table
    screen containing table control
    call screen 1001

    Friends,
    Req for ABAP HR
    ROLE: SAP HR ABAP DEVELOPER
    Location: TULSA, OK
    Duration: 3 + MONTHS
    REQUIRED SKILLS: SAP ABAP / Dialog and regular / R/3 and HR / Workflow / smartforms
    / ALV / LSMW for HR and R/3 / Modules - MM , SD , HR, PD , PS
    Start Date: 11-12-07
    If interested Please send the cvs to [email protected]

  • How to print the output of the screen in Dialog Programming

    Hi,
    Could anybody help how to print the output of a screen in the dialog programming. i can select 'Hard Copy' option in the 'Custumizing of Local Layout' Icon in the standard tool bar. but that prints the whole screen with the toolbar. i want to print only the output which is displayed on the screen. Please help..
    Regards,
    Swathi

    Hi Swathi,
        Ok. Do One thing. Go to menu bar and select Systems -> Own pool Request -> here you get the spool number. Select it and select the option "Print Directly" in tool bar.
    Thanks.

  • Active E-mail address on the Dialog program Screen

    Hello all,
    I am displaying an E-mail address on the screen of a dialog program. The requirement is to open the Outlook addressing the Mail-id clicked. Is there any event driving this functionality or any FM to explicitly achieve this?
    Eg. [url]xyz @ abc. com[url].--> When this is clicked the Outlook mail editor should open. Similar to the Microsoft Word, if an E-mail address is clicked, 'mailto:' command will be executed.
    Please help me in this regard.
    Thanks,
    Vishnu Reddy

    You mean a Safari shortcut to her log in page on the web, I assume.
    Launch Safari and navigate to her log in page for her email. Then tap the arrow to the left of the URL field and select - Add to Home Screen. Name it as you see fit in the next window and tap the blue Add button.

  • Screen variant not working when assigned to transaction variant in SHd0

    Dear All,
    User requires tax code column for line items in MIRO to be made non-editable. I am using SHD0 transaction for the same. I am able to make the column grey-off by creating screen variant. The program is SAPLMR1M and screen number 6310. When tested individually thru SHD0 the variant is working perfect. But it is not working when assigned to a transaction variant. Any clues on the same would be really helpful.
    Thanks in advance
    Komal

    Hi,
    Try to record again for the whole set of screens instead of doing that for the individual tax screen and only for the tax screen make the required field disable.
    Once done and saved, you can see all the screens variants in the transaction variant.
    Use the Change WITH PROCESSING OPTION.
    Hope this solves your problem
    Regards
    Shiva

  • Select-Options in dialog program

    Hi there,
    I'm using a selection-screen in a dialog program, I declared it in the TOP.
    Selection-screens
    SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN.
    parameters: p_lifnr type lfa1-lifnr  obligatory ,
                p_werks type t001w-werks obligatory .
    SELECT-OPTIONS:
      s_licha FOR zbrtconsig-licha.
    SELECTION-SCREEN END OF SCREEN 101.
    I have to use the event at selection-screen on value-request for s_licha-low, and I need the values from the fields p_lifnr and p_werks. the problem is:
    If I only fill the fields p_lifnr, p_werks and click on F4 for s_licha, the values of p_lifnr and p_werks are not updated, they are empty. Only wether I do an Enter this fields is updated.
    Thanks,
    Alexandre Nogueira

    Hi,
    i am not clear about your problem, please expalin it clearly.
    use FM : DYNP_VALUES_UPDATE to update screen fields.
    use FM : DYNP_VALUES_READ to read screen fields.
    use SET /GET Parameter id's to set parameters
    this FM will update the screen fields before to PBO event.
    check this link for sample code :
    Re: Issue Related to Module pool
    Regards
    Appana

  • Save/create a variant in user defined screen in dialog program

    is there a way to save/create a variant in user defined screen in dialog program?
    thanks...

    Few important tables for Variants:
    VARI - ABAP/4: Variant storage (similar to INDX)
    VARID - Variant directory
    VARINUM - Internal number assignment for variants
    VARIT - Variant texts
    TVARV - Table of variables in selection criteria
    TVARC - Variant conditions
    TVARUVN - Individual Variant Variable: Assignment TVARV
    TVARCT - Text for Variants Conditions
    TVARH - Header entries for screen variants
    TVARIND - Save screen variants
    Regards,
    Vishal

  • ALV Grid Dialog Program Variant Problem

    Hi Gurus-
    Please help!!! I got the following problem-
    The ALV dialog screen will have fields with display options as well as a number of fields as input options (editable). Based on user inputs in the input fields and other displayed fields, the user selects "Process"/F8 and it calls the BAPI_MATERIAL_EDIT functions to update material.
    The problem is, I want to use variants in the input fields (Maybe REUSE_ALV_VARIANT_F4) when I select a variant it loops through the selected rows and fills out the input fields with the values stored in the variant. I want to use sample ALV grid program such as BCALV*.
    The question is, can I use variants in ALV grid dialog program and if yes, how do I define variants to loop through and fill out the values in the input/editable fields on the ALV grid?
    Any help will be greatly appreciated! Rep points for sure!
    Thanks!!!

    hi james ,
    look at this link u will get an idea .
    http://www.sapfans.com/forums/viewtopic.php?f=13&t=229912
    http://sgstocks.tripod.com/alvgrid_control.htm
    thanks,
    Gaurav.
    Edited by: gaurav.singh on Apr 20, 2010 7:53 AM

  • How to create a variant for a program without selection screen

    Hi All,
    I've created one program which takes the data from 30 tables and loads into one final table.
    This program is already moved to Production.
    But while creating variant it's not allowing, since the program doesn't have the selection screen.
    Is there anyway where I can create a variant in production without selection screen directly as the program code is already moved to production.
    Thank You,
    Regards,
    Karthik.Ch

    Hi ,
    Are you running this program in a process chain??

  • Select option in Dialog program screen

    Hi friends,
    do we have any way to get a select option displayed in dialog programming ?
    or
    create a screen field with the properties of a select option in dialog screen ?
    or
    any standard function module to support this scenario ?
    Thanks and Regards
    Sakthi.

    Hi,
    i don't know you checked it or not, but i am able to do it, i send the screen shot also to you check it..
    it is possible,with some coding also  check it once...
    REPORT  ZTEST_SCREEN                            .
    DATA : BEGIN OF IT_DYNPFIELDS OCCURS 3.
            INCLUDE STRUCTURE DYNPREAD.
    DATA : END OF IT_DYNPFIELDS.
    DATA: TEST(10) TYPE C.
    RANGES:  R_UNAME FOR SY-UNAME.
    DATA:     V_USERNAME LIKE  SY-UNAME.
    DATA : V_PROG LIKE D020S-PROG VALUE 'ZTEST_SCREEN',
           V_DNUM LIKE D020S-DNUM VALUE '0100'.
    CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'TEST'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  GET_CURSOR_USERNAME  INPUT
    *       text
    MODULE GET_CURSOR_USERNAME INPUT.
      REFRESH IT_DYNPFIELDS.
      CLEAR   IT_DYNPFIELDS.
      MOVE 'V_USERNAME' TO IT_DYNPFIELDS-FIELDNAME.
      APPEND IT_DYNPFIELDS.
      CLEAR   IT_DYNPFIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          DYNAME               = V_PROG
          DYNUMB               = V_DNUM
          TRANSLATE_TO_UPPER   = 'X'
        TABLES
          DYNPFIELDS           = IT_DYNPFIELDS
        EXCEPTIONS
          INVALID_ABAPWORKAREA = 1
          INVALID_DYNPROFIELD  = 2
          INVALID_DYNPRONAME   = 3
          INVALID_DYNPRONUMMER = 4
          INVALID_REQUEST      = 5
          NO_FIELDDESCRIPTION  = 6
          INVALID_PARAMETER    = 7
          UNDEFIND_ERROR       = 8
          DOUBLE_CONVERSION    = 9
          STEPL_NOT_FOUND      = 10
          OTHERS               = 11.
      IF SY-SUBRC = 0.
        READ TABLE IT_DYNPFIELDS WITH KEY FIELDNAME = 'V_USERNAME'.
        IF SY-SUBRC = 0.
          V_USERNAME = IT_DYNPFIELDS-FIELDVALUE.
        ENDIF.
      ENDIF.
      PERFORM GET_MULTIPLE.
    ENDMODULE.                 " GET_CURSOR_USERNAME  INPUT
    *&      Form  GET_MULTIPLE
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM GET_MULTIPLE .
    * Dynamically holding Field name
      FIELD-SYMBOLS: <FST> TYPE STANDARD TABLE.
      IF  R_UNAME[] IS INITIAL.
        IF NOT V_USERNAME IS INITIAL.
          R_UNAME-SIGN = 'I'.
          R_UNAME-OPTION = 'EQ'.
          R_UNAME-LOW = V_USERNAME.
          APPEND R_UNAME.
          CLEAR  R_UNAME.
        ENDIF.
      ENDIF.
      ASSIGN R_UNAME[] TO <FST>.
      CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
        EXPORTING
          TITLE             = 'Select Multiple Value'(059)
          TEXT              = 'Finish Group'(058)
          SIGNED            = 'X'
          LOWER_CASE        = ' '
          NO_INTERVAL_CHECK = 'X'
          JUST_DISPLAY      = ' '
          JUST_INCL         = 'X'
        TABLES
          RANGE             = <FST>
        EXCEPTIONS
          NO_RANGE_TAB      = 1
          CANCELLED         = 2
          INTERNAL_ERROR    = 3
          OTHERS            = 4.
      IF SY-SUBRC = 0.
        READ TABLE R_UNAME INDEX 1.
        IF SY-SUBRC = 0.
          V_USERNAME = R_UNAME-LOW.
        ENDIF.
      ENDIF.
    ENDFORM.                    " GET_MULTIPLE
    Flow loogic....
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    PROCESS ON VALUE-REQUEST.
    *- To capture the cursor and for f4
      FIELD V_USERNAME      MODULE GET_CURSOR_USERNAME.
    in screen i have one field v_username
    for that field do this
    <b>double click on field which you want to make it as select option, it will display the attributes screen, in that click on program attributes button , now go to poss. entries in the dropdown choose 1 show at selection.</b>
    Regards
    vijay

  • How to pass the value between two screen in dialog programming.

    hi everybody,
    In case of dialog programming I have two screens 200 & 300.I want to get the value of textfield in screen 200 in scrren 300 in a label or in textfield.
    Thanks
    byee

    Aashish,
      Welcome to SDN!!!!
      SAP does automatic data transfer when u have the variable defined in the Program and same variable(name) being used in any number of screens in the same program.
    U donot want to worry abt Data Transfers!!!
    If this does not solve ur requirement, let us know.
    Thanks
    Kam

Maybe you are looking for

  • HP c4480 All-in-one - scanner not working (Mac)

    I recently bought a new computer (Macbook Pro) which has Yosemiti.  On both Yosemiti and Mavericks operating systems, when I scan a document, the document is black with white lines appearing through the black about every inch.  The printer works.  Wh

  • Acrobat 9 Pro - switching from Windows to Mac

    Hello, I have a registered copy of Adobe Acrobat 9 Pro for Windows and now use iMac (no CD Rom so require download) & Macbook Pro, since early 2013. How might I acquire a compatible upgrade, so as to continue to use my Acrobat Pro on my new machines?

  • Fees related to Thin JDBC drivers

    We have Oracle8. Are the JDBC drivers included. If not, how much will we have to pay to get these drivers. If they are freely available for download, I would like to have the URL. Thanks

  • My Macbook pro 2011 suddenly has a really slow bootup. What can I do?

    My Macbook pro 2011 suddenly has a really slow bootup. What can I do? I did install a cannon printer upgrade and security upgrade. Not sure if it was something to do with that. Also I tried the disk utility repair and didn't improve anything. I also

  • Importing XMP sidecar files into Aperture 3

    I don't seem to see the effects of importing the XMP files with a referenced or managed RAW file. I tested this by opening a RAW file from Bridge into Camera RAW. I then adjusted the file, which created the XMP file. When I import the file into AP3,