Problem with DDIC type QUAN

Hi,
I have a field with the DDIC type QUAN size 13 decimals 3.
When I set the field to 1000 in the screen and save, it insert in database the value 1,000. And if I put 1 in the screen field and save, it insert 0,001 in the table.
I think the problem is with the separator, but I can't realize how to solve this.
Somebody can help me?
Regards,
Charles

Hi,
Just do like this to solve your problem,
select 'system' menu option,
->user profile,
  ->own data,
     ->select Defaults tab
        ->here u can define your decimal ponits as for your requirement under the decimal notation input then save.
it solves your problem,
reward points if useful,
seshu.

Similar Messages

  • Problems with letter type

    Problems with letter type homepage www.JO-qigong.nl When I want to make another type it changes the whole page? Why?

    Thank you for responding. I am sure that I selected the text. I don't do anything different than I did many times before. But if I change a text know, for exemple in the color Red, than other text, that I didn't selected, get a different text: bigger text or other color. In iWeb everything is OK, but when I publish it, than there are those grazy changes. I use iWeb for 3 years now and had no problems till now.
    Is it because the software is not supported anymore by Apple, because you can not update the software anymore. It is a pitty, because I like iWeb. It is easy to work with.

  • Problem with mime type in web.xml file

    Hi everybody,
    I actually got a problem with mime types on Weblogic 6.0 under Linux.
    I read the documentation so I added the next lines in the web.xml file in
    the WEB-INF directory of my server :
    <mime-mapping>
    <extension>
    doc
    </extension>
    <mime-type>
    application/msword
    </mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>
    ppt
    </extension>
    <mime-type>
    application/vnd.ms-powerpoint
    </mime-type>
    </mime-mapping>
    Why can't I retrieve a .doc or .ppt files with an internet browser correctly
    ? I get only text/plain ...
    Can someone help me ?
    Regards,
    Alexis Berger

    I am having the same problem with doc and xsl. I have added this
    <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    to my web.xml. I even restarted the server. I still see doc and xsl in binary.
    Is there some other setting that needs to take place?
    I am using WL6.1 with fixpack 1.
    I can see the doc and excel files in the browser if I don't go through the weblogic
    server. That just confirms it's not my browser.
    Kumar Allamraju <[email protected]> wrote:
    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    It works fine for me in 6.1 SP1.
    <br><br>
    If the following doesn't work , can you
    <br>try application/winword instead of application/msword?
    <p>--
    <br>Kumar
    <p>Siming Mu wrote:
    <blockquote TYPE=CITE>Hi,
    <p>I setup in my web.xml a mime mapping as follows,
    <p><mime-mapping>
    <br><extension>doc</extension><mime-type>application/msword</mime-type>
    <br></mime-mapping>
    <p>When I specify a test.doc url, the doc file appears in my browser
    as
    binary data
    <br>instead of download.
    <p>Please reference change request 055002, which decribes this problem. 
    According
    <br>to edocs, it has been fixed in wls6.1sp1.
    <p>But I am seeing it fixed.  Am I doing anything wrong? Thanks.
    <p>Siming</blockquote>
    </html>

  • How do fix problem with iPages - type does not enter - ?

    How do I fix this problem with Pages - type from keyboard does not enter ?  If I need to re-install, How do I do that?

    Hello DonAndNorma,
    You may need to uninstall, then reinstall the Pages application. Steps for doing so can be found in the article linked below.
    OS X Mavericks: Install, update, and uninstall apps
    http://support.apple.com/kb/PH14299
    Cheers,
    Allen

  • IDES installation problem with DDIC password

    Hello everybody,
    After hours of searching and trying..
    I have here a problem during a local installation of IDES ECC 6.0 on Windows Server 2008 with MAXDB. The installation stops in phase 27 of 29 u201Ccheck DDIC passwordu201D - test logon to SAP system failed, with the error message FRF-00007 "Unable to open RFC connection" in sapinst.
    The MMC shows in the process list that the following processes stands oon "green": igswd, mag_Server and disp+work are running. The message of servers connection is OK, acts dialogue queue time is 0.00 sec.
    I have already searched the forum, but I am not able to logon as user SAP* with u201C060. u2026u201D or as user DDIC with the password u201C199. u2026u201D to change the DDIC password to my password set during the installation (transaction -S000 / SU01). The login fails over the MMC as well as over the SAP GUI 7.10. I have tried this on the client 000, 001 and 800. The error message is u201CSAP Logon Failed - connection closed without message (CM_NO_DATA_RECEIVEDu201D). The SAP GUI gets down with "Work process restartet, session terminated".
    What can help to solve the problem? Can it be a problem with the ms loop adaptor? Which static address IP must assign to the loop adaptor? Did i have to update the kernel of the data bank or is this not necessary? Can the information from dev_w help?
    Can this link help me: BI 7.0 Installed but errored out during DDIC password check !!!!!!!
    Thanks in advance
    Lenvy
    Edited by: Lenvy Gee on Sep 6, 2009 2:30 AM
    Edited by: Lenvy Gee on Sep 6, 2009 2:34 AM

    Good Morning everybody,
    I started a next try, the mmc is running on green, the login starts up and......failed.
    So the network setting seems to be correct.
    The log files included following:
    ..........................................(just the last lines).............................

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server BASIS_A23_00 on host BASED (wp 0)
    M  *  ERROR       ThSigHandler: signal
    M  *
    M  *  TIME        Mon Nov 26 08:06:26 2009
    M  *  RELEASE     700
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          11
    M  *  MODULE      thxxhead.c
    M  *  LINE        10688
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  PfStatDisconnect: disconnect statistics
    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  TrThHookFunc: called for WP dump
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  ThrSaveSPAFields: save spa fields
    M  Entering ThSetStatError
    M  ThIErrHandle: incomplete previous roll out, do a full roll out
    M  ThRollOut: roll out T17/U25/M0/I0 (level=7, short_roll_out=0)
    M  ThRollOut: call rrol_out (1)
    M  ThRollOut: act roll state = DP_ROLLED_OUT
    M  ThRollOut: roll level <> 0, don't call ab_rollout
    M  ThRollOut: full roll out of U25 M0 I0 (Level 7) ok
    M  ThIErrHandle: prv_action of W0: 0x8
    M  ThCallDbBreak: use db_sqlbreak
    C  CANCEL rejected, because there is no SQL statement active
    M  ThIErrHandle: don't try rollback again
    M  ThIErrHandle: call ThrCoreInfo
    A  TH VERBOSE LEVEL FULL
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_MTX completed.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER entered.
    A  ** RABAX: level LEV_RX_COVERAGE_ANALYSER completed.
    A  ** RABAX: level LEV_RX_ROLLBACK entered.
    A  ** RABAX: level LEV_RX_ROLLBACK completed.
    A  ** RABAX: level LEV_RX_DB_ALIVE entered.
    A  ** RABAX: level LEV_RX_DB_ALIVE completed.
    A  ** RABAX: level LEV_RX_HOOKS entered.
    A  ** RABAX: level LEV_RX_HOOKS completed.
    A  ** RABAX: level LEV_RX_STANDARD entered.
    A  ** RABAX: level LEV_RX_STANDARD completed.
    A  ** RABAX: level LEV_RX_STOR_VALUES entered.
    A  ** RABAX: level LEV_RX_STOR_VALUES completed.
    A  ** RABAX: level LEV_RX_C_STACK entered.
    A  ** RABAX: level LEV_RX_C_STACK completed.
    A  ** RABAX: level LEV_RX_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_AFTER_MEMO_CHECK entered.
    A  ** RABAX: level LEV_RX_AFTER_MEMO_CHECK completed.
    A  ** RABAX: level LEV_RX_INTERFACES entered.
    A  ** RABAX: level LEV_RX_INTERFACES completed.
    A  ** RABAX: level LEV_RX_GET_MESS entered.
    A  ** RABAX: level LEV_RX_GET_MESS completed.
    A  ** RABAX: level LEV_RX_INIT_SNAP entered.
    A  ** RABAX: level LEV_RX_INIT_SNAP completed.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG entered.
    A  ** RABAX: level LEV_RX_WRITE_SYSLOG completed.
    A  ** RABAX: level LEV_RX_WRITE_SNAP entered.
    M  ThContextId: context_id = >0001700020019C010D31F2D5BD12D1714B103838<
    M  ThContextId: context_id_uuid = {29019C01-7F24-F235-BD12-D1714B103838}
    M  ThGetTransId2: got trans id (spa) >29019C017F24F239BD12D1714B103838< (32)
    A  ** RABAX: level LEV_SN_END completed.
    A  ** RABAX: level LEV_RX_SET_ALERT entered.
    A  ** RABAX: level LEV_RX_SET_ALERT completed.
    A  ** RABAX: level LEV_RX_COMMIT entered.
    A  ** RABAX: level LEV_RX_COMMIT completed.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG entered.
    A  ** RABAX: level LEV_RX_SNAP_SYSLOG completed.
    A  ** RABAX: level LEV_RX_RESET_PROGS entered.
    A  ** RABAX: level LEV_RX_RESET_PROGS completed.
    A  ** RABAX: level LEV_RX_STDERR entered.
    A  ** RABAX: level LEV_RX_STDERR completed.
    A  ** RABAX: level LEV_RX_RFC_ERROR entered.
    A  ** RABAX: level LEV_RX_RFC_ERROR completed.
    A  ** RABAX: level LEV_RX_RFC_CLOSE entered.
    A  ** RABAX: level LEV_RX_RFC_CLOSE completed.
    A  ** RABAX: level LEV_RX_IMC_ERROR entered.
    A  ** RABAX: level LEV_RX_IMC_ERROR completed.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE entered.
    A  ** RABAX: level LEV_RX_DATASET_CLOSE completed.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS entered.
    A  ** RABAX: level LEV_RX_RESET_SHMLOCKS completed.
    A  ** RABAX: level LEV_RX_ERROR_SAVE entered.
    A  ** RABAX: level LEV_RX_ERROR_SAVE completed.
    A  ** RABAX: level LEV_RX_ERROR_TPDA entered.
    A  ** RABAX: level LEV_RX_ERROR_TPDA completed.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI entered.
    A  ** RABAX: level LEV_RX_PXA_RELEASE_RUDI completed.
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP entered.
    M  RmCleanUpResources3: hdr/tbl/ext_tbl/free/keep = 000000000F67D3C8/0000000000000000/0/0/1
    M  RmCleanUpResources3: no resources registered
    A  ** RABAX: level LEV_RX_LIVE_CACHE_CLEANUP completed.
    A  ** RABAX: level LEV_RX_END entered.
    A  ** RABAX: level LEV_RX_END completed.
    A  ** RABAX: end RX_RETURN
    M  ThIErrHandle: ThrCoreInfo o.k.
    M  ThIErrHandle: Entering ThReplyToMsg
    M  ThIErrHandle: Entering ThErrHdlUser
    M  ThErrHdlUser: set th_errno (11)
    M  ThErrHdlUser: save context
    M  ThEmContextDetach2: detach T17/M0 from em memory (em_hdl=0, force=0)
    M  ThEmContextDetach2: reset local em info
    B  Disconnecting from ALL connections:
    B  Wp  Hdl ConName          ConId     ConState     TX  PRM RCT TIM MAX OPT Date     Time   DBHost         
    B  000 000 R/3              000000000 ACTIVE       YES YES NO  000 255 255 20401126 080533 BASIS          
    C  Disconnecting from connection 0 ...
    C  Now I'm disconnected from SAP DB
    B  Disconnected from connection 0
    B  statistics db_con_commit (com_total=4, com_tx=0)
    B  statistics db_con_rollback (roll_total=1, roll_tx=0)
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 816) [dpnttool.c   327]
    M  return from clean-up function ...
    and:
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        A23
    systemid   562 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    144
    intno      20050900
    make:      multithreaded, Unicode, 64 bit, optimized
    pid        2928
    Mon Nov 26 08:03:01 2009
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2928) [dpxxdisp.c   1243]
         shared lib "dw_xml.dll" version 144 successfully loaded
         shared lib "dw_xtc.dll" version 144 successfully loaded
         shared lib "dw_stl.dll" version 144 successfully loaded
         shared lib "dw_gui.dll" version 144 successfully loaded
         shared lib "dw_mdm.dll" version 144 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Mon Nov 26 08:03:10 2040
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 9 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >BASIS_I23_00                            <
    DpShMCreate: sizeof(wp_adm)          25168     (1480)
    DpShMCreate: sizeof(tm_adm)          5652128     (28120)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/16/552064/552080
    DpShMCreate: sizeof(comm_adm)          552080     (1088)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (104)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1864)
    DpShMCreate: sizeof(wall_adm)          (41664/36752/64/192)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 000000000D800050, size: 6348592)
    DpShMCreate: allocated sys_adm at 000000000D800050
    DpShMCreate: allocated wp_adm at 000000000D802150
    DpShMCreate: allocated tm_adm_list at 000000000D8083A0
    DpShMCreate: allocated tm_adm at 000000000D808400
    DpShMCreate: allocated wp_ca_adm at 000000000DD6C2A0
    DpShMCreate: allocated appc_ca_adm at 000000000DD72060
    DpShMCreate: allocated comm_adm at 000000000DD73FA0
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 000000000DDFAC30
    DpShMCreate: allocated gw_adm at 000000000DDFACB0
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 000000000DDFACE0
    DpShMCreate: allocated wall_adm at 000000000DDFACF0
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 4096 kByte.
    <ES> Info: em/initial_size_MB( 4093MB) not multiple of em/blocksize_KB( 4096KB)
    <ES> Info: em/initial_size_MB rounded up to 4096MB
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 1023 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1633]
    ***LOG Q0K=> DpMsAttach, mscon ( BASIS) [dpxxdisp.c   11822]
    DpStartStopMsg: send start message (myname is >BASIS_I23_00                            <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
    Mon Nov 26 08:03:11 2040
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 144
    Release check o.K.
    Mon Nov 26 08:03:17 2040
    MBUF state ACTIVE
    DpModState: change server state from STARTING to ACTIVE
    Mon Nov 26 08:04:26 2040
    SoftCancel request for T17 U18 M0 received from IC_MAN
    SoftCancel request for T19 U20 M0 received from IC_MAN
    ERROR => DpWpKill(3092, SIGUSR2) failed [dpxxtool.c   2496]
    Mon Nov 26 08:04:30 2040
    ERROR => DpHdlDeadWp: W0 (pid 3200) died [dpxxdisp.c   14532]
    Mon Nov 26 08:04:31 2040
    ERROR => DpHdlDeadWp: W1 (pid 3220) died [dpxxdisp.c   14532]
    DpHdlDeadWp: restart wp (pid=3092) automatically
    ERROR => DpHdlDeadWp: W3 (pid 3296) died [dpxxdisp.c   14532]
    DpHdlDeadWp: restart wp (pid=3268) automatically
    ERROR => DpHdlDeadWp: W10 (pid 2032) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W15 (pid 3312) died [dpxxdisp.c   14532]
    Mon Nov 26 08:04:45 2040
    ERROR => DpRqCheck: mode 0 in status CANCEL [dpxxdisp.c   6971]
    Mon Nov 26 08:05:10 2040
    ERROR => DpHdlDeadWp: W4 (pid 3260) died [dpxxdisp.c   14532]
    Mon Nov 26 08:05:30 2040
    ERROR => DpHdlDeadWp: W0 (pid 3788) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W1 (pid 2108) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W6 (pid 3108) died [dpxxdisp.c   14532]
    ERROR => DpHdlDeadWp: W15 (pid 464) died [dpxxdisp.c   14532]
    Mon Nov 26 08:05:33 2040
    ERROR => DpRqCheck: mode 0 in status CANCEL [dpxxdisp.c   6971]
    The kernel is not patched. I just (try) to install the kernel files from the sap market place
    IDES download destination. The install kernel file was: 51033508_7 - NW7 SR3 Kernel 7.00 for Windows / LNX X86_X64. I got an update / upgrade file, which is called: 51033508_8 - NW7 SR3 Kernel .... Upg ABAP.
    Can anybody give me an adwise by reading those logfiles? Is the file ok for updating the kernel?
    How do I upgrade the kernel by having no .exe - file?  May the installation go on after patching the kernel?
    Thanks you really much
    Lenvy

  • Problem with numeric types in Abap Proxy

    Hello,
    We are having problems with some abap proxy calls. When a numeric type is filled with 0 the node it´s automatically removed and no value it's recived in XI. The only way I have found to avoid this problem it's to define the field with type string or change the cardinality to 1..1 instead of 0..1. It's there any way to maintain the type and the cardinality?? Maybe with a pattern??
    Regards,
    Alberto Pla.

    Hi Alberto
    I had this problem, and I decided to use xsd:string instead of xsd:integer. This will solve the issue.
    Anyway.. check this note:
    [Note 1242795 - Mapping of XSD default values by ABAP Proxy Generation|https://service.sap.com/sap/support/notes/1242795]
    Regards
    Francesco

  • Problem with file type... some files have been changed to folders... Help !

    Hello,
    I have problem with some files that are located in Library / Quicktime.
    I have 7 files in that folder and all are .component files.
    3 of them used to look like a lego block :
    DivX Encoder.component
    macam.component
    MayaIFF.component
    But today, I have accidentally change them into folders (and I don,t Know how...) So instead of having thoses 3 files with the lego block icon , I have 3 folders and If I click on thoses folder, It open like a standard folder, so I see the "content" folder inside them...
    How can I change it back to the .component file type they should be... I know how to change the type of a file, but since they are now folders, there's no "file Type" associated with them (right click / infos)...
    Help !

    There are lots of things that are in fact folders, but the Finder treats them as "files"--in the sense that normally when you select one you cannot see the contents of the folder. One way this is done is by the use of certain extensions, for instance .app, .pkg, .mpkg, .bundle and .component all tell the Finder to NOT display the folders as folders. If you do a GetInfo on them and the name is still "whatever.component" and the Kind: Component is still showing, and you haven't noticed any problem with QuickTime, then don't worry about it.
    Those are all third party QT components. If they aren't working, you may have to reinstall them from the original source.
    Francine
    Francine
    Schwieder

  • Problem with field type STRING in table

    Hi Experts,
             I am new to ABAP. I have created a new transparent table which hold error info. One of the field has to store data of size about 1500 char.
    Since CHAR type is not acceptable for this field So I gave STRING type. Now when I try to create a TABLE parameter in a RFC enabled functional module using "LIKE YERROR" Then I get a error:
    "YERROR must be a flat structure. You cannot use internal tables, strings, references, or structure as component" 
    Why is this error? How to resolve it? Is it because I have used a field of type STRING in the table? If this is the problem then what other type can I use?
    What are other know problems with using STRING type?
    Please help!
    Thanks
    Gopal

    Hi,
    Try to declare it as type LCHR , it can hold up to 32000 chars.
    Regards
    vijay

  • Dynamic ITAB copy problem with field type P

    Hello everyone
    I need to copy the structure of an internal table that is pass by reference into a method.
    Actually everything is fine else than the field type P with decimal is not created properly in the new itab.
    Scenario:
    An internal table is pass by reference to a method. We need to trait the data without modifying the original table. The Idea is to copy the structure and the data of the referenced internal table into an internal table created dymanically in the method.
    Here is what I did and working fine when there are no field of data type "CURR".
    Extract the structure of the reference data.
    Create a dynamic internal table.
    So far so good. Everything seams to work fine. BUT
    when I am trying to copy the data from the reference table to the just created internal table the field with data type "CURR" doesn't work.
    Here is my example:
    FIELD-SYMBOLS: <FS_TABLE> TYPE STANDARD TABLE,
                   <TMP_TABLE> TYPE STANDARD TABLE,
                   <LS_TMP_TABLE> TYPE ANY,
                   <LS_TABLE>     TYPE ANY,
                   <LS_VALUE>     TYPE ANY.
    DATA: lt_data      TYPE STANDARD TABLE OF vbak,
          ls_data      LIKE LINE OF lt_sortfield,
          ref_data     TYPE REF TO data,
          l_structure  TYPE REF TO DATA,
          lv_ltname    TYPE string.               
    select * from vbak UP TO 10 rows INTO CORRESPONDING FIELDS OF TABLE lt_data.
    * --- Assign the reference variable to the table
    * ---- Only use to simulate a parameter that is assign to a reference to a internal table
    unassign <FS_TABLE>.
    lv_ltname = 'lt_data[]'.
    ASSIGN (lv_ltname) to <FS_TABLE>.
    GET REFERENCE OF <FS_TABLE>[] INTO ref_data.
    * --- Assign the reference to the field-symbol
    UNASSIGN <FS_TABLE>.
    ASSIGN ref_data->* TO <FS_TABLE>.
    * --- Create a working area for the reference table to a field-table
    CREATE DATA l_structure LIKE LINE OF <FS_TABLE>.
    ASSIGN l_structure->* TO <LS_TABLE>.
    * --- Retrieve the structure of the field-symbol pointing to the internal table
    DATA: lr_tabledescr   TYPE REF TO cl_abap_tabledescr,   " Internal Table description
          _r_structdescr  TYPE REF TO cl_abap_structdescr.
    lr_tabledescr ?= cl_abap_tabledescr=>describe_by_data( <fs_table> ).
    _r_structdescr ?= lr_tabledescr->get_table_line_type( ).
    * --- Read internal table structure to create dynamic internal table
    data: ls_struc like LINE OF _r_structdescr->components,
          xfc           type lvc_s_fcat,
          ifc           type lvc_t_fcat.
    * --- Why the field (component) NETWR length is now 8 instead of 15?
    LOOP AT _r_structdescr->components into ls_struc.
      clear xfc.
      xfc-fieldname = ls_struc-name .
      xfc-datatype  = ls_struc-type_kind.
      xfc-inttype   = ls_struc-type_kind.
      xfc-intlen    = ls_struc-length.
      xfc-decimals  = ls_struc-decimals.
      append xfc to ifc.
    ENDLOOP.
    DATA:   dy_table      type ref to data,
    * --- Create dynamic internal table
    call method cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog = ifc
      IMPORTING
        ep_table        = dy_table.
    * --- assign reference internal table to Field-symbol
    assign dy_table->* to <tmp_table>.
    unassign <ls_tmp_table>.
    DATA: ls_tmp_struc type REF TO DATA.
    CREATE DATA ls_tmp_struc like LINE OF <tmp_table>.
    ASSIGN ls_tmp_struc->* TO <ls_tmp_table>.
    Loop at <fs_table> INTO <LS_TABLE>.
    MOVE-CORRESPONDING <ls_table> TO <ls_tmp_table>.
    APPEND <ls_tmp_table> TO <tmp_table>.
    ENDLOOP.
    * <fs_table>-netwr length is 15
    * <ls_tmp_table>-netwr length is 8
    * ??????????? Why the length is different?
    * ??????????? It should a structure copy and have the
    * ??????????? same length
    I use VBAK as example, and the field NETWR is using data type "NETWR_AK" where it us a data type "CURR" with length 15 and decimal 2.
    When reading the structure, the method get_table_line_type of the class cl_abap_tabledescr return a length of 8 instead of 15.
    Any idea how to get the exact structure of a variable that is refering to a data type?
    Regards
    Daniel

    Hello Everyone
    Thank you for your replies.
    I think I didn't explain myself clearly.
    My goal is to be able to create an exact  structure copy of a "Type ref to data" into a new internal table that is not defined yet.
    Example:
      A method contain a parameter that is a ref to DATA type.
      That parameter is refering to an internal table from the calling program.
      Now I want to create an internal table into the method where this one will be an exact structure copy of the parameter.
      So, lets put some name here.
      parameter: ip_data type ref to data.
      FIELD-SYMBOLS: <FS_REF_DATA> TYPE STANDARD TABLE,
                                    <FS_CP_DATA>  TYPE STANDARD TABLE.
    ASSIGN ip_data->* TO <FS_REF_DATA>.
    " some code to assign the same structure to <FS_CP_DATA> from <FS_REF_DATA>
    " than copy the data from <FS_REF_DATA> to <FS_CP_DATA>.
    <FS_CP_DATA> [ ] = <FS_REF_DATA> [ ].  " This is working if no type P with decimal exist into the structure
    " Than I can play with the data of <FS_CP_DATA> without modifying the data of <FS_REF_DATA>.
    My problem would be solved if I can create dynamically an internal table that has an exact structure copy of the passed parameter.
    Regards
    Daniel

  • Trying to export video, stuck at 0%. File in project is .mp4. I only have this problem with this type of file.

    Hello,
    I am trying to export a video and I'm stuck at 0%.  The file in the video is a .mp4 that I downloaded from my own Youtube page.  I have the same problem with any project containing this type of file.  I have tried to export as .mov, .Mpeg, .wmv, .avi, with the same results.
    I am able to export videos that contain other sorts of files without difficulty. 
    I am using a PC.  Adobe Premiere Elements 12.
    Any assistance will be greatly appreciated. 
    Thank you!
    Travis

    Travis
    Do you have the latest version of QuickTime installed on your computer with Premiere Elements 12?
    Sides mentions....
    Have you updated from 12 to the 12.1 Update? If not, please do so using an opened project's Help Menu/Update.
    What is the computer operating system in use.
    Are you running the program from a User Account with Administrative Privileges?
    We will be watching for your results.
    Thank you.
    ATR

  • Data loading problem with Movement types

    Hi Friends,
            I extarcted data using the data source General Ledger : Line itemdata (0fi_gl_4) to BW side.
        Problem is Movement Types for some documents missing.
    But i checked in rsa3 that time showing correctly.
    i restricted the data in bw side infopackage level only particular document that time data loading perfecly.
    this data source having 53,460 records.among all the records 400 records doc type 'we' movement types are missing.
    please give me solution for this how to loading the data with movement types.
    i checked particular document of 50000313 in RSA3 it is showing movement types. then i loaded data in bw side that time that movement types are not comming to be side. then i gave the particular doc 50000313 in infopackage level loading the data that time movement types are loading correctly. this extaractor having 55000 records.
    this is very urgent problem.Please give me reply urgenty. i am waiting for your's replys.
    Thanks & Regards,
    Guna.
    Edited by: gunasekhar raya on May 8, 2008 9:40 AM

    Hi,
    we enhanced Mvement type field(MSEG-BWART) General ledger (0FI_GL_4) extractor.
    this field populated with data all the ACC. Doc . number.
    Only 50000295 to 50000615  in this range we are not getting the movement types values.
    we didn't write any routines in transfer and update rules level.
    just we mapped to BWART field 0MOVETYPE info object.
    we restrict the particular doc no 50000313 infopackage level that time loading the the data into cube with movement types.
    but we remove the restriction infopackage level then loading the data that time we missing the movement types data of particular doc no 50000295 to 50000615.
    Please give mesolution for this. i need to solve this very urgently.
    i am witing for your reply.
    Thanks,
    Guna.

  • Problem with DB2 Type 4 driver

    Hi
    The problem has been narrowed down to a problem with the IBM DB2 Type 4
    driver (COM.ibm.db2.jdbc.net.DB2Driver). In some situations, it introduces a
    100ms delay when sending parameters for a prepared statement (846 bytes in
    the truss trace below). With the IBM app driver (type 2) we get the
    performance that we expect.
    In other words, this has to do with TCP/IP communication and whether this is
    a JVM, DB2 or Solaris issue we don't know. Probably a combination.
    Regards
    Steffen Jensen
    Nordija
    Below, the Solaris truss trace that shows how the JDBC driver (in the WLS
    VM) sends data and how the DB2 listener process receives it.
    WLS
    24092: 5.6607 send(7, "\001\0\003 N", 6, 0) = 6
    24092: 5.6611 send(7, "\0 O\001\004\001FFE7FFFB".., 846, 0) = 846
    24092: 5.6682 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.6882 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7082 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7282 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7482 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7625 read(7, "\0", 1) = 1
    DB2 listener
    24109: 5,6607 recv(5, "\001", 2, 0) = 2
    24109: 5,6617 recv(5, "\0\003 N", 4, 0) = 4
    24109: 5,7583 recv(5, "\0 O\001\004\001FFE7FFFB".., 846, 0) = 846
    24109: 5,7606 semop(2883608, 0xFFBED4C0, 1) = 0
    24109: semnum=0 semop=1 semflg=0
    24109: 5,7618 semop(2883608, 0xFFBED5C0, 1) = 0
    24109: semnum=1 semop=-1 semflg=0

    Hi
    The problem has been narrowed down to a problem with the IBM DB2 Type 4
    driver (COM.ibm.db2.jdbc.net.DB2Driver). In some situations, it introduces a
    100ms delay when sending parameters for a prepared statement (846 bytes in
    the truss trace below). With the IBM app driver (type 2) we get the
    performance that we expect.
    In other words, this has to do with TCP/IP communication and whether this is
    a JVM, DB2 or Solaris issue we don't know. Probably a combination.
    Regards
    Steffen Jensen
    Nordija
    Below, the Solaris truss trace that shows how the JDBC driver (in the WLS
    VM) sends data and how the DB2 listener process receives it.
    WLS
    24092: 5.6607 send(7, "\001\0\003 N", 6, 0) = 6
    24092: 5.6611 send(7, "\0 O\001\004\001FFE7FFFB".., 846, 0) = 846
    24092: 5.6682 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.6882 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7082 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7282 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7482 poll(0xFEC07A50, 0, 10) = 0
    24092: 5.7625 read(7, "\0", 1) = 1
    DB2 listener
    24109: 5,6607 recv(5, "\001", 2, 0) = 2
    24109: 5,6617 recv(5, "\0\003 N", 4, 0) = 4
    24109: 5,7583 recv(5, "\0 O\001\004\001FFE7FFFB".., 846, 0) = 846
    24109: 5,7606 semop(2883608, 0xFFBED4C0, 1) = 0
    24109: semnum=0 semop=1 semflg=0
    24109: 5,7618 semop(2883608, 0xFFBED5C0, 1) = 0
    24109: semnum=1 semop=-1 semflg=0

  • Problem with Column types and String

    Hi
    I have some problem while comparing against empty string.
    My column is of type it_Linked_Button. Actually it seems that column type doesn't matter.
    If cell that belongs to this column is empty and based on other columns' values I put some value into this cell.
    It works fine.
    But when I clear that cell and try to put some value again nothing happens.
    In my if statement I'm checking against empty string and it fails second time.
    Before I put anything in that cell (in debugger) that value is "" so it is empty and it works.
    (OK, I see that after I posted this message it was slightly reformated)
    But after I put something and clear that cell and try to put something again (in debugger) I get "(here is some long space) " which fails String.IsNullOrEmpty(var) test.
    What is going on? Has it something to do with Column type?
    How to clear it so I can put something in it again?
    One more thing - to put values and clear it I use DbDataSource SetValue method. And String.Empty or ""(doesn't matter)
    Thanks
    Kamil
    NOTE
    I made some workaround that gives me the behaviour I want but still I would like to know what is going on?
    Edited by: Kamil Wydrzycki on Sep 24, 2009 12:57 PM

    DrLaszloJamf wrote:
    warnerja wrote:
    DrLaszloJamf wrote:
    1. Could you define an Enum? Then you could switch on enum values.
    2. Wait for Java 7 which is supposed to extend switch to strings?3. Put the target strings in a collection, write a loop to find the match in the collection and use the matching index in the switch statement. At least that will get rid of the hashcode kludge, where it won't mistakenly 'match' a string which isn't the actual target.3b: Map<String, Command>Yep.
    I also wanted to point this out to the OP:
    For example, let's say the 7 character string "BugABoo" happens to have the same hashcode as "EDI_DOC". And let's say your input just happens to have the string "BugABoo" in it, where you're extracting the 7 character substring. See the problem? You're getting "BugABoo" but treating it as if it really were "EDI_DOC", by virtue of comparing hashcodes instead of actual strings.
    OOPS!

  • FrameGrabbingControl - grab frame problem with video type

    Hi all
    I have a problem with extracting frames from a video.
    Currently I am able to extracting video from some avi formats. But this method does not works for many formats. like mpg etc...
    The FrameGrabbingControl object return null for many formats.
    This is my code
    public Player getVideoPlayer() throws Exception
            if (videoPlayer == null)
                File file = new File("E:\\Songs\\English\\Video\\Alizee\\20090209114235.avi");
                MediaLocator videoMediaLocator = new MediaLocator(file.toURL());
                videoPlayer = Manager.createRealizedPlayer(videoMediaLocator);
            return videoPlayer;
    public FrameGrabbingControl getFrameGrabCntrl() throws Exception
            if (frameGrabCntrl == null)
                frameGrabCntrl = (FrameGrabbingControl) getVideoPlayer().getControl("javax.media.control.FrameGrabbingControl");
            return frameGrabCntrl;
    // frame extract method
    public Image captureCurrent() throws Exception
            Buffer frame = getFrameGrabCntrl().grabFrame();
            BufferToImage stopBuffer = new BufferToImage((VideoFormat) frame.getFormat());
            return stopBuffer.createImage(frame);
        }Here are some 3 sample media information I have tested with the program. First two works fine but 3rd one does not works.
    // taken from http://www.exactfutures.com/index02.htm and downloaded http://www.exactfutures.com/vid2jpg.zip
    // WORKS FINE
       General
          Complete name : E:\Songs\English\Video\Alizee\testcam04.avi
          Format : AVI
          Format/Info : Audio Video Interleave
          Format/Family : RIFF
          File size : 1.88 MiB
          PlayTime : 29s 596ms
          Bit rate : 533 Kbps
       Video #0
          Codec : Indeo 4
          Codec/Info : Intel Indeo Video 5.0 Wavelet
          PlayTime : 29s 596ms
          Bit rate : 528 Kbps
          Width : 320 pixels
          Height : 240 pixels
          Aspect ratio : 4/3
          Frame rate : 3.818 fps
          Bits/(Pixel*Frame) : 1.801
    // recorded video from a webcam
    // WORKS FINE
       General
          Complete name : C:\Program Files\MSI\MyGuard Live\VideoClip\20090209114235.avi
          Format : AVI
          Format/Info : Audio Video Interleave
          Format/Family : RIFF
          File size : 311 KiB
          PlayTime : 3s 200ms
          Bit rate : 710 Kbps
       Video #0
          Codec : Indeo 4
          Codec/Info : Intel Indeo Video 5.0 Wavelet
          PlayTime : 3s 200ms
          Bit rate : 705 Kbps
          Width : 640 pixels
          Height : 480 pixels
          Aspect ratio : 4/3
          Frame rate : 15.000 fps
          Bits/(Pixel*Frame) : 0.153
    // downloaded avi sample video
    // NOT WORKS
       General
          Complete name : E:\Songs\English\Video\Alizee\fvss_demo.avi
          Format : AVI
          Format/Info : Audio Video Interleave
          Format/Family : RIFF
          File size : 10.3 MiB
          PlayTime : 2mn 300ms
          Bit rate : 715 Kbps
       Video #0
          Codec : MS Video
          Codec/Info : Microsoft Video 1
          PlayTime : 2mn 300ms
          Bit rate : 638 Kbps
          Width : 160 pixels
          Height : 120 pixels
          Aspect ratio : 4/3
          Frame rate : 10.000 fps
          Bits/(Pixel*Frame) : 3.325
       Audio #1
          Codec : PCM
          Codec/Family : PCM
          Codec/Info : Microsoft PCM
          PlayTime : 2mn 300ms
          Bit rate : 64 Kbps
          Channel(s) : 1 channel
          Sampling rate : 8000 Hz
          Resolution : 8 bitsI think problem is the codec. Am I correct?
    Could anyone please tell me why can't I use this FrameGrabbingControl object to extract frames?

    deshan wrote:
    Currently I am able to extracting video from some avi formats. But this method does not works for many formats. like mpg etc...
    The FrameGrabbingControl object return null for many formats.That's expected behavior when the codec doesn't support capture...
    Could anyone please tell me why can't I use this FrameGrabbingControl object to extract frames?Because it's not supported for that format.
    But T.B.M. and I have recently worked on / posted a workaround that should capture any video format that JMF can play.
    [http://forums.sun.com/thread.jspa?messageID=10596692#10596692]

  • Problems with DDIC tables in a Function's signature

    Hi,
    We're on SAP Basis 702, support pack 7.
    I am trying to add a (DDIC) table to the signature of a Function in BRF+, but I have encountered 2 problems:
    1. BRF+ asks me to specify the 'Table Line Type' of the table, but it refuses to recognize the structure name (ZINSTALMENTS) that I specified.
    I guessed (correctly) that it was actually asking for the 'Table Type' (ZINSTALMENTS_T), not the line type.
    Question 1: Do you find the 'Table Line Type' text misleading, or is it just me?
    Question 2: Does this mean that we always have to wrap a structure in a table type, before we can use it to define tables in BRF+?
    2. My structure ZINSTALMENTS contains three fields:
    PRAMT     Types     PRAMT_KK     CURR     13     2     Payment Amount Promised
    PRDAT     Types     PRODT_KK     DATS     8     0     Payment Date Promised
    PRCUR     Types     WAERS     CUKY     5     0     Currency Key
    ..but the table structure that was transferred to BRF+ contains only the first two fields.
    Question 3: Is this a bug or a feature? Has anyone else encountered this issue?
    Note: field PRCUR is a currency reference field for PRAMT.
    thanks for your advice
    Paul

    Hi Paul,
    Let my analyse and comment on your text:
    "I am trying to add a (DDIC) table to the signature of a Function ..."
    In BRFplus you cannot add a DDIC table directly to the signature of a Function. What you can do is to create a data object of type table and add this to a function as input/context. The creation of data objects provide the option to bind to DDIC. So your table data object can be bound to a DDIC table. Your structure data objects could be bound to a DDIC structure etc. When you bind a table type it will automatically also create the line type (structure or element) and bind this as well to DDIC.
    Im an not sure what exactly your problem is but maybe you expect a database table to be used for binding with a BRFplus table. This is not possible as a DB table is not a table type but defines a structure only. So you could use the DB table name in the binding of a BRFplus structure.
    In case you have problems because of terminology used in the UI we should perform some tests and then we will change accordingly. Therefore I appreciate that you openly bring up the question in the forum.
    "My structure ZINSTALMENTS contains three fields..."
    In BRFplus there is a type AMOUNT for elementary data objects. This Amount includes a number and a currency. I assume in your case the fields PRAMT and PRCUR are included in a field of type amount with name PRAMT.
    Regards,
    Carsten

Maybe you are looking for