Problem with offset value: field type p does not permit subfield access

Hi experts,
In my table am having one field ,
Filed name : planfinish
data type : dec    Length : 15
data store in this field is :    12.05.2010 03:59:00 this format.
i want to remove year 2010 from this above data by using offset.
i have try with code :   lv_year = lv_planfininsh+6(4).      n also declare lv_year as dec 15.
still am getting error. field type p does not permit subfield access
kindly suggest on this.
thx in advance.

a packed decimal field (P) is a numeric field that is always 8 bytes long.  The (15) is the DISPLAY or max number of digits characteristic.  Like all true numeric types (not 'N'), offset is meaningless and you do NOT have format 12.05.2010 03:59:00  in a P field!  You have 15 digits and a sign, and any decimal point is implied by your data declaration.
Look at keyword CONVERT if this is a timestamp field.

Similar Messages

  • Problem with a Dynpro field (type numc)

    hi everybody.
    I'm developping a ModulPool application in wich i have 2 RadioButtons with 2 textbox fields.
    What i pretend to do is, when the user clicks a radiobutton and strikes Intro, enable the corresponding textbox field and disable the other one.
    My code runs fine, but i have a little problem. When I loop the screen table, to set the appropiate value to the 'input' property, in this case, when i try to disable it (input = '0'), I get a zero character in that field. This field has NUMC type, i'm sure this is the problem
    'cos i've got no problem with the other field (type char). But i can't solve it.
    Anybody's got an idea?
    Thanks

    What you are seeing is the normal behavior of a numeric field represented by the SAPgui.  This is how all numeric fields are displayed via SAPgui.  If you don't want to see the 0,  then you just change the field type to CHAR and handle accordingly.
    Regards,
    Rich Heilman

  • Problem with offset values

    Hi Experts,
    I have a problem with offset values. I have create a variable on OFISCPER, it's characteristic value, indivdual value, mandatory and ready for the input. I need to show the varibel period and the l previous period and so on till 12 periods. I used the offset values (-1, -2, etc.) but when I execute the query I can show just the variable period and the period previous I don`t see. The query is based on multiprovider and don´t has filters. Can anyone help me?

    Leonel,
    You may nt need to have 12 columns in the query designer.
    You could include the keyfigure and restrict it to the variable and create the offset for the 12 periods
    Check this http://help.sap.com/saphelp_nw04/helpdata/en/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm
    -Doodle

  • Updated Illustrator CC to CC 2014, having problems with CC performance. Slow and does not quit

    Updated Illustrator CC to CC 2014, having problems with CC performance. Slow and does not quit. What can be causing the issue?

    Hello, please checkout my post concerning lagging issues.
    I've also provided a link to a video I've recorded showing the Illustrator behavior on my iMac 27"
    Adobe Illustrator Cs6 Lagging Extremely Slow on Yosemite 27" iMac i7 late 2013

  • I am have problems with firefox 5& 6. It does not display correctly. I have tried the no squint and the internal zoom. Some pages load ok, others like yahoomail, load tiny unless I zoom and then other pages have problems. Why? What else can I be doing?

    I am frustrated. With the no squint, which has a mind of its own, then some pages are fine, in others the type is too big or too small for the frames. If I use the default Firefox zoom that is no better. I have to set things for like 130 percent and am constantly having to click on the zoom and change things. I never had that with previous versions? Why can't Firefox just go back to displaying text in the correct frames at a decent size?

    I have played with all the options in no squint and the default zoom thing. My email list in yahoo remains tiny tiny, other things do not. If I enlarge that, then other things are too big. I never had this problem with older versions of firefox. I never had used any zoom features, it all sized itself correctly.
    To troubleshoot, I tried to open the same things with chrome, and it had much less of a problem sizing the type etc.
    I am kind of at my wits end here.

  • I use an iMac (27" 3.4) and have problems with the Magic Mouse. It does not use contact, but opens useless and unrelated submenus with every click, even on the empty desktop. I can't shift, open or close pages. Has anyone out there the same problem?

    I use an iMac 27" (mid 2011). Until recently I had OSX 10.6.8 installed, but both, the HDD and SSD had to be replaced, and I lost all the memory.
    After the repair through Apple Care I had OSX 10.7.5. (Lion) installed, which developed a Magic Mouse problem.
    Unlike with most users, I have no problems with connection, but grapple with a different kind of erratic behaviour.
    All fancy stuff is turned off in the mouse preferences. When I try to move, open or close pages, unrelated submenus pop up and hinder the
    required task. No matter how often I click, these menus stay there, and they even come up when clicking on the bare desktop.
    It renders the mouse absolutely useless, as no work can be done with it.
    The first 'Magic Mouse' had depleted batteries every few days, despite switching it off after use.
    I was supplied a new Mouse, which does better battery-wise, but the problems are the same. I can't get a result by clicking on any link, due to
    the pop-up menus, so both 'Magic Mice' are totally useless.
    At present I am using the old USB mouse from my Mac Pro, and that works still o.k.
    The problem are not the mice, but the software. The first 2 weeks after installation of OSX 10.7.5 the Magic Mouse worked though.
    I have no idea as to what the reason may be.
    Has anyone in the community ever experienced that particular problem. Any hint would be welcomed.
    Thank you!

    Not using any mouse pad, I have a very smooth desktop. But I just tried to use a sheet of A4 printing paper, but no result, the problem persisted.
    Someone on this forum suggested, that USB3 may interfere with the magic mouse.
    I have 2 LaCie HDD's about 70 cm away from the mouse, I use them on Thunderbolt. But in operation or not - the result is the same, the mouse plays up! Just now I was clicking the desktop and the mouse created a new folder!!
    Thanks for the advice, Bee
    Cheers, Gerd

  • Problem with ichat, error message says computer does not support video chat

    I have never had a problem with Ichat until yesterday...now apparently I don't have the video capability.  I am running 10.7.2.  I turned off Facetime.  I now have the video camera image but it won't let me video chat.  Any ideas?

    Hi,
    In iChat open the Connection Doctor (Video menu) and the the Capabilities option
    Are all items showing Green ?
    Try restarting iChat (It re-reads the computers Ability at each launch)
    If that does not work try restarting the Computer.
    Make sure that in iChat menu > Preference > Video Section the Bandwidth Limit is not set to 100kbps (this is too Low for 1-1 video chats)
    Do a Speed test
    "Real World" speeds need at least 256kbps both up and down.
    Check the System Profiler is "seeing" the camera.
    It will be in Hardware > USB
    10:30 PM      Tuesday; March 27, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Problem with Adobe Extension Manager CC. Does not show installed extensions.

    Adobe Extension Manager CC does not show installed extensions for Photoshop CC 2014 or Photoshop CC so that I am unable to uninstall extensions.  This means that I cannot install updates to extensions.

    Hi JJ - thank you for getting back to me.  I got onto an Adobe tech and we tried various things including re-installation of Extension Manager, which didn't fix the problem.  We then updated Photoshop (I was one point release back) then re-installed EM and this has fixed the problem.
    I did check online and quite a number of people seem to have had this problem, so I guess Adobe has fixed whatever bug was in there.
    Thanks!
    Robert

  • Does PSE 13 work with track pad?  (PSE 12 does not)?

    I am considering upgrading to PSE 13 but with PSE12 there is a serious problem with the track pad.  It does not work with Yosemite and PSE 12.  Get spinning ball and cannot use many tools like quick select, lasso etc.
    I have to use the mouse.  There has been discussion on this forum and hopefully a bug report has gone in to Apple or Adobe whoever is responsible. 
    SO here is my question.  Has PSE 13 been tested to determine if track pad works?  Many Mac users have portables and do NOT want to have to carry around a mouse. 
    I am not going to spend to upgrade to 13 if the track pad problem is present in that version.

    The issue with trackpad does not exist in Elements 13.
    You can download the trial before you buy and give it a try.
    Regards,
    vaishali

  • HT1473 I can load a CD on my PC to iTunes but when I sync with my iPhone 5S the CD does not load onto my iPhone. I used to be able to do this with no problem on my iPhone 4. Help!

    I can load a CD on to my PC - iTunes but when I sync with my iPhone 5s the CD does not load onto my iPhone 5S.
    Help!

    You can sort your library by adding a Sorting info in the File Info. Select a file in iTunes U, press cmd + i, choose Sorting Tab. For example add a Sort Name. For each file you have to put a value into that field, I did it with 01, 02, 03 .. 12. I do not know if this works if you select multiple files, but I did not try.
    The next time you sync your device, your files will be in order. It' ve tested it on an iPad2.
    If you ask me, there must be a better solution for that problem as the files have a track number saved in the info as well, and it is quite annoying to add the sorting order manually.

  • Problem with Local Currency field in PIPE monitor

    Hello, We have configured PIPE in BW and sent idoc WPUBON (sales) there.
    But the task u2013 u201CSupply to BW immediatelyu201D are failed :
    The error message is :
    "Field Local Currency does not have a value (initial).
    System Response
    Current processing requires the field to be enriched within the master data checks.
    Procedure for System Administration
    Check Customizing for the master data checks."
    My question is if the problem are reffered to PIPE configuration problems or BW master data downloading ?
    I didnu2019t find this field anywhere in /POSDW/img. Maybe this is BW master data problem?
    But I am confused the phrase u201CCustomizing for the master data checksu201D . Is it still the PIPE cutomizing problem?
    Where is the "Customizing for the master data checks"? What does it mean?
    Thank You.

    Hi
    Can any one please tell me do you have any solution for this. I am getting problem in quality box.
    Regards
    Mark

  • Sql Devloper 4.0.0.13 - problems with displaying user data types

    Hi,
    I have installed new version of sqldeveloper and have discovered some problems with displaying user data types. The data that is described as VARCHAR2 are displayed with ‘???’.
    The problem persist in table view, script output and exported files.
    My type is described as follows:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    when make select column from table that contains this type I get next results:
    CASE 1:
    SQLDeveloper Version 3.2.20.09; Build MAIN-09.87; JDK 1.6.0_43; Windows 7 64 bit
    Select:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result:
            ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'TRAIK','TURBE','BABANA','3452','0',NULL)
    END CASE 1;
    CASE 2:
    SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_40; Windows 7 64 bit
    Select1:
    select id, adresalokacija
    from dptr_saglasnosti
    where id = 1;
    Result1:
    ID ADRESALOKACIJA
             1 COMP.DPTY_ADRESA(124,4913,'???','???','???','???','???',NULL)    
    But if I select one element it is displayed normal.
    Select2:
    select id, a.adresalokacija.opcina
    from dptr_saglasnosti a
    where id = 1;
    Result2:
    ID ADRESALOKACIJA.OPCINA
             1 TRAVNIK                  
    END CASE 2;
    I have tried this scenario on three different pc with same output.
    Pleas help me to get rid of the '???' in result.
    Best Regards,
    Omer

      I tried on SQLDeveloper Version 4.0.0.13; Build MAIN-13.80; JDK 1.7.0_45; Windows 7 64 bit; NLS setting is default
    all data can show,No ??? in result
    Test step as following:
    create or replace TYPE "DPTY_ADRESA" AS OBJECT
      ID_DPSF_OPCINE                                         NUMBER,
      ID_DPSF_MJESTA                                        NUMBER,
      OPCINA                                            VARCHAR2(100),
      MJESTO                                            VARCHAR2(100),
      ULICA                                 VARCHAR2(200),
      BROJ                                   VARCHAR2(20),
      SPRAT                VARCHAR2(20),
      OSTALO                             VARCHAR2(100),
      CONSTRUCTOR FUNCTION dpty_adresa RETURN SELF AS RESULT
    alter TYPE "DPTY_ADRESA" add MEMBER FUNCTION dajAdresu RETURN VARCHAR2 cascade;
    CREATE TABLE dptr_saglasnosti (
    adresalokacija        DPTY_ADRESA,
      id    number);
      INSERT INTO dptr_saglasnosti VALUES (
      DPTY_ADRESA (65,225,'Vrinda Mills', '1-800-555-4412','sss','aaaa','eeeee','attta'),1 );
    select id, adresalokacija from dptr_saglasnosti where id = 1;
    ID ADRESALOKACIJA
    1    HRCP.DPTY_ADRESA(65,225,'Vrinda Mills','1-800-555-4412','sss','aaaa','eeeee','attta')

  • Problem with the quantity field

    hi every one
    i am facing a problem with the quantity field (vbap-kwmeng)
    as per my requirement i need to display this quantity field along with some other item fields from VBAP in an alv grid.
    among all the fields displayed in the alv grid only this quantity field is editable(end user can change this quantity)
    once end user changes this quantity and press save button i need to capture this new quantity in my internaltable.
    problem is input of length of quantity is 15 and the output length is 19
    so when i am pressing save
    say my quantity is 50 when i am pressing save '0.050' is coming because of the length difference
    how can i capture the original changed value.
    vamsi

    what about define two fields in  you inner table ,one as char and the other as vbap-kwmeng, you can show the char one in the ALV gird , when user input value and press SAVE ,you can move the value to vbap-kwmeng.
    you can test it,mybe some one has one better idea.

  • Problem with adding new field to the mass change screen in FBL5N

    Hi,
    We have a problem with adding the field XREF3 to the mass change screen. We followed steps described in the SAP Note 640908, but the result is that when we try to mass change some documents in FBL5N and enter some values in the mass change screen, a message appears: "Please enter at least one new value" and nothing is changed.
    If you have faced with such a problem, we would be grateful if you give us some tips.
    Regards,
    Miłosz Włodarczyk

    The problem has been resolved: we didn't activate a code in SE80.

  • Problem with lookup value by CAML query.

    I just cannot figure out what is wrong with my code that the query does not filter any item. It returns all items in the list. The RowLimit does work so I know the query is used. I wish someone can point out what is wrong in the query. Many thanks.
    SPList tList = cWeb.Lists[listName];
    SPQuery LookupQuery =
    new
    SPQuery();
    //LookupQuery.RowLimit = 5;
    LookupQuery.Query =
    "<Query><Where><Eq><FieldRef Name='ItemStatus' /><Value Type='Text'>New</Value></Eq></Where></Query>";
    SPListItemCollection iColl = tList.GetItems(LookupQuery);
    int n = iColl.Count;

    Try removing the starting and ending <Query> tags. Your CAML query assignment should look like below
    LookupQuery.Query = "<Where><Eq><FieldRef Name='ItemStatus' /><Value Type='Text'>New</Value></Eq></Where>";
    Ram Prasad Meenavalli | MCITP | MCTS SharePoint | MCPD SharePoint | http://www.spdeveloper.co.in

Maybe you are looking for

  • I have no folder for firefox in application support... where can I find the stored passwords from my time machine back up!!?

    Everywhere I look it says I should have a folder for Firefox in library/applicationsupport/ BUT I don't have one! I'm looking to restore passwords from a time machine back up but there's no Firefox folder so I don't where to look. I even did a fresh

  • Mini DVI switch

    Hi, I have two mini DVI adapters for my iMac. One to VGA to connect it to my second screen for working and one to Video to connect it to my TV as a media center. Is there something like a mini DVI switch with that I can connect both adapter to switch

  • Error message work at different transaction

    Hi, i've made an implementation at MV45AFZZ that use an error message MESSAGE : E106(ZSD) WITH l_valor_min. if i use VA01 transaction it appears correctly, "Valor mínimo de 1 000,00 para a encomenda não atingido." Nº mensagem ZSD106 but if i use a tr

  • Validation in report

    Hi experts,          i have developed a report for which in selection screen fields are material group and material number.now i have to write validation for this ie.i have to check whether a particular material number exists in material group.if yes

  • Have a student / teacher subscription. Trying to download and install applications on new mac pro with yosemite

    Have a student / teacher subscription. Trying to download and install applications on new mac pro with yosemite. Old applications still work on older Mac Pro. Can't download any applications. Creative Cloud website and desktop app both fail. Very fru