Experts please help me (structure incompatible again but in diff style)
Hi experts,
while upgrading i am getting this error
plz help in solving it
thanx in advance.
ERROR COMING IN THIS LINE :
PERFORM select_costs_by_table_for_rev TABLES r_kstar
t_cost
USING 'COSS'.
ERROR IS :
"T_COST" cannot be converted to the line incompatible. The line type
must have the same structure layout as "T_COST" regardless of the
length of a Unicode . Unicode character. Unicode character.
FYI::
t_cost TYPE type_t_cost OCCURS 0 WITH HEADER LINE
t_cost_rev TYPE type_t_cost_rev OCCURS 0 WITH HEADER LINE,
TYPES: BEGIN OF type_t_cost,
objnr LIKE coss-objnr,
gjahr LIKE coss-gjahr,
wog001 LIKE coep-wogbtr,
wog002 LIKE coep-wogbtr,
END OF type_t_cost.
TYPES: BEGIN OF type_t_cost_rev,
objnr LIKE coss-objnr,
gjahr LIKE coss-gjahr,
kstar LIKE coss-kstar,
wog001 LIKE coep-wogbtr,
wog002 LIKE coep-wogbtr,
END OF type_t_cost_rev.
yes
i guess the prblen is in this part
FORM select_costs_by_kstar_for_rev TABLES r_kstar STRUCTURE r_kstar
t_cost STRUCTURE t_cost_rev
Load costs from internal postings
PERFORM select_costs_by_table_for_rev TABLES r_kstar
t_cost
USING 'COSS'.
PERFORM select_costs_by_table_for_rev TABLES r_kstar
t_cost
USING 'COSSP'.
Load costs from external postings
PERFORM select_costs_by_table_for_rev TABLES r_kstar
t_cost
USING 'COSP'.
PERFORM select_costs_by_table_for_rev TABLES r_kstar
t_cost
USING 'COSPP'.
SORT t_cost ASCENDING BY objnr gjahr.
ENDFORM. " select_costs_by_kstar_for_rev
Similar Messages
-
BDC - table control - experts please help
Hi experts,
Please help. I am in need of your help.
I am working with BDC and I have a table control in one of the screen. Table control has a check box in the first column. While recording how I entered the data is : I select the check box in a row, enter two values in next two columns of that row and then hit enter then the other columns in that row turn from grey to white (initially these columns are greyed out).
NOw in BDC when I run my session in foreground, I am able to check(select) the check box and enter the values in next two columns and then I have a Enter OKCODE. But when I hit enter it is not able to recognize the row and its unable to turn the greyed out columns in that particular row to white.
Is there a way to specify in my program that I am hitting enter in one particular row.
Please help. Let me know if something is not clear. Very urgent . Pleasee respond. ThanksHi Rich,
Thanks for the replies. I will try that. I got one more doubt. While manually creating the recipes using C201, there is a screen Recipe header. When I record this transaction, I see a different screen for the Recipe header. Fro example the screen numbers are like 4210(manual) and 4211(recording).
But my problem is there are two fields which are missing in the screen which I am getting while recording C201. These two fields are present on the screen for manual creation. I need to enter those two fields while I record. But how can I do this.
Please help. -
SQL experts please help for a query
I have following table1.
What query can give the result as given below, SQL experts please help on this.
TABLE1
Event DATETIME
in 2/JAN/2010
out 2/JAN/2010
in 13/JAN/2010
out 13/JAN/2010
in 5/JAN/2010
out 5/JAN/2010
RESULT REQUIRED FROM THE SQL QUERY
COL1_IN COL2_OUT
2/JAN/2010 2/JAN/2010
13/JAN/2010 13/JAN/2010
5/JAN/2010 5/JAN/2010I tried to help, but this puzzles me.
Why is this not returning pre-selected set of rows, why it's doing some merge join cartezian ?
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
SQL> select * from table1;
EVENT DATETIME
in 2/JAN/2010
out 2/JAN/2010
in 13/JAN/2010
out 13/JAN/2010
in 5/JAN/2010
out 5/JAN/2010
6 rows selected.
SQL> explain plan for
2 with a as
(select datetime from table1 where event='in'),
b as
(select datetime from table1 where event='out')
select a.datetime COL1_IN ,b.datetime COL2_OUT from a,b ;
Explained.
SQL> set wrap off
SQL> set linesize 200
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
Plan hash value: 185132177
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 9 | 288 | 8 (0)| 00:00:01 |
| 1 | MERGE JOIN CARTESIAN| | 9 | 288 | 8 (0)| 00:00:01 |
|* 2 | TABLE ACCESS FULL | TABLE1 | 3 | 48 | 3 (0)| 00:00:01 |
| 3 | BUFFER SORT | | 3 | 48 | 5 (0)| 00:00:01 |
|* 4 | TABLE ACCESS FULL | TABLE1 | 3 | 48 | 2 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
Predicate Information (identified by operation id):
2 - filter("EVENT"='in')
4 - filter("EVENT"='out')
Note
- dynamic sampling used for this statement
21 rows selected.
SQL> with a as
(select datetime from table1 where event='in'),
b as
(select datetime from table1 where event='out')
select a.datetime COL1_IN ,b.datetime COL2_OUT from a,b ;
COL1_IN COL2_OUT
2/JAN/2010 2/JAN/2010
2/JAN/2010 13/JAN/2010
2/JAN/2010 5/JAN/2010
13/JAN/2010 2/JAN/2010
13/JAN/2010 13/JAN/2010
13/JAN/2010 5/JAN/2010
5/JAN/2010 2/JAN/2010
5/JAN/2010 13/JAN/2010
5/JAN/2010 5/JAN/2010
9 rows selected.
SQL> -
I bought an iphone 5 from one of my friends and unluckily I had yet lost his contact, I had update this iphone to IOs 7 and now it's be locked at iCloud because there was no password . Actually I dont know what I must do for its. Experts, please help me!
The friend who sold it to you needed to clear his Apple ID off the phone before he sold it to you. Of course if it wasn't his phone in the first place then he could not do so. He is your friend but you don't know where he is?
There is nothing that will help you short of getting the password for the Apple ID from your friend. If you cannot obtain that there is no workaround. -
PLEASE HELP I CAN HEAR SOUND BUT CAN'T SEE VIDEO(final cut pro x)what gonna on?os x lion 10.7.4(11e53)
What's the video exactly? Open into the QT player and report what it says in the movie inspector or post a screen shot.
-
please help i have two ipods but i can use any as i can download the newer version of Itunes as i have the older version of Bonjour on my laptop
I just cannot remove this!!!!!!!!!!!!i am no shure but go on Itunes store in shortcuts and try to find 'purchasse'
good luck -
I have an IPhone operating OS 4.21. I cannot back it up before update and I cannot set up an ICloud account as it needs to be on a version later on the device. Please help, I want to update but not lose everything!
SorchaH wrote:
I receive an error "Itunes cannot back up the IPhone because the back up cannot be saved on the computer".. So I tried to download and log into ICLoud but need to do this from my device..
That would tend to indicate a permissions issues on the computer.
Running an outdated version of iTunes is of absolutely no benefit.
All iDevices work with the current version of iTunes. -
Plz help me structure incompatible issue.
Hi all ,
while doing upgrade from 4.6c to ecc 6.0 i am gettig this error
"I_COSS" cannot be converted to the line incompatible. The line type
must have the same structure layout as "I_COSS" regardless of the
length of a Unicode . Unicode character. Unicode character.
and this error is coming in this line of code
PERFORM accepted TABLES i_coss USING zcoss quantity hour.
PERFORM accepted TABLES i_cosp USING zcosp quantity hour.
FYI:
these two perform calling a single form
FORM accepted TABLES w_table STRUCTURE i_cosp USING char6 char3 typ.
also
DATA: i_coss TYPE coss OCCURS 0 WITH HEADER LINE.
DATA: i_cosp TYPE cosp OCCURS 0 WITH HEADER LINE.
please help me in resolving this issue
thanks in advance .Hello Anit
Table COSP has 161 fields and table COSS 145 fields, most of which are common to both tables.
The TABLES parameter is of (line) type COSP. In order to get around the Unicode error you have to move the data from I_COSS to an itab having line type COSP:
DATA:
lt_cosp_tmp TYPE cosp OCCURS 0 WITH HEADER LINE.
LOOP AT i_coss INTO ls_coss.
clear: ls_cosp.
MOVE-CORRESPONDING ls_coss TO ls_cosp.
APPEND ls_cosp TO lt_cosp_tmp.
ENDLOOP.
" PERFORM accepted TABLES i_coss USING zcoss quantity hour. " Replace by:
PERFORM accepted TABLES lt_cosp_tmp USING zcosp quantity hour.
PERFORM accepted TABLES i_cosp USING zcosp quantity hour.
However, it is up to you to find out whether this coding is semantically correct.
Regards
Uwe -
Please help, jsp page wants missing ";" but not to good with jsp?
I have a JSP page called ftplogin.jsp
I want the jsp page to call a ftpbean.
It will pass server, username and login into the ftpbean.
It will then set the directory and finaly retrieve a a document from it.
The ftpbean works but my jsp page doesn't. Please help with compilation problem?????
Please also tell me if the syntax of accessing the bean is correct?
<!-- ftplogin.jsp -->
<html>
<head>
<title> FTP Login </title>
</head>
<body>
<%@ page import= "ftp.* " %>
<jsp:useBean class="ftp.FtpBean" id="ftpbean" scope="session" />
<%
try
String servername = request.getParameter("serverName");
String username = request.getParameter("username");
String password = request.getParameter("password");
ftpbean.ftpConnect(servername, username, password);
catch(Exception e)
%>
Sorry but your must have entered an incorrect login ingotmation.
You are not allowed to login.
Please leave the ftp portal.
<%
%>
<h1> Welcome to the FTP Login. </h1>
<FORM ACTION="ftplogin.jsp" METHOD=post>
Please login
Enter name of server:
<input type="text" name="servername"><br>
Enter user name?
<input type="text" name="username"><br>
Enter password
<input type="text" name="password"><br>
<input type="submit" name="Submit info">
</FROM>
<%=
try
// set the directory
ftpbean.setDirectory("/home/eland/u6/k3074/w0109699/simple-bean");
catch(Exception e)
System.out.println(e);
%>
<%=
try
// Get the binary file '????' and save it to hard disk
// the name will be 'local_file_name' .
ftpbean.getBinaryFile("accessbean.jsp", "local_file_name", this);
catch(Exception e)
System.out.println(e);
%>
<%=
try
ftpbean.close();
catch(Exception e)
System.out.println(e);
%>
</body>
</html>
Location: /myJSPs/jsp/grid-portal-project/ftplogin.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile Note: sun.tools.javac.Main has been deprecated.
C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\ftplogin_1.java:110: Missing term.
out.print(
^
C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\ftplogin_1.java:110: ')' expected.
out.print(
^
C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\ftplogin_1.java:120: Missing term.
^
C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\ftplogin_1.java:120: ';' expected.
^
C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\ftplogin_1.java:121: Invalid expression statement.
^
5 errors, 1 warning
at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:536)Please note I have solved the compilation problem.
But now getting runtime error. Here is the error:
Error: 500
Location: /myJSPs/jsp/grid-portal-project2/ftplogin.jsp
Internal Servlet Error:
javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:460)
at jsp.grid_0002dportal_0002dproject2.ftplogin_1._jspService(ftplogin_1.java:128)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:536)
Root cause:
java.lang.NullPointerException
at java.net.Socket.(Socket.java:282)
at java.net.Socket.(Socket.java:118)
at ftp.FtpBean.ftpConnect(FtpBean.java:323)
at ftp.FtpBean.ftpConnect(FtpBean.java:293)
at jsp.grid_0002dportal_0002dproject2.ftplogin_1._jspService(ftplogin_1.java:91)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:536)
Here is my directory structure for ".jsp" and ".html" pages:
C:\tomcat\jakarta-tomcat-3.3.1\webapps\myJSPs\jsp\grid-portal-project2
Here is my directory structure for java classes,
C:\tomcat\jakarta-tomcat-3.3.1\webapps\myJSPs\WEB-INF\classes
ftp
ftp\FtpBean.java
ftp\FtpBean.class
Here is the modified source code:
<html>
<head>
<title> FTP Login </title>
</head>
<body>
<%@ page import= "ftp.* " %>
<jsp:useBean class="ftp.FtpBean" id="ftpbean" scope="session" />
<%
String servername = request.getParameter("serverName");
String username = request.getParameter("username");
String password = request.getParameter("password");
ftpbean.ftpConnect(servername, username, password);
%>
<h1> Welcome to the FTP Login. </h1>
<FORM ACTION="ftplogin.jsp" METHOD=post>
Please login
Enter name of server:
<input type="text" name="servername"><br>
Enter user name?
<input type="text" name="username"><br>
Enter password
<input type="text" name="password"><br>
<input type="submit" name="Submit info">
</FORM>
<%
ftpbean.setDirectory("/home/eland/u6/k3074/w0109699/simple-bean");
%>
<%
ftpbean.getBinaryFile("accessbean.jsp", "local_file_name");
%>
<%
ftpbean.close();
%>
</body>
</html> -
Please help! ipod is full but music isnt showing up
hello... i am currently travelling internationally with only my ipod, no back up (45 G of music!). i was uploading photos and all of a sudden the ipod acts as though i have NO music in it at all. when i check the storage size (in itunes and through "my computer") it still shows that it is full of 50+ G of data. Also, the music files appear in the ipod's "hidden files" and can be accessed through a computer. how can i get them to run through the ipod again? i dont have a laptop with me and i just want to listen to my ipod again!
from researching the discussions it seems as though i should restore it, but then i would lose the music that is stored inside and i have no back up to start over with. someone who knows please help! thank you kindly.have you "reset" the ipod (reset is different from restore and it won't delete the songs on your ipod). if you must restore the ipod, you can probably move the music off the ipod if you can view the hidden files. take a look at this link on moving music off and to computer.
http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/ -
Hello,
i bought a blackberry 9220 after a week it broke.. i usually put it in my pocket. one time i want to check my bbm's but somehow i can't turn it on, i tried charging it but it only shows a battery with a red "X" mark on it.. i tried charging it for hours but no use, i used my friends battery no use, my friend used my battery but it worked.. can someone please help me with my problem ASAP! thank you!Hi gerardedwards4
Welcome to BlackBerry Support Forums
I am not the Expert Our expert will look into your post , but for the time can you tell what happen when you connect your device to a PC ? Do you hear any sound for anything !
let us know.
Click " Like " if you want to Thank someone.
If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it. -
PLEASE HELP! Itunes library gone but music still on iPod
I recently have started organising my 'my music' files and deleting folders with more than 3 copies of songs, I have a lot of music 2500 songs and opened up itunes and all music I have imported (not bought) has gone, my music is still on my ipod though but I'm too scared to sync it in case all my music has gone, I still have my original music in 'my music' file but it's not shown up on library as usual PLEASE HELP!
See Recover your iTunes library from your iPod or iOS device.
tt2 -
NO Sound; experts please help
I currently have no sound on my HP Spectre XT Ultrabook PC!!! Upon buying the laptop it had Beats audio on the laptop. That stopped working recently, but I still had the normal reduced audio, until that stopped completely soon after. I have tried multiple things to fix this problem, all without success; I tried troubleshooting the problem, I tried updating the audio driver (it said I already had the most current version), I tried uninstalling and reinstalling the driver, I tried updating the BIOS on my computer and NONE of these have worked; I still have no sound! Please help to fix this problem!
The product number is B6V42PA#ABG and it currently has Windows 7 Home Premium installed on it!Hi
Please try doing a system restore to the date where unit was working fine. In case this does not work last option is to run a recovery please back up your data. This does not work please call HP technical support & get the Speaker replaced.
Let us know how it goes!
"I work for HP."
****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
****Please mark Accept As Solution if it solves your problem****
Regards
Manjunath -
Please help. Got TopLink working, but now I can't run a JSP page
I am using JDeveloper 9.0.3.
I got TopLink working successfully. Meaning I can access the DB using my mapped TopLink classes from my java code in JDeveloper.
However, now I can't even run the default .jsp page.
I am getting the error:
Error instantiating application at file:/C:/LBIT/LBIT-oc4j-app.xml: Error parsing data-sources config at file:/C:/LBIT/LBIT-data-sources.xml: Fatal error at line 0 offset 0 in file:/C:/LBIT/LBIT-data-sources.xml: The encoding "windows-1252" is not supported.
If I go change the "LBIT-data-sources.xml" file to "ISO-8859-1," as soon as I run the .jsp page (from JDeveloper) the "LBIT-data-sources.xml" file gets overwritten with a new one that contains the "windows-1252" encoding line again.
What can I do to fix this???
I know someone else has run into this problem!!!
Please help. Thanks so much.
AndyYou could change the encoding by doing the following.
Stop Embedded OC4J Server (Run | Terminate | Embedded OC4J Server)
Tools | Preferences
Select Environment
Change the Encoding to ISO-xxxxx
Click OK
Run your JSP now.
Atleast this should fix encoding generated into data-sources.xml
raghu
JDev Team -
I have deleted my Apple ID from the apple store but had it previously associated with my Ipad, that I set 'to find' my ipad. but since i've deleted the orginal account I cannot access my ipad! The ipad is currently in DFU mode but still asks for a password, please help!
Your Apple ID still exists with the most recent password that you used. You can use it to erase your iPad. Read this.
Maybe you are looking for
-
JMS issues when migration from weblogic 9.2 to 10.3.5
We are facing some issues when migration from weblogic 9.2 to 10.3.5 In weblogic 9.2 :_ BMP Entity EJBs used in our project are read-only in nature using entity cache, below is the configuration details <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Syst
-
Itunes can't run bc of audio configuration problem
Well I've been using itunes for about 2 years now and just recently i installed the newer version. It was working fine until today when my computer told me ther was some kind of computer error and that i should do a system restore. So i did a restore
-
Airport Extreme Base Station - Wireless AND Hardwired connections
I have an Airport Extreme Base Station. I am under the impression that I can connect a hardwire via ethernet to my iMac, as well as use my wireless connections on my iBook. I am connected to the internet via my local Comcast Cable system on a SurfBoa
-
Hi Im on mac osx 10.4.7 and the icon for isync is missing, i have a blank icon. In the application there is no icon for .mac, my V3c and sync. Some one can help me.
-
After I did a change in the drumsection on a song the program just "went down". It's impossible to go back tinto the program. It just tryn to open the song, nothing happend and then out again... What can I do?