How to populate the configurator UI using CIO

Requirement : Based on the user entered string (Basemodel.Option1.Options2.Optiopn3.Options4.Option5) a free text at sales order line. In case of bad line(meaning any one of the options is invalid) the user hits the configurator button and the valid options need to be populated to the configurator UI. As of now i able to populate one value. I am missing some where when i am trying to populate multiple options. Below is the java code which iam using.
I tried using ArrayString and by result set but no luck :( , Please let me know if any one came accross this type of requirement.
//The class CfgExtTest contains two methods, namely displayAttributes and getCountrySelected.
//The displayAttributes accepts a runtime node as a parameter, through which the connection to the database can be established.
//Once a connection is established, the getCountrySelected method can be used to obtain the value entered in the DFF for the Order Header Id.
//The java code also selects the option from an Option Feature which matches the option selected in the DFF.
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.StringTokenizer;
public class Configtestui {
public void displayAttributes(IRuntimeNode irn){
               Configuration config = irn.getConfiguration();
               InformationalMessage iMsg1 = new InformationalMessage("config---->"+config, irn);
          ConfigTransaction tr = config.beginConfigTransaction();
          InformationalMessage iMsg2 = new InformationalMessage("ConfigTransaction---->"+tr, irn);
String country= getCountrySelected(irn);
InformationalMessage iMsg3 = new InformationalMessage("getCountrySelected---->"+country,irn);
          IRuntimeNode udcc = irn.getChildByName("Select Monitor");//Select Hard Drive
          IOption option = (IOption)udcc.getChildByName(country);
          catch(Exception e)
          Configuration conf = irn.getConfiguration();
          ConfigTransaction trans = conf.beginConfigTransaction();
               InformationalMessage iMsg = new InformationalMessage("Exception caused while reading property - First", irn);
               catch(Exception ee){
catch (Exception le){
     public String getCountrySelected(IRuntimeNode baseNode)
          Connection conn = baseNode.getConfiguration().getContext().getJDBCConnection();
          PreparedStatement pStmt = null;
          ResultSet rs;
          String UDC=null;
          String sql = "select ATTRIBUTE2 from cz.CZ_CONFIG_ATTRIBUTES" ;//"select attribute2 "+ "from oe_order_headers_all ooha ";//+ "where ooha.header_id ="+orderid;
          pStmt = conn.prepareStatement(sql);
          rs = pStmt.executeQuery();
          if (
               UDC = rs.getString(1);
                    // Close database cursors.
          catch(Exception e){
          return UDC;

Hi Pankaj,
Thanks a lot for your reply. I am very new to java and configurator extensions.
There is an option feature "Select hard drive" on UI and 2GB ,10GB , 20GB are my options.
I am trying to select 2GB on the UI. Iam fetching this value from a table '"Select selection from xxcz.TEST_CONFIG"' using this query.(below is my code)
<some part of code where iam fetching the question and selecting its option >
IRuntimeNode udcc = irn.getChildByName("Select Hard Drive");
IOption option = (IOption)udcc.getChildByName(country);
My requirement i have multiple options from different questions to select in UI.. Can i select directly option ( as in my example 2GB) ? PLease let me know you thougths on this.
-------------------------- Entire code ---------------------------------
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.StringTokenizer;
public class CreateConfig {
     public void displayAttributes(IRuntimeNode irn){
     Configuration config = irn.getConfiguration();
          InformationalMessage iMsg1 = new InformationalMessage("config---->"+config, irn);
          ConfigTransaction tr = config.beginConfigTransaction();
          InformationalMessage iMsg2 = new InformationalMessage("ConfigTransaction---->"+tr, irn);
String country= getModelOptions(irn);
InformationalMessage iMsg3 = new InformationalMessage("getCountrySelected---->"+country,irn);
          IRuntimeNode udcc = irn.getChildByName("Select Hard Drive");
          IOption option = (IOption)udcc.getChildByName(country);
          catch(Exception e)
          Configuration conf = irn.getConfiguration();
          ConfigTransaction trans = conf.beginConfigTransaction();
               InformationalMessage iMsg = new InformationalMessage("Exception caused while reading property - First", irn);
               catch(Exception ee){
catch (Exception le){
public String getModelOptions(IRuntimeNode baseNode)
          Connection conn = baseNode.getConfiguration().getContext().getJDBCConnection();
          PreparedStatement pStmt = null;
          ResultSet rs;
          String UDC=null;
          String sql = "Select selection from xxcz.TEST_CONFIG" ; // < Here iam getting value 2GB one of the option under 'Select Hard Drive'
          pStmt = conn.prepareStatement(sql);
          rs = pStmt.executeQuery();
          if (
          UDC = rs.getString(1);
          catch(Exception e){
          return UDC;

Similar Messages

  • How to load the boot menu using the command line , after the configuration change ?

    how to load the boot menu using the command line , after the configuration change ?

    Hi @Bask-48 
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp you are trying to change the boot order.  Here is a link to Configuring the Boot Order in the System BIOS
    that will assist you.
    Good Luck and Happy Holidays!
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • How to populate the time component of a cube?

    We have a question regarding how to populate the time component of a cube. Let me explain:
    We are using OWB 10gR2. We have created a cube with several dimensions. We are now building the mapping to load the cube. The cube operator has two columns for every dimension (e.g., "customer" and "customer_id" for the "customer" dimension).
    We understand that, in this case, "customer_id" stands for the dimension business key, so we create an arrow from the business key in the source table to the "customer_id" column in the cube operator.
    So far so good. The mapping works all right, and the cube is loaded correctly.
    Now we need to do the same for the time dimension. We have already created the time dimension and we have loaded it. We have also included it in the cube, so now we have two new columns in it: "time_day_code" and "time", both NUMBER data type.
    We have the "sale_date" column (DATE data type), in the source system and, of course, now we want to populate the date column in the cube. We suppose that, somehow, we have to translate the "sale_date" field into the numeric column of the surrogate key of the time dimension. How should do we do this? I suppose that OWB must do the translation for us, just as it does for the other dimensions, but how? We have been looking into the manuals, and we have found no explanation on how to go about this.
    Any help would be appreciated.
    Best regards
    Juan Algaba

    Hi Juan
    You are right this should have been in the manuals, checked and there is only a brief mention (Using a Time Dimension in a Cube Mapping section)
    The identifier format should have been documented for each level and will involve creating the formatted attribute for input to the cube operator's time dimension reference attribute.
    The time dimension business keys are stored as follows;
    Day Level - YYYYMMDD
    Month Level - YYYYMM
    Week Level - YYYYWW
    Quarter - YYYYQ
    Year - YYYY
    If you have a source that has a SQL date datatype for example and want to construct the key for a cube's time dimension at the day level something like the following expression can be used to construct the time reference from a SQL date...
    to_number(to_char( time_key, 'YYYYMMDD'))
    The result of this expression can be used as input to the cube's time dimension attribute.

  • How to populate the Zfield in info cube

    Dear All,
    This the data in the infocube 0sd_c03
    0material          0sold_to          Truck No          Zfield Need to update
    3000          TESTING          2199          1
    HSD BS II          OMC          2198          1
    HSD BS II          TESTING          2201          3
    3000          TESTING          2201          3
    HSD BS II          OMC          2200          2
    3000          TESTING          2200          2
    I need the logic to be build is
    For one Truck no, if sold to and material are unique then i need to update a flag (Zfield) as 1
    For one Truck no, if sold to is one and for 2 different materials then i need to update the flag (Zfield) as 2
    For one Truck no, if sold to are 2 and for 2 different materials then i need to update the flag (Zfield) as 3
    is it possible to do if so please let me know how to populate the same. please give me some idea about the coding
    if you have any doubts please ask

    Hi Venu,
    You can use Virtual Characteristics are characteristics whose values will be derived during query time.
    0INFOPROV will be found in data package dimension.
    Check below link:
    Virtual characteristic

  • How to Populate the JTable Object programatically with SQL Results

    I'm wondering if someone could help me on how to populate the JTable Object with SQL Results wherein the Row of tjhe JTable object is automatically adjusted depending on how many records you have queried.
    Thanks in advance and God bless! (",)
    * Created on October 4, 2006, 6:15 AM
    package tds;
    import java.awt.Toolkit;
    import javax.swing.JFrame;
    import javax.imageio.*;
    import javax.swing.JFrame;
    import java.sql.*;
    import javax.swing.table.DefaultTableModel;
    * @author Dexter.Carlit
    public class frmMain extends javax.swing.JFrame {
    private Connection connection = null;
    private DefaultTableModel model;
    /** Creates new form frmMain */
    public frmMain() {
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
    jSplitPane = new javax.swing.JSplitPane();
    jScrollPane1 = new javax.swing.JScrollPane();
    jPanel3 = new javax.swing.JPanel();
    jScrollPane2 = new javax.swing.JScrollPane();
    jTree1 = new javax.swing.JTree();
    jTabbedPane1 = new javax.swing.JTabbedPane();
    jPanel1 = new javax.swing.JPanel();
    jPanel4 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jLabel2 = new javax.swing.JLabel();
    jTextField1 = new javax.swing.JTextField();
    jTextField2 = new javax.swing.JTextField();
    jLabel3 = new javax.swing.JLabel();
    jTextField3 = new javax.swing.JTextField();
    jLabel4 = new javax.swing.JLabel();
    jTextField4 = new javax.swing.JTextField();
    jPanel5 = new javax.swing.JPanel();
    jScrollPane3 = new javax.swing.JScrollPane();
    jGrid = new javax.swing.JTable();
    jButton1 = new javax.swing.JButton();
    jButton2 = new javax.swing.JButton();
    jProgressBar1 = new javax.swing.JProgressBar();
    jPanel2 = new javax.swing.JPanel();
    setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    addWindowListener(new java.awt.event.WindowAdapter() {
    public void windowOpened(java.awt.event.WindowEvent evt) {
    org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
    .add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 916, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    .add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 410, Short.MAX_VALUE)
    jLabel1.setText("First Name:");
    jLabel2.setText("Last Name:");
    jLabel3.setText("Position :");
    jPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder("Search Results"));
    jGrid.setModel(new javax.swing.table.DefaultTableModel(
    new Object [][] {
    new String [] {
    "LName", "FName", "Position", "Department", "Office No", "Local No", "Office Mobile No", "Home No", "MobileNo", "Email Address"
    org.jdesktop.layout.GroupLayout jPanel5Layout = new org.jdesktop.layout.GroupLayout(jPanel5);
    .add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 386, Short.MAX_VALUE)
    .add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 175, Short.MAX_VALUE)
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(java.awt.event.MouseEvent evt) {
    jButton2.addMouseListener(new java.awt.event.MouseAdapter() {
    public void mouseClicked(java.awt.event.MouseEvent evt) {
    org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);
    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel4Layout.createSequentialGroup()
    .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4Layout.createSequentialGroup()
    .add(jTextField1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 343, Short.MAX_VALUE))
    .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4Layout.createSequentialGroup()
    .add(jTextField2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 343, Short.MAX_VALUE)
    .add(1, 1, 1))
    .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4Layout.createSequentialGroup()
    .add(jTextField3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE)
    .add(jTextField4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE))
    .add(jButton1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 66, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
    .add(jButton2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 66, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
    jPanel4Layout.linkSize(new java.awt.Component[] {jButton1, jButton2}, org.jdesktop.layout.GroupLayout.HORIZONTAL);
    .add(18, 18, 18)
    .add(16, 16, 16)
    .add(14, 14, 14)
    .add(jButton2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .add(jButton1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    .add(jPanel5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
    .add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .add(org.jdesktop.layout.GroupLayout.LEADING, jProgressBar1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 438, Short.MAX_VALUE))
    .add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
    .add(jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
    .add(jProgressBar1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
    jTabbedPane1.addTab("Search", jPanel1);
    org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
    .add(0, 458, Short.MAX_VALUE)
    .add(0, 401, Short.MAX_VALUE)
    jTabbedPane1.addTab("Directory", jPanel2);
    org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
    .add(jSplitPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 675, Short.MAX_VALUE)
    }// </editor-fold>//GEN-END:initComponents
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
    private void jButton2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton2MouseClicked
    jGrid.setModel(new javax.swing.table.DefaultTableModel(
    new Object [][] {
    {null, null, null, null, null, null, null, null, null, null},
    {null, null, null, null, null, null, null, null, null, null},
    {null, null, null, null, null, null, null, null, null, null},
    {null, null, null, null, null, null, null, null, null, null}
    new String [] {
    "LName", "FName", "Position", "Department", "Office No", "Local No", "Office Mobile No", "Home No", "MobileNo", "Email Address"
    private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton1MouseClicked
    try {
    //Load and register SQL Server driver
    //Establish a connection
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://X.X.X.X:1433","MyAccount","MyPassword");
    //Create a Statement object
    Statement sql_stmt = connection.createStatement();
    //Create a ResultSet object, execute the query and return a
    // resultset
    ResultSet rset = sql_stmt.executeQuery("SELECT * FROM EpxDirectory..Directory Order By LName");
    // Populates a JTABLE Object
    int i=0;
    while ({
    String LName = rset.getString(1);
    String FName = rset.getString(2);
    String Position = rset.getString(3);
    String Dept_Code = rset.getString(4);
    String OffPhoneNo = rset.getString(5);
    String LocalNo = rset.getString(6);
    String OffMobileNo = rset.getString(7);
    String HomePhoneNo = rset.getString(8);
    String MobileNo = rset.getString(9);
    String Email = rset.getString(10);
    //Close the ResultSet and Statement
    //Close the database connection
    System.out.println(Integer.toString(i) + " rows found");
    } catch(Exception e) {
    System.out.println("Failed to connect; Please view Stack Trace");
    private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowOpened
    public static void run(){
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    frmMain frmMain = new frmMain();
    frmMain.setLocationRelativeTo(null); // Center the JFrame on the
    private void exitApplication() {
    // try {
    // //gui.putStatus("Closing the connection....please wait.....");
    // if(connection != null) {
    // // connection.close(); //Closing the connection object.
    // } catch(SQLException ex) { //Trap SQLException
    // //gui.putStatus(ex.toString());
    System.exit(0); //Exit the aplication
    * @param args the command line arguments
    public static void main(String args[]) {
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JTable jGrid;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JProgressBar jProgressBar1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JSplitPane jSplitPane;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JTextField jTextField4;
    private javax.swing.JTree jTree1;
    // End of variables declaration//GEN-END:variables

    Use code tags.
    Don't mix GUI and JDBC together. Split them out into separate classes.
    You have a good start, but you will need to loop through your resultset and also pull the ResultSet metaData for you column headings

  • How to populate the Quering data into Excel sheet in Oracle

    Dear Guys,
    How to populate the Quering data into Excel sheet in oracle.
    Please provide a solution.
    Thanks & Regards,
    Senthil K Kumar

    To make Excel sheets from sqlplus, you can use the markup html tag in sqlplus.
    Here's an example.
    SPOOL c:\test_xls.xls
    SELECT object_type
    , SUBSTR( object_name, 1, 30 ) object
    , created
    , last_ddl_time
    , status
    FROM user_objects
    ORDER BY 1, 2

  • How to populate the attribute of the characteristics in Contract?

    Hi Experts,
       I need to populate the attribute "Truck Net Value" of the characteristics during the Contract creation with reference to Sales Order. Brief description of the scenerio:
               We are using  a variant material in the Sales Order. This material has different attributes which the end user need to populate during the SO creation. Now I have to create a Contract with reference to Sales Order. While creating the Contract with reference to Sales Order I want to populate the attribute "Truch Net Value" of the Sales Order with some value and update the Sales Order.  So to update the attibute of the Sales Order during Contract Creation. Is there any function module that I can use for this purpose? I know where to write the code in the standard program? But I don't know how to populate the attibute?

    Welcome to SCN!!!
    After the contract is created, you can call the BAPI BAPI_SALESORDER_CHANGE along with COMMIT to change the order texts. Alternatively you can use FMs SAVE_TEXT and COMMIT_TEXT to change any kind of texts.
    You can check the parameters to be passed by placing the breakpoints in these FMs, change and save the text manually from VA02 in the sales order.

  • How to populate the organization_code column in ST table for legacy system

    Hi, dear all,
    Now I use the stage table to load the setup&transaction collection data from a non-EBS legacy system to ASCP system.
    My question is: how to populate the organization_code column in the stage table?If the source system is EBS system, maybe it's an inventory organization code. But for the non-EBS system, which value is need fo this field? keep it as blank? or assign some value for it?
    Edited by: 852938 on 2011-5-4 下午10:24

    I find some words in the implementation guide, it says:"To collect data from your non-Oracle ERP systems or your trading partners' systems,you model each non-Oracle ERP system or trading partner as an Oracle Applications organization and store their setup and transaction data there".
    But I can't find where to model the application organization for the legacy system.
    anyone can give some clues? Thanks in advance.

  • How to populate the data in LISTBOX   of Dialog programming

    Hi All,
    I know how to create a Listbox in Modulepool programming, But i do n't know how to populate the data in LISTBOX. Does anyone knows , please help me ?
    Thanks in advance

    u need to write this after all modules of PAI in screen flow logic
      FIELD ifmtp-form_type MODULE fm_drop.
    MODULE fm_drop INPUT.
      CLEAR ifmtp.
      REFRESH ifmtp.
      ifmtp-form_type = 'C'.
      APPEND ifmtp.
      ifmtp-form_type = 'F'.
      APPEND ifmtp.
      ifmtp-form_type = 'H'.
      APPEND ifmtp.
      ifmtp-form_type = 'D'.
      APPEND ifmtp.
          retfield  = 'FORM_TYPE'
          value_org = 'S'
          value_tab = ifmtp.
      IF sy-subrc <> 0.
    ENDMODULE.                 " fm_drop  INPUT
    here ifmtp-form_type is my list box field on screen in which ifmtp is my internal table and form_type is my field name
    i have declared internal table like
    DATA : BEGIN OF ifmtp OCCURS 0,
              form_type LIKE zform_track_mast-form_type,
           END OF ifmtp.
    reward if useful...

  • How to populate the fieldnames in the receiver file

    HI All,
    i got one requirement ie how to populate the fieldnames in the receiver file.
    please give the fast response.
    This is very urgent.
    thanks and regards

    Refer the below help link
    If you want to poulate the fieldnames same as of u r XML strucutue in the receiver file give like
    Record.addHeaderLine --- 1
    If you want to populate Header FieldNames as you own, give like
    Record.addHeaderLine --- 3 and add one more parameter
    Record.headerLine -- give the field names how you want to populate by using the  , 'comma' separator.

  • How to populate the Language Key description is not available

    Question: How to populate the Language Key description is not available in the Customer text table
    The problem is ;
    Customer no : 0012345
    For this Customer no description is maintained only in EN, JA ,FR from R3 side.
    EN : HP International Ltd
    JP:HP &#12398;&#22269;&#38555;&#30340;&#12394;&#26666;&#24335;&#20250;&#31038;
    FR: Ltd International de HP
    There is no value for Language ES.
    BW side:
    User is login into language Key ES and executing the report based on this Customer no. There is no Customer text value maintained in language Key ES. It should populate the text value empty. BW system - Language ES is installed.
    I have a Reporting requirement is - I need to populate the text value for this customer No: HP International Ltd when the user login to language Key ES and execute his reports.
    /BI0/TCUSTOMER – Customer text table – I am able to see the description for the EN, JP, FR text values.
    EN: HP International Ltd
    JP: HP &#12398;&#22269;&#38555;&#30340;&#12394;&#26666;&#24335;&#20250;&#31038;
    FR: Ltd International de HP
    If the Customer text is not available in the text table of customer for language key ES - I have to populate the any one of the existing customer text values into the language key ES - example
    0012345 ES  HP International Ltd
    Simplest solution if we maintained ES customer description in R/3 should be ok.
    Is their any other logic which I can implement in BW.

    If you are opting to load Customer Text, there are two options:
    1. R/3 maintained.
    2. Generic Extraction using Flat Files.
    Hope it helps..

  • How to Populate the Dropdown from the xml file ?

    According to my requirement, Drop down has to be populated in a form, on selecting an element in the first drop down list, corresponding second drop down values has to be loaded dynamically.
    I am using the ReferenceData file, which consists of the Dropdown list values in the form of Key,Value pair. I can able to populate one drop down,but I don't know how to populate the second dropdown dynamically.
    can any one please help me to finish this task.

    Thanxs john.
    My requirement is onChange of a value from the first drop down, particular values needs to load in the second drop down. Values that needs to pull are designed in XML Object as Map entries Key,Pair Values.
    I already did all the things, what you have told.But,I don't know How to populate the second drop down, and where to write the condition.
    If u don't mind can u send me the sample code to check the condition.

  • How to populate the calculated value into screen field.

    I am doing one enhancement in QM.I have added one custom screen to notification transaction ( QM01/QM02/QM03) transaction tab strip control using the enhancement QQMA0001.The Details of the calling and called screens as shown bellow
    The Calling screen: SAPLIQS0
    Screen Number: 7790
    Screen Area :USER0001
    Called Screen: SAPLXQQM
    Screen Number: 0101
    I have developed the Custom Screen in screen 0101 and called in PBO of program SAPLIQS0 7790 screen.
    The Screen in calling perfectly .The Custom screen having different fields like Raw cost, Intermediate cost, Finished cost, SCAR Cost and Sales Order Cost Etc... These fields are out put filed types. No input for these screens.. I have few doubts regarding this
    How to populate the calculated values in Custom screen?
    Where we wrote the code to populate the calculated values in custom screen?
    You have any idea please guide me
    Thanks & Regards,

    As your screen fields should be global variables in SAPLXQQM, you may initialize them by implementing function module EXIT_SAPMIWO0_008 which also belongs to SAPLXQQM (Customer Exit: Transfer Notification Data to User Screen)

  • How to set the 'Configuration Bits' in the PIC16F84

    I am using the PIC16F84 in a circuit and I'm programming the assembly for the PIC.  However I can't figure out how to set the configuration bits.  For example I want to select the LP Oscillator, turn the WDT off, turn the PUT on, and turn the CP off.  Normally if I was using the IDE from Microchip I would add the line:
    _CONFIG H'3FF0'
    However Multsim does not recognize this as a valid code.  In addition the file contains the following definitions:
    _CP_ON                       EQU     H'000F'
    _CP_OFF                      EQU     H'3FFF'
    _PWRTE_ON                 EQU     H'3FF7'
    _PWRTE_OFF                   EQU     H'3FFF'
    _WDT_ON                      EQU     H'3FFF'
    _WDT_OFF                     EQU     H'3FFB'
    _LP_OSC                      EQU     H'3FFC'
    _XT_OSC                      EQU     H'3FFD'
    _HS_OSC                      EQU     H'3FFE'
    _RC_OSC                      EQU     H'3FFF'
    What is the code though to select which options you want to use?

    Try this code:
    I tried this in the assembler and it didn't return any error messages when compiling. I found this in a PIC Book that I downloaded off the internet.
    I hope it works for you. I am new to the MCU Module and learning about it so don't consider me an expert on it by a long shot.
    Have A Nice Day
    Kittmaster's Component Database
    Have a Nice Day

  • How to extract the data by using function module?

    hi experts,
    what are the steps i have to fallow to extract the data from R/3 by using FUNCTION MODULE.
    thanks & regards

    Extracting data from R/3 extract structure thru function modules
    You can proceed with create function module using SE37, thereu2019s sample in system RSAX_BIW_GET_DATA_SIMPLE,
    You need to know the logic how to populate the structure,
    after that RSO2, create datasource specify extract structure and
    function module,
    activate and replicate to bw.

Maybe you are looking for

  • Application window not working, must go to dock

    I am having a strange thing happen both on my mac at home and my one at work. Sometimes when I click on the application window, it will not come forward. I have to go to the dock and click on it to select it. This happens quite a bit in the print dia

  • How to use GPS with google maps in ios 6.01

    How to use GPS with google maps in ios 6.01

  • Programs not closing/opening DirectoryService problem?

    Hi all, all of the machines we're testing using 10.6.2 are experiencing the same problem at intermittent intervals of failure to launch and close various programs,, safari, terminal, finder windows, etc. When this happens even external ssh connection

  • Binary word control?

    I've come across this more than one time, so I thought I'd ask if there was a simple way to do it. I have old test software that used binary word inputs in the procedures to access memory registers, input control words, etc. for processor based opera

  • Need Advise on Setting Critical Metric Threshold  for "Status"

    Hi All, I am trying top copy all metric thresholds from OEM 9i to 10G. I ran across the metric threshold for "Status" (whether the node is up or down). It is set to "Down" and, although I'd like to set it to "Up/Down", when I hit Continue it comes ba