Changing variant in FBL5N

Hi all,
In FBL5N (Customer line item display), users would like to change and save a variant but they are not authorized.
Which authorization object allows changing and saving a variant?
Thank you very much,
Annabelle

Hi,
Just run FBL5n T.Code.
Try to change the variant.Error message will appear immediately run SU53 T.Code and show this to your Basis Person.
In this you will get the authorisation object missing.
Check this one in SUIM T.Code.There is a tab authorisation objects.Click on that.
Regards,
Krishna.

Similar Messages

  • Custom variant for FBL5N

    Hello Experts,
    I have created a variant as CUS&TEST for FBL5N with some values and changed
    the txn FBL5N to add the 'start with variant.
    When i execute FBL5N
    when i choose any layout on selection screen, execute and come out of FBL5N.
    When i reexecute the FbL5N,i can't see the previous layout. If i hadnt put the start with variant for FBL5N, it is displaying the previous selected layout.
    Please help on this how to achieve the previous layout?
    THanks
    Ganta

    The 'start with variant' on the transaction is for a selection screen variant.
    The layout on the selection screen is a layout variant.
    Rob

  • Change variant SAP&HVOM

    Hi,
    I need to apply OSS note 384956, which involves changing variant SAP&HVOM for program ppio_entry.
    The problem is that the variant is protected, and I am therefore not allowed to change it.
    I already tried using program RSVARENT to unlock the variant, but the variant doesn't seem to be stored in table VARID.
    Does anybody know how I can apply the note?
    Thx!

    Please look at SAP note : 80526
    "Protected variants can only be changed by the creator or by
    the user who last changed them.If you want to make these
    variants globally accessible again, use report RSVARENT."

  • Changing Variant Pop up window name in Portal for BI reports

    Hi All,
    I have integrated Bex analyzer with portal, from which when i select variant it will open pop window to select options.. here i want to change the  pop window name as " sale order report name itself. I have changed the name of the report and it is showing in internet explorer...
    when i select variant...im getting Bex internet explorer name, instead of sales order report name.
    Please suggest where can i change this settings in portal or BIW level.
    Thanks
    Pradeep

    See if this link helps
    http://www.vrusso.com.br/blog/2011/03/unobtrusive-confirm-javascript-replacement-with-jquery-ui-dialog/Effectively you are calling a jQuery dialog box with custom buttons and events. Optionally you can hide the close button(or even the titlebar) and prevent closing the modal window when escape key is pressed.

  • Change output list   FBL5N

    Hi, i want to add a new fields to the output of transactions FBL5N.
    I want to show in the output list the fields Credit Limit, Sales Ditrict and description of sales district in transaction.
    I need know how can i change the layout and in the hidden fields appear this fields.  this is possible?
    You think that exist some SAP notes for this requirement? If yes, can you give me the number if this note?
    Sales district: field KNVV-BZIRK
    por el credit limit: field KNKK-KLIMK.
    Thanks in advance.

    Hello Stilianos, yes of course with pleasure.
    The code that i put in my MF en the event 1650 from the start is following:
    function zzsample_interface_00001650.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_POSTAB) LIKE  RFPOS STRUCTURE  RFPOS
    *"  EXPORTING
    *"     VALUE(E_POSTAB) LIKE  RFPOS STRUCTURE  RFPOS
    Descripción: Copy of the MF SAMPLE_INTERFACE_00001650, the MF for
    the event 1650: Line Item Display: Add to data per line.This specific
    MF was been created to fill new fields in the ALV list of the
    transaction FBL5N as part of the developmenet
    GB-DEV-FIN - Impact Assessment RFC FIN 1270).
    ........................................................u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026.
    MÓDULO AL QUE PERTENECE: FI
    AUTOR : Amal SALHI    EMPRESA: Accenture     FECHA: 03/06/08
    CONTROL DE MODIFICACIONES
    AUTOR           EMPRESA            FECHA          MOTIVO
    ...........     ...............    DD/MM/AA      ......................
    ...........     ...............    DD/MM/AA       ......................
    Initialize Output by using the following line -
    E_POSTAB = I_POSTAB.
      tables: bkpf,      "Accounting Document Header
              vbrk,      "Billing Document: Header Data
              knvv,      "Customer Master Sales Data
              knkk,      "Customer master credit management: Control area data
              t171t.     "Customers: Sales districts: Texts
    Variable and constants declaration
      data: l_awtyp type bkpf-awtyp,  " Reference Transaction
            l_awkey type bkpf-awkey,  " Reference Key
            l_vkorg type vbrk-vkorg,  " Sales Organization
            l_kunnr type vbrk-kunrg,  " Payer
            l_vtweg type vbrk-vtweg,  " Distribution Channel
            l_spart type vbrk-spart.  " Division
      constants:c_vbrk type bkpf-awtyp  value 'VBRK',
                c_d    type rfpos-koart value 'D',
                c_fbl5n like sy-tcode   value 'FBL5N'.
    Fill all fields except new fields: Sales district, Customer's credit limit
    and Name of the district (Copy of FDM_AR_INTERFACE_00001650 code)
      data:
           lt_attributes type fdm_t_line_item_attributes,
           ls_attributes type fdm_line_item_attributes.
      clear e_postab.
    *--- pass the account type, customer account to the service layer
      move-corresponding i_postab to ls_attributes.
      append ls_attributes to lt_attributes.
    *--- call the service layer to get the case attributes
      call function 'FDM_AR_DOC_ATTRIBUTES_GET'
        changing
          ct_attributes = lt_attributes.
    *--- pass the case attributes back to the exporting
      clear ls_attributes.
      move-corresponding i_postab to e_postab.
      read table lt_attributes into ls_attributes index 1.
      move-corresponding ls_attributes to e_postab.
    *--- fill line item fields overwritten by last move-corresponding
      e_postab-konto = i_postab-konto.
      e_postab-koart = i_postab-koart.
      e_postab-bukrs = i_postab-bukrs.
      e_postab-belnr = i_postab-belnr.
      e_postab-gjahr = i_postab-gjahr.
      e_postab-buzei = i_postab-buzei.
      check sy-tcode = c_fbl5n.
    Fill new fields: Sales district (RFPOS-BZIRK), Customer's credit limit (RFPOS-KLIMK)
    and Name of the district (RFPOS-BZTXT)
    Find the Customer Number
      if e_postab-koart = c_d.
        clear l_kunnr.
        l_kunnr = i_postab-konto.
      endif.
    Fill the column Customer's credit limit (KLIMK)
      clear e_postab-klimk.
      select single klimk
      into e_postab-klimk
      from knkk
      where kunnr = l_kunnr         "Customer Number 1
      and   kkber = i_postab-kkber. "Credit control area
    Find the original document from BKPF
      clear: l_awtyp, l_awkey.
      select single awtyp awkey
      from bkpf
      into (l_awtyp, l_awkey)
      where bukrs = i_postab-bukrs
      and   belnr = i_postab-belnr
      and   gjahr = i_postab-gjahr.
    Check if the original document is a sales document.
      if l_awtyp = c_vbrk.
        clear: l_vkorg, l_vtweg, l_kunnr, l_spart.
        select single vkorg vtweg spart kunrg
        from vbrk
        into (l_vkorg, l_vtweg, l_spart, l_kunnr)
        where vbeln = l_awkey(10).
        if sy-subrc = 0.
    Fill the column Sales district (BZIRK)
          clear e_postab-bzirk.
          select single bzirk
          from knvv
          into e_postab-bzirk
          where kunnr = l_kunnr     "Customer Number 1
          and   vkorg = l_vkorg     "Sales Organization
          and   vtweg = l_vtweg     "Distribution Channel
          and   spart = l_spart.    "Division
    Fill the column Name of the district (BZTXT)
          clear e_postab-bztxt.
          select single bztxt
          into e_postab-bztxt
          from t171t
          where spras = sy-langu        "Connection Language
          and   bzirk = e_postab-bzirk. "Sales district
        endif.
    CB
      else.
    Fill the column Sales district (BZIRK)
        clear e_postab-bzirk.
        select single bzirk
        from knvv
        into e_postab-bzirk
        where kunnr = l_kunnr         "Customer Number 1
        and   vkorg = i_postab-bukrs. "Sales Organization
        check sy-subrc = 0.
    Fill the column Name of the district (BZTXT)
        clear e_postab-bztxt.
        select single bztxt
        into e_postab-bztxt
        from t171t
        where spras = sy-langu        "Connection Language
        and   bzirk = e_postab-bzirk. "Sales district
    CB
      endif.
    endfunction.
    One remark that you know is it makes sense to show those fields only if the invoice was generated by a bill for that we search inf the origin document in BKPF is an invoice.
    I hope that helps you. For anything about that, you can tell me and i will see if i can help you.
    Tell if this resolves your problem.

  • How to change Variant in Code inspector from Global to local.

    Hi,
    I have created my own variant,object set and inspection through T-code SCI and this has been created only for my id.
    Now when i go to SE38 and run Code Inspector i want the CI to use my variant instead of the Global DEFAULT variant.
    Kindly tell me how can i change from DEFAULt to my Local Variant.
    Many Thanks.

    Hi,
    abap_learner_das wrote:
    > Now when i go to SE38 and run Code Inspector i want the CI to use my variant instead of the Global DEFAULT variant.
    in that case you have to create a variant called "DEFAULT" as your local one. That variant will be used in SE38.
    In SE38 you can only use the DEFAULT variant. either the global one (if your user does not have a local one named DEFAULT) or the local one of your user.
    HTH,
    Hermann

  • Problem with adding new field to the mass change screen in FBL5N

    Hi,
    We have a problem with adding the field XREF3 to the mass change screen. We followed steps described in the SAP Note 640908, but the result is that when we try to mass change some documents in FBL5N and enter some values in the mass change screen, a message appears: "Please enter at least one new value" and nothing is changed.
    If you have faced with such a problem, we would be grateful if you give us some tips.
    Regards,
    Miłosz Włodarczyk

    The problem has been resolved: we didn't activate a code in SE80.

  • Find/Change Varying dates..

    I have a varied dates that appear throughout a LONG document.. for instance "January 14, 1945" date changes all the time of course.. usually appears at start of a paragraph.. i need to set up a find/change to be able to select it, and I need to change it's style.. is this the wildcard choice somehow in find/change?

    try a GREP search for      \<\w+\.? \d\d?, \d{4}\>      (those are ordinary typed spaces after the first ? and the comma). If should find dates with months spelled out or abbreviated with or without a period. You can use this in a GREP Style as part of a paragraph style to apply your character style so you don't need find/change

  • Changing Variant Parameters Programmatically

    Hi Guys/Dolls
    I've developed a program that has a user selection date range on it and I have saved this program as a variant. I submit this program has a batch job on a monthly basis but need to change the dates on the variant each month to be the start and end date of the previous month.
    I believe I need to use the following Function Modules; please correct me if I am barking up the wrong tree. Unfortunately I have absolutely no idea how to use them within ABAP. Do I need anything else to change my variant parameters?
    RS_VARIANT_CONTENTS
    RS_CHANGE_CREATED_VARIANT
    Does anybody have a very small snippet of code that will allow me to change the date of the variant.
    Many thanks in advance.
    Raj

    Ok Guys/Dolls
    I've managed to hack a solution and have posted this for reference.
    The code is as follows:-
    FORM change_variant .
      DATA: h_rc LIKE sy-subrc.
      DATA: ival TYPE STANDARD TABLE OF rsparams WITH HEADER LINE.
      DATA: ls_variantdesc LIKE varid.
    *1st check to see that the variant exists.
      CALL FUNCTION 'RS_VARIANT_EXISTS'
        EXPORTING
          report              = sy-repid
          variant             = variant_name
        IMPORTING
          r_c                 = h_rc
        EXCEPTIONS
          not_authorized      = 01
          no_report           = 02
          report_not_existent = 03
          report_not_supplied = 04.
    * If variant exists then obtain the contents of the variants.
      IF h_rc = 0.
        CALL FUNCTION 'RS_VARIANT_CONTENTS'
          EXPORTING
            report                      = sy-repid
            variant                     = variant_name
            move_or_write               = 'W'
    *   NO_IMPORT                   = ' '
    *   EXECUTE_DIRECT              = ' '
    * IMPORTING
    *   SP                          =
          TABLES
    *   L_PARAMS                    =
    *   L_PARAMS_NONV               =
    *   L_SELOP                     =
    *   L_SELOP_NONV                =
            valutab                     = ival
    *   OBJECTS                     =
    *   FREE_SELECTIONS_DESC        =
    *   FREE_SELECTIONS_VALUE       =
    * EXCEPTIONS
    *   VARIANT_NON_EXISTENT        = 1
    *   VARIANT_OBSOLETE            = 2
    *   REPORT_NOT_EXISTENT         = 3
    *   OTHERS                      = 4
        IF sy-subrc = 0.
    *     Change value of the variants to what you want it to be.
          LOOP AT ival WHERE selname EQ 'PNPBEGDA' OR
                             selname EQ 'PNPBEGPS' OR
                             selname EQ 'PNPENDDA' OR
                             selname EQ 'PNPENDPS'.
            ival-low = ''.
            MODIFY ival.
          ENDLOOP.
          LOOP AT ival WHERE selname EQ 'P_CNGDAT'.
            ival-low  = '20000201'.
            ival-high = '20001231'.
            MODIFY ival.
          ENDLOOP.
    *   Now re-save the variant with the appropriate changes.
    *     Clear and re-populate the variant description.
          CLEAR ls_variantdesc.
          ls_variantdesc-aename   = sy-mandt.
          ls_variantdesc-aename   = sy-uname.
          ls_variantdesc-aedat    = sy-datum.
          ls_variantdesc-aetime   = sy-uzeit.
          CALL FUNCTION 'RS_CHANGE_CREATED_VARIANT'
            EXPORTING
              curr_report                     = sy-repid
              curr_variant                    = variant_name
              vari_desc                       = ls_variantdesc
    *   ONLY_CONTENTS                   =
            TABLES
              vari_contents                   = ival
    *   VARI_TEXT                       =
    *   VARI_SEL_DESC                   =
    *   OBJECTS                         =
           EXCEPTIONS
             illegal_report_or_variant       = 1
             illegal_variantname             = 2
             not_authorized                  = 3
             not_executed                    = 4
             report_not_existent             = 5
             report_not_supplied             = 6
             variant_doesnt_exist            = 7
             variant_locked                  = 8
             selections_no_match             = 9
             OTHERS                          = 10.
          IF sy-subrc = 0.
            PERFORM set_pnp_default.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " change_variant
    FORM set_pnp_default.
    * The following 2 statement will set Today as the default on the PNP
    * selection and also move the cursor to that field.
    * IMPORTANT NOTE - you must have 'PNPTIMR1' in capitals otherwise it
    * doesn't work.
      pnptimed = 'D'.
      SET CURSOR FIELD 'PNPTIMR1'.
    ENDFORM.                    " set_pnp_default

  • Change variant for background scheduled jobs

    Hi experts,
    I want to schedule the report RKO7KO8G in background.
    Two of the selection parameters of this report are Settlement period & Settlement year.
    This report should be executed in the background every month. For this the period parameter should change every month
    , like for example when the report executes in background in May then period should be 05, June - period should be 06
    and so on.
    i.e. the variant should change.
    For this how do i create a dynamic variant. I tried to create dynamic variant but it says that the parameter
    should be a date field. However, the settlement period field over has input from 001 to 999 & not date field.
    I want to schedule this report in background on a monthly basis and change its input parameter Settlement period
    as per the month.
    Please suggest.
    Regards,
    Priti.

    Links to sap.technical are NOT permitted. Even via Tiny.
    Hi,
    Have a look at the below tutorial;
    [Dynamic Variant|http://joyjitghosh.blogspot.com/2008_09_01_archive.html]
    Regards,
    Karthik D
    Edited by: Matt on May 27, 2010 10:57 AM - changed url to the source

  • Changing variant's values

    Hi,
    I want to change the variant's values through my program.
    The problem is: one field contents are 60 characters long and I can't use the FM 'RS_CHANGE_CREATED_VARIANT' because it has limitation of changing/creating field's content up to 45 characters.
    Secondly, field CLUSTD of table VARI contains the field's value in some different format than CHAR.
    It's urgent.
    Hope to get some solution soon.
    Regards,
    Bobby

    hi
    good
    go through these links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_webas620/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm
    thanks
    mrutyun

  • Changing Variant

    Hello Everyone,
    I have one requirement where I have to change the variant of one program from another program.
    The requirement is like this:
    If have one program lets say A with variant VAR1.
    I want to change the contents of variant VAR1 from another program B.
    Kindly let me know how I go ahead with program B to change the contents of variant VAR1.
    Program B I have to develop from scratch for changing the contents of variant VAR1.
    Thanks in advance for your help.
    Regards,
    Tarun

    Hi..
    If u check table TVARV..it contains the select-options and parameters values .
    U first check if ur selection-criteria appears in this table...
    If yes....in ur program B u can simply put this code....
    FORM set_z17_today_date.
    */03  UPDATE tvarv
      UPDATE tvarvc                                             " /03
    SET low = sy-datum
    WHERE name = 'Z17_TODAY_DATE_(YYYYMMDD)'
    AND type = 'P'.
    ENDFORM.                    "set_z17_today_date
    In my case when A was executed 'Z17_TODAY_DATE_(YYYYMMDD)' had system date...so whenevr i ran B it use to overwrite this parameter...
    Hope this is helpful....
    Thanx...

  • Not  able  to  change  variant  data

    i  am  changing  selection  screen  date  range  and  clicking  on  save  and  it  is  asking  for  overwriting  and  got  message  like  variant  saved  ,  but  when  i  come  back  and  checked  dates  remains  same.
    please  help  here.

    Hi,
    check in the variant attribute page to see if this check box "Save Parameter without Values" is checked for the date fields. If this is checked then,values you change in the screen will not be saved. You need to either uncheck this box or reconfigure your dynamic variant so that it will change to the dates you want to see there.
    Thanks & regards.

  • Changing Fieldcatalog of FBL5N output

    Hi Folks,
    I have a requirement for which I have copied the standard program (RFITEMAR) for txn FBL5N.
    My ZFBL5N  is running fine, but the only thing I am not able to achieve is to change the column headings of the output, i.e., I want to change the SELTEXT parameter of the fieldcatalog for most of the output fields.
    More precisely, I want to display "Entry Date" instead of "Pstng Date", "Entry No." instead of "Document No." and so on.
    I understand that the column headings are picked up at runtime from the structure RFPOSXEXT. I want to change the headings but do not know how to go about it.
    Request your guidance to achieve my requirement.
    Thank you in advance.
    Regards,
    Sud

    Hi Sudarshan,
    No need to copy the program. If you want to change Field Discp.. as you said "Entry Date" instead of "Pstng Date".
    For Ex:  Posting date. Need to take Data element. BUDAT is the data element for Posting Date.
    Enter Transaction code CMOD and then from menu bar GOTO -> TEXT ENHANCEMENTS -> KEYWORDS ->CHANGE,
    It will ask you Data Element Enter the data element BUDAT and press enter Change all Discriptions with your required text(Entry Date) and save it.
    You can see Discp...of BUDAT as Entry Date FBL5N.
    Thanks,
    Sriram.

  • Change Variant Created by Another User

    Hi,
    Is there a way to make changes to a variant created by user ID other than yourself? I want to modify an existing variant that was created by a user ID that is no longer with the company. I don't want to use the user ID that created the variant.
    Thanks,
    Wes

    Yes it does the job, but please take note of the warnings in my above post because RSVARENT will not warn you if you do not use (and protect it) carefully.
    If you do not maintain the input parameters for exactly that which you want, it will do more than you intended.... and by default it cannot be excluded that anyone can run it to the selection screen.
    The Rolls-Royce approach is to use the S_PROGRAM authorization group to protect the variants of the reports via field p_action = 'VARIANT' to a group of users authorized to maintain them (via transaction VARCH) and therefore also schedule them or change programs scheduled with those variants. The developer can in special cases also determine that the report is submitted in the background only via the parameters set by the variant, without a user being able to influence the selection screen in the foreground.
    Take care,
    Julius
    Edited by: Julius Bussche on Nov 26, 2008 12:50 AM

Maybe you are looking for