Problem for Function RSPO_RGET_PAGE_NUMBER
Hi,
I've to call the function RSPO_RGET_PAGE_NUMBER to get the no. of pages.
I know I have to export the parameter X of type TSP01SYS to this function, i.e.
CALL FUNCTION 'RSPO_RGET_PAGE_NUMBER'
EXPORTING RQ = IRQ
IMPORTING PAGES = ITLOG-NOFPAGE.
I defined IRQ as
DATA IRQ LIKE TSP01SYS.
I have an internal table itab storing the info from TSP01 and TSP02,
I just want to copy all the data from itab to IRQ,
MOVE-CORRESPONDING itab TO IRQ.
this just move a line to IRQ,
but i want to append all the data from itab to IRQ,
how to do so?
Thanks.
Hi,
append lines of itab to IRQ.
or
IRQ[] = itab[].
If the tables fields are different,
then
loop at itab into wa.
move-corresponding wa to wa_ipq.
append wa_ipq to ipq.
endloop.
Message was edited by: Jayanthi Jayaraman
Message was edited by: Jayanthi Jayaraman
Similar Messages
-
A strange problem for Find Value Function
Hi, Dear
I have a strange problem for search Function, my SRM_SERVER is 550 and Package is SAPKIBKT11.
SRM_PLUS is SAPKIBK011.
When I use Find Value Function to find Cost Ctr, Such as:
Account object values = * (it is possible), Search Result: 300 Entries. I have no find my foucs data(12000)
But
Account object values = 12000, Search Result: 1 Entries,(Maximum No. of Hits is 500) I can find it. It is very jocularity.....Faint.
Please help me.
Thanks a lot.This is due to security permissions.
You can do one thing, edit C:\Jdk1.3(your java home)\jre\lib\security\java.policy and add the following line,
permission java.net.SocketPermission "*.*.*.109:1521-" "connect,resolve"; or
permission java.net.SocketPermission "shenpeng:1521-" "connect,resolve";
Save the file and run the applet from the command prompt. If this is not working, copy the java.policy file to C:\jdk1.3 (your java home) and execute the applet.
Hope this helps.
PS:- It is not recommended to access the database from applets. -
Problem with cesession.jar: Incompatible object argument for function call
Hi,
I'm looking for an actual file cesession.jar because my current version from BOXI SP2 (01.03.2007 09:22, 62 KB) causes an error.
Who can help me?
Best Regards
Arnold
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: (class: com/crystaldecisions/sdk/framework/internal/d, method: a signature: ()V) Incompatible object argument for function call
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:460)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
javax.servlet.ServletException: (class: com/crystaldecisions/sdk/framework/internal/d, method: a signature: ()V) Incompatible object argument for function call
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
org.apache.jsp.TutorialDesktop.start_jsp._jspService(start_jsp.java:151)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.VerifyError: (class: com/crystaldecisions/sdk/framework/internal/d, method: a signature: ()V) Incompatible object argument for function call
com.crystaldecisions.sdk.framework.internal.CEFactory.makeSessionMgr(Unknown Source)
com.crystaldecisions.sdk.framework.CrystalEnterprise.getSessionMgr(Unknown Source)
org.apache.jsp.TutorialDesktop.start_jsp.createAuthenticationList(start_jsp.java:26)
org.apache.jsp.TutorialDesktop.start_jsp._jspService(start_jsp.java:132)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.Hello Arnold,
Can you provide us the exact information about the implementation version and Ant-version of the cesession.jar file that you are using.
This could be observed by opening the jar file using winrar or winzip, then go to the MANIFEST.MF file present inside META-INF folder.
Once you will open the MANIFEST.MF file, please let us know the first seven lines present inside the same fle.
Thanks,
Chinmay -
Problem when Indicator for Alt. labelling for functional location activated
Dear Experts,
In our test system, i had activated alternative labelling for functional lcation for an interface with Locations in ISU.
After i activated it the entire labelling for functional locations got changed to some arbitrary sustem generated number. For a sample -?0100000000000000142. Is there a ways i can retrieve the original names back. We have reactivated it to inactive again.
Please help.
Thanks,
Boby MathewHi,
Once alternative labelling is active, the previous functional location number (IFLOT-TPLNR) and OBJNR become a internal number. The visible location labels are stored in table IFLOS (Field STRNO).
How easy it is to revert to status 1-Inactive depends on the existance of IFLOS records. If there are no IFLOS records it should be possible to just deactivate via OIPU transaction - Uncheck the 'alt label active' flag - Save.
Where IFLOS records exist it means functional locations have already been created while the switch was active. These functional locations must be archived. See the full instructions for this process in note [359186|https://service.sap.com/sap/support/notes/359186]. It's a old note but is still valid for all current releases.
-Paul -
Java.lang.VerifyError - Incompatible object argument for function call
Hi all,
I'm developing a JSP application (powered by Tomcat 4.0.1 in JDK 1.3, in Eclipse 3.3). Among other stuff I have 3 classes interacting with an Oracle database, covering 3 use cases - renaming, adding and deleting an database object. The renaming class simply updates the database with a String variable it receives from the request object, whereas the other two classes perform some calculations with the request data and update the database accordingly.
When the adding or deleting classes are executed, by performing the appropriate actions through the web application, Tomcat throws the following:
java.lang.VerifyError: (class: action/GliederungNewAction, method: insertNewNode signature: (Loracle/jdbc/driver/OracleConnection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V) Incompatible object argument for function call
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at action.ActionMapping.perform(ActionMapping.java:53)
at ControllerServlet.doResponse(ControllerServlet.java:92)
at ControllerServlet.doPost(ControllerServlet.java:50)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
...The renaming works fine though. I have checked mailing lists and forums as well as contacted the company's java support but everything I have tried out so far, from exchanging the xerces.jar files found in JDOM and Tomcat to rebuidling the project didn't help.
I just can't explain to myself why this error occurs and I don't see how some additional Java code in the other 2 classes could cause it?
I realize that the Tomcat and JDK versions I'm using are totally out of date, but that's company's current standard and I can't really change that.
Here's the source code. I moved parts of the business logic from Java to Oracle recently but I left the SQL statements that the Oracle stored procedures are executing if it helps someone.
package action;
import java.sql.CallableStatement;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.StringTokenizer;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import oracle.jdbc.driver.OracleConnection;
* This class enables the creation and insertion of a new catalogue node. A new node
* is always inserted as the last child of the selected parent node.
public class GliederungNewAction implements Action {
public String perform(ActionMapping mapping, HttpServletRequest request,
HttpServletResponse response) {
// fetch the necessary parameters from the JSP site
// the parent attribute is the selected attribute!
String parent_attribute = request.getParameter("attr");
String catalogue = request.getParameter("catalogue");
int parent_sequenceNr = Integer.parseInt(request.getParameter("sort_sequence"));
// connect to database
HttpSession session = request.getSession();
db.SessionConnection sessConn = (db.SessionConnection) session.getAttribute("connection");
if (sessConn != null) {
try {
sessConn.setAutoCommit(false);
OracleConnection connection = (OracleConnection)sessConn.getConnection();
int lastPosition = getLastNodePosition( getLastChildAttribute(connection, catalogue, parent_attribute) );
String newNodeAttribute = createNewNodeAttribute(parent_attribute, lastPosition);
// calculate the sequence number
int precedingSequenceNumber = getPrecedingSequenceNumber(connection, catalogue, parent_attribute);
if ( precedingSequenceNumber == -1 ) {
precedingSequenceNumber = parent_sequenceNr;
int sortSequence = precedingSequenceNumber + 1;
setSequenceNumbers(connection, catalogue, sortSequence);
// insert the new node into DB
insertNewNode(connection, catalogue, newNodeAttribute, parent_attribute, "Neuer Punkt", sortSequence);
connection.commit();
} catch(SQLException ex) {
ex.printStackTrace();
return mapping.getForward();
* Creates, fills and executes a prepared statement to insert a new entry into the specified table, representing
* a new node in the catalogue.
private void insertNewNode(OracleConnection connection, String catalogue, String attribute, String parent_attribute, String description, int sortSequence) {
try {
String callAddNode = "{ call fasi_lob.pack_gliederung.addNode(:1, :2, :3, :4, :5) }";
CallableStatement cst;
cst = connection.prepareCall(callAddNode);
cst.setString(1, catalogue);
cst.setString(2, attribute);
cst.setString(3, parent_attribute);
cst.setString(4, description);
cst.setInt(5, sortSequence);
cst.execute();
cst.close();
} catch (SQLException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
// String insertNewNode = "INSERT INTO vstd_media_cat_attributes " +
// "(catalogue, attribute, parent_attr, description, sort_sequence) VALUES(:1, :2, :3, :4, :5)";
// PreparedStatement insertStmt;
// try {
// insertStmt = connection.prepareStatement(insertNewNode);
// insertStmt.setString(1, catalogue);
// insertStmt.setString(2, attribute);
// insertStmt.setString(3, parent_attribute);
// insertStmt.setString(4, description);
// insertStmt.setInt(5, sortSequence);
// insertStmt.execute();
// insertStmt.close();
// } catch (SQLException e) {
// e.printStackTrace();
* This method returns the attribute value of the last child of the parent under which
* we want to insert a new node. The result set is sorted in descending order and only the
* first result (that is, the last child under this parent) is fetched.
* If the parent node has no children, "parent_attr.0" is returned.
* @param connection
* @param catalogue
* @param parent_attribute
* @return attribute of the last child under this parent, or "parent_attr.0" if parent has no children
private String getLastChildAttribute(OracleConnection connection, String catalogue, String parent_attribute) {
String queryLastChild = "SELECT attribute FROM vstd_media_cat_attributes " +
"WHERE catalogue=:1 AND parent_attr=:2 ORDER BY sort_sequence DESC";
String lastChildAttribute;
PreparedStatement ps;
try {
ps = connection.prepareStatement(queryLastChild);
ps.setString(1, catalogue);
ps.setString(2, parent_attribute);
ResultSet rs = ps.executeQuery();
/* If a result is returned, the selected parent already has children.
* If not set the lastChildAttribute to parent_attr.0
if (rs.next()) {
lastChildAttribute = rs.getString("attribute");
} else {
lastChildAttribute = parent_attribute.concat(".0");
rs.close();
return lastChildAttribute;
} catch (SQLException e) {
e.printStackTrace();
return null;
* This helper method determines the position of the last node in the attribute.
* i.e for 3.5.2 it returns 2, for 2.1 it returns 1 etc.
* @param attribute
* @return position of last node in this attribute
private int getLastNodePosition(String attribute) {
StringTokenizer tokenizer = new StringTokenizer(attribute, ".");
String lastNodePosition = "0";
while( tokenizer.hasMoreTokens() ) {
lastNodePosition = tokenizer.nextToken();
return Integer.parseInt(lastNodePosition);
* This method calculates the attribute of a node being inserted
* by incrementing the last child position by 1 and attaching the
* incremented position to the parent.
* @param parent_attr
* @param lastPosition
* @return attribute of the new node
private String createNewNodeAttribute(String parent_attr, int lastPosition) {
String newPosition = new Integer(lastPosition + 1).toString();
return parent_attr.concat("." + newPosition);
* This method checks if the required sequence number for a new node is already in use and
* handles the sequence numbers accordingly.
* If the sequence number for a new node is NOT IN USE, the method doesn't do anything.
* If the sequence number for a new node is IN USE, the method searches for the next free
* sequence number by incrementing the number by one and repeating the query until no result
* is found. Then all the sequence numbers between the required number (including, >= relation)
* and the nearest found free number (not including, < relation) are incremented by 1, as to
* make space for the new node.
* @param connection
* @param catalogue
* @param newNodeSequenceNumber required sequence number for the new node
private void setSequenceNumbers(OracleConnection connection, String catalogue, int newNodeSequenceNumber) {
// 1. check if the new sequence number exists - if no do nothing
// if yes - increment by one and see if exists
// repeat until free sequence number exists
// when found increment all sequence numbers freeSeqNr > seqNr >= newSeqNr
String query = "SELECT sort_sequence FROM vstd_media_cat_attributes " +
"WHERE catalogue=:1 AND sort_sequence=:2";
PreparedStatement ps;
try {
ps = connection.prepareStatement(query);
ps.setString(1, catalogue);
ps.setInt(2, newNodeSequenceNumber);
ResultSet rs = ps.executeQuery();
// if no result, the required sequence number is free - nothing to do
if( rs.next() ) {
int freeSequenceNumber = newNodeSequenceNumber;
do {
ps.setString(1, catalogue);
ps.setInt(2, freeSequenceNumber++);
rs = ps.executeQuery();
} while( rs.next() );
// increment sequence numbers - call stored procedure
String callUpdateSeqeunceNrs = "{ call fasi_lob.pack_gliederung.updateSeqNumbers(:1, :2, :3) }";
CallableStatement cst = connection.prepareCall(callUpdateSeqeunceNrs);
cst.setString(1, catalogue);
cst.setInt(2, newNodeSequenceNumber);
cst.setInt(3, freeSequenceNumber);
cst.execute();
cst.close();
// String query2 = "UPDATE vstd_media_cat_attributes " +
// "SET sort_sequence = (sort_sequence + 1 ) " +
// "WHERE catalogue=:1 sort_sequnce >=:2 AND sort_sequence <:3";
// PreparedStatement ps2;
// ps2 = connection.prepareStatement(query2);
// ps2.setString(1, catalogue);
// ps2.setInt(2, newNodeSequenceNumber);
// ps2.setInt(3, freeSequenceNumber);
// ps.executeUpdate();
// ps.close();
} // end of if block
rs.close();
} catch (SQLException e) {
e.printStackTrace();
* This method finds the last sequence number preceding the sequence number of a node
* that is going to be inserted. The preceding sequence number is required to calculate
* the sequence number of the new node.
* We perform a hierarchical query starting from the parent node: if a result is returned,
* we assign the parent's farthest descendant's node sequence number; if no result
* is returned, we assign the parent's sequence number.
* @param connection
* @param catalogue
* @param parent_attr parent attribute of the new node
* @return
private int getPrecedingSequenceNumber(OracleConnection connection, String catalogue, String parent_attr) {
int sequenceNumber = 0;
String query = "SELECT sort_sequence FROM vstd_media_cat_attributes " +
"WHERE catalogue=:1 " +
"CONNECT BY PRIOR attribute = parent_attr START WITH parent_attr=:2 " +
"ORDER BY sort_sequence DESC";
try {
PreparedStatement ps = connection.prepareStatement(query);
ps.setString(1, catalogue);
ps.setString(2, parent_attr);
ResultSet rs = ps.executeQuery();
if ( rs.next() ) {
sequenceNumber = rs.getInt("sort_sequence");
} else {
// TODO: ggf fetch from request!
sequenceNumber = -1;
rs.close();
ps.close();
} catch (SQLException e) {
e.printStackTrace();
return sequenceNumber;
}After further googling I figured out what was causing the problem: in eclipse I was referring to external libraries located in eclipse/plugins directory, whereas Tomcat was referring to the same libraries (possibly older versions) in it's common/lib directory.
-
XCode 3.2 codesense not working for functions in OpenGL and GLUT frameworks
I'm working on a small OpenGL project (coded in C), and am trying to make the switch from emacs to XCode 3.2, in part because I thought codeSense would be a great tool. I've successfully imported the project to XCode as an External Build System project, that is, I'm compiling using make with my own Makefile. Everything builds and launches fine now, I just have an issue with the codeSense auto completion.
Auto complete is working fine for header files that I've defined myself and live locally in my project directory; I get full function prototype suggestions for any function I've defined myself. However, I never get suggestions for any function defined in the header files associated with OpenGL or GLUT frameworks.
I have included references to the frameworks in my project, and they do show up as being associated with the project target when I look at the info associated with the framework. However, if I dive into the framework and click on individual header files and click on Info for those, those do not appear to be associated with the project target.
I've rebuilt the codeSense index multiple times. This has no effect on my problem.
The source code itself obviously links with the frameworks correctly, since my project runs and looks fine.
I guess my question is twofold: Will CodeSense give me prototypes for frameworks associated with my project? If so, are there any suggestions out there to get me on my way?This appears to be a conflict between the static code analysis tools (Clang) and CodeSense. See
http://www.openradar.appspot.com/7338181
I turned off the "Run Static Analyzer" build setting and clicked on the "Rebuild Code Sense Index" under general and it solved the problem for me. However, I want static code analysis too. -
The problem of function-based reuse
I read the quoted text as follows from a book authored by a Microsoft developer. I googled and found a lots of quotes of it, but did not find any explanation.
============
With languages like C, the basic unit of reuse is the function. The problem with function-based reuse is that the function is coupled to the data it manipulates. and if the data is global, a change to benefit one function in one reuse context damages another function used somewhere else.
============
C uses libraries widely,which is of function-based reuse. Can anybody kindly give me a scenario when this problem happens?
Java is typically object-based reuse, and I admit that my question is not a Java one. But I feel it would help to understand more about the concept or benefits of design of Java language. So, thank you to allow me to post this question here,
Edited by: 799160 on Sep 30, 2010 12:38 PM
Edited by: 799160 on Sep 30, 2010 12:57 PMThis is what I got out of reading the quote you posted:
I suppose something like the following could happen:
You (being a general person) have been given a class to modify. You look at the code for the first time and it has a bunch of methods and some class variables in it. Some of the methods use the class variables. How can you be sure if you change the functionality to change a class variable in one method won't affect the other methods when they are used? This problem can be solved by learning what everything does, how it interacts and the correct way to use it. But then again, if you don't think about it and just make changes...Oops!
Perhaps another abstract example would make sense:
Imagine a calculator that could be used by 2 people at the same time? I bet it'd come up with some funny answers :)
I wrote up a short example of this, hopefully it makes some sense:
public class SuperBigProgram
private int globalVar;
public static void main ( String[] args )
new SuperBigProgram();
public SuperBigProgram()
System.out.println("I'm a super big program.");
globalVar = 0;
//Let's pretend these series of events occur during the program:
doItHighChanceActivity(); //1
doItHighChanceActivity(); //2
doItHighChanceActivity(); //3
//Whoops super rare event occured!
doesNotHappenALot();
doItHighChanceActivity(); //4???? but is really 5.
* This happens A LOT!
private void doItHighChanceActivity ()
superUtilityMethod();
System.out.println("globalVar: " + globalVar);
* This utility method does some awesome utility stuff for our Super Big Program.
* This changes some global data.
private void superUtilityMethod()
globalVar++;
* This does not happen a lot, if at all.
private void doesNotHappenALot()
//Hey I don't happen a lot but I'm reusing this really cool utility method that contains global data...
//Code reuse for the win!
superUtilityMethod();
}Here is the output:
I'm a super big program.
globalVar: 1
globalVar: 2
globalVar: 3
globalVar: 5
Edited by: kilosi on Sep 30, 2010 1:22 PM -
Computer iMac7,1 has been giving sundry problems for sometime. Within the last six weeks I have reinstalled the OS (Snow Leopard),without affecting the overall contents of the hard drive.
±3 weeks later the problems became more serious and I againreinstalled the OS and installed OS 6.6.7 from the internet.
I used the option to restore from the external backup driveand went back some time as it was my intention to reinstall individualcomponent in an attempt to find out where the problem might lie. This hasintroduced an entirely new problem! If I open Time Machine from the desktop itappears that all backups from late 2009 to June 2011 are intact. But, in thiscase there are none of the restore functions &c on screen. The latter areonly shown if Time Machine is opened from the menu bar or from the dock but, inthis case, available are only backups in late 2009!
I also opened the Apple Hardware Test in an attempt toestablish the nature of the problem. The ‘quick’ version said there’s nothingwrong; the more detailed one reported “Error detected, 4HD/11/40000004.” I haveagain tried to employ this test but nothing I do can induce it to open!!!
What to do? I need help urgently and would appreciate anyadvice that offers solutions to the problem.To check your S.M.A.R.T status open disk utility and click on your drive and then click on the info icon.
-
Problem with Function Key in multiple JTextArea's
Hi all,
I have an unusual problem that I'm hoping someone has run into before. I'm working on a chatroom with multiple JTextArea's. I'm filter incoming keystrokes to run the appropriate method. I want to use function keys to perform various functions. I know it will, theoretically work because my test program worked fine in my test apllet with 1 JTextArea. All the other keyevent's work fine but the eventlistener acts like it doesn't detect any (function) event at all. I'm hoping that someone has run into this before.
Thanks.
ChrisHere's a code snipet:
String dummy;
int keyVal = e.getKeyCode();
switch (keyVal) {
case KeyEvent.VK_F1:
But what concerns me is that my debugger doesn't respond to any function key. I can't even debug because the debuger can't see what I'm doing. I've tried listening for function keys in the parent panel but with the same result. This is going to be a bear to solve.
Thanks.
Chris -
Problem in Function while creating dependency not getting solved
Hi All,
I am not getting any solution even after debuging it many times,
This is second time I am posting same problem , Please help me out if possible
I am working on a Program in which I have to create Class , local and global dependency -
For class createion i am using
BAPI_CLASS_CREATE
For local dependency i m using
CAMA_CLASS_MAINTAIN_DEP
For Global dependency i am using
CAMA_CLASS_ALLOCAT_GLOB_DEP
Now my problem is that I am able to create Class and only 1 of the dependency either local or global whihever function I am calling first
But while debugging program I am able to create Class as well as both dependencies successfully
Please can any one tell while this is runing successfully only at the time of debugging
Code -
have used -
CALL FUNCTION 'BAPI_CLASS_CREATE'
EXPORTING
CLASSNUMNEW = TCLASS-CLASS
CLASSTYPENEW = TEXP1-KLART
CLASSBASICDATA = CLASSBASICDATA
CHANGENUMBER = SAENNR
TABLES
CLASSDESCRIPTIONS = CLASSDESCRIPTIONS
CLASSLONGTEXTS = CLASSLONGTEXTS
CLASSCHARACTERISTICS = CLASSCHARACTERISTICS
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = TRET2.
CALL FUNCTION 'CAMA_CLASS_ALLOCAT_GLOB_DEP'
EXPORTING
CHANGE_NO = SAENNR
KEY_DATE = SY-DATUM
TABLES
CLASS_DEP_ASSIGN = T_GLBDEP
EXCEPTIONS
ERROR = 1
WARNING = 2
OTHERS = 3.
CALL FUNCTION 'CAMA_CLASS_MAINTAIN_DEP'
EXPORTING
CLASS = TCLASS-CLASS
CLASS_TYPE = SKLART
DEPENDENCY_DATA = T_DEPDATA
CHANGE_NO = SAENNR
KEY_DATE = SY-DATUM
TABLES
SOURCE = TSOURCE
EXCEPTIONS
ERROR = 1
WARNING = 2.
I have no problem in creating Class using Bapi ,
Problem I am facing here in creating Local and global dependency together which i am able to create in debugging mode only otherwise either Local or global whichever function i am using first
Regards
Preetiduplicate post locked
Re: Problem in Function while creating dependency -
SOAP Fault Problem for WAS 6.20 System
Hi,
We are exposing some RFC enabled ABAP function modules as web services in a WAS 6.20 system.
We are trying to have all consumers of our web services use the SOAP faults to handle errors.
It works great when we raise exceptions from the function module.
However, we are having an issue when an ABAP dump occurs. It sets the SOAP fault properly,
but the XML return has extra data at the end that is causing our .NET developers problems when
trying to handle the SOAP fault.
Here is the Original(raw) XML:
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode> SOAP-ENV:Client </faultcode>
<faultstring> Internal Server Error </faultstring>
<detail>
<rfc:Error xmlns:rfc="urn:sap-com:document:sap:soap:functions">
<type> RABAX_STATE </type>
<message> Divide by 0 (type 1). </message>
</rfc:Error>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
sword" value="" size="8"/>
</td>
<tr>
<td> Language:</td>
<td>
<selectname="sap-language" class="pulldown">
<optionvalue="EN"> English</option>
<option value="DE">Deutsch</option>
</select>
</table>
<input type="submit"value="Anmeldung">
</form>
</body>
</html>
The HTML data at the end is causing the problems for our .NET guys.
We have a 6.40 system in development for roll out sometime next year and we don't have this
problem on that system. However, since we are exposing web services on our 6.20 system, we'd
like to get our standards in place now, so that our consumers won't have to change after
the upgrade.
Any information on how to turn off this extra data on a 6.20 system would be appreciated.
Thanks,
JeffHi Andreas,
SOAP 1.2 is not supported, neither in WebAS 6.20 nor in 6.40 as far as I know support is not planed even for next magor release...
The only what I can propose you is to create an OSS and check what shall SAP answer you,
or to downport your applicaiton.
Regards, Angel -
Problem in Functional Module on BW Query
Hi,
We are working on below requirement in BW.
We have to fetch the data of BW Query via a functional module to web services. We have created a query and a functional module based on that query. To create the function module on query, we have followed the standard method suggested in SAP blog. (ie. Input parameters for Functional Module is Filters use in Query and output parameters will be Keyfigures and Char. Of the Query).
We have 0PLANT in the raw section in query. We want to fetch plant text in the Function module output. But, our problem is we are getting Plant KEY value only in the output of functional module.
0PLANT properties in query designer is set to TEXT only.
So, in short, we want to have 0PLANT Text in the function module output.
Please suggest.
Regards,
Macwan James.Hi,
In your Function module, I hope the code is perfect. Please check your Infoobject maintenance whether text was maintained.
Regards,
Suman -
User has no authorization for Function group SYST
Hi,
We are starting to make customisation to B2B application. I have just created a new project for B2B_XXXX application and deployed it on the server. When I run this custom application, I am not able to login using the same user that is working fine for the standard B2B application.
Following is the error I am getting
ERROR 1 - RFC_ERROR_LOGON_FAILURE: User INTUSER05 has no RFC authorization for function group SYST
ERROR 2- The application was not able to switch to a stateful connection......
Strange thing is that the same user works very well for standard B2B.
Any clue? All I have done is created a CUSTCRMPRJ for B2B ERP (SHRWEB, SHRAPP). Please help.
Best regards,
-Tarun
Edited by: Tarun Bakshi on Nov 10, 2011 7:37 PMHi Shanto,
The problem is still occuring. Even If I give s_rfc authorisation the order is not being created.
I compared the source code for b2b and b2b_custom application, I have pasted below the component info
sap.com CORE-TOOLS 7.00 SP14 (1000.7.00.14.0.20071210170909) SAP AG SAP AG 20080125132852
sap.com SAP_JTECHF 7.00 SP14 (1000.7.00.14.0.20071210172424) SAP AG SAP AG 20080125132853
sap.com BASETABLES 7.00 SP14 (1000.7.00.14.0.20071210170411) SAP AG SAP AG 20080125132853
sap.com SAP-JEECOR 7.00 SP14 (1000.7.00.14.0.20071210172300) SAP AG SAP AG 20080125132852
sap.com JLOGVIEW 7.00 SP14 (1000.7.00.14.0.20071210160700) SAP AG SAP AG 20080125132853
sap.com SAP-JEE 7.00 SP14 (1000.7.00.14.0.20071210172039) SAP AG SAP AG 20080125132853
sap.com SAP_JTECHS 7.00 SP14 (1000.7.00.14.0.20071210172719) SAP AG SAP AG 20080125133813
sap.com BI_UDI 7.00 SP14 (1000.7.00.14.0.20071210170522) SAP AG SAP AG 20080125133909
sap.com BI_MMR 7.00 SP14 (1000.7.00.14.0.20071210170459) SAP AG SAP AG 20080125133230
sap.com UMEADMIN 7.00 SP14 (1000.7.00.14.0.20071210164800) SAP AG MAIN_APL70VAL_C 20080125140341
sap.com LM-TOOLS 7.00 SP14 (1000.7.00.14.1.20080124101556) SAP AG MAIN_APL70P14_C 20080125134809
sap.com SAP-SHRWEB 6.0 SP0 (1000.6.0.0.2.20080129095806) SAP AG MAIN_CRM70PAT_C 20110608153828
sap.com SAP-SHRAPP 6.0 SP0 (1000.6.0.0.2.20080128172843) SAP AG MAIN_CRM70PAT_C 20110608154506
b2b_custom application has been created by using code from the following SCs that were added to the track
SAPSHRWEB10_7-20003522.SCA
SAPSHRAPP10_7-20003520.SCA
SAPCRMWEB10_7-20003518.SCA
SAPCRMAPP10_7-20003516.SCA
SAPCRMDIC10_0-20003519.SCA
STRUTS01_0-10003646.SCA
SAPIPCMSA10_0-20003515.SCA
SAPCRMJAV10_7-20003517.SCA
SAPSHRJAV10_7-20003521.SCA
TEALEAF00_0-20001451.SCA
SAPBUILDT14_0-10003479.SCA
Any help would be great... -
No RFC authorization for function module
Hi Experts,
I am working on PI 7.3, doing a idoc to jdbc scenario by using the AEX(Advance Adapter Engine Extended).
I created Integrated Configuration, in tab "Inbound Processing" pointed IDoc_AAE sender channel etc...
While doing the configuration testing i am getting the below error "No RFC authorization for function module IDOCTYPE_READ_COMPLETE."
Messages fails in tRFC.
What can i do, to solve this problem?
Thanks & Regards
StanislavI ordered the right to RFC-connect.
The problem was this: in RFC-connect, in Destination(in NWA), you must specify a username, who have permission to read idoc-metadata (from ERP).
More about settings AAE, you may read here http://scn.sap.com/community/pi-and-soa-middleware/blog/2010/10/21/pixi-pi-73-new-java-based-idoc-adapters-configuration-sender-receiver--teaser
Sorry for my bad English.
Thanks all. -
No RFC authorization for function group RFC2
When I am trying to import RFCs/IDOCs from ECC to XI in the integration repository, I am getting this error:
User has no RFC authorization for function group RFC2.
Any input is appreciated.
Thanks,
tnvHi tnv,
I guess you have to use an authorization object S_RFC with parameters.. In your case, you would need to set
RFC_TYPE=FUGR
RFC_NAME=RFC2
See this link
http://help.sap.com/saphelp_nw04/helpdata/en/6b/af429b12e9214d9a2d6cba921b162f/frameset.htm
Hope this solves ur problem!
cheers
Prashanth
P.S Please mark helpful answers
Maybe you are looking for
-
How can I restore my iPod touch data to a new hard drive when the old one crashed
My computer crashed and I want to put the contents of my iPod Touch back on the new hard drive. How do I do this without accidentally Syncing and copying over my data? The vast majorioty of the music on my iPod is my own from DCs I own.
-
I utilized the idea from http://www.mssqltips.com/sqlservertip/2778/how-to-add-reporting-services-to-an-existing-sql-server-clustered-instance/ to install 2008 R2 Reporting Services on a new Clustered SQL instance. In short, create the new Clustered
-
This is not a duplicate of http://support.mozilla.com/en-US/questions/763963 The long gone historical artifact of what used to be called the statusbar, that used to be located at bottom of the window, has been replaced by various other functionality,
-
Any screen problems or kernel panics on the new 2011 mac air? Help!
I want to buy a macbook air but i now that the old one (2010 late) has some problems - screen flickering, kernel panics and eventually death. I want the new ait but also i want a computer to work fine, not with problems. Thanks guys.
-
Hi all, I am using the service order BSP (crmd_bus2000116) to create Service orders in Web IC. However once the service order is created, the system is not able to refresh the details. therefore whenever we login back in the web IC, the service order