Select-Option In Fbl1n And Fbl3n

Good Morning Experts,
javascript:;
Above Attached is the Screen Shot Of FBL1N..Experts I Have A requirement That I Have to Add Profit center as a Select-option Under The Company Code..Can Any One send me with sample code And Suggest Me Where To Write The Code...And I have to do the same for FBL3N....
Thanks In advance..
Regards,
uday..

Hi Uday
Please ignore my earlier reply i overlooked the dynamic selection part sorry for that.Sreevisakh M is right you have the field available in dynamic selection you can use that.
Nabheet

Similar Messages

  • PO number in FBL1N and FBL3N

    Dear Experts,
    If i want to see PO Number in FBL1N and FBL3N what is the procedure?
    useful answers duely rewarded

    Hi
    First of all I assume you want to see on GR/IR accounts the Po number and item.
    Normally you will see this. You can prevent this by switching on summarization
    transaction OBCY. Check procedures MKPF and RMRP for ebeln and ebelp. This is done to have
    line items kept to a minimum.
    The vendor line is different matter as invoice verification and goods receipt both
    have to option to post more then one PO at the time. Secondly the vendor line items
    are not posted because of article lines/PO items but the header record of MIRO. Normally never
    a PO reference there. If your business process assures one PO per invoice you could use the text line
    at invoice entry. This will then be shown on the vendor line, but extra manual effort. If you are at least on ECC 5.O you could use badi (se19 and SE18) AC_DOCUMENT and with a simple statement could at teh PO numer to the vendor line in assignement field. And as third instat of useing FBL1N you could use a query on LDB KDF also there you could define a additional field to retrieve the PO number.
    enough opitions
    Kind regards
    Hendrik

  • Select-Options in Tabstrip and Subscreen for MIGO

    Hi,
    I have to enhance MIGO tansaction using screen exit.
    I have to create a tab called Serial Number Ranges and inside the tab create a sub screen.
    Inside the subscreen i have to create a range (select option for Serial Number.)
    I have create a module pool program and created one screen with the tab and subscreen.
    In the main program i have create a selection screen as subscreen and declared select options.
    then i have called the screen in PBO and PAI..
    it doesnt seem to work...
    can u suggest a solution different from this?

    Hi,
    Check out these links:
    [http://sample-code-abap.blogspot.com/2008/06/select-option-in-module-pool-screen.html]
    [http://abap-explorer.blogspot.com/2008/08/create-select-options-in-module-pool.html]

  • How to modify a select option without range and mutiple selection??

    hi all,
    i need to modify a select option by removing the range and option for multiple entry. i other words i need to make select option as parameter.( because i cannot use parameter in my program due to some constraints.)
    is it possible to change the select option as per my requirement if yes please let me know how is it possible.
    Thanks in advance.
    Sreekanth.

    hi,
            Yes u can use code like following way..
    select-options : s_matnr for mara-matnr no-extension no intervals.
    Reward if helpful.
    Regards
    Gagan

  • Dynamic Select Options/Ranges Maintain and Display in my screen

    Hi I am trying to figure out if I can create a screen which will will read various select-options I have stored in a custom table but am having trouble finding something which will allow me to display each of 'select-options' in my dynpro... has anyone ever done this?
    I'd rather not reinvent the wheel or mimic - does anyone know of a way to basically use a loaded range and display it on a screen for display or maintenance using standard SAP routines/classes?
    Thanks in advance!
    Roc..

    @Adrian - I got your email regarding the code sample, here is a quick example of how to popup a dynamic selection for up to 5 tables...
    *& Report  ZRS_DYNAMIC
    REPORT  zrs_dynamic.
    * START Dynamic Range Selection Definitions
    * Definition of the selection_if variable, which is used to reference
    * the selections obtained
    DATA: gv_selid TYPE rsdynsel-selid.
    * Definition of the TABLES_TAB table for use in providing the list of
    * fields available for creating select options from
    DATA: gt_tables TYPE STANDARD TABLE OF rsdstabs.
    DATA: gs_tables TYPE rsdstabs.
    PARAMETERS: p_tab1 TYPE tabname DEFAULT 'KNA1',
                p_tab2 TYPE tabname DEFAULT 'KNB1',
                p_tab3 TYPE tabname DEFAULT 'KNC1',
                p_tab4 TYPE tabname DEFAULT 'KNVV',
                p_tab5 TYPE tabname DEFAULT 'KNVP'.
    START-OF-SELECTION.
      gs_tables-prim_tab = p_tab1 .APPEND gs_tables TO gt_tables.
      gs_tables-prim_tab = p_tab2 .APPEND gs_tables TO gt_tables.
      gs_tables-prim_tab = p_tab3 .APPEND gs_tables TO gt_tables.
      gs_tables-prim_tab = p_tab4 .APPEND gs_tables TO gt_tables.
      gs_tables-prim_tab = p_tab5 .APPEND gs_tables TO gt_tables.
    * Definition of Table which includes the select-option range for field
      TYPES: ty_selopt_t TYPE  rsdsselopt OCCURS 10.
    * Definition of field name and select option range table
      TYPES: BEGIN OF ty_frange,
               fieldname TYPE rsdstabs-prim_fname,
               selopt_t TYPE ty_selopt_t,
             END OF ty_frange.
      TYPES: ty_frange_t TYPE ty_frange OCCURS 10.
      TYPES: BEGIN OF ty_range,
               tablename LIKE rsdstabs-prim_tab,
               frange_t TYPE ty_frange_t,
             END OF ty_range.
      TYPES: ty_range_t TYPE STANDARD TABLE OF ty_range.
      DATA: it_ranges TYPE ty_range_t.
    * work areas
      DATA: gs_ranges TYPE ty_range.
      DATA: gs_frange TYPE ty_frange.
      DATA: gs_selopt TYPE rsdsselopt.
      DATA: gt_ranges TYPE ty_range_t.
      DATA: gt_frange TYPE ty_frange_t.
      DATA: gt_selopt TYPE ty_selopt_t.
    * Definition of the fields list avaiable
      TYPES: ty_fields TYPE STANDARD TABLE OF rsdsfields.
      DATA: it_fields TYPE ty_fields.
      DATA: gs_fields TYPE rsdsfields.
    * END Dynamic Range Selection --------------------------------------------
      CALL FUNCTION 'FREE_SELECTIONS_INIT'
        EXPORTING
          kind         = 'T'
        IMPORTING
          selection_id = gv_selid
        TABLES
          tables_tab   = gt_tables.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION 'FREE_SELECTIONS_DIALOG'
        EXPORTING
          selection_id    = gv_selid
          title           = 'Select WHERE criteria for Rule'(s12)
          as_window       = 'X'
          start_row       = 7
          start_col       = 10
        IMPORTING
          field_ranges    = it_ranges
        TABLES
          fields_tab      = it_fields
        EXCEPTIONS
          internal_error  = 1
          no_action       = 2
          selid_not_found = 3
          illegal_status  = 4
          OTHERS          = 5.
    Edited by: Rocco Scocco on Jun 17, 2010 3:48 PM
    Edited by: Rocco Scocco on Jun 17, 2010 3:49 PM

  • Any report on fbl1n and fbl3n

    hello gurus ,
    plz send me the report of 'z' or 'y' on FBL1N, FBL3N and FBL5N.
    its very urgent .
    Thanks in advance .

    Why do you need a Z report when you have these standard reports.
    If you need, then copy the following programs and Modify according to your Spec.
    FBL1N - RFITEMAP
    FBL3N - RFITEMGL
    FBL5N - RFITEMAR
    Vinodh Balakrishnan

  • I need to pass multiple select options using submit and reutrn

    dear all,
    my requirement is i need to pass multiple values for work center like(biw01,biw02,biw03    etc) for this iam giving as biwl* and biot* for the tcode zpp_hmm ,using this i am going to get total working hours of perticular equiment.
    for this iam using submit and return query but iam unable to pass multiple work centers as input.
    my code is
    DATA : z_budat TYPE  RANGE OF budat,
           wa_budat LIKE LINE OF z_budat.
    wa_budat-low = '20111001'.
    wa_budat-sign = 'I'.
    wa_budat-option = 'BT'.
    wa_budat-high = '20111031'.
    APPEND wa_budat TO z_budat.
    CLEAR wa_budat.
    *wa_budat-High = '20111031'.
    *wa_budat-sign = 'I'.
    *wa_budat-option = 'BT'.
    *append wa_budat to z_budat.
    DATA : z_arbpl TYPE  RANGE OF arbpl,
           wa_arbpl LIKE LINE OF z_arbpl.
    wa_arbpl-low = 'BIWL*'.
    wa_arbpl-sign = 'I'.
    wa_arbpl-option = 'EQ'.
    APPEND wa_arbpl TO z_arbpl.
    CLEAR wa_arbpl.
    wa_arbpl-high = 'BIOT'.
    *wa_arbpl-sign = 'I'.
    *wa_arbpl-option = 'BT'.
    *APPEND wa_arbpl TO z_arbpl.
    SUBMIT   zpp_rep_hemm_perf WITH s_bukrs = '1004'  WITH s_budat IN z_budat WITH      s_werks = 'SMJT'
                   with   S_ARBPL IN Z_ARBPL USING SELECTION-SCREEN '1000' AND RETURN.
    but my doubt is whether it is corect or wrong what ever i am passing inputs for arbpl.
    thanks in advance.

    You can pass all parameter (rsparams-kind = 'P') and select-options (rsparams-kind = 'S') as a single internal table of type RSPARAMS. Go on appending the field names and values as rows and pass using SELECTION-TABLE parameter of SUBMIT command.
    I gave appending one set of selection values for s_budat field but you can go on appending more values for s_budat and other fields.
    DATA: lt_rsparams TYPE TABLE OF rsparams,
          ls_rsparams TYPE rsparams.
    CLEAR ls_rsparams.
    ls_rsparams-selname  = 'S_BUDAT'.
    ls_rsparams-kind = 'S'.
    ls_rsparams-sign = 'I'.
    ls_rsparams-option = 'BT'.
    ls_rsparams-low =  '20111001'.
    ls_rsparams-high = '20111031'.
    APPEND ls_rsparams TO lt_rsparams.
    SUBMIT zpp_rep_hemm_perf WITH SELECTION-TABLE lt_rsparams
                      USING SELECTION-SCREEN '1000'
                      AND RETURN.

  • Select options default value and execute

    Hello,
    I managed to fill my select options default value. But what I also want is that the user does not have to press the execute button when the screen is shown at the first time. I would like to show the result screen for these default values at the same time the screen is shown first.
    I tried in WDDOINIT:
      data: l_ref_interfacecontroller type ref to iwci_wdr_select_options .
      l_ref_interfacecontroller =   wd_this->wd_cpifc_select_options( ).
      l_ref_interfacecontroller->execute(
    but this coding only works when the select-option screen was shown the first time.
    Any ideas?
    regards
    stefan

    Hello Sascha,
    I checked that WD_THIS->MR_SELOPT is filled.
    My coding in WDDOINIT is:
    *--- Instantiate select options component
      lr_usage = wd_this->wd_cpuse_usage_so( ).
      if lr_usage->has_active_component( ) is initial.
        lr_usage->create_component( ).
      endif.
    *--- Initialize selection screen
      lr_if_controller = wd_this->wd_cpifc_usage_so( ).
      wd_this->mr_selopt = lr_if_controller->init_selection_screen( ).
    *--- Configure layout options
      wd_this->mr_selopt->set_global_options(
                                 i_display_btn_cancel  = abap_false
                                 i_display_btn_check   = abap_false
                                 i_display_btn_reset   = abap_true
                                 i_display_btn_execute = abap_true ).
    *--- Create range tables
      lt_range = wd_this->mr_selopt->create_range_table(
                                                       i_typename = 'DATUM' ).
    *Range vorbelegen
      wa_dats = sy-datum - 30.
      wa_range_datum-sign = 'I'.
      wa_range_datum-option = 'BT'.
      wa_range_datum-low = wa_dats.
      wa_range_datum-high = sy-datum.
      assign lt_range->* to <fs_rangetable>.
      create data r_headerline like line of  <fs_rangetable>.
      assign r_headerline->* to <fs_range>.
      move-corresponding  wa_range_datum to <fs_range>.
      append <fs_range> to <fs_rangetable>.
      wd_this->mr_selopt->add_selection_field( i_id        = 'DATUM'
                                               it_result   = lt_range ).
      lt_range = wd_this->mr_selopt->create_range_table( i_typename = 'UZEIT' ).
      wd_this->mr_selopt->add_selection_field( i_id        = 'UZEIT'
                                               it_result   = lt_range ).
      lt_range = wd_this->mr_selopt->create_range_table( i_typename = 'UNAME' ).
      wd_this->mr_selopt->add_selection_field( i_id        = 'UNAME'
                                               it_result   = lt_range
                                               i_no_intervals = 'X'
                                               i_no_extension = 'X' ).
    data: event type ref to cl_wd_custom_event.
    create object event
      exporting
        name   = 'EXECUTE'
       parameters =
      wd_this->search_sel_opt(
        wdevent =    event                       " Ref to cl_Wd_Custom_Event
    Maybe you can see my mistake?
    regards
    stefan

  • Text element assigned to select options not showing

    Hi guys,
    We have a problem in shaowing the text assigned to the select-options...
    When we run the program the text element ssigned to the select options is not showing instead the element name is shown.
    The original language is german, and it wont show the english word we appended to as text element for select-options.
    example:
    AUART insteat od blocked order
    How can we show the text elemen when we run the program?
    Thanks!

    Hi Mark,
    Go to the program text elements and select the Selection Texts tab,
    There you fill find the select option for AUART and the corresponding text maintained.
    You need to maintain translations for this text entered.
    Chose Goto (in menu bar) -> Translation
    Then maintain translation in English.
    Regards,
    Aditya

  • Getting values from select option

    Hi,
    I have a requirement where the user is going to pass values in select-option  in low and high. lets say s_bwart(movement types).
    now i have to fetch this bwart values into an internal table.
    my internal table will be having only one field that is bwart. so how do i populate my internal table with those values. could any body help me in this.
    Thanks in advance
    neha

    Hi, when using SELECT-OPTIONS, use can pretty much do any kind of selection he wants, including ranges, and excluding values, so the best way to handle it is to select from the data base when the user executes the report.  for example.
    data: begin of ibwart occurs 0,
          bwart type mseg-bwart,
          end of ibwart.
    select-options: s_Bwart for mseg-bwart.
    start-of-selection.
    select bwart into table ibwart
               from <b>T156</b>
                     where bwart in s_bwart.
    Regards,
    Rich Heilman

  • SELECT-OPTIONS Values via DYNP_VALUES_READ in a Search Help Exit

    Hi all,
    I appended a standard search help of a standard report with a search help of my own. Now I am trying to retrieve the values the user has entered into the selection screen of the report using the FM DYNP_VALUES_READ in my search help exit FM. It works fine for single values defined by PARAMETERS and for low and high values of SELECT-OPTIONS (so_example-LOW and so_example-HIGH), but I need the entire SELECT-OPTIONS table. I cannot make any changes in the report, so do you have any solutions I could implement in my search help exit FM?
    Many thanks!
    Vladan
    P.S.
    I found several questions on this topic but they either just different enough not to be applicable in my case or the formatting has made the replies useless.

    Most of the time we just copy the standard FM F4IF_SHLP_EXIT_EXAMPLE to a new one and give our own name.
    You can see that on the 12th line there is the following code
    * EXIT immediately, if you do not want to handle this step
      IF CALLCONTROL-STEP &lt;&gt; 'SELONE' AND
         CALLCONTROL-STEP &lt;&gt; 'SELECT' AND
         " AND SO ON
         CALLCONTROL-STEP &lt;&gt; 'DISP'.
         EXIT.
      ENDIF.
    you should comment those line in order for the control to reach the PRESEL step (which is already defined in the SH Exit FM) which is on line 44.
    Most of the time, when someone says they don't hit PRESEL, this is the problem.
    Edited by: ajithkpunnoose on Jan 5, 2012 12:00 PM

  • Geting select option value on the basis of filtering criteria

    Hi
    I have a selection parameter field is PRPS-WERKS. when user will go for f4 help, the value should come as filtered on the basis of the condition : select the respective WBS ELEMENT (PRPS- PSPNR) and select the respective PR LINE item. (The relation is PRPS-PSPNR=EBKN-PS_PSP_PNR and EBKN-BANFN = EBAN-BANFN and EBKN-BNFPO = EBAN-BNFPO).now the value iof WERKS is not comming from the database table PRPS itself. how to manage this thing?

    Hi,
      Refer the link select option in smartforms and read what i suggested..
    Regards,
    Dhina..

  • How to created Freely Programmed F4 help in Select Options

    hi,all
       I have a probelm about how to created a Freely Programmed F4 help in Select Options,and put help value into select options field
      Thanks and Best Regards

    Hi Haung,
    You need to use FREE_HELP not the component name.
    Modify you code as below:
       LT_RANGE_TABLE_V = wd_this->m_handler_V->create_range_table( 'ZCYPHDATE' ).
      wd_this->M_HANDLER_V->add_selection_field(
          i_id                         = 'ZCYPHDATE'
          it_result                    = LT_RANGE_TABLE_V
          i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_APPLDEV
          i_value_help_id              = 'FREE_HELP'
          i_no_intervals               = abap_false ).
    Hope this helps you.
    Regards,
    Rama

  • Select-options in module pool. Please respond quickly

    Hi Guru's,
    I have created a program by following example in SDN ( which contains select options), I have called in the PBO and PAI, Select options which is in the subscreen area appears, but when I am giving some values into the select options
    Say 10 to 20. now when I enter debug mode I was unable to catch the values entered in the subscreen area. Please let me know how to catch the values.
    example.
    REPORT  ZSCREEN101.
    TABLES
           : z9mm_vend_qual.       "Vendor Certification
    data: s_low type matkl,
            s_high type matkl.
      SELECTION-SCREEN BEGIN OF SCREEN 101 AS SUBSCREEN.
      SELECTION-SCREEN BEGIN OF LINE.
      SELECT-OPTIONS : s_MATKL for z9mm_vend_qual-MATKL MATCHCODE  OBJECT mcd.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN END OF SCREEN 101.
    In modulepool program I am calling in this manner below.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0101.
    CALL SUBSCREEN SUB_101
    INCLUDING 'ZSCREEN101' '101'.
    PROCESS AFTER INPUT.
    CALL SUBSCREEN SUB_101.
    Please let me know how to catch the variables which I have given in the screen.
    Thanks in advance,
    Sagar.

    Thanks for all the support friends,
    after a long standing debug I was not able to find the s_matkl-low or s_matkl-high.
    Here is the workaround I tried and it worked.
    1. In call subscreen statement double click on the screen number .i.e. '0101'
    2. now you will see another dynamic flowlogic opens for the screen.
    3. go to attributes and then go to special attributes.
    4. now against s_matkl-low and s-matkl-high check the Set Parameter ID, give P1 and P2 against each other save and activate it.
    5. declare 2 variables plow and phigh of type matkl.
    6. Now in the PAI user-command after calling the subscreen statement.
    7. write:
       GET PARAMETER ID 'P1' FIELD PLOW.
       GET PARAMETER ID 'P2' FIELD PHIGH.
    8. now we have the values entered in the select-options into plow and phigh
    Thanks,
    Sagar.

  • ERROR IN SELECT-OPTIONS COMPONENT

    Hi Friends,
    Currently, I am working on SELECT-OPTIONS component, Variants.
    In component controller WDDOINIT, I have got the instantiated the select-options component.
    And I have one more pop-up view, in Get_variant action method ,I will be getting the data of Variants and Using the methods set_range_table_of_sel_filed( ) and set_value_of_parameter_filed( ), I am setting the data to Selection-screen.
    For select-options fileds.
    CALL METHOD wd_comp_controller->m_handler->set_range_table_of_sel_field(
                        EXPORTING
                        i_id           = l_searchparameter-name
                        it_range_table = l_dref ).
    for Parameter fileds.
    ALL METHOD wd_comp_controller->m_handler->set_value_of_parameter_field(
                                    EXPORTING
                                    i_id = l_searchparameter-name
                                    i_value = l_dref ).
    It runs successfully for all the fileds , and after coming out of this method, I am getting an error like
    Subnode WDR_SELECT_OPTIONS#COMPONENTCONTROLLER.CONTEXT.BEGDA does not exist.
    But in webdynpro, For select-option fileds we will not be creating any context.
    Could you please help me, in solving this issue.
    Regards,
    Xavier.P
    Edited by: Xavier Reddy on Jan 20, 2009 11:07 AM

    Hi Xavier,
    CALL METHOD wd_comp_controller->m_handler->set_range_table_of_sel_field(
    EXPORTING
    i_id = l_searchparameter-name
    it_range_table = l_dref ).
    Put a break point on the method and check what value is passed in i_id field because here we pass the name of the field for which we want to create the range.
    Regards
    Arjun
    Edited by: Arjun on Jan 20, 2009 4:11 PM

Maybe you are looking for

  • Executing Native SQL query for oracle

    Hi, I want to run following native sql query but it is giving me error ora:933, DATA: BEGIN OF WA,       TSP_NAME(255) TYPE C,       PER_USAGE(10) TYPE C,       END OF WA. EXEC SQL PERFORMING loop_output. select t.tablespace_name,'(' || TO_CHAR(ROUND

  • 10.5.8.boot drive does no longer boots onto 10.3.9 PPC mini

    I boot my workplace Mac Mini from an external drive. I have been booting 10.5.1 successfully for a long time. Now I have updated to 10.5.8 and the drive usually does not boot (it did once in many attempts). After the Apple logo appears, but before th

  • Populating select-options in a variant through selection variable

    I have a select-options on the selection screen of a report. I have created a variant for this report. Now i want to populate this variant field through selection variable (entries of table TVARVC). How can i manage to populate multiple values in thi

  • The SIms 2 and iMovie

    Hello, I want to start making movies by using Sims 2 with iMovie 09. However, when I import clips into the program, they are upside down in the preview screen. I tried to change the quality and size of my Sims 2 clips, but to no avail. (This only hap

  • Sorting functionality : Project systems information system

    Hello Experts, I have a problem,as discribed below. Please give me your expert suggestion. Requirement is : in report CN41 I need to display one custom field "XXXXX" and I need to enable sorting functionality on  this field. For this have created a s