Deleting Output variant

Hi,
     We are using REUSE_REUSE_ALV_VARIANT_F4, And we created a variant in output list..of alv output. So, could u kindly tell me how to to delete variant in the output list.
Thanks in Advance
jogu

hi,
use the fm
DIPVAR_DELETE_VARIANTS
to delete the variants...
pls reward if helpful.

Similar Messages

  • Page-break in alv background job for alv output variant not coming correctl

    Hi,
    I have created an ALV grid report. When i run the report in background i get the output with correct page-break on FIELD1. Now when i run the report in background with an "ALV output variant" (its the ALV variant that controls the fields display in the output; this is not the program variant), i do not get the page-break on FIELD1.  I have already build the sort criteria and using:
    gs_sort-group = '* '.     "New-Page
    Please let me know what could be reason for not getting the page-break in background when i am using the alv output variant and how do i correct this problem.
    Regards,
    Rakesh

    Hello Everyone,
    I have solved the problem. While running the program in background, we get the page-breaks when we use the below part of code in the sort catalogue with the condition that the program variant should not use any ALV layout variant.
    gs_sort-group = '* '.     "New-Page
    If you are using the ALV layout variant in the program variant then we can check the ROWPOS, COLPOS, and NO_OUT for that ALV layout variant and pass them along in the fieldcatalog table. You should be careful with not to pass the layout variant in the DISVARIANT. You can notice that i have cleared it and simply passing the program name into that.
    *C-- Process separately for jobs running in Background. Actually
    *C-- sortcat-group solves the problem only in Foreground. In background
    *C-- when ALV layout variant is not selected then it works otherwise it
    *C-- fails. So for background jobs we are reading the fieldcat and then
    *C-- passing the same in the display FM.
      IF sy-batch = 'X'.
        CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
          EXPORTING
           i_dialog                  = ' '
           i_user_specific           = ' '
           i_default                 = ' '
    *   I_TABNAME_HEADER          =
    *   I_TABNAME_ITEM            =
            it_default_fieldcat       = gt_fieldcat
            i_layout                  = gs_layout
    *   I_BYPASSING_BUFFER        =
    *   I_BUFFER_ACTIVE           =
         IMPORTING
    *   E_EXIT                    =
           et_fieldcat               = lt_fieldcat
    *     et_sort                   = gt_sort[]
    *   ET_FILTER                 =
    *     es_layout                 = gs_layout
         CHANGING
           cs_variant                = gs_disvariant
         EXCEPTIONS
           wrong_input               = 1
           fc_not_complete           = 2
           not_found                 = 3
           program_error             = 4
           OTHERS                    = 5
        IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CLEAR gs_fieldcat.
        LOOP AT gt_fieldcat INTO gs_fieldcat.
    *C-- Transfer all position changes to gt_fieldcat from lt_fieldcat
          CLEAR ls_fieldcat.
          READ TABLE lt_fieldcat
                INTO ls_fieldcat
                WITH KEY fieldname = gs_fieldcat-fieldname.
          IF sy-subrc = 0.
            gs_fieldcat-row_pos = ls_fieldcat-row_pos.
            gs_fieldcat-col_pos = ls_fieldcat-col_pos.
            gs_fieldcat-no_out = ls_fieldcat-no_out.
            MODIFY gt_fieldcat FROM gs_fieldcat INDEX sy-tabix.
            CLEAR gs_fieldcat.
          ENDIF.
        ENDLOOP.
    *C-- Clear the disvariant for the background job as it contains the ALV
    *C-- layout varinat
        CLEAR gs_disvariant.
        gs_disvariant-report = 'ZGPPMP0001'.
    Then pass gt_fieldcat to 'REUSE_ALV_GRID_DISPLAY'.
    The reason i'm doing it this way is that when we pass the layout variant name, the contents in gt_fieldcat were getting modified.
    One more thing i'd like to point out is that that, i tried to delete the fields with no_out = 'x'. Now when i ran the program in background with all the fields in sort catalog (suppose there are 2 fields field1 and field2) also in fieldcatalog it ran fine. In the next run in background i removed one of the fields in sort catalog from the fieldcatalog (delete the fields with no_out = 'x') and i got dump. Basically i had hidden field1 and so the code which was deleting fields with no_out = 'x' deleted this field from gt_fieldcat. So basically we should not delete fields with no_out = 'x'.
    I was getting ABAP runtime errors    MESSAGE_TYPE_X in the following part of the standard code.
    000310     LOOP AT CT_SORT INTO LS_SORT.
    000320
    000330       READ TABLE IT_FIELDCAT ASSIGNING <LS_FIELDCAT>
    000340            WITH KEY FIELDNAME = LS_SORT-FIELDNAME BINARY SEARCH.
    000350       IF SY-SUBRC NE 0.
         >         MESSAGE X000(0K).
    000370       ENDIF.
    000380
    000390       LS_SORT-SELTEXT = <LS_FIELDCAT>-SELTEXT.
    i have just mentioned this part because when i checked the forum many people were getting such errors "MESSAGE_TYPE_X". This could also be one of the reasons.

  • How to delete the variant in report

    Hi Friends ,
    i am unable to delete the Variant from the Report.
    please find the error in attached screen shot.
    Regards,
    Muralidhar.

    Hi ,
    You can check weather variant is protected or not in table VARID and field 'Indicator' by passing your variant name in field 'Variant'..
    https://help.sap.com/saphelp_nw70/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm
    please check this link it shows how to make a variant protected... ex: if you create a variant and make it protected then only you can make the value changes in that variant it won't allow other users to make changes in the values.
    RSVARENT this is the program which cancels the protected variants..
    Regards,
    Nitin

  • Urgent - How to delete a variant in F110 (automatic payment program)

    Hello,
    I want to delete a variant created in printout medium tab. Please guide me.
    version-  4.6c
    Thanks in advance.
    Regards,
    Jay

    Hello All,
    I got the solution, we need to follow the following steps to delete the variant from print payment tab of F110 permanently.
    1)     Enter transaction SE38
    2)     Enter the print program name (e.g. ZRFFOUS_C)
    3)     Select variant tab
    4)     Click on change tab
    5)     Select the variant that needs to be deleted.
    6)     Click on Delete tab.
    Regards,
    Jay

  • Delete Indexes  Variant ended with errors in Process chain

    Hi experts,
    I have a process chain which executes dialy to load data Info Cube we create the index and finally  we delete the index after that we have few variants..
    Remaining all variants are executed with out errors except delete index variant I checked the error message it shows that <b>" The system has not finished loading request APO_R46PWZHRIA7JS9NOM8X879QEZJ into data target ZUP_CARF1"</b>
    It  is so happened weekly twice or trice not every day.  one day it was running with out any errors and one day this process chan was ended with errors.
    I need to know the  reason why this variant was executed with errors.?
    I need your valule sugestions regarding this issue.
    Regards
    sailekha

    hi sailekha,
    therevare some functional constraint of processes.
    while deleting indexes
    it is not possible to:
                                  loading
                                  indexes are being built
                                  stastics are being built
                                  during rollup
                                  while compressing
                                  while updating.
    my be u can check which is the other process chain that does all above oprations in concerned infoprovider.
    bye

  • Deleting ALV Variant

    Hi,
    how can I let user to delete dislpay variant of alv grid.
    Thank you.
    Marian

    Hi,
    Path:
    Settings - layout - layout management
    You see the table of layouts
    -> Edit - delete layout  or button trash
    Regards Andreas

  • Delete the variants of a query from SAP GUI

    Hi all,
    We have migrated queries from 3.5 to 7.0, and now we are migrating their variants also.
    But while migrating variants we got a situation where some variants got copied but not activated in 7.0.
    so now we want to delete those variants and migrate it again as they are not being over written.
    so, my question is how can we delete variants for a query in one shot from SAP GUI.
    plzz....help asap.

    Hi,
    note : 1003481... makes the point that...
    But the variant cannot be migrated when a variant with same technical name already exists in 'new' variant storage
    would it be possible that the variant that you are trying to migrate shares a tech name with one already on the system?
    to check variant tables for tech names used twice....
    tx: se16
    a)rsrvariant, (3x variants)
    c)rsrparametrizat(bi 7 made variants)
    variants that appear in rsrvariant (3x) will not migrate if the same
    tech name appears already in rsrparametrizat (new storage area for bi7).
    Delete the variant please refer the thread:
    How to delete the Variants?.
    Delete multiple variant
    Thanks,
    Venkat

  • Mass deletion of variants for Total Records

    Hi there,
    during tranings we create a lot of variants for the Total Records (UCWB->Analysis->Total Records->Save Variant). Is there a way to do a mass deletion of those variants?
    The standard options of deleting variants only allows to delete one variant per selection.
    We work with a SEM BCS EHP 4.
    Thanks for all help,
    Helge

    Helge
    you can do a mass deletion of variants.
    First you will need to find the program name for the Totals Records.  This can be found from the totals records screen when you click the Get Variant button. Across the top of the dialogue box you will see;
    "Variant catelogue for program XXXXXXXXX". 
    Note this program ID.
    Go to TCode SE38
    Key in the program - make sure the Short description for the Program is "List of Totals Records"
    Check the Variants checkbox
    Click on Display
    From the menu - go Variants > Catelogue
    This should give a list of the variants for the Totals Records. If not then you must have the wrong program.
    Click the button which has the picture of the rubbish bin with the words "Selection Criteria".
    This will then allow you to put a check mark against all the variants you want deleted.
    Click the button which has the picture of the rubbish bin with the word "Variant"
    This will then mass delete your variants.
    Regards

  • How to delete a variant

    Thanks.

    Hi,
    Deleting Variants Procedure
    1.Open the appropriate variant as described in Creating a Variant.
    2.On the initial screen, choose Variants ® Delete.
    3.The ABAP: Delete Variants dialog box appears.
    4.Choose whether you want to delete the variant in all clients, or only in the current client.
    5.Confirm your choice.
    Result
    Reward If Helpfull,
    Naresh.

  • I want to delete all variants at a time

    hi,
    iam having 400 variants in sinlge program.
    i want to delete all variants at a time. can any boby tell me how to delete all at a time.

    HI
    1. Simple.
    2. goto se38 initial screen.
    3. type the program name
    4. Choose RADIO BUTTON - VARIANTS
    6. Choose change
    7. a new screen will come
    8. select the variant name
    9. Choose DELETE button.
    OR
    use FM RS_VARIANT_SCREEN to create/change/delete variants
    <b>Reward if usefull</b>

  • How Delete output types

    Hi all,
    How to delete output types ( for example BA00 ) triggred in the output determination before saving the application. For example assuming if a delivery is created an output type BA00 is triggered automatically
    but i want this to delete this output type before saving the application. I have already tried 'RV_MESSAGES_DELETE' in one of the user exit but that does not help becuase i need to delete a specific output type not all the output type triggering for that application.
    Please let me know if any one has done this...let me know if i can you any Function modules?
    Thanks in advance
    Srini

    hi,
    Goto transaction NACE select the application area.and click the output types push button.
    Then you will get the output type for the required application area.
    You can also find in the table TNAPR.
    regards,
    Ranveer.

  • DELETION OF VARIANT

    Hi everyone,
    I had an issue in deleting a variant for one of the standard tcode which crete/change vendor data (PRAA)in production system..
    I have searched every where but couldn't solve this
    My question is can we delete the variant in production system for standard program?
    Thanks,
    salini

    >
    salini bhimireddy wrote:
    > I tried going to variants--->delete but its not deleting the variiant.
    Does it give you any message when it fails ?
    Is this problem specific to your user, if yes check SU53 & see if you have any failed authorizations.

  • How to delete Layout variants

    Dear Experts,
    As we have transaction SHD0 to Create or Delete Transaction and Screen variants. Do we have any transaction to delete layout variant in ALV?
    I have to delete some layout variants in Interactive ALV report.
    Thank You,
    Best Regards
    Venki

    Did you explore?
    Settings > layout > layout management-> Edit - delete layout or trash

  • How to delete the Variants?.

    Hi Friends,
    I have created Variants for MD process chains to be scheduled perodically. There are about 5 Process chains and for each process chain i have created a variant in SE38 , and i have scheduled each of them in the background job periodically.
    Now I have to create a Variant only for Meta chain, i have done that. But i need to delete the Variants for each of those process chains which i have created. How to delete the Variants?.
    Can anyone please help me.
    Thanks in Advance.
    BN

    You can delete variant from process chain with the below ways...
    U can delete variants from table RSPCVARIANT (also see RSPCVARIANTATTR).
    OR
    If u wanted delete complete process chain (including process variant), U can delete PC from table RSPCCHAIN (see also RSPCVARIANTATTR)
    OR
    You can find Delete Feature in the Variant Itself. Open a variant - Delete
    OR
    when you edit the process chain, right click on the process and select maintain variant. On the next screen you have a delete button.
    OR
    you can use debugging to delete the variant if you are good at ABAP.
    Thanks,
    Saveen Kumar

  • EHS: Save output variant "Hierarchy Tree" as list

    Hi experts,
    I am actually working with ECC 6 and I am facing the following lank of functionality regarding some 4.6 c existing functionality.
    In 4.6 c we have an output variant called "Hierarchy Tree" (funtion module C1H0_SUB_SHOW_CMPNT) and when we see the results of the output variant we can save the list. The problem is that with ECC 6 this functionality is not available, do you know what can we do to save the hierarchy tree composition in ECC 6 as a list?
    Many thanks and best regards,
    Alberto

    Hello,
    I don't know about that specific report but think this may be due to changes after 4.6c where a tree control is used for the structure in list output. You can disable the tree design of the structure using the set parameter PM_TREE_INACTIVE in the user settings. This causes the old design to be used and restores previous functionality.
    See also note 642753 for an explination.
    -Paul

Maybe you are looking for