Functionality field Usage type

Hi,
Could you tell me, what is functionality field Usage type. This field  is set to the solid, does not change. I has some important control function. What?
Regards, Stenwa

Hi Stenwa,
The usage type is the main classification field for the rental objects. It controls functions such, as:
1. The field stauts groups of your rental objects - which fields are available for input,etc.
2. The screens you can maintain for the rental object
3. Which area types are allowed, mandatory, etc.
4. whether the rental object can be used commercially/non-commercially or both
According to saphelp:
"You can change the usage type of the rental unit as long as no active lease-out exists for a rental unit.
You can only change the usage type of a rental unit with an active lease-out if the allocation of an internal usage type to the external usage type in Real Estate Customizing is not changed."
Hope this helps!
KR,Severina

Similar Messages

  • Function module to read Mail Form contents with Usage Type SMS

    Hello there,
    I have created a Mail Form with Usage Type as Internet Mail (HTML). I can successfully read the Mail Form by using Function Module CRM_ERMS_MAIL_COMPOSE_NEW. This is working fine to send an email.
    I have created another Mail Form with  Usage Type as SMS. Since the usage type is a plain text, function module CRM_ERMS_MAIL_COMPOSE_NEW does not return the mail form contents. The requirement is to send the SMS with mail form contents. Appreciate if you can suggest a Function module or Class - Method to retrieve Mail form contents when usage type is SMS.
    Thanks,
    Shaun

    Hello there,
    I have created a Mail Form with Usage Type as Internet Mail (HTML). I can successfully read the Mail Form by using Function Module CRM_ERMS_MAIL_COMPOSE_NEW. This is working fine to send an email.
    I have created another Mail Form with  Usage Type as SMS. Since the usage type is a plain text, function module CRM_ERMS_MAIL_COMPOSE_NEW does not return the mail form contents. The requirement is to send the SMS with mail form contents. Appreciate if you can suggest a Function module or Class - Method to retrieve Mail form contents when usage type is SMS.
    Thanks,
    Shaun

  • Compare query ZY/SD Functional area ZREP:Type conflict for field MARC-DISPO

    Hi,
    Iam in 3.1i system, trying to load fUser group SD and Query ZY for the Functional area ZREP from text file.
    Iam getting error log as : Compare query ZY/SD functional area ZREP : TYPE conflict for field MARC-DISPO
    Could anybody please provide the solution.
    Thanks, Krishna
    Edited by: Krishnama Raju  Samunuri on Jun 20, 2008 8:37 PM

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • Function module usage in vendor ageing report for ageing calculation

    hi everybody there
    as i have to calculate the vendor ageing
    which is nothing but
    AGEING = Currentdate - BLINE date
    so for this i have coded as follows and use the function module but couldn't get the result .it is alwayas showing 0 means ageing  is o but it is not like that
    parameter:p_date1 type dats.
    call function 'days_between_two_dates'
    exporting
    i_datum_bis = p_date1
    i_datum_von = itab-zfbdt
    importing
    e_tag = itab-ageing
    exceptions
    days_method_not_defined =1
    others = 2.
    so what is the bug in it.

    hi,
    <b>declare ur internal table field , of type BSIK-ZFBDT or sy-datum
    thats the only thing u want to do.
    the other parameter is sy-datum</b>
    <b>data: field like BSIK-ZFBDT.</b>
    DATA:lv_diff TYPE i.
    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
    EXPORTING
    <b>i_datum_bis = sy-datum
    i_datum_von =  field</b>
    IMPORTING
    e_tage = <b>lv_diff</b>
    EXCEPTIONS
    days_method_not_defined = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    WRITE:/ <b>lv_diff</b>.
    ENDIF.
    nw it will work.
    rgds'

  • Help with writing and retrieving data from a table field with type "LCHR"

    Hi Experts,
    I need help with writing and reading data from a database table field which has a type of "LCHR". I have given an example of the original code but don't know what to change it to in order to fix it and still read in the original data that's stored in the LCHR field.
    Basically we have two Function modules, one that saves list data to a database table and one that reads in this data. Both Function modules have an identicle table which has an array of fields from type INT4, CHAR, and type P. The INT4 field is the first one.
    Incidentally this worked in the 4.7 non-unicode system but is now dumping in the new ECC6 Unicode system.
    Thanks in advance,
    C
    SAVING THE LIST DATA TO DB
    DATA: L_WA(800).
    LOOP AT T_TAB into L_WA.
    ZDBTAB-DATALEN = STRLEN( L_WA ).
    MOVE: L_WA to ZDBTAB-RAWDATA.
    ZDBTAB-LINENUM = SY-TABIX.
    INSERT ZDBTAB.
    READING THE DATA FROM DB
    DATA: BEGIN OF T_DATA,
                 SEQNR type ZDBTAB-LINENUM,
                 DATA type ZDBTAB-RAWDATA,
               END OF T_TAB.
    Select the data.
    SELECT linenum rawdata from ZDBTAB into table T_DATA
         WHERE repid = w_repname
         AND rundate = w_rundate
         ORDER BY linenum.
    Populate calling Internal Table.
    LOOP AT T-DATA.
    APPEND T_DATA to T_TAB.
    ENDLOOP.

    Hi Anuj,
    The unicode flag is active.
    When I run our report and then to try and save the list data a dump is happening at the following point
    LOOP AT T_TAB into L_WA.
    As I say, T_TAB consists of different fields and field types whereas L_WA is CHAR 800. The dump mentions UC_OBJECTS_NOT_CONVERTIBLE
    When I try to load a saved list the dump is happening at the following point
    APPEND T_DATA-RAWDATA to T_TAB.
    T_DATA-RAWDATA is type LCHR and T_TAB consists of different fields and field types.
    In both examples the dumps mention UC_OBJECTS_NOT_CONVERTIBLE
    Regards
    C

  • 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.

  • Selection of usage type for EHP7 SPS02 ERP 6.0 Upgrade

    Hi Experts,
    We are planning to upgrade our SAP ECC 6.0 to EHP7 SP02 ERP 6.0, But during MOPZ configuration to generate the side effect report, its prompting to choose at least one technical usage type. I am not able to judge which is the right usage type to our environment. I have checked with functional team and they said our business type is Logistics but in the list logistics not found.
    Here i have attached this list of components installed in our system and list of usage types which is showing in MOPZ. Please suggest me with correct usage type to proceed.
    Thanks in advance,
    Regards,
    Suresh Babu
    Component
    Release
    SP Level
    Support Package
    Description of the component
    SAP_BASIS
    700
    21
    SAPKB70021
    SAP Basis Component
    SAP_ABA
    700
    21
    SAPKA70021
    Cross-Application Component
    PI_BASIS
    2006_1_700
    11
    SAPKIPYM11
    Basis Plug-In (PI_BASIS) 2006_1_700
    ST-PI
    2008_1_700
    8
    SAPKITLRD8
    SAP Solution Tools Plug-In
    SAP_BW
    700
    23
    SAPKW70023
    SAP NetWeaver BI 7.0
    SAP_AP
    700
    20
    SAPKNA7020
    SAP Application Platform
    SAP_APPL
    600
    17
    SAPKH60017
    Logistics and Accounting
    SAP_HR
    600
    59
    SAPKE60059
    Human Resources
    SAP_HRCAR
    600
    59
    SAPK-60059INSAPHRCAR
    Sub component SAP_HRCAR of SAP_HR
    SAP_HRCAT
    600
    59
    SAPK-60059INSAPHRCAT
    Sub component SAP_HRCAT of SAP_HR
    SAP_HRCAU
    600
    59
    SAPK-60059INSAPHRCAU
    Sub component SAP_HRCAU of SAP_HR
    SAP_HRCBE
    600
    59
    SAPK-60059INSAPHRCBE
    Sub component SAP_HRCBE of SAP_HR
    SAP_HRCBR
    600
    59
    SAPK-60059INSAPHRCBR
    Sub component SAP_HRCBR of SAP_HR
    SAP_HRCCA
    600
    59
    SAPK-60059INSAPHRCCA
    Sub component SAP_HRCCA of SAP_HR
    SAP_HRCCH
    600
    59
    SAPK-60059INSAPHRCCH
    Sub component SAP_HRCCH of SAP_HR
    SAP_HRCCN
    600
    59
    SAPK-60059INSAPHRCCN
    Sub component SAP_HRCCN of SAP_HR
    SAP_HRCDE
    600
    59
    SAPK-60059INSAPHRCDE
    Sub component SAP_HRCDE of SAP_HR
    SAP_HRCDK
    600
    59
    SAPK-60059INSAPHRCDK
    Sub component SAP_HRCDK of SAP_HR
    SAP_HRCES
    600
    59
    SAPK-60059INSAPHRCES
    Sub component SAP_HRCES of SAP_HR
    SAP_HRCFI
    600
    59
    SAPK-60059INSAPHRCFI
    Sub component SAP_HRCFI of SAP_HR
    SAP_HRCFR
    600
    59
    SAPK-60059INSAPHRCFR
    Sub component SAP_HRCFR of SAP_HR
    SAP_HRCGB
    600
    59
    SAPK-60059INSAPHRCGB
    Sub component SAP_HRCGB of SAP_HR
    SAP_HRCHK
    600
    59
    SAPK-60059INSAPHRCHK
    Sub component SAP_HRCHK of SAP_HR
    SAP_HRCID
    600
    59
    SAPK-60059INSAPHRCID
    Sub component SAP_HRCID of SAP_HR
    SAP_HRCIE
    600
    59
    SAPK-60059INSAPHRCIE
    Sub component SAP_HRCIE of SAP_HR
    SAP_HRCIN
    600
    59
    SAPK-60059INSAPHRCIN
    Sub component SAP_HRCIN of SAP_HR
    SAP_HRCIT
    600
    59
    SAPK-60059INSAPHRCIT
    Sub component SAP_HRCIT of SAP_HR
    SAP_HRCJP
    600
    59
    SAPK-60059INSAPHRCJP
    Sub component SAP_HRCJP of SAP_HR
    SAP_HRCKR
    600
    59
    SAPK-60059INSAPHRCKR
    Sub component SAP_HRCKR of SAP_HR
    SAP_HRCMX
    600
    59
    SAPK-60059INSAPHRCMX
    Sub component SAP_HRCMX of SAP_HR
    SAP_HRCMY
    600
    59
    SAPK-60059INSAPHRCMY
    Sub component SAP_HRCMY of SAP_HR
    SAP_HRCNL
    600
    59
    SAPK-60059INSAPHRCNL
    Sub component SAP_HRCNL of SAP_HR
    SAP_HRCNO
    600
    59
    SAPK-60059INSAPHRCNO
    Sub component SAP_HRCNO of SAP_HR
    SAP_HRCNZ
    600
    59
    SAPK-60059INSAPHRCNZ
    Sub component SAP_HRCNZ of SAP_HR
    SAP_HRCPH
    600
    59
    SAPK-60059INSAPHRCPH
    Sub component SAP_HRCPH of SAP_HR
    SAP_HRCPT
    600
    59
    SAPK-60059INSAPHRCPT
    Sub component SAP_HRCPT of SAP_HR
    SAP_HRCRU
    600
    59
    SAPK-60059INSAPHRCRU
    Sub component SAP_HRCRU of SAP_HR
    SAP_HRCSE
    600
    59
    SAPK-60059INSAPHRCSE
    Sub component SAP_HRCSE of SAP_HR
    SAP_HRCSG
    600
    59
    SAPK-60059INSAPHRCSG
    Sub component SAP_HRCSG of SAP_HR
    SAP_HRCTH
    600
    59
    SAPK-60059INSAPHRCTH
    Sub component SAP_HRCTH of SAP_HR
    SAP_HRCTW
    600
    59
    SAPK-60059INSAPHRCTW
    Sub component SAP_HRCTW of SAP_HR
    SAP_HRCUN
    600
    59
    SAPK-60059INSAPHRCUN
    Sub component SAP_HRCUN of SAP_HR
    SAP_HRCUS
    600
    59
    SAPK-60059INSAPHRCUS
    Sub component SAP_HRCUS of SAP_HR
    SAP_HRCVE
    600
    59
    SAPK-60059INSAPHRCVE
    Sub component SAP_HRCVE of SAP_HR
    SAP_HRCZA
    600
    59
    SAPK-60059INSAPHRCZA
    Sub component SAP_HRCZA of SAP_HR
    SAP_HRGXX
    600
    59
    SAPK-60059INSAPHRGXX
    Sub component SAP_HRGXX of SAP_HR
    SAP_HRRXX
    600
    59
    SAPK-60059INSAPHRRXX
    Sub component SAP_HRRXX of SAP_HR
    EA-IPPE
    400
    17
    SAPKGPID17
    SAP iPPE
    EA-APPL
    600
    17
    SAPKGPAD17
    SAP Enterprise Extension PLM, SCM, Financials
    EA-DFPS
    600
    17
    SAPKGPDD17
    SAP Enterprise Extension Defense Forces & Public Security
    EA-FINSERV
    600
    17
    SAPKGPFD17
    SAP Enterprise Extension Financial Services
    EA-GLTRADE
    600
    17
    SAPKGPGD17
    SAP Enterprise Extension Global Trade
    EA-HR
    600
    58
    SAPKGPHD58
    SAP Enterprise Extension HR
    EA-HRCAR
    600
    58
    SAPK-60058INEAHRCAR
    Sub component EA-HRCAR of EA-HR
    EA-HRCAT
    600
    58
    SAPK-60058INEAHRCAT
    Sub component EA-HRCAT of EA-HR
    EA-HRCAU
    600
    58
    SAPK-60058INEAHRCAU
    Sub component EA-HRCAU of EA-HR
    EA-HRCBE
    600
    58
    SAPK-60058INEAHRCBE
    Sub component EA-HRCBE of EA-HR
    EA-HRCBR
    600
    58
    SAPK-60058INEAHRCBR
    Sub component EA-HRCBR of EA-HR
    EA-HRCCA
    600
    58
    SAPK-60058INEAHRCCA
    Sub component EA-HRCCA of EA-HR
    EA-HRCCH
    600
    58
    SAPK-60058INEAHRCCH
    Sub component EA-HRCCH of EA-HR
    EA-HRCCN
    600
    58
    SAPK-60058INEAHRCCN
    Sub component EA-HRCCN of EA-HR
    EA-HRCDE
    600
    58
    SAPK-60058INEAHRCDE
    Sub component EA-HRCDE of EA-HR
    EA-HRCDK
    600
    58
    SAPK-60058INEAHRCDK
    Sub component EA-HRCDK of EA-HR
    EA-HRCES
    600
    58
    SAPK-60058INEAHRCES
    Sub component EA-HRCES of EA-HR
    EA-HRCFI
    600
    58
    SAPK-60058INEAHRCFI
    Sub component EA-HRCFI of EA-HR
    EA-HRCFR
    600
    58
    SAPK-60058INEAHRCFR
    Sub component EA-HRCFR of EA-HR
    EA-HRCGB
    600
    58
    SAPK-60058INEAHRCGB
    Sub component EA-HRCGB of EA-HR
    EA-HRCHK
    600
    58
    SAPK-60058INEAHRCHK
    Sub component EA-HRCHK of EA-HR
    EA-HRCID
    600
    58
    SAPK-60058INEAHRCID
    Sub component EA-HRCID of EA-HR
    EA-HRCIE
    600
    58
    SAPK-60058INEAHRCIE
    Sub component EA-HRCIE of EA-HR
    EA-HRCIN
    600
    58
    SAPK-60058INEAHRCIN
    Sub component EA-HRCIN of EA-HR
    EA-HRCIT
    600
    58
    SAPK-60058INEAHRCIT
    Sub component EA-HRCIT of EA-HR
    EA-HRCJP
    600
    58
    SAPK-60058INEAHRCJP
    Sub component EA-HRCJP of EA-HR
    EA-HRCKR
    600
    58
    SAPK-60058INEAHRCKR
    Sub component EA-HRCKR of EA-HR
    EA-HRCMX
    600
    58
    SAPK-60058INEAHRCMX
    Sub component EA-HRCMX of EA-HR
    EA-HRCMY
    600
    58
    SAPK-60058INEAHRCMY
    Sub component EA-HRCMY of EA-HR
    EA-HRCNL
    600
    58
    SAPK-60058INEAHRCNL
    Sub component EA-HRCNL of EA-HR
    EA-HRCNO
    600
    58
    SAPK-60058INEAHRCNO
    Sub component EA-HRCNO of EA-HR
    EA-HRCNZ
    600
    58
    SAPK-60058INEAHRCNZ
    Sub component EA-HRCNZ of EA-HR
    EA-HRCPH
    600
    58
    SAPK-60058INEAHRCPH
    Sub component EA-HRCPH of EA-HR
    EA-HRCPT
    600
    58
    SAPK-60058INEAHRCPT
    Sub component EA-HRCPT of EA-HR
    EA-HRCRU
    600
    58
    SAPK-60058INEAHRCRU
    Sub component EA-HRCRU of EA-HR
    EA-HRCSE
    600
    58
    SAPK-60058INEAHRCSE
    Sub component EA-HRCSE of EA-HR
    EA-HRCSG
    600
    58
    SAPK-60058INEAHRCSG
    Sub component EA-HRCSG of EA-HR
    EA-HRCTH
    600
    58
    SAPK-60058INEAHRCTH
    Sub component EA-HRCTH of EA-HR
    EA-HRCTW
    600
    58
    SAPK-60058INEAHRCTW
    Sub component EA-HRCTW of EA-HR
    EA-HRCUN
    600
    0
    Sub component EA-HRCUN of EA-HR
    EA-HRCUS
    600
    58
    SAPK-60058INEAHRCUS
    Sub component EA-HRCUS of EA-HR
    EA-HRCVE
    600
    58
    SAPK-60058INEAHRCVE
    Sub component EA-HRCVE of EA-HR
    EA-HRCZA
    600
    58
    SAPK-60058INEAHRCZA
    Sub component EA-HRCZA of EA-HR
    EA-HRGXX
    600
    58
    SAPK-60058INEAHRGXX
    Sub component EA-HRGXX of EA-HR
    EA-HRRXX
    600
    58
    SAPK-60058INEAHRRXX
    Sub component EA-HRRXX of EA-HR
    EA-PS
    600
    17
    SAPKGPPD17
    SAP Enterprise Extension Public Services
    EA-RETAIL
    600
    17
    SAPKGPRD17
    SAP Enterprise Extension Retail
    FINBASIS
    600
    17
    SAPK-60017INFINBASIS
    Fin. Basis
    C-CEE
    110_600
    23
    SAPK-11023INCCEE
    ECC Core Country Versions for EEM Countr
    ECC-DIMP
    600
    17
    SAPK-60017INECCDIMP
    DIMP
    ERECRUIT
    600
    17
    SAPK-60017INERECRUIT
    E-Recruiting
    FI-CA
    600
    17
    SAPK-60017INFICA
    FI-CA
    FI-CAX
    600
    17
    SAPK-60017INFICAX
    FI-CA Extended
    INSURANCE
    600
    17
    SAPK-60017ININSURANC
    SAP Insurance
    IS-CWM
    600
    17
    SAPK-60017INISCWM
    Industry Solution Catch Weight Management
    IS-H
    600
    22
    SAPK-60022INISH
    SAP Healthcare
    IS-M
    600
    17
    SAPK-60017INISM
    SAP MEDIA
    IS-OIL
    600
    17
    SAPK-60017INISOIL
    IS-OIL
    IS-PS-CA
    600
    17
    SAPK-60017INISPSCA
    IS-PUBLIC SECTOR CONTRACT ACCOUNTING
    IS-UT
    600
    17
    SAPK-60017INISUT
    SAP Utilities/Telecommunication
    LSOFE
    600
    17
    SAPK-60017INLSOFE
    SAP Learning Solution Front-End
    SEM-BW
    600
    17
    SAPKGS6017
    SEM-BW: Strategic Enterprise Management
    ST-A/PI
    01Q_700
    2
    SAPKITAB7L
    Servicetools for other App./Netweaver 04

    Hi Reagan,
    I have already checked in SPAM &  same status has been copied in the initial message.
    Thanks,
    Suresh Babu

  • Number of lines in a Field of type Text with Javascript

    Hi,
    I have a form where I need to dynamically retrieve the number of lines in a Field of type Text.
    When I use getField(), I'm returned an object of type Field. I can see such properties as rect, but nothing concerning the number of lines of text in the field.
    Any idea (other than getting the Field height and dividing that by the height of a line) ?
    Regards,
    Karl.

    Hi,
    You can use below function to calculate the no of lines in the Text field dynamically.
    import mx.controls.textClasses.TextRange;
        import flash.text.TextField;
        private function calculateNoOfLines():int
          var tr2:TextRange = new TextRange(_text, true, 0,_text.text.length-1);
          tr2.text = _text.text;
          _text.invalidateSize();
          _text.invalidateDisplayList();
          _text.invalidateProperties();
          var contentTextField:TextField = _text.mx_internal::getTextField();                           
                  var nLines:int = contentTextField.numLines;
                  var lineMetrics:TextLineMetrics = _text.getLineMetrics(0);
                  // This is to calculate the total text height
                  var _textHeight:Number = lineMetrics.height * nLines;
         return nLines;    
    Call the above function in the KeyUp event of the Text field.
    Here in the above field _text is the Text field.
    <mx:Text id="_text" />
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • How to add a search help to a field  Bank Type in Transaction FK02

    Dear All,
         How to add a search help to a field  Bank Type in Transaction FK02.
         Is there any possibilty of using  exit or searc help or domain to solve this problem.
            Thanks in Advance..
    Thanks,
    Lakhsmi.

    Hi, Tamas,
    I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    The correct code is like:
    CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
    Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
    Xin

  • Adding field 'Document Type' to Cash Flow Statement form in FSI5

    Dear SAP Experts
    I am developing a 'Cash Flow Statement' using FSI5/FSI3 functionality. I need to have a field 'Document Type' in the list of characteristics.
    Can anyone of you guide me how can I add this field?
    An urgent reply is highly appreciated.
    Thanks
    Syed Zia Abbas

    Hi Abbas,
    I have few comments, which should help to solve your
    problem. Please take a look to note 43661 which describes the
    creation of new forms and reports.
    Following are the steps to create the form and report:
    FSI4 => Form type: Financial Statement Key Figures => Copy
                 Form: Name and Text for the new form
                 Copy from: 0SAPRATIO-04
    FSI5 => find and double click the new form just created => Edit Gen.
    data selection => change the FSV to what you want to use
    FSI1 => Report type: Financial Statement Key Figures  => Create
                 Report: Name and Text for the new report
                 With form: Name of the new form details please refer to standard SAP report 0SAPRATIO-04
    FSI3 => find and execute the new report to check if you can get the
    result you want.
    To change the fin. statement version in the general data selections of
    your new form is not enough. You have to check each line of the new form
    too and replace the fin. statement items with items of your own fin. statement structure.
    - The mentioned forms contain restrictions via for example financial
      statement items in rows and years and/or periods in columns. But, if
      you execute the reports, you get no results. It is because the forms
      are just an example templates for items of financial statement version
      (FSV) INT, which is also just a template.
      To be able to get requested results, you have to create your own
      forms (and reports based on your forms) with restriction via your
      own financial statement version (in general data selection) and the
      financial statement items corresponding to your FSV (in particular
      rows). Otherwise, you cannot get any results, as there are no values
      for the template FSV INT and items from the INT.
      But it is up to you, how you arrange the form definition. It is
      closely related to your own FSV definition.
    I hope you find this information useful.
    Jose Luis Carbajo

  • JCo getting truncated value from SAP when field data type is RAW

    We are trying to fetch data from a SAP-AII table by using JCo using the RFC RFC_READ_TABLE.
    We are getting incomplete data when the data type of the column is RAW in a particular table.A typical case is:
    Table Name: /AIN/DM_DEVCTR
    Field : CLIENT                Type: CLNT    Length:3      Value: 100                                                            (SAP Generated)
    Field:  DEVCTR_GUID    Type:RAW      Length:16    Value: 306F50F53805ED488DE9797AC86B5728     (SAP Generated)
    Filed:  DEVCTR_ID         Type:CHAR    Length:128   Value: KDEVICECONTROLLER                             (User input)
    For the fields CLIENT and DEVCTR_ID we get the entire value (including blank spaces) but for DEVCTR_GUID we get only 16 characters whereas SAP-AII stores a value that is 32 characters in length. How do we fetch the actual value instead of the truncated value?
    Sample code is attached.
              try {
                   mConnection = JCO.createClient("100", // SAP client
                             "User", // userid
                             "Password", // password
                             "EN", // language
                             "SAP", // host name
                             "00"); // system number
                   mConnection.connect();
                   if (mConnection == null) {
                        System.out.println("Connection to SAP Server failed.");
                   mRepository = new JCO.Repository("User", mConnection);
                   ftemplate = mRepository.getFunctionTemplate("RFC_READ_TABLE");
              } catch (Exception ex) {
                   ex.printStackTrace();
                   System.exit(1);
              JCO.Function function = ftemplate.getFunction();
              JCO.ParameterList importParamList = function.getImportParameterList();
              importParamList.setValue("/AIN/DM_DEVCTR", "QUERY_TABLE");
              importParamList.setValue(";", "DELIMITER");
              JCO.Table tableData = function.getTableParameterList().getTable("DATA");
              JCO.Table fields = function.getTableParameterList().getTable("FIELDS");
              mConnection.execute(function);
              if (tableData.getNumRows() > 0) {
                   do {
                        for (JCO.FieldIterator e = tableData.fields(); e
                                  .hasMoreElements();) {
                             JCO.Field field = e.nextField();
                             String str = field.getString();
                             String[] values = str.split(";");
                             for(int i = 0; i < values.length; i++){
                                  System.out.println(values<i>);
                   } while (tableData.nextRow());
              } else {
                   System.out.println("No results found");
              mConnection.disconnect();

    Hi Kaanu,
       You have to modify your java code.
    String val = new String( field.getByteArray());
    PS: Please reward points for helpful answer or problem resolved.

  • Recommended installation option PO vs. AEX / adding usage type in future

    Dear guys,
    at the moment some clients I am working with a thinking of migrate their existing PI dual stack landscape and setupt a new single stack landscape.
    Doing so there is the question either to go for PO or AEX.
    Often there is no need for BPM/BRM component yet, but maybe this will change in future.
    Therefore there is the question if it is pssible to add BPM/BRM functionality to an existing AEX installation (SID) or not.
    So far I found inconsistent information regarding this question.
    In this blog it is mentioned that adding of BPM/BRM is not possible.
    http://scn.sap.com/community/process-orchestration/blog/2012/12/07/upgrade-options-to-the-latest-process-integration-or-process-orchestration
    Instead this presenation indicates that it should be possible to add new usage type to an existing AEX (slide 5 which is also included in Teched presenations)
    http://www.sapevent.ch/landingpagesfr/Manager/uploads/303/TU%20S2%20Technical%20PI_to_PO_Migration.pdf
    Can anyone clear up this topic?
    Appreciate your help.
    Best regards
    Jochen

    Hi Hareesh
    thanks for your reply and pointing me to this thread.
    Obviously the deployment possibility changed overtime and was initially not possible but now it seems to be possible.
    Process Orchestration - SAP Library
    You can obtain Process Orchestration by installation or by adding the corresponding usage types to an existing SAP NetWeaver system. For latter, both are supported, deployment of BPM on an existing AEX system and deployment of an AEX on an existing BPM system.
    Also the lately published PO Roadmap indicates that it should be possible to add usage type. (page 25)
    https://websmp103.sap-ag.de/~sapidb/011000358700000273752014E.pdf
    best regards
    Jochen

  • BOM with usage type "Z"

    Hello Guys,
    I need to replicate strucutred products between R3 and CRM with usage Type "Z". I was able to replicate the structured types between R3 and CRM with usage Type "5", the standard usage type. For the business concerns I need to use a BOM usage type "Z", so there are any workaround for this?
    In the several tests that I have made I could see that it is possible to replicate structured products that belong only a plant or structrured products that not belong a any plant, that belong a group bom, instead in my scenario I need to create a structured products for various plants.
    It is that possible?
    Best Regards,
    Mary

    Hello Jürgen,
    I have already created the version in the material master with the correcponding BOM asociated but, where can I find the version field in the info record? I have been cheking these data but I can not find the field to include the version number:
    General data
    Purchase organization data
    Purchase organization data 2
    conditions
    Texts
    Where can I find it?
    Thanks again
    Laura

  • Could not activate MI usage type

    Hi all,
    On our Netweaver 70 system I have deployed:
    -NWMADMIN
    -NWMDRIVERS
    -NWMCLIENT
    -NWMWDLAP
    Functionally the MI seems to work OK. However when I deploy something with JSPM I get the following messages:
    23.10.2008 07:49:10.574 INFO     Detecting components of the J2EE engine has finished.
    23.10.2008 07:49:10.574 INFO     Activating any new usage types...
    23.10.2008 07:49:10.575 INFO     Activating usage type sap.com/MI as all of its components are deployed.
    23.10.2008 07:49:10.686 ERROR    com.sap.sl.ut.infoprovider.exceptions.UTInfoException: The SQL Statement is wrong : SELECT * FROM BC_SL_PARTS LEFT OUTER JO
    IN BC_SL_ACTIVE_PARTS ON BC_SL_PARTS.PRODUCT_CODE=BC_SL_ACTIVE_PARTS.PRODUCT_CODE AND NAME=PART_NAME AND VENDOR=PART_VENDOR WHERE BC_SL_PARTS.PRODUCT_CODE =
    ? AND NAME = ? AND VENDOR = ?  ORDER BY LIST_ORDER
    23.10.2008 07:49:10.688 ERROR    Could not activate usage type sap.com/MI.
    23.10.2008 07:49:10.689 ERROR    com.sap.sdt.jspm.deployment.usages.UsageControllerException: Could not activate necessary usage types.
    Could not activate usage type sap.com/MI.
    com.sap.sl.ut.infoprovider.exceptions.UTInfoException: The SQL Statement is wrong : SELECT * FROM BC_SL_PARTS LEFT OUTER JOIN BC_SL_ACTIVE_PARTS ON BC_SL_PAR
    TS.PRODUCT_CODE=BC_SL_ACTIVE_PARTS.PRODUCT_CODE AND NAME=PART_NAME AND VENDOR=PART_VENDOR WHERE BC_SL_PARTS.PRODUCT_CODE = ? AND NAME = ? AND VENDOR = ?  ORD
    ER BY LIST_ORDER
    When I look at http://<hostname>:50000/utl/UsageTypesInfo I indeed see the MI usage type not to be installed.
    Does anyone know what is going wrong?
    Thanks.
    Regards,
    Bart

    Hi Oliver,
    Yes, the JCO, SLD, etc.. have been setup OK. In addition, from a functional perspective everything works.
    Do you think an undeploy/re-deploy could solve the problem? And will I be loosing MI data then?
    Thanks,
    Regards,
    Bart

  • Which usage types are charged to my bill?

    Last month I had the following usage type totals for my main cell phone:
    Minutes by Usage Type Report
    PlanAllow,PromoAllow
    8
    PlanAllow
    289
    Overage
    40
    N&W
    18
    PlanAllow,CallVM
    3
    M2MAllow
    158
    N&W,CallVM
    2
    PromoAllow,PartAllow,Overage
    9
    PromoAllow
    18
    Total
    545
    The total on my bill was 342 minutes and I can't figure out which types are included in that total.  I was told that any type with 'PlanAllow' or 'Overage' would be included, but that adds up to 329 if I only count the 'PlanAllow' and 'Overage' figures.  If I also include the other types that have 'PlanAllow..' + additional, e.g. 'PlanAllow,PromoAllow', I get 349.  So where does the 342 come from?

    Since you've asked, we have the
    NATIONWIDE TALK SHARE 1400
    Includes:
    Monthly Account Access Charge
    Monthly Line Access Charge for 3 lines
    1400 Shared Monthly Allowance Minutes
    Per Minute Rate After Allowance: $0.40/min.  Peak ,  $0.40/min.  Off-Peak
    I'm not sure why it would make any difference which plan.  I'm a software developer and typically there are uniform algorithms based upon fields like Usage Type that determine what's included and what's not included in a total.  I'm not sure why Verizon doesn't just add a column in the data they provide that would indicate whether particular call's minutes are included in the bill or not, unless they're trying to obfuscate the numbers so that customers get frustrated in trying to figure out how Verizon calculates the total minutes that can be charged at the exorbitant $0.40/min. rate.
    The numbers I've posted were for just one of our three phones and our overages for that month added up to $110.  I had recently reduced our plan from 1400 to 700 minutes, but in doing so I had to give up the Friends and Family program.  With that much overage I really wanted to be able to analyze where the overages were coming from, but based upon the data provided I can't.  I've subsequently increased my plan back to 1400 minutes even though we are usually well under 700.  To Verizon's credit, they were willing to waive the difference of the overage minutes and what it would have cost if I had kept the 1400 plan, but I'd still like to be able to reconcile their provided data and analytic tools to my bills so that we can manage our calling behaviors in a way so that we don't end up paying for an extra 700 minutes per month that we don't use.

Maybe you are looking for

  • Sender RFC comm channel    -   program ID

    Hi all, Short question: I have RFC to FTP scenario. Sender RFC channel needs a program ID. I created a TCP/IP RFC Destination in  <u>source SAP system</u> and specified in there the program ID i will use. However, when i try to test this connection,

  • Upgrading to Mavericks has damaged my bootcamp partition

    I had parallels installed a while back but deleted it because slowed my mac down so much.... I reinstalled it and am able to load Windows 8 under Parallels, but boot camp does not work.  I hate this because Bootcamp is the only way to run this system

  • Problem with validation of css page

    Hi all why can't I validate this page with w3c, here is the page /* CSS Document */ @charset "iso-8859-1"; @media all { body { font-family: "Times New Roman", Times, serif; color: #FFFFFF; font-style: italic; background-color: #0000CC; text-align: ce

  • Now what's the hold up

    ok so i finally got my graphics card delima solved - put in new order w/quadro - everything was going smooth 3-5 days then the bluetooth/airport * WHAM * 2-3 weeks - what gives ?

  • Bulk 2.0 Get /Activity/Fields/{id} giving message endpoint not found

    In Bulk API 2.0 , we have  "GET /activities/fields/{id} ". Has anyone worked on this or has any idea as what "id " value would be? How can we get value for "id"? Can anyone give information on how activity object would be used in Bulk 2.0 because whe