Type field

Hello,
I need to know the type of each fields in a form.
I have to look over a form, then I need to identify all the fields, and
extract the name of the field and the type of this field (Text Field,
Numeric Field, Drop-Down list, etc...)
Thanks,
Juan L.

You can look at the standard library in Designer. You should see all the fields in there.

Similar Messages

  • Unicode  - "DMBTR" must be a character-type field (data type C,N,D or T)

    Greetings Experts!
    I am trying to convert legacy code to Unicode for a current ERP6.0 reinstallation and have encountered the syntax error "DMBTR" must be a character-type field (data type C,N,D or T)
    The field is part of a structure and the fields attributes are as follows:
    COMPONENT = DMBTR     
    COMPONENT TYPE = DMBTR     
    DATA TYPE = CURR     
    LENGTH = 13     
    DECIMALS = 2     
    DESCRIPTION = Amount in Local Currency
    The code in question is as follows:-
    macro Move_Zoned.
    Converts a numeric variable to zoned format and moves it to a
    target variable.
    DEFINE move_zoned.
         &1 - source variable
         &2 - Number of Decimal Places
         &3 - 'To'
         &4 - Target Variable.
      write &1 to w_zoned no-grouping decimals &2.
      condense w_zoned.
         Remove the Decimal Points.
      search w_zoned for '...'.
      while sy-subrc = 0.
        move sy-fdpos to w_to_point.
        if w_to_point = 0.
          w_to_point = 1.
        endif.
        compute w_from_point = sy-fdpos + 1.
        concatenate w_zoned+0(w_to_point)
                    w_zoned+w_from_point
               into w_zoned.
        search w_zoned for '...'.
      endwhile.
      shift w_zoned right deleting trailing space.
      translate w_zoned using ' 0'.
      call function 'Z_TRANSLATE_ZONED_DECIMALS'
        exporting
          i_input              = w_zoned
        importing
          i_output             = w_zoned
        exceptions
          x_invalid_zoned_char = c_invalid_zoned_char
          x_numeric_info_lost  = c_numeric_info_lost
          others               = c_other_zoned_error.
         Get the length of the recipient field so we don't truncate the
         numbers....
      describe field &4      length w_flength in character mode.
      describe field &4      type   w_type.
      describe field w_zoned length w_zoned_len in character mode.
      if w_zoned_len <= w_flength.
        move w_zoned to &4.
        shift &4 right deleting trailing space.
        translate &4 using ' 0'.
      else.
            Get the start position....
            If it's a packed field allow for values up to 6 figures
        compute w_zoned_len = w_zoned_len - w_flength.
        if w_type = 'P'.
          subtract 2 from w_zoned_len.
          clear w_type.
        endif.
        move w_zoned+w_zoned_len &3 &4.
      endif.
    END-OF-DEFINITION. "Move_zoned
      LOOP AT t_single_kunnr.
        move_zoned t_single_kunnr-postamt 2
                to t_single_kunnr-dmbtr.
        DIVIDE t_single_kunnr-dmbtr BY 100.
        MODIFY t_single_kunnr.
      ENDLOOP.
    Is there a solution to get past this syntax error as I would rather not change the datatype of the field in the structure.
    Much Obliged
    Elphick.

    Type X is not allowed in Unicode. When a field is declared as Type X with Value u201809u2019 or any other value, it can be resolved by using classes.
    Before Unicode
                      CONSTANTS: c_hex TYPE x VALUE '09'.
    Resolution:
    Itu2019s work for any value of x.
    First a temporary field of Type c should declare. Following class will convert Type x variable into type c.
    Example:
    CONSTANTS: c_hex TYPE x VALUE '09'.
    DATA: LV_TEMP TYPE STRING.
    DATA: LV_TMP TYPE C.
    TRY.
    CALL METHOD CL_ABAP_CONV_IN_CE=>UCCP
    EXPORTING
    UCCP   = c_hex
    RECEIVING
    CHAR   = LV_TMP   .
    CATCH CX_SY_CONVERSION_CODEPAGE.
    CATCH CX_PARAMETER_INVALID_TYPE.
    CATCH CX_SY_CODEPAGE_CONVERTER_INIT.
    ENDTRY.
    CONCATENATE I_OUTPUT-BKTXT I_OUTPUT-BVORG            
    I_OUTPUT-BUDAT I_OUTPUT-MESSAGE INTO
    SEPARATED BY LV_TMP.                      
    I_BUFFER = LV_TEMP.
    CLEAR LV_TEMP.
    CLEAR LV_TMP.
    OR
    Note: It works only for type x value  09.
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    CONSTANTS: c_hex TYPE c VALUE
                             abap_char_utilities=>HORIZONTAL_TAB.

  • Transaction Type field not getting value in F-05 transaction

    Hi All,
    When ever we are doing a reverse posting for foreign currency valuation using F.05 Tcode it will create a BDC session where we can execute this batch Input session thru SM37.
    This will use F-05 Tcode to post the the entries, but the problem is one of  the field Transaction Type is not getting value for some of the GL account numbers range. This is totally SAP standard program take cares of it. Transaction type field value shuld be populated by '990' value for this GL account range, this is fixed. So is thr any User exit or Screen exit for this Tcode or how we can populate the value....
    Help me...
    Chandar
    Edited by: Bala Chandar on Feb 12, 2009 1:25 PM
    Edited by: Bala Chandar on Feb 12, 2009 1:28 PM
    Edited by: Bala Chandar on Feb 12, 2009 1:33 PM

    Hi Mr/Mrs Bala Chander,
    I am having the same problem.
    When running F.05 a BIM is created for GL account X. GL account X has a field status in which transaction type is defined as a required field because of BCS / ECCS. We have a substitution rule in place which should default the transaction type, based on several criteria. But when executing the BIM, I see that nothing is filled in field transaction type. Did you find a proper solution for your problem? Changing the field status is not an option in my opinion.
    Regards,
    Joep

  • PTP - Change to stock type field status configuration in Purchase Order

    When creating or changing a PO for direct material - or even during goods receipt, the stock type field which by default is "X - Quality Inspection" can be changed to "Unrestricted Use" by the purchasing personnel.  This is not in line with QA requirements where the change from QI to Unrestricted use can only be done by QA personnel.
    Need to configure the system not to allow purchasing personnel to change the status.
    Please tell me  where i need to configure the above requirement.
    Regards
    Sreekanth

    HI,
    You will need to change screen layout at document level in ME21N and ME22N. Follow below steps
    SPRO -> Mateial Management -> Purchasing -> Purchase Order -> Define Screen Layout at Document levle -> ME21N -> Look for Quality Inspection (I believe this is the field, I did not test it) and make it Display only. By default it comes as Optional entry.
    Regards,

  • How do store a time type field in a database table?

    We added a UDF of time type.  SQL Server says its a small integer.  After I pull the time off a date, I convert it to an integer.  For example, I convert 6:00 AM to 600.  When I try to store 600 in the field, I get a type mismatch exception.  What am I doing wrong?

    Adele,
    Thanks a bunch!
    Your code was syntactically incorrect but it moved me in the right direction.  Here is the code I ended up with:
    DateString = DateIn.ToString("yyyyMMdd HHmm")
    Time = Date.ParseExact(DateString, "yyyyMMdd HHmm", system.Globalization.DateTimeFormatInfo.InvariantInfo)
    Then update the Time field with the Time variable.
    This does the trick.  It looks like it is only necessary to save a date data type in a time type field and only the time piece of it is saved.
    Thanks again,
    Mike

  • Order type field for PO/Document type field for PR

    Hi Everybody
    a) In Purchase Order creation screen (ME21)-for order type field -NB(standard order) is coming as default-How to make it blank(since we are using plantwise PO NOs)
    b)In purchase requisition screation screen(ME51)also Document type-NB(standard order) is coming as default-How to make it blank(since we are using plantwise Purchase requisitions)
    Thanks in advance
    Joseph David

    Simple,In order of ME21/ME51,Press F4,Select Required order/requistion type,Add it to Favourite list
    or else
    Create a transaction variant for ME21 & ME51 using t.code SDH0.
    Transaction Variant - A Step by Step Guide for Creation,Check below link,
    http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation
    Edited by: Jeyakanthan A on Apr 2, 2010 5:42 PM

  • How to Add Values in INVOICE SUB-TYPE field at the Invoice Header Forms

    Hello,
    Does any body knows how could I add/modify values in the INVOICE SUB-TYPE field at the Invoice Header Forms?. This values are related to the Globalization, in this case for the Chilean Localizations.
    Thanks,
    Alejandro R.

    It gives any error or just does nothing?
    Have you tried making another simple form with just one block and one or two items?
    You can do this type of testing in these conditions.
    Which version of forms are you using?

  • How to make valuation type field not changeable  in delivery tab of PO

    Hai friends,
                    I am new to badis..please guide me to solve the issue...
    how to make valuation type field not changeable  in delivery tab of PO...
    The field shd be in display mode only ...actually...there  a badi has been used before
    to get valuation type from a ztable depending on material and plant...
    Now ..my requirement is that the user shd not change the default value brought from the ztable...

    Hi SRINIVAS,
    You can achieve this from BADI only if BADI is allows you to do this. You cannot achieve everything from a BADI. Check if there is any expoting field in the methods that can be ticked for making the field in display mode. If not then you cannot achieve this from BADI.
    The field you want to default to display is a standard or zfield. If z, then you can changethe attribute of the screen field to Output only.
    Regards,
    Manish

  • Select query based on Simple Type field in JDT

    Hello Experts,
    We have a JDT table consisting of a field "CONSUMPTION_ID" which refers to a Simpletype.So at oracle level the datatype of the field shows as CLOB instead of String. I am unable to use this simple type field in the WHERE clause in my bean .
    Following are the queries i have tried and the errors i have got executing them :
    Query1 -  SELECT * FROM TEST_TABLE WHERE CONSUMPTION_ID <> 'RT'
    Error - com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM "TEST_TABLE " WHERE "REF_MAT_DOC_NO" = ? AND "REF_MAT_DOC_YEAR" = ? AND "CONSUMPTION_ID" <> 'RT'" contains the semantics error[s]: - 1:84 - type check error: the expression >>"CONSUMPTION_ID"<< (CLOB) is not comparable and must not be used with "<>"
    - 1:84 - type check error: the left hand side >>"CONSUMPTION_ID"<< (CLOB) and the right hand side >>'RT'<< (CHAR) of a comparison operator are not comparable
    Query 2 - SELECT * FROM TEST_TABLE WHERE to_char(CONSUMPTION_ID) <> 'RT'
    Error - com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM TEST_TABLE  WHERE REF_MAT_DOC_NO = ? AND REF_MAT_DOC_YEAR = ? AND to_char(CONSUMPTION_ID) <> 'RT'" contains the syntax error[s]: - 1:91 - SQL syntax error: the token "(" was not expected here
    Please let me know if any one has used WHERE clause on fields which refer to a simpletype in JDT, or any other solution to the above problem
    Regards,
    Virag

    Hello Experts,
    We have a JDT table consisting of a field "CONSUMPTION_ID" which refers to a Simpletype.So at oracle level the datatype of the field shows as CLOB instead of String. I am unable to use this simple type field in the WHERE clause in my bean .
    Following are the queries i have tried and the errors i have got executing them :
    Query1 -  SELECT * FROM TEST_TABLE WHERE CONSUMPTION_ID <> 'RT'
    Error - com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM "TEST_TABLE " WHERE "REF_MAT_DOC_NO" = ? AND "REF_MAT_DOC_YEAR" = ? AND "CONSUMPTION_ID" <> 'RT'" contains the semantics error[s]: - 1:84 - type check error: the expression >>"CONSUMPTION_ID"<< (CLOB) is not comparable and must not be used with "<>"
    - 1:84 - type check error: the left hand side >>"CONSUMPTION_ID"<< (CLOB) and the right hand side >>'RT'<< (CHAR) of a comparison operator are not comparable
    Query 2 - SELECT * FROM TEST_TABLE WHERE to_char(CONSUMPTION_ID) <> 'RT'
    Error - com.sap.sql.log.OpenSQLException: The SQL statement "SELECT * FROM TEST_TABLE  WHERE REF_MAT_DOC_NO = ? AND REF_MAT_DOC_YEAR = ? AND to_char(CONSUMPTION_ID) <> 'RT'" contains the syntax error[s]: - 1:91 - SQL syntax error: the token "(" was not expected here
    Please let me know if any one has used WHERE clause on fields which refer to a simpletype in JDT, or any other solution to the above problem
    Regards,
    Virag

  • To find the date type fields in the row and validate those date fields

    TYPES : BEGIN OF TY_MARA,
              MATNR TYPE MARA-MATNR,
              ERSDA TYPE MARA-ERSDA,
              ERNAM TYPE MARA-ERNAM,
              LAEDA TYPE MARA-LAEDA,
              MTART TYPE MARA-MTART,
            END OF TY_MARA.
    DATA : it_mara TYPE STANDARD TABLE OF ty_mara,
          it_mara1 TYPE STANDARD TABLE OF ty_mara,
           wa_mara TYPE ty_mara.
    loop at it_mara into wa_mara.
      describe field wa_mara-ersda type c_data.
    if c_data eq 'D'.
      CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
        EXPORTING
          date                            = wa_mara-ersda
       EXCEPTIONS
         PLAUSIBILITY_CHECK_FAILED       = 1
         OTHERS                          = 2
      IF sy-subrc eq 0.
    wa_mara-ersda = '00000000'.
        append wa_mara to it_mara1.
        write :wa_mara-matnr,wa_mara-ersda.
        else.
            wa_mara-ersda = '00000000'.
        append wa_mara to it_mara1.
        write :wa_mara-matnr,wa_mara-ersda.
      ENDIF.
      endif.
      endloop.
    This issue regarding how to find the date type fields in the row and validate those date fields.If its not a valid date ,i have to assign initial value to that.
    I've tried that for single field using describe field.Please help me do that for all fields.

    Hi Sam,
     I believe we had discussed the same issue in the below thread. Can you please refer the below one?
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d93e16ff-c123-4b36-b60b-60ccd34f6ca7/calculate-time-differences-in-infopath?forum=sharepointcustomizationprevious
    If it's not helping you please let us know
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • 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

  • Database Type field in Data Services 3.0

    Hi,
    Now I'm using the IDSServer 4.5 JDBC-ODBC driver type 3 to connect BEA Acqualogic Data Services 3.0 to MS-Access 2003.
    I configured the IDSWaldbottDS DataSource with those parameters:
    Driver class name: ids.sql.IDSDriver
    URL: jdbc:ids://psnb161:12/conn?dsn=WaldbottDS
    I created the system DSN ODBC datasource called 'WaldbottDS' in Windows XP
    Based on the AdminServer log file, I can demostrate that the BEA connect successfully with MS Access:
    ####<Mar 5, 2008 9:14:37 AM ACT> <Info> <JDBC> <psnb161> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1204726477248> <BEA-001516> <Connection Pool "IDSwaldbottDS" connected to Database: "ACCESS", Version: "04.00.0000".>
    Now, In the project Explorer, I executed those commands:
    New -> Physical Data Service.
    Inside the Create Physical Data Service dialog box, the Relational database objects is set to Tables and views.
    I select the Data Source Type as Relational. When I select IDSwaldbottDS as Data Source, nothing appears in "Database Type" field. If I press the next button, an error message appears:
    "Cannot obtain connection: driverURL = jdbc:weblogic:pool:IDSwaldbottDS, props = {EmulateTwoPhaseCommit=false, connectionPoolID=IDSwaldbottDS, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=IDSwaldbottDS}.
    Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
         at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:213)
         at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:173)
         at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:247)
         at weblogic.jdbc.pool.Driver.connect(Driver.java:164)
         at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:647)
         at weblogic.jdbc.jts.Driver.connect(Driver.java:137)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
         at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:550)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:440)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:436)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:58)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:975)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    I recognize that the "Database Type" must be filled with the database version so I can continue configuring the physical Data Source for MS Access 2003.
    How can I solve this problem?

    [ There original post I made is incorrect.  The classes/shared libraries need only to be available to the server - they do not need to be available to ALDSP Studio, since the database is access via the server. Double check that the required classes/shared libraries for your jdbc driver are available to your server ]
    I searched our CR database for the stacktrace/error that you have and found serveral CR. Most of them indicate the problem was jar file(s) for the jdbc driver were not present in the client classpath. So - whatever you added to the server classpath (and PATH - if there were also shared object libraries) - we need to add those to the ALDSP Studio (eclipse) classpath (PATH).
    you can put the jar(s) in
    aldsp_3.0\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.external_3.0.0
    and modifying
    aldsp_3.0\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.external_3.0.0\META-INF/manifest.mf.
    There are two places in manifest.mf you will need to add the jar file - once under Bundle-Classpath and once under Export-Package.
    Edited by mreiche at 03/07/2008 10:48 AM

  • Can "SPML Web Service Complex Data Type field" take multiple values ?

    In Generic Technology Connector's -SPML design parameters section, Can we give multiple values in SPML Web Service Complex Data Type field?
    If not, how can i call methods directly instead of calling them through a values of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type?
    I need 'SPML Web Service Complex Data Type' to hold multiple values.And based on the request it has to initiate appropriate method of action.
    Presently i have three methods add,modify and delete which i am calling through a single value of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type.
    I want to replace this single value with multiple menthods , so that a direct interaction between the method,OIM and target can be established.
    Edited by: 821054 on 16/02/2011 04:23

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • Insert current date and time into Oracle date type field

    I have a JDBC current date and time insert into Oracle 9i that almost works. It submits the current date and a fixed time into the Oracle date type field. I am using Tomcat 6.0.20.
    For example if I insert the data at 7:24:04 PM on Feb 16, 2010 it will insert as: 16-Feb-2010 12:00:00 AM
    The date part works but the time always shows 12:00:00 AM no matter what date or time the data is inserted.
    Here is what I have for my JDBC inserts and I also tried something with DateFormat:
    PreparedStatement ps; Date mydate = new Date(new java.util.Date().getTime()); //insert statement here.... stmt.setDate(1,mydate);
    I also tried:
    PreparedStatement ps; java.sql.Timestamp mydate = new java.sql.Timestamp(new java.util.Date().getTime()); SimpleDateFormat fmt = new SimpleDateFormat(.... //insert statement here.... ps.setTimestamp(1,fmt.format(mydate));
    Both keep submitting the date into Oracle as 16-Feb-2010 12:00:00 AM
    Anyway to get the current date and time? For example if I insert the data at 7:24.04 pm today it should show as 16-Feb-2010 07:24.04 PM in Oracle.

    sportsMarkr wrote:
    Date mydate = new Date(new java.util.Date().getTime());Please see the javadocs for java.sql.Date and note the part that says "...to zero"
    [http://java.sun.com/javase/6/docs/api/java/sql/Date.html]
    If you want a date and time then use java.sql.Timestamp.

  • Partner bank type field missing in payment proposal list

    Hi Gurus,
           The partner bank type field is not being displayed in payment proposal list whereas I can display the same in vendor line item display.  Though there is a field named BnkT in the proposal list the partner bank type is not displayed.  Kindly advice me in this regard.
    Regards.

    Hello,
    Please note the system selects the bank with the lowest BVTYP.
    This means that a bank which has no BVTYP will be selected first,
    then one with AAAA, then BBBB. This is the reason why the partner
    bank which you expected was not chosen.
    Please read the F1 help for this field which explains the main purpos
    of this field:
    F1 Help:
    In the business partner's master record:
         If several bank accounts exist in a customer or vendor master
         record, you can assign different keys for these accounts.
    In the item:
         To use a particular bank of the business partner for the payment
         an item, enter the appropriate key in the item. The payment prog
         then pays the item via the business partner's predefined bank.
    Here you can enter, for example a number, 0001.
    Then, when you post a document with the transaction FB01 or F-42, you
    can display the field 'Partner bank type' (BSEG-BVTYP). Here you can
    write the number 0001 or another number for another bank of the same
    vendor. Afterwards, you can post this document.
    Also, you can use Business Transaction Event (Open-FI) 00001810 to
    implement your own algorithm to select a bank. For details, see the
    documentation of the sample function module SAMPLE_PROCESS_00001810.
    Also review below notes in the same context about "F110: partner bank
    type".
    363219 - F110: Wrong partner bank after proposal run maintnc
    390740 - F110: partner bank type not in clearing line of payment doc
    Hope this clarifies the system behaviour.
    regards
    Ray

  • Can not converted to be a charter-type field

    Hi everyone,
      As i m new in abap . i wrote this code and received charter type error.
    *& Report  ZT11
    REPORT  ZT11.
    DATA: aa type lfa1.
         tables lfa1.
         select * from lfa1 into aa where lifnr > 'Z' .
             write / aa.
            endselect.
        if sy-subrc <> 0.
             write / 'No records found'.
            endif.
    error is
    'AA' can not converted to a character-type field.
    plz help to reslove the error .
    thanks in advance.
    Edited by: Faisal Abbasi on May 9, 2010 11:19 AM

    Hi Dear,
    This is Unicode problem, In unicode systme some restriction in programing.
    There is three kid of data type
    Character Processing ( C, N, D, T and STRING ).
    Byte Processing Mode ( X and XString ).
    Numeric Data Type ( I, P , F ).
    whenever in structure all kind of data types are used then you can not use WRITE and then whole structure name.
    in LFA1 in ECC6.0 if any custom fields are not added then up to length 1232 is determined as Character.
    so if you will give aa(1232) it will work similarlly other kid of remainig data tpe you move in another structure of required format and then check.
    REPORT ZT11.
    DATA: aa type lfa1.
    tables lfa1.
    select * from lfa1 into aa where lifnr > 'Z' .
    write / aa(1232).
    endselect.
    if sy-subrc 0.
    write / 'No records found'.
    endif.
    For better Understanding Check
    The following structure has both character-type and non-character-type components:
    BEGIN OF STRUC,
      a TYPE c LENGTH 3,    "Length 3 characters
      b TYPE n LENGTH 4,    "Length 4 characters
      c TYPE d,             "Length 8 characters
      d TYPE t,             "Length 6 characters
      e TYPE f,             "Length 8 bytes
      f TYPE c LENGTH 28,   "Length28 characters
      g TYPE x LENGTH 2,    "Length 2 bytes
    END OF STRUC.
    The Unicode fragment view splits the structure into four areas F1 - F5.
    [ aaa | bbbb | cccccccc | ddd | AAA | eeee | fffffffffffff | gg ]
    [            F1               |  F2 |  F3  |       F4      | F5 ]
    Offset/length access is only possible for the character-type initial fragment F1. Specifications such as struc(21) or struc7(14) are accepted and are handled as a single field of type c. An access such as struc57(2), for example, is not permitted in Unicode systems.

Maybe you are looking for