How to save a variant when running a transaction (PU19)

Hello everyone:
         PU19 is the tax reporter transaction but when you run it there is no provision to save a variant. User has to select lot of data onb selection screen and they don't want to do this everytime they run the program and instead save a variant but when you run PU19 there is no provision to save the variant (save button is disabled). User want me to write a program so that they can save a variant that would populate the selection screen parameters when PU19 is called. PU19 is SAP transaction. Any ideas how I can do this?
Thanks.
Mithun

Hello,
  I tried to save the variant of DEMO_PROGRAM_GET with dynamic selection field (Connection Number) filled. It gets saved without any problem. Just click 'SAVE' and enter the variant name and description.
Thanks,
Venu

Similar Messages

  • How to save a variant with dynamic selections parameters

    Anybody knows how to save a variant for an ABAP that uses a Logical database with Dynamic Selections?
    Have a look for example to the following:
    SE38 - DEMO_PROGRAM_GET - Execute - Shift F4 - Connection Number.
    How to save 0820 as Connection Number?
    Function Group SVAR seems good but FREE SELECTIONs are not easy to manage...

    Hello,
      I tried to save the variant of DEMO_PROGRAM_GET with dynamic selection field (Connection Number) filled. It gets saved without any problem. Just click 'SAVE' and enter the variant name and description.
    Thanks,
    Venu

  • KSLD how to specify kernel name when run ksld command on host

    I am trying to use KSLD v1.0 and I could not reproduce similar result shown on KSLD User Guide. I followed almost everything on KSLD User Guide except I don't know how to specify kernel name when running ksld command. Here is what I have tried.
    #ksld -t debug /ksld-space/slo8/proto/root_sparc/platform/sun4u/kernel/sparcv9/unix 99
    I can only get unix and krtld read in. (ksld_dbx)modules could not show any modules *.o
    When I use this
    #ksld -t debug /ksld-space/slo8/proto/root_sparc/platform/sun4u/kernel/sparcv9/genunix 99
    then I can only read on genunix.
    Example on KSLD User Guide use unix.281, what is unix.281 created or obtained from target.
    I noticed some SUN Tachnical Support Guru are online to answer questions, thank you for your quick reply.

    I am having the same problem, did you get a solution?
    Thanks,
    I am trying to use KSLD v1.0 and I could not reproduce
    similar result shown on KSLD User Guide. I followed
    almost everything on KSLD User Guide except I don't
    know how to specify kernel name when running ksld
    command. Here is what I have tried.
    #ksld -t debug
    /ksld-space/slo8/proto/root_sparc/platform/sun4u/kernel
    sparcv9/unix 99
    I can only get unix and krtld read in.
    (ksld_dbx)modules could not show any modules *.o
    When I use this
    #ksld -t debug
    /ksld-space/slo8/proto/root_sparc/platform/sun4u/kernel
    sparcv9/genunix 99
    then I can only read on genunix.
    Example on KSLD User Guide use unix.281, what is
    unix.281 created or obtained from target.
    I noticed some SUN Tachnical Support Guru are online
    to answer questions, thank you for your quick reply.

  • Getting error when running PRC: Transaction Import

    Hi Folks
    Am getting an error when running PRC: Transaction Import to transfer time entries from OTL to Projects.
    Has anybody encountered this before?
    "MSG-20002: ORA-20002: pre_import:ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "APPS.PA_TRX_IMPORT", line 7549"
    If yes, please let me know the resolution.
    Kind Regards
    Srini.

    Pl see if MOS Doc 117395.1 (Transaction Import Interface Troubleshooting Guide) can help
    HTH
    Srini

  • Secondary monitor on 20"iMac, How to set portrait orientation when running

    How do you set the display rotation in Windows XP?
    I have a secondary monitor (wall-mounted at 90 degrees to normal) that OS X handles just fine (the display preference window provides a rotate function). However, when running Windows XP, the secondary monitor is still available, but I can not find a setting that will rotate the display. I downloaded the Apple Boot Camp ATI driver from AMD's site and the driver version went from 8.39 to 8.43. Still no visible way to rotate the secondary display. I then upgraded Boot Camp to 2.1 after which the ATI driver version went to 8.45. Still no rotate functionality.
    I have tried using the ALT-OPTION-ARROW key with no success (recommended on some obscure Windows XP forum). I also downloaded the Apple Boot Camp Crystal Control Center from the AMD site, but it would not execute after installation (this upon yet another obscure recommendation).
    I also have Windows XP on my MacBook. It uses an NVIDIA driver and it will allow display rotation.
    Any help or advice is appreciated.

    Updating my original post:
    I have resolved the issue. The ATI Catalyst Control Center app (I meant Catalyst, not Crystal in my original post) needs Microsoft's .NET Framework 2.0, which was not included in my original Windows XP installation.
    After downloading and installing the .NET Framework 2.0 package and reinstalling the Catalyst Control Center app, I am now able to rotate the secondary monitor display to the portrait orientation.
    I use the secondary monitor primarily viewing on-line documentation while working with an application on the primary screen. The portrait orientation provides a much better environment for reading documentation as I can view 2+ pages at the same time.

  • How to save a variant in MMRV

    Hi,
    We are planning to execute "Allow posting to previous period" and "Disallow backposting generally" in MMRV on separate dates via Schedule Manager. However, there seems to be no way we can save a variant in MMRV. Can you please tell us how?

    Hi,
    I dont think it is possible to have a vriant for this Transaction. Better work with any ABAP to try and create  Custom Program which can have variants (check flag X) and will do a Call Transaction for MMRV within that custom program.
    regards,
    MRao
    Edited by: Mahesh Rao T.C on Oct 21, 2010 12:05 PM

  • How to save a variant?

    how can i save a variant using abap codes?
    james

    Hi,
    for saving variants to the selection screen,
    1. Enter the values in the selection screen.
    2. Click on the button GOTO.
    3. Goto VARIANTS and click SAVE AS VARIANTS.
    4. Write the name of variant and the meaning. It may be whatever u want to write.
    5. Click the SAVE button.
    6. Variant is created.
    You can see the sign near the execution butoon on selection screen.
    Reward points if helpful.
    thanks

  • How to save html response when execute a siebel load test.

    First at all excusme for my english.
    I need help to manage html response. I use OpenScript Version: 9.3.1.0 Production.
    When i execute a siebel load test, some of the VU returns the error "12152 the server response could not be parsed". Mi boss asked me an image or html response to analize the error. But i dont now how to get it.
    I search in all logs but i didn´t find nothing usefull.
    Anyone know how to save the html response when execute a load test?
    Thanks.
    Gabriel.

    "First at all excusme for my english."
    => are you french? I am! So no problem of course ;-)
    Which ATS version do you use? Because starting with 12.1, you have a better VU Logging capabilities.
    From the OLT user guide:
    The virtual user logs window has the following toolbar options:
    Open - Opens an existing virtual user log.
    Save as CSV - Exports the current VU log to a comma-separated value file.
    Clear - Clears the virtual user logs.
    View Text - Displays the source HTML for pages accessed by the virtual user.
    Render HTML - Displays actual pages as accessed by the virtual user.
    Auto Display - Displays pages as they are received by the viewer.
    See if it can help.
    If not, maybe you could implement some logics in OpenScript, but i wouldn' advice that.
    JB

  • How to "Call by Reference" when running in RealTime (path does not work)

    I have a .vi which has been "uploaded" to a PXI chassis to run in RealTime.
    I have this feeling that one of my sub-vi's are not functioning properly. I have a sub-vi which "Opens a VI reference" to a .vi located on my Windows harddrive. But, when everything is setup in Realtime, it cannot locate this .vi anymore.
    I need to load a .vi dynamicaly, multiple times. Is there another way around it?

    Yes, that worked well. I had gotten it to work, but had not replied to this post to indicate my success. My actual problem had to do with me forcing a "close front panel". I had read in some other posts that you cannot modify front panels or other user-activity type of options when running real time. By removing the "FP Close" function, the call to the specific .vi worked great (and with the addition of the IP address for the opening of a local reference). Thanks again for all the input.

  • How to save the variant and select it for displaying output

    For       ALV variant use the FM_REUSE_ALV_VARIANT_F4 and REUSE_ALV_VARIANT_DEFAULT_GET to allow the user to save the variant and select it for displaying output.If   any of the data (Z fields in VBAP) is blank,the cell in the column must be highlighted in red.

    Hi,
       Refer thsi code
    DATA : wa_variant  TYPE disvariant,       "Work area for variant
           wa_variant1 TYPE disvariant,       "Work area for variant
    *&      Form  sub_get_default_variant                                  *
    This form will initialize the variant                               *
    FORM sub_get_default_variant .
    *--Clear
      CLEAR wa_variant.
    *--Pass the report name
      v_repid = sy-repid.                     "Report ID
      wa_variant-report = v_repid.
    *--Call the function module to get the default variant
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save        = c_save
        CHANGING
          cs_variant    = wa_variant1
        EXCEPTIONS
          wrong_input   = 1
          not_found     = 2
          program_error = 3
          OTHERS        = 4.
    *--Check Subrc
      IF sy-subrc = 0.
        p_varnt = wa_variant-variant.
      ENDIF.
    ENDFORM.                                  "sub_get_default_variant
    Regards,
    Prashant

  • In customer control - how to save the variant.

    Hi,
    In Customer control,I am using the class cl_gui_alv_grid. So i want to save the variant in it.
    Plz provide me details.
    Regards,
    Rani.

    Hi,
       Refer thsi code
    DATA : wa_variant  TYPE disvariant,       "Work area for variant
           wa_variant1 TYPE disvariant,       "Work area for variant
    *&      Form  sub_get_default_variant                                  *
    This form will initialize the variant                               *
    FORM sub_get_default_variant .
    *--Clear
      CLEAR wa_variant.
    *--Pass the report name
      v_repid = sy-repid.                     "Report ID
      wa_variant-report = v_repid.
    *--Call the function module to get the default variant
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save        = c_save
        CHANGING
          cs_variant    = wa_variant1
        EXCEPTIONS
          wrong_input   = 1
          not_found     = 2
          program_error = 3
          OTHERS        = 4.
    *--Check Subrc
      IF sy-subrc = 0.
        p_varnt = wa_variant-variant.
      ENDIF.
    ENDFORM.                                  "sub_get_default_variant
    Regards,
    Prashant

  • Error when running ULDE_ACT transaction

    Hello There,
    When running BASIC Configuration to Enable Usage and Landscape data transfer, when I run transaction ULDE_ACT, I get following shortdump:
    Runtime Errors         SYNTAX_ERROR
    Date and Time          28.06.2011 11:46:32
    Short text
         Syntax error in program "SAPLE2E_ESREP_FUNC ".
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPLAGS_DDE" had to be terminated because
        come across a statement that unfortunately cannot be executed.
        The following syntax error occurred in program "SAPLE2E_ESREP_FUNC "
         "LE2E_ESREP_FUNCTOP " in
        line 6:
        "INCLUDE report "/1CAGTF/IF_LOGFUNC_000500" not found"
        The include has been created and last changed by:
        Created by: "SAP "
        Last changed by: "SAP "
        Error in the ABAP Application Program
        The current ABAP program "SAPLAGS_DDE" had to be terminated because
        come across a statement that unfortunately cannot be executed.
    Error analysis
        The following syntax error was found in the program SAPLE2E_ESREP_FUNC :
        "INCLUDE report "/1CAGTF/IF_LOGFUNC_000500" not found"
    Information on where terminated
        Termination occurred in the ABAP program "SAPLAGS_DDE" - in
         "AGS_USAGE_EXT_ACT".
        The main program was "AGS_USAGE_ACT ".
        In the source code you have the termination point in line 8
        of the (Include) program "LAGS_DDEU03".
    Has anyone came across this error? please advise.
    Thanks and regards,
    Nischal

    Hi,
    Please update your solman verson, this syntax error is te common issue, please follow the note [sap note 727998|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=727998]
    please try this, in solman -> utilities -> there maintain service definitin -> select te icone 'Delete and Replace Service Definitions' and continue for a new task 'Service Definition Refresh' created.
    and follow the note tat  shows how to refresh the service definitions and generate the logfunc Includes,
    Thanks,
    Jansi

  • How to save standard output when WL is run as a service?

    We want to save the weblogic (6.1) server standard output and errors to
    a file. When Weblogic is run from the 'startWeblogic.cmd' file this can
    be done by appending '>>outfile.log' at the end of the command line,
    i.e.
    java ..... weblogic.server >>outfile.log
    However, when this is done in the service command line the service does
    not start up properly. How to do set this up properly?
    Thanks for any help you can give me.
    Regards,
    Joop Kaashoek

    There currently is no way to do this. We will review this as a possible
    future enhancement. If you're interested in looking at output to determine
    why the service is failing to start, you can enter the following (assuming
    in this case your service name is myserver):
    beasvc -debug myserver
    This should give you the information you need in this case.
    Joop Kaashoek wrote:
    We want to save the weblogic (6.1) server standard output and errors to
    a file. When Weblogic is run from the 'startWeblogic.cmd' file this can
    be done by appending '>>outfile.log' at the end of the command line,
    i.e.
    java ..... weblogic.server >>outfile.log
    However, when this is done in the service command line the service does
    not start up properly. How to do set this up properly?
    Thanks for any help you can give me.
    Regards,
    Joop Kaashoek

  • ALV How to save a variant?

    Hi experts, how can I save a layout variant?
    So I declared a variant, and put into reuse_alv_grid_display, but doesn't work instead of this. What could be the problem with it?
    DATA: g_variant like disvariant.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
      I_CALLBACK_PROGRAM                = ' '
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  = ' '
      I_BACKGROUND_ID                   = ' '
      I_GRID_TITLE                      =
      I_GRID_SETTINGS                   =
        IS_LAYOUT                         = gs_layout
        IT_FIELDCAT                       = gt_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
        I_SAVE                            = 'A'
        IS_VARIANT                        = g_variant
      IT_EVENTS                         =
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = gt_list
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2

    Hi White,
    <b>Just try this code below it will certainly work out.</b>
    Create a field on the selecion screen for the variant selection.
    As : PARAMETERS : P_VAR LIKE DISVARIANT-VARIANT.
    *Then Form for all perform is coded below
    initialization.
    v_repid = sy-repid.
    Display default variant
    PERFORM SUB_VARIANT_INIT.
    AT SELECTION-SCREEN ON P_VAR.
    Once the user has entered variant, check about its existence
    PERFORM SUB_CHECK_PVAR.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VAR.
    Display a list of various variants of the report when the
    user presses F4 key in the variant field
    PERFORM SUB_VARIANT_F4.
    FORM SUB_CHECK_PVAR.
    If the name of the variable is not blank, check about its existence
    if not p_var is initial.
      clear i_variant.
      i_variant-report = sy-repid.
      i_variant-variant = p_var.
      CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
             EXPORTING
                  I_SAVE     = 'A'
             CHANGING
                  CS_VARIANT = I_VARIANT.
    If no such variant found , flash error message
         if sy-subrc ne 0 .
          message e398(00) with 'No such variant exists'.
         else.
    If variant exists , use the variant name to populate structure
    I_VARIANT1 which will be used for export parameter : IS_VARIANT
    in the function module : REUSE_ALV_GRID_DISPLAY
           clear i_variant1.
           move p_var to i_variant1-variant.
           move sy-repid to i_variant1-report.
         endif.
    else.
       clear i_variant.
    endif.
    ENDFORM.                    " SUB_CHECK_PVAR
    FORM SUB_CHECK_PVAR.
    If the name of the variable is not blank, check about its existence
    if not p_var is initial.
      clear i_variant.
      i_variant-report = sy-repid.
      i_variant-variant = p_var.
      CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
             EXPORTING
                  I_SAVE     = 'A'
             CHANGING
                  CS_VARIANT = I_VARIANT.
    If no such variant found , flash error message
         if sy-subrc ne 0 .
          message e398(00) with 'No such variant exists'.
         else.
    If variant exists , use the variant name to populate structure
    I_VARIANT1 which will be used for export parameter : IS_VARIANT
    in the function module : REUSE_ALV_GRID_DISPLAY
           clear i_variant1.
           move p_var to i_variant1-variant.
           move sy-repid to i_variant1-report.
         endif.
    else.
       clear i_variant.
    endif.
    ENDFORM.                    " SUB_CHECK_PVAR
    form SUB_VARIANT_F4.
    i_variant-report = sy-repid.
    Utilising the name of the report , this function module will
    search for a list of variants and will fetch the selected one into
    the parameter field for variants
    CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                IS_VARIANT         = I_VARIANT
                I_SAVE             = 'A'
                I_DISPLAY_VIA_GRID = 'X'
           IMPORTING
                ES_VARIANT         = I_VARIANT1
           EXCEPTIONS
                NOT_FOUND          = 1
                PROGRAM_ERROR      = 2
                OTHERS             = 3.
      IF SY-SUBRC = 0.
        P_VAR = I_VARIANT1-VARIANT.
    ENDIF.
    endform.                    " SUB_VARIANT_F4
    then in CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    pass the name of variant field
    <b></b>

  • How to map Primey user when run "LDAP Import"

    Hi All
    I configure LDAP import in the [Asset Inventory] of [Configuration]. But I find I only map cn to login user.....But the login user maybe not owner (helpdesk ot proxy agent). So I maybe get the incorrect information when I run the report.
    Did anybody know How to make the Users' cn map the Primary user for getting the ocrrect information??
    Thanks!!
    wyld

    wyld,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

Maybe you are looking for

  • Can anyone solve this cmos puzzle?

    Attached are two CMOS circuits created in Multisim 10.1 (10.1.197) The first circuit was created after the second. I'd created two identical oscillators with both CMOS gates and a CMOS IC, but neither of them responded with anywhere near the correct

  • Maxdb parameter file corrupt

    Hello Experts, The file system /sapdb/data was 100% full some time ago, and since then we cannot start one of the database instances anymore. When trying to start the instance it returns: dbmcli -U c_J2EE db_start ERR -11608 COMMUNIC sql03_request: w

  • How to display the RFQ Number as the Document Name in the E-Mail output.

    Hi All, I want the Document Name of the E-Mail Notification of RFQ to be the RFQ Number itself. For eg. RFQ E-Mail-60000015096.pdf How can this be configured? Thanks, Muneer.

  • Aperture to LightRoom conversion

    I'm a potential buyer of LR but one thing that is holding me back is the prospect of manually trying to load my images from aperture to LR. My library contains around 10k images so I suspect its not a large one compared to others but the prospect of

  • Is com.apple.loginitems.plist deprecated?

    Hi, I noticed today that I can no longer change my login-items, or to be more precise: I can change them just fine via the accounts-PrefPane, it just doesn't matter and will be reset right away (quit and re-open PrefPane). I did read through a few th