How to create Data Element TPLNR

Hello
I want to use TPLNR to create data element in Operating Concern but I am not able to because of length of TPLNR (30) in Operating Concern we can create data element only upto 18 char. If i want to create new data element YTPLNR.
I did following steps
1. SE11
2. Data Element
3. and settings of particular data element what ever is required.
My question is how can I use YTPLNR as characteristic as same value of TPLNR. I want all data that is available in TPLNR. I am creating new element because of data length issue.
Table: IFLOT has data element TPLNR. I want all information of TPLNR in YTPLNR how it is possible to use that info in that.
I tried to create user defined characteristics for operating concern
i want to use with reference to existing value option in user define
How can I do that
thank you

Hi,
just a small addition for the Binary Search: The table must be sorted by the field(s) you are looking for:
Symbolic code:
read table <itab> with key <field> = <value> binary search.
will take a record in the middle of the internal table first. If <field> < <value> the next try will be in the middle of the first half and the same procedure is repeated until the searched record is found or not found.
If the table is not sorted correctly, you will probably miss the matching records.
The fastest way is to use HASHED tables with unique key. The binary search will take more time when the table grows; hashed table access is (nearly) stable.
Regards,
Clemens

Similar Messages

  • Create DATA ELEMENT with passing Parameter

    Dear All,
         When we create the Data elementt in tcode SE61, normally we will write the text inside the text area.  How about can we  pass the paramater to the data element in tcode SE61 ?
      Example i pass the parameter with the text  "Tesing 123" , so the Data element will display Testing 123 when being called. The text flexible.
    Thank

    Hello
    I want to use TPLNR to create data element in Operating Concern but I am not able to because of length of TPLNR (30) in Operating Concern we can create data element only upto 18 char. If i want to create new data element YTPLNR.
    I did following steps
    1. SE11
    2. Data Element
    3. and settings of particular data element what ever is required.
    My question is how can I use YTPLNR as characteristic as same value of TPLNR. I want all data that is available in TPLNR. I am creating new element because of data length issue.
    Table: IFLOT has data element TPLNR. I want all information of TPLNR in YTPLNR how it is possible to use that info in that.
    I tried to create user defined characteristics for operating concern
    i want to use with reference to existing value option in user define
    How can I do that
    thank you

  • How to display data elements in the tempalte header

    Hello friends
    i've this date_from and date_to parameters which are date parameters that user enters..
    based on these date parameters I want to display them in the header as
    day of date_from(for example if the date_from is 13-nov-2010.then I should display 13)and for date_to it should dispaly as 15 if for example the user enters
    16-nov-2010.(date-1's day)
    so it should break down to
    date_from-13-nov-2010, 13
    date_to- 16-nov-2010, 15
    I want these two values to be displayed in the header of the template how to do this
    pls help
    also let me know how to display data elements in the template header
    Edited by: erp on Dec 22, 2010 12:44 AM

    Hi Ananth..Thanks for ur timely reply
    Can I use it with <? substring(':date_from',1,2)?>
    where date_from is an input parameter which user enters at the run time of the report.
    I've to capture the date entered by the user and print it in the header..
    Pls reply

  • How to create cost element in controlling

    how to create cost element in controlling for Direct meterail.
    i have to create for each materail or on rm consumption is enough
    please give me replay
    thanks

    Hi Nagaraju,
    First you create the required account as cost element through FS00 and select your gl account and edit cost element and give 1 in cost element category.
    Afterwards in OKB9 You create the cost element whether it is required for Bus Area mandatory, profit centre mandatory and Valuation area is mandatory.  Based on your selection you have to assign 1, 2 or 3.  Ex. You have selected for consumption account profit centre is mandatory.  You give 3.  and you have to assign the cost centre against profit centre.  Then automatically your consumption will post to the cost centre.
    BSR

  • How to create data stores in ODI ?

    Hi all,
    I am new to this ODI part.Can anyone please help me as how to create data stores in ODI.
    A prompt reply will be highly aprreciated.
    Thanks
    Saurabh.

    What do you mean by "create datastores"?
    If you mean you want to reverse engineer existing tables from a database, then the phrase used in the ODI docs is "reverse enginnering". If you mean to create new tables in a database, then:
    1) ODI is not meant to be a database design tool.
    2) Using the "diagrams" node under a data model, you are able to use the "Common Format Designer" (CFD) tool to design and create the structure. The CFD tool is a simple ER-digram tool, but importantantly, if you drag structures in from one model to another, it remembers where it came from, allowing automatic generation of interfaces, and it automatically translates the data types.

  • Oracle Lite: How to create data subsetting parameters?

    I need to know:
    how to create data subsetting parameters?
    I need these parameters for use of a restricting predicate in an item publication.
    I were looking the forum and i found topics about "how to set?" but i don't found how to create a data subsetting parameter.
    I am replacing SQL server 2000 and SQL server CE by oracle 9i and oracle lite 5.0.2.
    Thanks in advance.
    PCID

    Had problems with the parameters shown on pages webtogo in the datasubsettings section because none of them were "defined", but in sections 1.4.1.2 I found these lines:
    Template: select * from master.task where CustCity = :city
    Then click OK. This brings you back to the previous screen. The template query contains a variable (subscription parameter) named "city". Later, when you provision the application to a user, you will be prompted to enter the value for it.
    I found out how to put a parameter to restrict registries that download to the pocket pc from each user.
    Thank you very much!!!

  • How to create data transfer and copying requirements

    Hi Gurus,
    Can you tell me how to create data transfer and copying requirements in copying control for SD?
    Thanks,
    pAUL

    Hi John,
    Go to Transaction code - VOFM.
    In the menu select Data Transfer and select where you want maintain the copying requirements i.e. at the order level, delivery level etc.
    Here, you can either create a new routine or change the existing routine according to your requirement.
    Make sure you activate the routine (click on Edit - Activate from menu) once you are done with the routine.
    REWARD POINTS IF HELPFUL
    Regards
    Sai

  • Urgent help: how to create data source for Weblogic RMI driver

    Hi,
    Please let me how to create data source for Weblogic RMI driver using Administrator
    console.
    I understand that the following steps are required:
    1.Create connection pool for the RMI driver by specfiying URL as
    jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver. Now
    comes the problem.. what do put in properties text area? I am
    talking about key/value pairs required?
    2. Having done step 1 ( which I was not able to do) , create a new DataSource
    mapping to the connection pool created from step 1.
    How to accomplish step 1 ? I want to finally connect to Oracle
    database. Please help me.
    pradeep bhat

    DataSource will internally do that for you (It will use RMI internaly) . You
    dont have to worry about the details of using RMI driver. Thats what is a
    DataSource is for.
    sree
    "pradeep bhat" <[email protected]> wrote in message
    news:[email protected]...
    Hi Sree,
    What u have written is abt configuting Datasource for type 2 and
    4 drivers.
    But I want to know how to create data source for RMI driver. If
    I map this datasource to connection pool that is created for
    type 2 or 4 drivers, i don't understand why RMI drivers are
    required in first place. If i do map the data source to connection pool
    created
    for type 2 or 4 drivers then where i
    would not have used the URL as jdbc:weblogic:rmi and Driver as
    weblogic.jdbc.rmi.Driver.
    Hope u will help me.
    pradeep bhat
    "Sree Bodapati" <[email protected]> wrote:
    Hi Pradeep
    To create a connection pool you have to use a database driver not RMI
    driver. So use a thin driver or the WebLogic jDriver for Oracle to setup
    your connection pool. Once the connection pool is created you can create
    a
    DataSource and use this datasource to connect to the database.
    The RMI driver can be used to get connections from the database via the
    connection pool and in that case you dont need a datasource. Recommended
    approach is to use a DataSource.
    hth
    sree
    "PRADEEP BHAT" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    Please let me how to create data source for Weblogic RMI driver using
    Administrator
    console.
    I understand that the following steps are required:
    1.Create connection pool for the RMI driver by specfiying URL as
    jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver. Now
    comes the problem.. what do put in properties text area? I am
    talking about key/value pairs required?
    2. Having done step 1 ( which I was not able to do) , create a new
    DataSource
    mapping to the connection pool created from step 1.
    How to accomplish step 1 ? I want to finally connect to Oracle
    database. Please help me.
    pradeep bhat

  • Urgent help: how to create data source for Weblogic T3 driver

    Hi,
    Please let me how to create data source for Weblogic T3 driver
    using Administrator console.
    I understand that the following steps are required:
    1.Create connection pool for the RMI driver by specfiying URL
    as jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver.
    Now comes the problem.. what do put in properties text area?
    I am talking about key/value pairs required?
    2. Having done step 1 ( which I was not able to do) , create a
    new DataSource mapping to the connection pool created from
    step 1.
    How to accomplish step 1 ? I want to finally connect to Oracle database. Please
    help me.
    pradeep bhat

    Hi,
    Please let me how to create data source for Weblogic T3 driver
    using Administrator console.
    I understand that the following steps are required:
    1.Create connection pool for the RMI driver by specfiying URL
    as jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver.
    Now comes the problem.. what do put in properties text area?
    I am talking about key/value pairs required?
    2. Having done step 1 ( which I was not able to do) , create a
    new DataSource mapping to the connection pool created from
    step 1.
    How to accomplish step 1 ? I want to finally connect to Oracle database. Please
    help me.
    pradeep bhat

  • HOW TO CREATE DATA SOURCE FOR MAXDB

    hi,
    i am using hibernate in NetWeaver with maxdb.
    i have to give datasource name in hibernate.cfg.xml
    but i do't know how to create datasource for maxdb.
    please help me.
    Thanqqqqqqqq
    Guru

    The following link gives u how to create data source
    http://dev.mysql.com/doc/maxdb/en/84/1d733cefd63c38e10000000a114084/content.htm

  • How to create an element in component controler

    Hi Experts,
    I need to validate the data of a model node in component controler and add those validated records in other value node.  For that I need to write a loop where in i can repeat the records for validation.
    How can i create the element in the loop ?  I tried with below code as we do in View controler , but ! this is not allowing in compoent controler. Is there any way to do this ?
    IPrivateFinalTRAView.IFirstOutputElement FFM = wdContext.createFirstOutputElement();
    Regards,
    Suresh

    Hi,
    i am trying to copy all the resords from a model node to the value node which is available in the component controller,.
    after executing the model i am doing this copy operation, for the requirement i ahve converted some of the data into STRING type.
    int SalHistSize = wdContext.nodePt_Salhistory().size();
    // Populate Salary_History Table
    ArrayList arlQuotaTable = new ArrayList();
    // Creating the element for our Salary History Node
    IPublicFcCompHistory.ISalary_HistoryElement objsalhistnode = null;
    if(SalHistSize > 0){
    for (int k=0;k<SalHistSize;k++) {
    IWDNodeElement elementSalHist = wdContext.nodePt_Salhistory().getElementAt(k);
    objsalhistnode = wdContext.createSalary_HistoryElement();
    objsalhistnode.setAction_Date(elementSalHist.getAttributeValue("Action_Date").toString());
    objsalhistnode.setAction_Reason(elementSalHist.getAttributeValue("Action_Reason").toString());
    objsalhistnode.setAction_Type(elementSalHist.getAttributeValue("Action_Type").toString());
    objsalhistnode.setAnnual_Salary(elementSalHist.getAttributeValue("Annual_Salary").toString()+"  (CAD)");
    objsalhistnode.setCompensation_Sal(elementSalHist.getAttributeValue("Compensation_Sal").toString()+"  (CAD)");
    objsalhistnode.setPay_Area(elementSalHist.getAttributeValue("Pay_Area").toString());
    //          Adding the record to array List          
    arlQuotaTable.add(objsalhistnode);
    //          Bind the populated Array List to the View Table for Data population
    wdContext.nodeSalary_History().bind(arlQuotaTable);
    Try this dear,
    Cheers,
    APPARAO

  • How to create Data Connection in PDF forms??

    Hi Experts,
    I am working on PCR forms(Adobe forms), I want to customize those forms as per the requirement.
    Problem is that I don't know how to create New Data Connection with the field in DATA VIEW.
    Thanks
    Rohit G

    >
    Rohit Gaharwar wrote:
    > Hi Experts,
    >
    > I am working on PCR forms(Adobe forms), I want to customize those forms as per the requirement.
    > Problem is that I don't know how to create New Data Connection with the field in DATA VIEW.
    >
    > Thanks
    > Rohit G
    Hi Rohit
    are you working with interactive forms inside Web Dynpro? If so, Web Dynpro will create the data connection for you. The only thning you have to do is setting the "data sorurce" and "pdf source" in the properties tab of the interactive forms layout element. See for example here: Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]#50 [original link is broken] or other tutotials on web Dynpro and interactive forms : Web Dynpro Java Tutorials and Samples NW 2004 [original link is broken]
    If you don't work with Web Dynpro, you can create a data connection as follows:
    1. Open your *xdp-Template (Doubleclick: Lifecycle Designer is starting
    2.Click on File-> New Data Connection.
    3, Create the data Connection with the wizard, Your source can be
    a) XML Schema
    b) OLEDB Database
    c) WSDL file
    Hope this helps. Please reward points if helpful
    Kind regards
    Bettina
    Edited by: Bettina Hepp on Jun 4, 2008 4:53 PM

  • How to create Data source in BI7( r/3 extraction)

    Hi,
    I have created the data source(z_emp_data) at r/3 side and transported in rsa6.
    could any one let me know how to create the data source at Bi 7 end? should i create the same data source(z_emp_data) at BI 7 end? i have created the table at r/3  from which i want to load data.....please give step step details..its very urgent....
    Thanks
    Manjula

    Activate it, Create a transformation to the target infoprovider, Create a DTP to schedule the transformation.
    You will also have to create an infopackage to get the data from the source system into the BI system.
    There are a lot of "stuff" to do with datasources!

  • How to create UI element in VC

    Hi,
         I want to create UI element in VISUAL COMPOSER like text field, input field, button etc.How we can develop in VC iView?
    Thanks,
    Kundan

    Hi,
    Refer
    http://www.sdn.sap.com/irj/sdn/nw-vc;jsessionid=(J2EE3417200)ID1217882450DB11101197022981941087End?rid=/library/uuid/16244247-0a01-0010-3294-d81c21e7e86e
    Regards,
    Manivannan P

  • How to create dynamic elements in action of a view?

    hi all,
    I created 2 buttons dynamically in WdDoModifyView(). I created  action1, and parameter for that action i.e, id of type string.
    when i click on button1, some ui elements must be displayed.....
    can anyone tell me how to dynamically add UI elements in onAction() of view.....
    i wrote the following code to create & map dynamically in WdDoModifyView()........
    if(firstTime)
        IWDButton b1=(IWDButton)view.createElement(IWDButton.class,"button1");
        b1.setText("Button1");
        IWDButton b2=(IWDButton)view.createElement(IWDButton.class,"button2");
        b2.setText("Button2");
        IWDTransparentContainer tc=(IWDTransparentContainer)view.getElement("RootUIElementContainer");
        tc.addChild(b1);
        tc.addChild(b2);
         IWDButton butt1 = (IWDButton)view.getElement("button1");
         IWDParameterMapping pm1a = butt1.mappingOfOnAction();
         pm1a.addParameter("id1","link1a");
         IWDButton butt2 = (IWDButton)view.getElement("button2");
         IWDParameterMapping pm1b = butt2.mappingOfOnAction();
         pm1b.addParameter("id1","link1b");
    after writing this..... in onAction().........of view... i wrote like this...
    if (id1.equals("link1a"))
    else{
    in the if & else condition, i have to create UI elements dynamically.
    when i am trying to create Ui elements dynamically, but i am unable to create dynamically here.
    pls give me suggestion how to proceed this
    regards,
    vila

    Hi Vila,
    Are you trying to create UI elements dynamically in the action? If yes then you won't be able to do so because you can only create UI elements dynamically in WDDoModifyView().
    Always WDDoModifyView() would be called after your action. So, you can handle it as you want in your WDDoModifyView() itself.
    But if you want that those elements should be created everytime when you fire an event then don't write it within if(firstTime) clause as this would be true only when WDDoModifyView() is called for the first time when the page intially loads.
    Regards,
    Murtuza

Maybe you are looking for