Data type determined at run time, how to provide the input type in advance

Hi all,
Here I have a requirement:
on my UI, there is an inputfield which receives user's input. But the data type can't be known at design time.
But I need to bind a context attribute to the inputfield first at design time, which data type should I use( the inputfield can recevie
data of any type ) ?
and how to convert the this data type into different data type( can be any type )?

Hello Aaron,
There can be a workaround for your requirement.
you can assign a char data type to that field since Char can accept all characters, numbers, special symbols.
But, you need to do validations later on the see if it is a number or all alphabets and accordingly you can assign that field to any data type  by doing little bit of manipulations.
Hope this helps.
Regards,
Anand

Similar Messages

  • How to change the NAT type to Open on a Imac using bridged connections

    Hey everyone I have a problem. I play xbox live with my friends and i just moved and dont have a wireless adapter anymore. so i have bridged connections with my imac and xbox via ethernet. It works perfectly, but the only problem is that when i connect it say that my NAT type is strict. To play with all my friends i need a open NAT type. Does anyone know how to make the NAT type on the Imac open. And i do have a D-link router model DIR-625. When i called D-link they said to port forward, i did and it still didnt work, they said it must be the fire wall on the mac, microsoft said the same thing, that it might be the fire wall. I checked the fire wall and it said "All Incoming connections are allowed".
    I would really much appreciate it if someone helped me. Thank you!

    Yes, most likely. Microsoft has provided a list of XBox LIVE!-compatible routers. Since the OS X Internet Sharing feature is limited, there is no way to configure port mapping or placing the XBox in a DMZ with it. Typically, you either use a compatible router or configure port mapping/DMZ for non-compatible routers.

  • PR05: How to configure the expense types depending on the type of expense?

    Hi,
           We are in the process of upgrade from 4.6C to ECC 6.0. The problem is that when we are creating the expense request, after selecting the type of expense (travel expense or non travel expense) we are getting the same expense types for both the travel and non travel expenses.
    Now my question is that, is there any in error in configuring the expense types in transaction FITVFELD.
    How to configure the expense types depending on the type of expense (travel and non travel)?
    Your answer will be highly appreciated.
    Thanks in advance.
    Ramana

    Hi
    I checked with one of the SUBJECT MATTER EXPERT on T&E and it is not possible to have the expense types based on the schema.
    Thanks
    Ashok
    Award points if this is useful

  • Using XML-based object structures to represent data in code/at run-time

    Hello,
    I have quite a "high level" question which has be bothering me for some time, and I haven't found the subject tackled in any books. I believe J2SE/J2EE is not an important divide here.
    Lets say I want to develop a J2SE game application with two programs: a "level designer", and a "level viewer", and I want to store the level files in an XML format.
    My question, and I use this example only to try and illustrate it, is:
    when coding the level designer or viewer, is it reasonable to use an XML-based object hierarchy for representing a level in code/at run-time, i.e. using the standard Java DOM APIs? Or should one (as I would have done before XML came along) develop a set of classes much closer to modelling the real form of a level, and then add a means to convert those objects to/from to XML format?
    This second option of course I would use/would have used if I wasn't thinking about XML, but isn't it sometimes easier to just read in an XML file into a DOM representation and just use the data straight out of that structure, rather than go through the bother of parsing the XML into a set of unrelated objects defined by a different family of classes? What shapes your decision here? And if the second option is best, what is the easiest way of converting to/from the XML?
    Thank you for any advice.
    Greg

    Hi Christian,
    Can I ask: what about if your domain was quite 'close' to an object/DOM representation of XML?
    For instance, what if a game operated by acting out a theatrical script, a spoken conversation, between two characters, perhaps somehow influenced at points by the user, and a particular level was just a different script for the characters.
    One could imagine that the object representation of this would in the end be quite similar to how you'd represent XML, i.e. like a tree of nodes, where each node was a line from the script, and some nodes were a decision point where different nodes could be chosen from.
    Would you still want to avoid using XML-based classes to represent the underlying 'game', or is there a point where you would 'give it' to the similarity and use existing XML structures directly?
    Thank you for any advice
    Greg

  • Number of participant after activity completion is determined at run time.

    I have a scenario
    1. Let there be 5 roles A,B,C,D,E
    2. Role A initiates a process, and it goes to B and C(in different roles) simultaneously.
    3. When both B and C approves this, it will go to next participant D and E. However if only one of them approves, then the process instance must not go forward.
    4. Also the number of groups to whom the process, flows is determined at run time.
    Please let me know, how to achieve this task. Any suggestions will be welcomed and appreciated.
    Regards.

    You'd use a parallel gateway with complex gateway at the join. In the complex gateway you'd have an expression to continue when first flow completes (activationCount == 1) and select "Abort pending flows". That would have the scope end when the first flow completes. Docs are at:
    http://download.oracle.com/docs/cd/E21764_01/doc.1111/e15176/model_bus_procs_bpmpd.htm#CJABIBCB
    Section 6.7.5

  • How to use the customer types in customer master data

    how to use the customer types in customer master data?
    menu path is Extras -> account group info -> customer types

    hi,
    This is an option given to you to choose (if you need to) the way you perceive this customer.Here you get options including ompetitors,Salespartner, prospect,
    default sp ,consumer.
    See it helps you to differentiate between prospect(which you may use for quotation or inquiry purpose)Sales partner and the competetor.
    I hope this clarifies your quiery.Reward points if so.
    Thanking you,
    Best regards,
    R.Srinivasan

  • How to disable the run-time popup menu in the sequence display on TestStand Operator Interface, that allow the use to skip the test?

    How to disable the run-time popup menu in the sequence display on TestStand Operator Interface, that allow the use to skip the test?

    Hello,
                  Regarding the skip/force pass/force fail options, when I set the ControlExecFlow to True in Teststand 3.1 and 3.5, in the Sequence Editor the menu options for skip/force pass/force fail are not active for Technician but, when I launch the Operator Interface logged with Technician the options are active. The problem is that if the technician sets one step to one of these options, and change the user to Operator, the test step remains skip/force pass.
                  Is there any possibility without modifying the Operator Interface (at programming level), to reload default values of the steps when changing the user to Operator?
    Thank you,
    Best regards,
    paio

  • How to know last run time and who ran the query

    Hi
    I am doing the analysis for all the queries , their last run time and who ran the query
    Since there are almost 6000 queries , is there any way to find out last run time and who ran the query
    in one step or through any transaction else It would huge effort taking task to check the data in BW statistics
    table for each query
    Regards,
    Vivek

    Hi,
    Statistics should be switched ON for all the queries first. You can check this in RSDDSTAT.
    Statistics data is stored in BW for a specific period only. This setting can be maintained in table RSADMIN (Field : TCT_KEEP_OLAP_DM_DATA_N_DAYS). If the value for the field is 30, then 30 days old statistics will be available at any point.
    Not all the queries will be ran daily. Some are ran daily, monthly and yearly depending upon User requirement.
    1. You can check in RSDDSTAT_OLAP for the details you needed.
    2. You can install the BI Technical Content and run the respective query for the details you needed.
    Hope this helps.
    Regards,
    Sunil

  • Run time error 4706 column has wrong type to be key

    Hi,
    I am getting error after installing Bex BI 7 version , I have installed .net fromework 2.0 and BI7 version when i m trying to open the bex analyser i am getting the following visual basic
    error .
    Run time error 4706
    column has wrong type to be key

    please help any help in this regard will be appreceated

  • How to create the sub type field in hr abap infotype

    hi ,
        how to create the sub type field in hr abap infotype.
    regards,
    venkat.

    Try like this also
    creating of infotype please follow these steps ...
    Step 1: Create Infotypes
    i. Goto Transaction PM01 – To create Infotypes:
    ii. Enter the Infotype Number and say create all.
    iii. The following message would display:
    i. PSnnnn Does not exist. How do you want to proceed?
    iv. Click
    v. A maintain Structure screen appears.
    Fill in the short text description and the PS structure of the Infotype.
    Since the fields Personnel No, Employee Begin Date, End Date, Sequential Number,Date of Last Change, Name of user who changed the object are available in the PAKEY and PSHD1 structure, define the PSnnnn structure with only the fields you required.
    vi. Once the PS Structure is created, save and activate the structure.
    vii. In the initial screen of PM01, now click on .
    Create a new entry for the infotype.
    Fill in the values as mentioned below and save.
    Infotype Characteristics:
    Infotype Name of the infotype_ Short Text: __Short Description________
    *General Attributes :
    Time constraint = 1
    Check Subtype Obligatory
    Display and Selection:
    Select w/ start = 3 “Valid record for entered data
    Select w/ end = 5 “Records with valid dates within the period entered
    Select w/o date = 6 “Read all records
    Screen header = 02 “Header ID
    Create w/o end = 1 “Default value is 31.12.9999
    Technical Data:
    Single screen = 2000
    List screen = 3000; List Entry Checked.
    viii. In the initial screen of PM01, now click on .
    Choose the infotype entry in the list.
    Fill in the values as mentioned below and save.
    Technical Attributes:
    In tab section,
    The following attribute values are given:
    Applicant DB Tab = PAnnnn “Infotype Name
    Subtype field = SUBTY
    Subtype table = T591A
    Subty.text tab. = T591S
    Time cnstr.tab. = T591A
    Prim. /Sec. = I Infotype
    Period/key date = I Interval
    and .
    ix. Infotype Screen Modification:
    Edit Screen 2000 from PM01 for the Infotype.
    ABAP Editor for the Infotype Program MPnnnn00 will be displayed.
    Click . Flow Logic will be displayed. There string coding of your own logic.
    Regards
    Pavan

  • ABAP Run time Error whle executing the Balance sheet report in FGI0

    Hi,
    I am getting the below ABAP Run time error while executing the Balance Sheet report in FGI0.It was working before but now it is giving the error.Kindly help me in solving this.
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          06/12/2009 15:17:17
    Short text
         The current application triggered a termination with a short dump.
    What happened?
         The current application program detected a situation which really
         should not occur. Therefore, a termination with a short dump was
         triggered on purpose by the key word MESSAGE (type X).
    Error analysis
         Short text of error message:
         RAISE RKD_CONDITION_READ       (internal error)
         Long text of error message:
          Diagnosis
              The program was terminated because a situation occurred which
              should not have arisen.
          Procedure
              Analyze the situation and contact SAP.
         Technical information about the message:
         Message class....... "KH"
         Number.............. 299
         Variable 1.......... "RKD_CONDITION_READ"
         Variable 2.......... " "
         Variable 3.......... " "
         Variable 4.......... " "
    Trigger Location of Runtime Error
        Program                                 SAPLKYPR
        Include                                 LKYPRU31
        Row                                     36
        Module type                             (FUNCTION)
        Module Name                             RKD_CONDITION_READ
    Thanks
    Supriya

    Hello,
    Please refer SAP
    Note 971535 - dump when deleting characteristic with hierarchy
    Regards,
    Ravi

  • ABAP Run time error when display the Customs Export declarations

    Hi,
    I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.
    Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.
    While debugging we found that Primary Key of the below structures are not the same
    lt_corpar                              type      /sapsll/corpar_t
    lt_corpar_ht       type      /sapsll/corpar_k02_ht
    Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually
    Error message short details
    Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in
         "/SAPSLL/CUHD_LOAD_SELECTION".
        The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".
        In the source code you have the termination point in line 144
        of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".
    We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).
    Regards,
    Pradeep Maddi

    Hi,
    I have implemented SAP Note 1531799, but it hasn't resolved the current issue.
    For Our GTS instance, there are 2 Feeder Systems (ECC) attached, but document transfer in one of the system has not been activated. Both having the same partner functions ( We copied the sandbox into 2 different instances for different business Testings and now these 2 instances attached to GTS for testing). These feeder systems have different Logical system names and Logical system groups.
    Recently i have implemented SAP Corrections manually for one the issue, Please see below thread for the detail information
    Proforma Invoice not transferred to GTS
    After implementing the corrections, i have created Pro-forma invoice in ECC system. When i tried to display, i'm facing the ABAP Dump issues.
    Error details
    Runtime Errors         ITAB_DUPLICATE_KEY
    ABAP Program           /SAPSLL/SAPLCUHD_SELECTION
    Application Component  SLL-LEG
    You tried to insert an entry into table  "\FUNCTION=/SAPSLL/CUHD_LOAD_SELECTION\DATA=LT_CORPAR_HT". However, updating the unique table key "PRIMARY_KEY" resulted in a duplicate entry. The key concerned may be either the primary key or a secondary key.
    Regards,
    Pradeep

  • How to change the paper type in printer settings?

    Does anyone know how to change the paper type in printer settings?  I'm trying to have the ability to change it to photo paper from Photoshop Elements.  I can't find the option in printer settings or through Elements.  I'm assuming I could save an additional printer setting for photo printing, but can't find how to even select a different paper type.
    thanks!

    It would help to know which OS you are running as the answer will be different if it's Lion or the previous OS's. You are not running iOS 5.0.1 on your MacBook Pro so provide the correct information.

  • How to open the Url type in Attachments Table

    Hi All,
    If we attached the any files, files are stored in the fnd_lobs table, pickup the data from the fnd lobs table and stored in the local system but if attached the url type how to open the url type.is there any standard ?
    Thanks,
    Venkat

    You can do it one of two ways:
    1. Insert some CSS that will change the target to "_new".
    2. Change the field that the user enters information in to a single line of text, then create a calculated column that is:
    =CONCATENATE("<a href=",[URL Field]." target=new>Click here</a>")
    Format that as a number.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to get the Database type from weblogic Db connection

    I want to use database version control in my application . that means different database type use different Sql Statement. Such as in weblogic7.0 if I create SqlServer JDBC pool then I will use some special Sqlserver sql Statement . such as some join statement. If I create Oralce JDBC pool then I have to use different Sql statement . because these two database support different Sql statement.
    What my question is how to get the database type from the connection.

    For a normal jdbc driver you can use
    Connection.getMetaData()
    To get the meta data, in particular the getDatabase...() methods.
    That might or might not work.
    However, at the very least in the server you have access to the weblogic properties so you can parse the pool property to figure it out.

Maybe you are looking for

  • Regarding License in SAP R/3

    Dear Experts In SAP Business One Pofessional, Logistics, Finance types of license are there. In SAP R/3 what are the basic types of License. Thanks Beginner

  • VISA : USB through PIC microcontoller, writing is good, but not reading

    Hi guys; I'm trying to put together a simple VISA USB read/write program to test communication from Labview to a PIC microcontroller. I've found an example on youtube and wanted to try to implement it. Well, in the owners video everything seems to wo

  • Daily view displays recurring one day events for 2 days.

    There are a number of recurring all day events (birthdays for example). From a browser accessing a group Wiki calendar, the daily view will display the event on BOTH the day it's scheduled for and on the next day as well. The views for week and month

  • Rman scenario

    Hai all, Am planning to use the following commands for my complete DB Backup .. Can I rely on this alone ? CROSSCHECK ARCHIVELOG ALL; CROSSCHECK BACKUP; Report obsolete; Delete noprompt obsolete device type disk; Delete noprompt expired backup; backu

  • WebServer on sbRIO

    Hey Guys, I am trying to make a webserver application on an NI 9636 sbRIO. I think I have all the necessary software installed on the target. I have built the webserver Build Specification and I can see the deployed webserver under the "Deployed Web