Dropdown Selection : Populate Tableview

Hi all,
           We have a requirement, in which we have to make a component which is divided into 2 sections.
Section 1: Tableview is populated based on user login
  (done)
Section 2: Dropdown which has 2 values
                i. My opportunities
on selecting this, a tableview should be populated displaying all oppts which are owned by the log in user
               ii. Reportee Names
on selecting this, it displays all the people reporting to the login user, and on selecting any of them should again display opportunities of that user.
  If anyone has worked upon populating tableview in a component depending upon dropdown values, please help.
     Posting Example code would be of greater help.
thanks in advance,
Rohit
Edited by: Rohit Khetarpal on Oct 17, 2008 8:08 AM

Solved by triggering event on dropdown selection
   IF iv_property =  if_bsp_wd_model_setter_getter=>fp_server_event.
      rv_value = 'DDLB_CLICK'.
   ENDIF.
and handling in do handle event.

Similar Messages

  • How to populate TableView data on the other screen TextField

    Hi guru’s
    I am having problem in populating data from a table in one screen to a Text Field in the other screen. I have two classes FirstClass containing a textbox and a button. On pressing a button a second window is opened containing a Table of values. As the user double clicks a row the value of the second column of the row should be inserted into the textbox of the FirstClass. Code of both the classes is attached. Thanking you in anticipation.
    import javafx.application.Application;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Insets;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.TextField;
    import javafx.scene.layout.GridPane;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Stage;
    public class FirstClass extends Application {
    public static void main(String[] args) {
         launch(args);
    @Override
    public void start(final Stage primaryStage) {
         primaryStage.setTitle("First Class");
    GridPane gridpane = new GridPane();
              gridpane.setPadding(new Insets(5));
              gridpane.setHgap(5);
              gridpane.setVgap(5);
    final TextField userNameFld = new TextField();
    gridpane.add(userNameFld, 1, 1);
    Button btn = new Button();
    btn.setText("Show Table");
    gridpane.add(btn, 1, 3);
    btn.setOnAction(new EventHandler<ActionEvent>() {
    @Override
    public void handle(ActionEvent event) {
         String a = TableClass.showDialog(primaryStage, true, "Table Window" );
         userNameFld.setText(a);
    StackPane root = new StackPane();
    Scene scene =new Scene(root, 300, 250);
    root.getChildren().addAll(gridpane);
    primaryStage.setScene(scene);
    primaryStage.show();
    import javafx.beans.property.SimpleStringProperty;
    import javafx.collections.FXCollections;
    import javafx.collections.ObservableList;
    import javafx.event.EventHandler;
    import javafx.geometry.Insets;
    import javafx.scene.Scene;
    import javafx.scene.control.TableColumn;
    import javafx.scene.control.TableView;
    import javafx.scene.control.cell.PropertyValueFactory;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.GridPane;
    import javafx.scene.layout.StackPane;
    import javafx.stage.Modality;
    import javafx.stage.Stage;
    public class TableClass extends Stage {
         private static TableClass dialog;
         private static String value = "";
         public static class Person {
    private final SimpleStringProperty firstName;
    private final SimpleStringProperty lastName;
    private Person(String fName, String lName) {
    this.firstName = new SimpleStringProperty(fName);
    this.lastName = new SimpleStringProperty(lName);
    public String getFirstName() {
    return firstName.get();
    public void setFirstName(String fName) {
    firstName.set(fName);
    public String getLastName() {
    return lastName.get();
    public void setLastName(String fName) {
    lastName.set(fName);
         private TableView<Person> table = new TableView<Person>();
         private final ObservableList<Person> data =
         FXCollections.observableArrayList(
         new Person("JACK", "BROWN"),
         new Person("JOHN", "VIANNEYS"),
         new Person("MICHAEL", "NELSON"),
         new Person("WILLIAM", " CAREY")
         public TableClass(Stage owner, boolean modality, String title) {
              super();
              initOwner(owner);
              Modality m = modality ? Modality.APPLICATION_MODAL : Modality.NONE;
              initModality(m);
              setOpacity(1);
              setTitle(title);
              StackPane root = new StackPane();
              Scene scene = new Scene(root, 750, 750);
              setScene(scene);
              GridPane gridpane = new GridPane();
              gridpane.setPadding(new Insets(5));
              gridpane.setHgap(5);
              gridpane.setVgap(5);
              TableColumn firstNameCol = new TableColumn("First Name");
         firstNameCol.setMinWidth(100);
         firstNameCol.setCellValueFactory(
         new PropertyValueFactory<Person,String>("firstName")
         TableColumn lastNameCol = new TableColumn("Last Name");
         lastNameCol.setMinWidth(200);
         lastNameCol.setCellValueFactory(
         new PropertyValueFactory<Person,String>("lastName")
         table.setItems(data);
         table.getColumns().addAll(firstNameCol, lastNameCol);
         table.setOnMouseClicked(new EventHandler<MouseEvent>() {
                   public void handle(MouseEvent me) {
                        if (me.getClickCount() >= 2) {
                   String srr = table.getItems().get(table.getSelectionModel().getSelectedIndex()).getLastName();
                   value = srr;
                   dialog.hide();
         gridpane.add(table, 1, 5,1,20 );
              root.getChildren().add(gridpane);
         public static String showDialog(Stage stg, Boolean a , String title){
              dialog = new TableClass( stg,a, title);
              dialog.show();
              return value;
    }

    Cross posted
    http://www.coderanch.com/t/582014/JavaFX/java/populate-TableView-data-other-screen
    http://stackoverflow.com/questions/10734649/how-to-populate-tableview-data-on-the-other-screen-textfield-in-javafx-2-0
    Moderator advice: Please read the announcement(s) at the top of the forum listings and the FAQ linked from every page. They are there for a purpose.
    Then edit your post and format the code correctly.
    db

  • Can i insert a dropdown selection box for a cell

    Hi,
    I have an exel spreadsheet that contains a dropdown selection box in one cell. allof the other formulae in the sheet work except the drop down. Is this possible in numbers on the ipad?
    Thanks

    Hi Paul,
    Apple vocabulary for this is pop-up menu. In the Mac version of Numbers, it's a cell format, so if it's supported in the iOS version, I suspect you'll find it in the same place as you'd find other ways to format a cell—number, percentage, text, etc.
    I've requested your question be transferred to the iWork for iOS community, where the iPad Numbers experts hang out, and where you'll get a more definitive answer.
    Regards,
    Barry

  • Event for dropdown selection

    Hi.
    I am working on CRM 2007 icwebclient. My requirement is for BP creation either individual or organisation depending on ROLE select mandatory fields are changed.
    If role 'Prospect' is selected then few fields are mandatory or if 'sold-to-party' is selected more fields are madatory..
    Now which event is working behind this dropdown selection. where i have to write my code. How to set fields 'mandatory' at design time. soon reply would be appreciate.

    Hello,
    as this really seems to be a big Issue for people. Thought as developers you might explore my hints on your own.
    For switching the configuration:
    Implement the P-Getter for the attribute on the context node with the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_server_event.
          rv_value = 'my_event'.
      endcase
    This will trigger a roundtrip. We do not need to handle the event.
    In your view controller implementation class redefine the method DO_CONFIG_DETERMINATION:
    METHOD do_config_determination.
    * Switch configuration that is used based on field value.
      DATA:
        lv_value         TYPE              char2,
        lv_object_type      TYPE              bsp_dlc_object_type       VALUE '<DEFAULT>',
        lv_object_subtype   TYPE              BSP_DLC_OBJECT_SUB_TYPE   value '<DEFAULT>',
        lr_node        TYPE REF TO       if_bol_bo_property_access.
      CALL METHOD super->do_config_determination
        EXPORTING
          iv_first_time = abap_false.
      lr_node = typed_context->some_node->collection_wrapper->get_current( ).
      CHECK lr_node IS BOUND.
      lr_node->get_property_as_value(
        EXPORTING
          iv_attr_name = 'SOME_ATTRIBUTE'
        IMPORTING
          ev_result    = lv_value ).
      lv_object_type = 'MY_UI_OBJECT_TYPE'.
      CASE lv_value .
        WHEN 'SOME_VALUE1'.
          lv_object_subtype = 'JIMBOB'.
        WHEN 'SOME_VALUE2'.
          lv_object_subtype = 'BUBBA'.
      ENDCASE.
      me->set_config_keys( iv_object_type          = lv_object_type
                           iv_object_sub_type      = lv_object_subtype
                           iv_propagate_2_children = abap_true ).
    ENDMETHOD.
    Just paste the above coding into the method.
    What it does:
    1. Get the value you want to check from one of the context nodes.
    2. Switch the UI Object type (Yes you have to define it in customizing)
    3. Switch the UI Sub Object type on base of the field value. (Yes you have to define your own sub object type, this is done via a class that is assigned to your UI Object type in customizing)
    For the other solution: As mentioned I have not tried it myself.
    The variable on the view controller I am talking about is CONFIGURATION_DESCR of interface IF_BSP_DLC_CONFIGURATION. It has got a method GET_CONFIG_DATA that will give you the XML stream and a method SET_CONFIG_DATA. Putting the changed XML back.
    If you had done a were used list for at least one of these methods you would have seen how SAP uses them.
    One example: CL_BSP_WD_OVW_VIEWSET->DO_INIT_CONFIG() however this will not help you on your problem.
    I know there is a method that will decode the XML stream in the single fields with their properties and there is also a counter part to it. I am afraid that many people will use it to bypass the configurations. This will make it very hard to debug the coding. Thus I will not name the class/method here!
    For the sake of maintainability please stick to the first method.
    I have seen people getting the XML and then hardcoding another part into it. Then someone changed the config and an error occurs. You try to find out why, but the original developer is no longer there and has not documented anything...
    cheers Carsten

  • From dropdown selection to multiline output

    I'm trying to create pdf -form with Adobe XPro where I'll have several Ship-To addresses. What I would like to have is that the user could select the correct Ship-To party from the dropdown.
    Since the pdf-form dropdowns are only single lines the dropdown selection could only show the name of the company (e.g. COMPANY A) and by selecting the wanted company, this would trigger the whole (multiline) address to pop-up as described below (on another text field is ok if needed)  
    COMPANY A
    Streetaddress 1
    ZIP-1234 City A
    Does anybody have an easy solution for this?

    I have created one sample form for you, please look at attachment.
    The PDF form does exactly what you want.

  • New printer not showing on printer dropdown selection list

    Hi.
    I had a canon MP600 printer that I removed and replaced with Canon MG5350. It prints fine for word/excel but for adobe pdf the new printer does not appear in the select printer list, but the old one still does. I can't print any pdf file and don't have the old printer.
    How can I get the new printer to appear in the list?
    Please do help.
    Thank you

    Morning Steve
    OS is windows 7, and I had no problems with printing other docs, only pdf, but....
    I was searching around other forums and came across this fix, hooray
    https://exploreb2b.com/articles/solving-error-0x00000709-cant-set-default-printer-problem
    However, if the permission is denied, click on edit tab and allow permissions. Then you can delete the device printer.
    Then, I went back to control panel, devices and printers, selece the new printer as default and hip hip hooray.
    Anyone else having problem where the new printer, or indeed a printer doesn't show on the printer dropdown selection list, can try and use the above method. It worked for me.
    Good luck and thanks to ALL.

  • Auto populate fields based on dropdown selection

    New to forms and needing some insight
    Is there a way to auto populate a series of fields based on the selection of a dropdown box
    for instance;
    chosing a customer's name from a dropdown box would auto populate the address, city,state zip etc...

    Yes, but not easy and you do not want to have a large number of items.
    Programming List and Combo fields in Acrobat and LiveCycle forms - Part 1 by Thom Parker

  • Can't get a text field to atuo populate based upon a dropdown selection

    I have a drop down box with 3 values that can be selected:
    Dropdown2 = 101-3 subd.A
                          101-3 subd.B
                          101-3 subd.C
    I am trying to get a text field to auto populate based upon the selection:
    if Dropdown2 = 101-3 subd.A then Text4 = "ValueA"
    if Dropdown2 = 101-3 subd.B then Text4 = "ValueB"
    if Dropdown2 = 101-3 subd.C then Text4 = "ValueC"
    I have tried to create a custom calculation script for Text4:
    var v= getfiled("Dropdown2").value;
    if (v="101-3 subd.A") event.value = "ValueA";
         else if (v="101-3 subd.B") event.value = "ValueB";
         else if (v="101-3 subd.C") event.value = "ValueC";
         else event.value = " ";
    I have entered this script and the syntax appears to be correct.(At least to Acrobat XI.  I'm know programmer and have just enough knowledge to be dangerous).  When I select a value in Dropdown2 nothing happens.  No value appears in Text4.  I have checked the "commit selected value immediately" in the option of Dropdown2 per some google'ing.  I just can not understand why the values do not appear.  Any help would be appreciated.
    Thanks

    I made the changes and added the == to my if statements.  When I select a value in Dropdown2, Nothing appears in Text4.  I don't understand.  Is there something else that I need to do beside event.value="Some Value";?
    I know it has to be something simple that I am missing, but I just can't seem to see it.
    Text4 - Custom Calculation Script:
    var v= getfiled("Dropdown2").value;
    if (v=="101-3 subd.A") event.value = "ValueA";
         else if (v=="101-3 subd.B") event.value = "ValueB";
         else if (v=="101-3 subd.C") event.value = "ValueC";
         else event.value = " ";

  • IC WebClient: Add Dropdown Box to TableView

    Has anyone successfully added a dropdown box inside of a CRM IC WebClient table that uses a context node?  If so, I would appreciate some advice!  I have read Brian's blog about table view iterators, but as usual the application in CRM is slightly different. 
    I'm working with a custom column in the result list (Customers context) on the BuPaSelectCustomer view.  I want my custom column to be editable via a dropdown box.  Here's what I've done:
    1) Created a custom class that implements the IF_HTMLB_TABLEVIEW_ITERATOR interface
    2) Created an attribute of the Customers context class called ITERATOR that is typed as the new class in #1
    3) Added the iterator attribute to the crmic:tableView
    element in the page which points to the attribute defined in #2: iterator = "<%= customers->iterator %>"
    4) Set edit = "TRUE" attribute in the crmic:tableViewColumn element for my new column named 'ZZSLSTATUS'
    5) In the controller class SET_MODELS method:
    * Create iterator for table
      IF NOT iterator IS BOUND.
        CREATE OBJECT iterator TYPE ZCL_CRM_SELCUST_TV_ITERATOR
          EXPORTING
            ir_context_node = typed_context->customers.
      ENDIF.
    The constructor looks like this:
    method CONSTRUCTOR .
      gr_context_node = ir_context_node.
    endmethod.
    6) GET_COLUMN_DEFINITIONS looks like this:
      data: wrapper type ref to cl_bsp_wd_collection_wrapper.
      gv_current_line = 0.
      gv_tableview_id = p_tableview_id.
    * get the wrapper of the context node
      wrapper = gr_context_node->get_collection_wrapper( ).
    * fill the local iterator
      gr_iterator = wrapper->get_iterator( ).
    7) RENDER_ROW_START looks like this:
    * Position on correct index
      gr_iterator->get_by_index( iv_index = p_row_index ).
    8) RENDER_CELL_START looks like this:
    DATA: LT_RECSTAT      TYPE TABLE OF IHTTPNVP,
          LS_RECSTAT      TYPE IHTTPNVP,
          LR_COL_DROPDOWN TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
    FIELD-SYMBOLS: <TABLE> TYPE  TIHTTPNVP.
    * Simple 1 record table for now
      LS_RECSTAT-NAME  = '1'.
      LS_RECSTAT-VALUE = 'Not Called'.
      APPEND LS_RECSTAT TO LT_RECSTAT.
      CASE P_COLUMN_KEY.
        WHEN 'ZZSLSTATUS'.
          IF NOT P_EDIT_MODE IS INITIAL.
    *       Create replacement bee to show a dropdown listbox in the
    *       table cell
            CREATE OBJECT LR_COL_DROPDOWN.
            LR_COL_DROPDOWN->ID                = P_CELL_ID.
            LR_COL_DROPDOWN->NAMEOFKEYCOLUMN   = 'NAME'.
            LR_COL_DROPDOWN->NAMEOFVALUECOLUMN = 'VALUE'.
            TRY.
                CREATE DATA LR_COL_DROPDOWN->TABLE TYPE TIHTTPNVP.
              CATCH CX_SY_CREATE_DATA_ERROR.
                RETURN.
            ENDTRY.
            ASSIGN LR_COL_DROPDOWN->TABLE->* TO <TABLE>.
            IF SY-SUBRC = 0.
              <TABLE> = LT_RECSTAT.
            ENDIF.
            LR_COL_DROPDOWN->SELECTION = GR_CONTEXT_NODE->GET_ZZSLSTATUS(
                                                ATTRIBUTE_PATH = ''
                                                ITERATOR = GR_ITERATOR ).
            P_REPLACEMENT_BEE = LR_COL_DROPDOWN.
          ENDIF.
      ENDCASE.
    Nothing happens to the cells in my column (they still appear as uneditable with their initial values) and my breakpoints aren't hit in the custom iterator class methods when the table is rendered.  Any ideas? 
    Thanks,
    Brad

    Brad or anyone who could help:
    I found this article very useful and tried to follow the samples. I am not very experienced in BSP and I only need to add a column to BuPaSelectCPforCustomer IC webclient tableview.
    Step 1 - done.
    step 2 - I am not sure I did it right. I created a custom class ZCL_CRM_IC_BUPASELCP_CN02 for CONTACTRELATION and added an attribute ITERATOR to the class.
    step 3 I add this to crmic:tableView
       iterator = "<%= CONTACTRELATION->iterator %>"
       but I go compile errors like "Field iterator is unknown".
    Step 4 - skip
    Step 5 - I assume the controller class is the top controller which in my case is ZL_CRM_IC_BUPASELECTCPFOR_IMPL->SET_MODELS. I added this code:
         IF NOT iterator IS BOUND.
         ENDIF.
    I got the same compile errors like "Field iterator is unknown".
    I think I missed something somewhere. I would really appreciate it if you could shed more light on this.
    Thank you so much.

  • How can I make a dropdown box populate with values from other fields?

    I am trying to create a NCAA bracket where they select teams from a dropdown menu. For example, they choose which teams win in game 1 and 2 through a dropdown box. The winner of games 1 and 2 then play each other, so how can I populate the dropbox with their selections for game 1 and 2?
    Game 1 winner --
         (game 9)        |--- Game 9 winner
    Game 2 winner --
    Game 9 winner needs to populate with their selections from game 1 winner and game 2 winner.

    I would look at using the setItems Acrobat JavaScript method.
    Have you considered using  a Mouse Up action for "Game 1" and "Game 2" to fill "Game 9"

  • Population of a dropdown based on another dropdown selection

    Hi,
    I'm trying to develop a form in which a secondary dropdown is populated based on a selection from a primary dropdown.
    The idea behind this is as follows
    The first dropdown is bound to a database.
    From this dropdown a user would select a project.
    This selection would form part of a 'WHERE' clause in a SQL query that would select a list of users involved in the project.
    This list of users would then be used to populate the second dropdown.
    By selecting a user from the second dropdown the database would be queried again and the result used to populate the rest of the form.
    I've seen examples where a single dropdown is used to populate a form but I've been unable to find any code examples in which the result of one dropdown is used to populate a second.
    Can anyone help? Many thanks in advance.

    You can get pretty close out of the box using some configuration manager applet voodoo
    1)First off create a Table that will contain the options for your list. Create the columns e.g. label and id and then also create a column called dSecurityGroup
    2)Add a view based on the table you just created, choose the Security tab and select "Use standard document security"
    3)Add some values to your view - make sure that you populate the dSecurityGroup column with real values of security groups
    4)Once it is all published, have a look at the checkin and search screens. You should find that UCM will evaluate the options in the same way it would documents - based on the dSecurityGroup value you applied to the row - e.g. you will see an option on the search screen if you have at least R permissions, you will see an option on a checkin screen if you have at least RW permission
    Try it out :-)

  • Problem with checkbox selection in Tableview

    Hi All
    I am using table view with 8 columns - in the last 4 columns i have checkboxes for user input - i have a strange problem - when the table has multiple entries - for the last column i can only select the checkbox on line 1 - and i cannot select the checkbox on the remaining entries below - but for the other colums with checkboxes this is not the case
    The selection mode for the table is no line selection - since the table is already displayed with input enabled fields - this is to reduce the no of clicks for user
    Can anyone point out what is going wrong - how can i fix this - what i am doing wrong ?
    Thanks
    Sen

    Hi
    When i click on the checkbox for the 2nd or 3rd rows of the last column - nothing happens - the checkox is still active but nothing happens -
    this is the tableview code
    <htmlb:tableView id              = "Detail"
                     design          = "ALTERNATING"
                     headerText      = "Header Text"
                     onNavigate      = "onMyNavigate"
                     emptyTableText  = "test"
                     onRowSelection  = "onMyRowSelection"
                     fillUpEmptyRows = "false"
                     footerVisible   = "true"
                     visibleRowCount = "5"
                     table           = "<%= DETAILTAB %>"
                     iterator        = "<%= iterator %>" >
    and this is the code for the last column
    <htmlb:tableViewColumn columnName         = "OBSOFLGICON"
                               width               = "3"
                               type                = "user"
                               horizontalAlignment = "CENTER"
                               title               = "Obs" >
          <htmlb:checkbox />
        </htmlb:tableViewColumn>
    Thanks
    Sen

  • How to make a form to submit on the dropdown selection?

    Hi
    I have a form(jsp)that needs to call a servlet when a
    value is selected in the dropdown list.
    Does anyone have an idea on how that can be done?
    Thank you!

    Like this:
    <form name="myform" action="http://myservleturl">
    Select a person:
    <select name="dropdown" onchange="javascript:myform.submit()">
    <option>Dogbert
    <option>Dilbert
    <option>Wally
    <option>Alice
    </select>
    </form>

  • Hide/Show Pages Based On Dropdown Selection

    Hello,
    This one is driving me crazy. In this form (attached) I have 3 checkboxes and based on what is checked, I want to hide the first page and navigate to the 1st checked box. It works for the Web Chat option, but all others do not. Also, on the next button from the Web Chat page, when I click next, I have an alert pop that should only show if Web Chat is the only selection chosen, but it shows no matter how many selections are made from the checkboxes.
    As always, any help is appreciated!

    Hello,
    That took care of the popup issue, but the navigation is still a problem. For some reason choosing any option from the checkboxes and any option from the Type of setup dropdown always brings me to either a blank page or the Web Chat page.
    Thanks for looking into this, hopefully you (or another member) can assist with this issue as well.

  • Shopping cart creation category dropdown selecting the most used category

    Hi SRM gurus,
    While creating a shopping cart one of our most used category gets selected by default before we start doing anything.
    Everytime we have to change the category.
    Is there a way that will become blank and we can select from the dropdown or the find list.
    Kindly suggest.
    We are using SRM component version 4.0, SRM server 5.0, our patch level 0008.
    Thx. & reg.,
    Sridhar.

    Hi
    <b>Yes.. This was happening with us when we used SRM 4.0 version.
    We have used an  BADI Implementation to resolve this issue.</b>
    <u>The BADI name is <b> BBP_F4_READ_ON_EXIT </b></u>
    For Product category -> Product category (attr. WGR, PRCAT)  GET_CATEGORY Method, you need to go ahead.
    <u>Read the documenation of this BADI and you will get the problem resolved after implementing the same.</u>
    Here is the documentation
    BBP_F4_READ_ON_EXIT
    Short Text
    Restrict the Display in Input Helps and Search Helps
    You can use the Business Add-In (BAdI) BBP_F4_READ_ON_EXIT to restrict (or augment) the list of values and favorites that are output in the input and search helps. You can only process data elements for which input helps exist on HTML templates. The following three BAdIs are also available:
    BBP_F4_READ_ON_ENTRY
    Use this BAdI if you do not just want to restrict the favorites and values list but also want to select this yourself.
    BBP_F4_MEM_UPDATE
    BBP_F4_SAVE_DB
    The following three modules are used to process the values per data element:
    BBP_GET_<data element>_F4
    Supplies a list of all values and user-specific favorites. You can influence how this module works using BAdI BBP_F4_READ_ON_ENTRY and BBP_F4_READ_ON_EXIT.
    BBP_UPD_<data element>_FAV
    Updates the favorites in internal function group storage. You can influence how this module works using BAdI BBP_F4_MEM_UPDATE.
    BBP_SET_<data element>_FAV
    Writes the current favorites to the database. You can influence how this module behaves using BAdI BBP_F4_SAV_DB.
    Use
    Only implement this BAdI and only program the appropriate method if you want to restrict or augment the value set of standard selection.
    If you determine favorites using a BAdI, the standard modules do not process the favorites further. Warning: If, deviating from standard selection, you determine the list of favorites yourself using a BAdI, you have to temporarily store the favorites in the methods of the BAdIs and carry out final saving to the database yourself.
    Standard settings
    If data is added via the methods, no check of this data occurs. The check has to occur in the methods themselves.
    The interfaces of the methods of the BAdI are (almost) always the same:
    IV_LANGUAGE
    Language for determination of the texts
    IV_USER
    User for which the values are requested
    ET_<data element>_LIST
    The list of valid values changed by you
    EV_X_FAV_PROCESSED
    Use "X" to stipulate that you have filled the favorites list. Only present if favorites table exists for relevant data element.
    ET_<data element>_FAVOURITES
    Changed favorites list for user IV_USER. Only exists if favorites table exists for relevant data element.
    The methods have to fill the structures of the transfer tables completely. Incompletely filled structures can cause followup errors and unforseen consequences.
    Activities
    Reading of value lists and favorites using function module BBP_GET_<data element>_F4 occurs as follows:
    1. First the BAdI BBP_F4_READ_ON_ENTRY is called. It is possible to fill the input list (and favorites) with default values.
    a) In the case of default values, exactly these values are returned to the initiator. No further processing or check occurs and the module is exited.
    b) If no default values exist, the standard selection is carried out.
    2. Before the values are transferred externally you can restrict or augment the number of hits using the BAdI BBP_F4_READ_ON_EXIT. You can therefore delete entries from or add entries to the input list or favorites list.
    3. BAdI BBP_F4_READ_ON_EXIT provides an individual method for each data element for which an input help and/or favorites table exists. These are listed below.
    If you use this method, you need to indicate processing using the parameter EV_X_LIST_PROCESSED or EV_X_FAV_PROCESSED. Otherwise the selection is lost.
    List of available methods per data element in BBP_F4_READ_ON_EXIT:
    Field/Data element  Method
    Currency    GET_CURRENCY
    Region    GET_REGION
    Country    GET_COUNTRY
    Language    GET_LANGUAGE
    Industry     GET_INDUSTRY
    Academic title    GET_ACADEMIC
    Time zones    GET_TIMEZONE
    Procurement cards   GET_PCARD
    Legal forms     GET_LEGAL
    Format for name format    GET_NAMEFORM
    Quality management systems    GET_QMSYSTEM
    Fixed values    GET_DOMVALUE
    Form of address texts    GET_TITLEKEY
    Units of measure   GET_UNIT
    Bank data    GET_BANKINFO
    Tax number types   GET_TAXNUMT
    Tax numbers per country    GET_TAXTYPE
    Tax groups per tax type    GET_TAXGROUP
    Terms of payment    GET_PAYMTERM
    RFC destinations   GET_RFC_LOGS
    Logical systems   GET_LOGSYS
    Tax codes     GET_TAXCODE
    Catalogs (attribute CAT)   GET_CATALOG
    Roles (attribute ROLE)   GET_ROLE
    Account assignment categories (attribute KNT) GET_KNT_ATTR
    Purchasing organizations (from PdOrg)  GET_PURCHORG
    Purchasing organizations (per company)   GET_PORGCOMP
    Purchasing group (from PdOrg)  GET_PURCHGRP
    Purchasing group (per company)  GET_PGRPCOMP
    Product category (attr. WGR, PRCAT)  GET_CATEGORY
    Products    GET_PRODUCT
    Goods recipient plant (attr. REQUESTER)  GET_GRCPLANT
    Goods recipient user (attr. REQUESTER)  GET_GRCUSER
    Requester (attribute REQUESTER)  GET_BOBUSER
    Cost centers (attribute CNT)   GET_COSTCENT
    Asset classes (attribute ANK)   GET_ASSETCL
    Assets (attribute AN1)   GET_ASSETNO
    Asset subnumbers (attribute AN2)  ET_ASSETSUB
    Network (attribute NET)   GET_NETWORK
    WBS element (attribute PRO)  GET_WBSELEM
    Order (attribute ANR)   GET_ORDERNO
    Customer order (attribute AUN)  GET_SDDOC
    Customer order item (attribute APO)  GET_SDDOCPOS
    Document type (attribute BSA)  GET_DOCTYPE
    Transaction type (attribute TEND_TYPE)  GET_TENDTYPE
    <i>Incase you face any problems, do let me know.</i>
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

Maybe you are looking for

  • How do you change credit card from mc to visa in store?

    Having trouble changing my account info

  • Can't get JInternalFrame to be selected by default

    For some reason the JInternalFrame isn't being selected as default: //Create a new internal frame. protected void newJobFrame() {         EditJobInformationInternalFrame frame = new EditJobInformationInternalFrame();         frame.setVisible(true);  

  • ABAP 4.6C to XML

    Hi! Is it possible to create XML document in version 4.6c without use of Business Connector, just with use of iXML library? Can someone give me some example? Tnx

  • Help, I don't know how to burn a DVD!

    Hello, Not sure where to post this question but I need help with the DVD player part of my computer. It isn't iDVD I'm talking about either. Okay so I own this collection of Billy Blanks DVD's and so I want to burn one of them onto a blank disc. I in

  • Help plz b noir ur the best

    ok my itunes v5 the new one will not open. I have no troubles at all installing it just when i try to open it it says itunes has encountered a problem and needs to close. we are sorry for the inconvenience. Quicktime also does not open and it says qu