ABAP Syntax error in this code - Could anyone help?
Hi,
I have this code which runs fine in our non-unicode SAP system.
REPORT ECC5_OFFSETS.
DATA: W_KONV TYPE KONV.
DATA: TKOMK LIKE STANDARD TABLE OF KOMK
WITH KEY KEY_UC
INITIAL SIZE 2
WITH HEADER LINE.
DATA: TKOMK2 type STANDARD TABLE OF KOMK
WITH KEY KEY_UC
INITIAL SIZE 2.
* Get some test data
SELECT SINGLE * INTO W_KONV FROM KONV
WHERE KNUMV = '0000000061'.
MOVE-CORRESPONDING W_KONV TO TKOMK.
APPEND TKOMK.
tkomk2[] = TKOMK[].
* Original non-Unicode compliant code
DATA: LENGTH_KEY_TKOMK(3) TYPE P.
FIELD-SYMBOLS: <TKOMK_KEY> like TKOMK2.
DESCRIBE DISTANCE BETWEEN TKOMK-MANDT AND TKOMK-SUPOS
INTO LENGTH_KEY_TKOMK
* ( Original Unicode syntax fix! )
IN BYTE MODE.
* Copy all the fields between these two into TKOMK_KEY field-symbol.
* ( In Unicode this assignment fails, causing short dump at read )
ASSIGN TKOMK2(LENGTH_KEY_TKOMK) TO <TKOMK_KEY>.
* Read the current record.
READ TABLE TKOMK2 WITH KEY <TKOMK_KEY>.
But I get the following error message in our UNICODE complaint SAP system:
<b>"<TKOMK_KEY>" cannot be a table, a reference, a string, or contain any of these objects.</b>
Does anyone know how I could get around this/suggest a solution?
Thanks in advance!
Hi,
Sorry if I'm being unclear.
My requirements are twofold:
1)the line of code:
ASSIGN TKOMK2(LENGTH_KEY_TKOMK) TO <TKOMK_KEY>
does not assign anything to the fields symbol <TKOMK_KEY>
2)The read statement does not like the fields symbol <TKOMK_KEY> being used as a key.
Both these bits of code worked in our 4.6b system but now in the ECC5 environemtn I get syntax errors.
Let me know if you need anything else!
Similar Messages
-
there is no rt.jar in java lib could anyone help me downloading it ,or tell me where is this rt.jar, there is no rt.jar in java lib could anyone help me downloading it ,or tell me where is this rt.jar
thx for your suggestion ..but i did try to skip my code..but i am sure if u guy understand what i am trying to ask ..so i try to show my all program for u guy better undrstand my problem ...the first three paragraph of code i hope u guy could focus on it ....i try ask the user to input the cd`s title to our insert list by using a function call readString( ) and i use this method to ask the user what cd they want to be delete from the list ...but it doesn`t work when i try to perform the delete cd funtion. At first, i think it should be my deleteCd( ) problem ..but i do some testing on it..it works fine if i pass a String directly to my function instead of using readString() function to perform ...therefore, i am sure my delete function working fine....i am thinking if it is my readString() problem make my deletion does not perform well...thx for u guy help
-
Could anyone help me with this problem?
Hello!
I�m a working with JMS Tutorial of Jms.(J2EE 1.3.1). I follow all the steps of the tutorial, and when i write
"java -Djms.properties=%J2EE_HOME%\config\jms_client.properties SimpleQueueSender MyQueue 3"
The console shows me the following error:
"Exception in thread "main" java.lang.NoClassDefFoundError: Files\s1studio\ee\j2s
dkee1/3/1\config\jms_client/properties"
I don�t know hot to fix this error. The classpath, and all the variables are correctily defined. I use XP o.s., jdkse 1.4 and j2see 1.3.1, and i repeat, i follow the steps of the tutorial. Could anyone help me?
Many Thanks.
Note: Sorry for my poor English.Well, it looks as if somehow your command window is converting periods into forward slashes, since "1.3.1" appears in the output as "1/3/1" and "jms_client.properties" appears as "jms_client/properties". That is why the file is not found. If you can figure out how to stop it from doing this, the java command should be able to find the file. I'm afraid I know nothing about Windows XP command windows, however.
I'm sorry not to be more helpful.
Kim Haase
Technical Writer
Sun Microsystems, Inc. -
An unknown error has occurred when trying to sign in , and I know I putting in the correct info, this stinks can anyone help? Because apple isn't...
urgh... just noticed my previous post said i have mountain lion... i meant that i have snow leopard. no idea why i messed that up!
anyway, i just tried reinstalling snow leopard from the usb key that came with the computer. Then, I installed software updates until it told me there were no more updates. After that, I tried the app store again, and it still is giving me the unknown error. really irked by that. may have to take it back to the apple store yet again, to see if i can figure out why the app store won't work. -
Hello,
When I try to save a form as “Reader Extended PDF” in Acrobat Pro, I get an error message “This document could not be reader enabled”.
The steps I’m following are described below:
1. Insert electronic signatures
- In Tasks, click on “Add New Field -> Digital Signature”.
- Move the square to the place where you want to put the signature and click.
- Fill in the “field name” with the name of the person who has to sign here.
- When it is done, click anywhere on the screen.
- In Tasks, click on “Close Form editing”.
- Go to menu “File -> Save as -> Reader Extended PDF ->Enable additional features”, click on “Save now”.
- Fill in the file name and click on “Save”.
2. Save the Form
- In Tasks, click on “Close Form editing”.
- Go to menu “File -> Save as -> Reader Extended PDF ->Enable additional features”, click on “Save now”.
- Fill in the file name and click on “Save”.
I am using Adobe Acrobat Pro 10.0.0 on a W7 workstation
Here's a screenshot of the problem.
Thanks a lot.
GaelRead the user manual that came w/the scanner and/or contact HP Support.
http://support.apple.com/kb/PH14141 OS X Mavericks: Reset the printing system
http://support.apple.com/kb/HT3669 Printer and scanner software available for download
A scanner driver you may wish to consider: VueScan Scanner Software -
Need advice on a saving file issue. I'm having problem with saving a .pdf file to computer. Continually get an error message " This document could not be saved. There was a problem reading this document (21). This is new as this error message just recently started to pop-up.
More information about this issue can be found here:
https://forums.adobe.com/thread/1672655
A "quick" fix that worked for me was to uninstall Adobe... then download the base install for Adobe Reader 11.0.
Then download each of the individual updates and run them sequentially.
I've installed back up to the last security update which is version 08 and have been able to do normal Save As operations.
You will have to disable automatic updates in order to stay at version 08 until Adobe resolves this issue in a later release.
http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Windows
Adobe Reader 11.0 - Multilingual (MUI) installer AdbeRdr11000_mui_Std
Adobe Reader 11.0.01 update - Multilingual (MUI) installer AdbeRdrUpd11001_MUI.msp
Adobe Reader 11.0.02 update - All languages AdbeRdrSecUpd11002.msp
Adobe Reader 11.0.03 update - Multilingual (MUI) installer AdbeRdrUpd11003_MUI.msp
Adobe Reader 11.0.04 update - Multilingual (MUI) installer AdbeRdrUpd11004_MUI.msp
Adobe Reader 11.0.05 security update - All languages AdbeRdrSecUpd11005.msp
Adobe Reader 11.0.06 update - Multilingual (MUI) installer AdbeRdrUpd11006_MUI.msp
Adobe Reader 11.0.07 update - Multilingual (MUI) installer AdbeRdrUpd11007_MUI.msp
Adobe Reader 11.0.08 security update - All languages AdbeRdrSecUpd11008.msp -
When I rry to paly a song in my itunes libery, I get an error saying "this song could not be used because the original file could not be found". I do I find the orginal file?
Hello crispinofromfl,
Thank you for using Apple Support Communities.
For more information, take a look at:
Where are my iTunes files located?
http://support.apple.com/kb/ht1391
Have a nice day,
Mario -
I just bought a new iMac and am having troubles downloading creative cloud installer. Its coming up with error 214 - I can't find any solutions for this. Can anyone help me? Im on mac OS 10.9.4
Meg81 error 214 indicates a download data validation error. This means that the update you downloaded became corrupted likely during the download process. I would recommend utilizing the suggestions listed in Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html to attempt to improve the stability of your Internet connection.
You can also find information on how to review your download logs which may provide additional information regarding the failure of the download. -
I can sync icloud calender with pc based outlook calender. Photos also sync. But can not sync contacts. Already checked contact boxes in icloud and and on my PC. Also tried to reset Document & Data on icloud. Could anyone help me on that?
That's what I did... switching on iCloud calender in the panel leads to the following: The existing local Outlook calendar gets mved to an new iCloud calendar.Thus the local calendar is empty.
Given that iTunes dows not allow my whife's phone to be synced with that iCloud calendar (only the local acalendar appears in the list of available calendars in iTunes; syncing all dioes not include the iCloud one) this leads to an empty alendar on my whife's phone.
Hence the question how to
a) get iTunes to include the iCloud calendar to sync with the iPhone 2g (preferred) or
b) enable a local MS Outlook internal sync between the two calendars. -
Hey guys, when i try and log in to itunes, even though the details are correct it is showing up as an error and not allowing me access to my account.. could anyone help?
what is the error?
-
HELLO EVERY ONE ...
I AM GETTING run time error in this code.....can u send me the corrected code....
START-OF-SELECTION.
SELECT T1~MATNR
T1~MEINS
T1~ERSDA
T1~ERNAM
T1~SPART
T2~MAKTX
T3~LVORM
T3~EKGRP
T3~WERKS
T4~LABST
T4~SPEME
T4~LGORT
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM MARA AS T1
INNER JOIN MAKT AS T2
ON T1MATNR = T2MATNR
INNER JOIN MARC AS T3
ON T2MATNR = T3NFMAT
INNER JOIN MARD AS T4
ON T3MATNR = T4MATNR
WHERE T1~MATNR IN SMATNR.
Thanx & Regards,
PHANINDERok i am sending u the full code.....
REPORT Z_SB_RP_MATERIAL.
TABLES: MARA,
MARD,
MAKT,
MARC,
EINA,
EINE.
DATA: BEGIN OF ITAB OCCURS 15,
MATNR LIKE MARA-MATNR,
MEINS LIKE MARA-MEINS,
ERSDA LIKE MARA-ERSDA,
ERNAM LIKE MARA-ERNAM,
SPART LIKE MARA-SPART,
MAKTX LIKE MAKT-MAKTX,
LVORM LIKE MARC-LVORM,
EKGRP LIKE MARC-EKGRP,
WERKS LIKE MARC-WERKS,
LABST LIKE MARD-LABST,
SPEME LIKE MARD-SPEME,
LGORT LIKE MARD-SPEME,
END OF ITAB.
SELECTION-SCREEN BEGIN OF BLOCK BLK WITH FRAME TITLE TEXT-T01.
SELECT-OPTIONS: SMATNR FOR MARA-MATNR,
SERSDA FOR MARA-ERSDA,
SWERKS FOR MARC-WERKS,
SLGORT FOR MARD-LGORT.
SELECTION-SCREEN END OF BLOCK BLK.
TOP-OF-PAGE.
WRITE:/ SY-VLINE,
02 'S.NO',
06 SY-VLINE,
08 'MATNR',
20 SY-VLINE,
22 'MEINS',
32 SY-VLINE,
34 'ERSDA',
44 SY-VLINE,
46 'ERNAM',
56 SY-VLINE,
58 'SPART',
68 SY-VLINE,
70 'MAKTX',
80 SY-VLINE,
82 'LVORM',
92 SY-VLINE,
94 'EKGRP',
104 SY-VLINE,
106 'WERKS',
116 SY-VLINE,
118 'LABST',
128 SY-VLINE,
130 'SPEME',
140 SY-VLINE,
142 'LGORT',
152 SY-VLINE.
START-OF-SELECTION.
SELECT T1~MATNR
T1~MEINS
T1~ERSDA
T1~ERNAM
T1~SPART
T2~MAKTX
T3~LVORM
T3~EKGRP
T3~WERKS
T4~LABST
T4~SPEME
T4~LGORT
INTO CORRESPONDING FIELDS OF TABLE ITAB
FROM MARA AS T1
INNER JOIN MAKT AS T2
ON T1MATNR = T2MATNR
INNER JOIN MARC AS T3
ON T2MATNR = T3NFMAT
INNER JOIN MARD AS T4
ON T3MATNR = T4MATNR
WHERE T1~MATNR IN SMATNR.
END-OF-SELECTION.
DATA: COUNT(4) TYPE N.
LOOP AT ITAB.
COUNT = COUNT + 1.
WRITE:/ SY-VLINE,
02 COUNT,
06 SY-VLINE,
08 ITAB-MATNR,
20 SY-VLINE,
22 ITAB-MEINS,
32 SY-VLINE,
34 ITAB-ERSDA,
44 SY-VLINE,
46 ITAB-ERNAM,
56 SY-VLINE,
58 ITAB-SPART,
68 SY-VLINE,
70 ITAB-MAKTX,
80 SY-VLINE,
82 ITAB-LVORM,
92 SY-VLINE,
94 ITAB-EKGRP,
104 SY-VLINE,
106 ITAB-WERKS,
116 SY-VLINE,
118 ITAB-LABST,
128 SY-VLINE,
130 ITAB-SPEME,
140 SY-VLINE,
142 ITAB-LGORT,
152 SY-VLINE.
ENDLOOP.
THANX & REGARDS,
PHANINDER -
Could anyone help me out with this please?
Hi all,
I have always had a little problem messing with gradients, when creating images using them I tend to try and make things to perfect and then get very frustrated. This is the case again today
I have attached two images, one light and one darker. Could anyone help me out recreating these using FW please?
I am not after the letters in the center, I am just trying to create the background and the floor of the image with all its gradients and shadows.
Any help greatly appreciatedNo I don't, never heard of that
-
Good morning to all of you
I have A mac and I did the mistake of upgrading my Lightroom 5.4 to 5.6 Now I can't import anything it says "Could not find namespace: AgCreativeCloudUtils"
Could anyone help me resolve this problem?
Should I uninstall the program and reinstall it
Thank you so muchI asked because an awful lot of people have recently been confused between downloading the Cloud and the perpetual versions of Lr - although I'm not automatically assuming your'e guilty of this - and can't understand why their serial no won't unlock their new software.
If the wrong version has been installed, then it must be uninstalled and the right one downloaded. -
I already update my os to ios7 but the panorama wallpaper is not working, i try to use before the ios7 beta, the panorama is working. Why in this ios7 is not working. Could anyone help me????? Thanks
That's odd.
Try this: Unplug your Time Capsule and your router. On your MBP, click the Wi-Fi icon and select "Open Network Preferences".
Click the lock icon to authenticate, then click the "gear" and select "set service order". Wherever AirPort (or Wi-Fi - I forget what Snow Leopard calls it) appears, drag it elsewhere in the list. Click OK, then Apply, then power up your router and TC.
If that doesn't result in any change, repeat the above but try making the service(s) you do not need "inactive".
The purpose of this is to reset or at least change your Network Preferences, which somehow got confused upon upgrading to SL. -
Sorry. This is where my question should be....
"In the ICLOUD section of iCal" - I don't have this on my Mac iCal. How would I get it? I currently have an empty iCal on iCloud. I urgently need to back up my iCal, Could anyone help please? This is SO frustrating.Have you enabled iCloud syncing for calendars on your mac, which requires OS X Lion (10.7.2)? See http://www.apple.com/icloud/setup/mac.html.
Maybe you are looking for
-
I'm Getting WARNING ITMS-9000:
Hi in Ttunes Producer after validation I am gettting two warning itms-9000 messages they are: WARNING ITMS-9000:"WHAT_AM_I.ibooks : assets/search/searchIndex.xml : instance attribute 'serving' does not match term 'serv' This error occurred 1564 tim
-
HELP! How to remove Yahoo search from firefox 36.0.1? HELP!
I guess I made a big mistake upgrading to FireFox 36.0.1! Nothing but grief since trying to remove the Yahoo search from this version. Didn't appreciate this version removing my default Home page tabs to use on startup. Looks like they are gone forev
-
Hi, i found some useful function modules in function group SVAR to read and save variants for reports. The problem is that the modules for creation of variants do not check the input values for correct name and type. I tried RS_CHANGE_CREATED_VARIANT
-
I want to initialize my MBpro end reinstall lino, but I purchased it from apple store and cancelled the installation file. If i try to download again it from appstore I couldn't...How I can do ? Please help me
-
How can i turn on wifi if he is not activ?
How can i turn on wifi if he is not activ?