Error while calling FM from report program
i am calling a FM using the follwoing program
REPORT ZTEST3.
DATA : EMPNO TYPE zempdata-EMPLOYEE_NUMBER,
EMPNAME TYPE zempdata-EMPLOYEE_NAME,
EMPSAL TYPE zempdata-EMPLOYEE_SALARY.
call function 'ZEMPMASTER'
EXPORTING
EMPNO = '22609'.
EMPNAME = 'vishal'.
EMPSAL = 200.
but when i execute this program i am getting the following error
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
When calling the function module "ZEMPMASTER", one of the parameters
needed according to the interface description was not specified.
This parameter was "EMPNAME".
i don't know why i am geteing this error where as in my FM ZEMPMASTER i have given only three input parameters
EMPNO, EMPNAME AND EMPSAL.
my FM code is like as follows
FUNCTION ZEMPMASTER.
""Local Interface:
*" IMPORTING
*" REFERENCE(EMPNO) TYPE ZEMPDATA-EMPLOYEE_NUMBER
*" REFERENCE(EMPNAME) TYPE ZEMPDATA-EMPLOYEE_NAME
*" REFERENCE(EMPSAL) TYPE ZEMPDATA-EMPLOYEE_SALARY
TABLES ZEMPDATA.
BREAK-POINT.
data WA_zempdata type zempdata.
WA_zempdata-EMPLOYEE_NUMBER = EMPNO.
WA_zempdata-EMPLOYEE_NAME = EMPNAME.
WA_zempdata-EMPLOYEE_SALARY = EMPSAL.
BREAK-POINT.
insert into zempdata values wa_zempdata.
WRITE :/ wa_zempdata-employee_number, wa_zempdata-employee_name.
commit work.
ENDFUNCTION.
pls let me know why i am getting this error
Hi vishal,
call function 'ZEMPMASTER'
EXPORTING
EMPNO = '22609'.<------- Remove this period
EMPNAME = 'vishal'.<------remove this period
EMPSAL = 200.<-----------*retain this period*
We must never change the format in which a FM is displayed once we call the pattern.
The period will be automatically be available at the end of the FM.need not keep it at end of every line.
Hope this helps.If problem still persists post back.
Regards,
K.Sibi
Similar Messages
-
Error while calling class in report
Hi All.
Iam calling a customizes class in the report program.
I have declared data based on class type, even though getting error like The type of "V_OBJEK" cannot be converted to the type of "V_TPLNR".
eg:
I need to pass value from ausp-objek to v_tplnr ( type is TPLNR ) both are diffrent data type .
so create a filed as v_objek ( type char30 ).
Now pasing value from ausp-objek to v_objek variable.
v_objek = ausp-objek
then moving values from v_objek to v_tplnr .here getting error.
Could you help me to resolve this doubts.
Regards.
Ram.hi ,
when values passing from ausp-objek to STRING field .
ausp-objek have length 50 and string type does not have fixed length so it accepts those fixed length value
where as in case of string to fixed length it will accept only character upto its fixed length
can you tell me what value you are passing from string to Fixed charater .
Regards
Deepak. -
XML Error while calling webservice from oracle function.
I am getting an error while I am trying to call webservice from oracle function. Any ideas? Thanks.
select get_new_string ('proxy:80', 'http://xxx/PatternVariations/SourceTest/WebMethods','Scott') from dual
ERROR at line 1:
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00225: end-element tag "H4" does not match start-element tag "P"
Error at line 9
ORA-06512: at "SYS.XMLTYPE", line 0
ORA-06512: at "DORSBP00.DEMO_SOAP", line 82
ORA-06512: at "DORSBP00.GET_NEW_STRING", line 11The error message implies that the web service is returning something that is not well formed xml. Can you verify what is being returned by the web service call
-
'ORA-12571: TNS:packet writer failure' error while calling procedure from VC++
hi all,
i am writing stored procedures and calling these from vc++. I have one stored procedure in that all
in and out perameters are numeric. When i am calling these procedure i am able to get the values properly. But in another procedure one in perameter is varchar and one out perameter is varchar. When i am calling these procedure from vc++ the error i am getting is "ORA-12571: TNS:packet writer failure". I test my vc++ code on different computers but its giving the same errors. I think ora-12571 error is when i can't communicate with oracle. But other stored procedures(in and out perameters are numbers) and sql statements are running properly. Only these stored procedure which has in and out perameters as varchar is giving me the above said problem. My out perameter in this procedure strtax is of type varchar and the length 100. Is it the problem. Please suggest me how to over come this problem.
thanks in advance,
with regards
vali.Hi
We recently changed our load balancer to a new load balancer. we get this error only after the load balancer change.
When the error occurs, I could see ORA-12571 error message only in the application error log. The listener.log has only the following message about TNS 12502. It does not have any message about ORA -12571.
TNS-12502: TNS:listener received no CONNECT_DATA from client
12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2202)) * establish * AppName * 0
12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2203)) * establish * AppName * 0
12-MAR-2010 12:23:26 * (CONNECT_DATA=(SERVICE_NAME=AppName)(CID=(PROGRAM=c:\wind ows\system32\inetsrv\w3wp.exe)(HOST=WEB02)(USER=NETWORK?SERVICE))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.x.x.x.x)(PORT=2204)) * establish * AppName * 0
12-MAR-2010 12:24:09 * 12502
TNS-12502: TNS:listener received no CONNECT_DATA from client
Thanks
Ashok -
ESS throwing error while calling transaction from R/3
Whenever u try to pull certain I-view like under ESS > Income tax provisional statement then the portal throws below mentioned error. Portal is not able to call transactions from R/3.
Error:
The requested URL could not be retrieved
While trying to retrieve the URL: http://dev.mglep.com:26000/sap(ZT0yZElaRG5xNDlZdFF4aGcyTDhzMWxRLS1hVUR5bDBMbjBDZ2hWUUcyMlZmcmlBLS0=)/bc/gui/sap/its/webgui?
The following error was encountered:
Connection to 69.43.161.156 Failed
The system returned:
(111) Connection refusedThe remote host or network may be down. Please try the request again.
Your cache administrator is root.
Please helpHi,
Please check the parameters that has been defined in SICF for the transaction you are using.
With Regards,
Kaustuv Goswami. -
I am getting error while calling FNDCPPROGRAMPAGE from OA page
Hi,
I need to submit a concurrent request with user
given parameters from an OA page.
Here is the codepart written in CO.....
HashMap params = new HashMap();
String url = "OA.jsp";
params.put("akRegionApplicationId", "0");
params.put("akRegionCode", "FNDCPPROGRAMPAGE");
params.put("programApplName", "AHL");
params.put("programName", "AHLUMATF");
params.put("programDesc", "Build Material Stream for Planned
Maintenance");
params.put("programRegion", "Show");
params.put("parameterRegion", "Show");
// params.put("scheduleRegion", "Show");
// params.put("notifyRegion", "Show");
// params.put("printRegion", "Show");
//params.put("requestMode", "DEFERRED");
try {
pageContext.setForwardURL(url,
null,OAWebBeanConstants.KEEP_MENU_CONTEXT, null,
params, true,
OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
OAWebBeanConstants.IGNORE_MESSAGES);
catch (Exception e)
throw new OAException("SetDeferredException " +
e.getMessage(),OAException.ERROR);
I am getting the request page with the following errors
"Could not create webbean, could not create item metadata item Name
(FndCpLanguageTable); Region: (FNDCPPROGRAMSTATION);"
"Could not create webbean, could not create item metadata item Name
(FndCpCopyRequest); Region: (FNDCPPROGRAMCONTAINER);
Please advise me, is there anything missing in code or what could be
done to resolve the error.
Thanks in Advance for your help.
Regards,
BalajiHi,
you can use this code...
import oracle.apps.fnd.cp.request.ConcurrentRequest;
import oracle.apps.fnd.framework.server.OADBTransaction;
public int submitCPRequest(Number headerId) {
try {
OADBTransaction tx = (OADBTransaction)getDBTransaction();
java.sql.Connection pConncection = tx.getJdbcConnection();
ConcurrentRequest cr = new ConcurrentRequest(pConncection);
String applnName = "PO"; //Application that contains the concurrent program
String cpName = "POXXXX"; //Concurrent program name
String cpDesc = "Concurrent Program Description"; // concurrent Program description
// Pass the Arguments using vector
// Here i have added my parameter headerId to the vector and passed the vector to the concurrent program
Vector cpArgs = new Vector();
cpArgs.addElement(headerId.stringValue());
// Calling the Concurrent Program
int requestId = cr.submitRequest(applnName, cpName, cpDesc, null, false, cpArgs);
tx.commit();
return requestId;
} catch (RequestSubmissionException e) {
OAException oe = new OAException(e.getMessage());
oe.setApplicationModule(this);
throw oe;
Now to go to the Monitoring page.
set the forward url to
String url = "OA.jsp?akRegionCode=FNDCPREQUESTVIEWREGION&akRegionApplicationId=0";
try {
pageContext.setForwardURL(url,
null,OAWebBeanConstants.KEEP_MENU_CONTEXT, null,
params, true,
OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
OAWebBeanConstants.IGNORE_MESSAGES);
catch (Exception e)
throw new OAException("SetDeferredException " +
e.getMessage(),OAException.ERROR);
} -
Getting error while calling procedure from remote database
When I am trying to call child procedure from remote database I am getting below error:
ORA-02064: distributed operation not supported
ORA-06512: at "NMUSER.NEW_CUST_UPLOAD", line 740
(P.S. on line no 740 I issued "commit;" )
I checked rights,synonym on all the objects they are fine.Oracle Error: ORA-02064
Error Description:
Distributed operation
not supported
Error Cause:
One of the following
unsupported operations was attempted:
1. array execute of a remote update with a subquery that references a dblink,
or
2. an update of a long column with bind variable and an update of a second
column with a subquery that both references a dblink and a bind variable, or
3. a commit is issued in a coordinated session from an RPC procedure call
with OUT parameters or function call.
Cheers,
Manik. -
Error while calling webservice from application module
Hi all
I have generated a Proxy from a web Service and i am trying to call the web service from an Application Module it is throwing me error
JBO-29000: Unexpected exception caught: oracle.classloader.util.AnnotatedNoClassDefFoundError, msg= Missing class: webservices.types.com.siebel.xml.order_interface.Orders Dependent class: java.lang.reflect.Array Loader: jre.bootstrap Code-Source: unknown Configuration: jre bootstrap
Missing class: webservices.types.com.siebel.xml.order_interface.Orders Dependent class: java.lang.reflect.Array Loader: jre.bootstrap Code-Source: unknown Configuration: jre bootstrap
My web Service is correct, as i have executed the client and it is working fine, but when i try to access the web service from an application module it is throwing me this error. So any light on this issue will be very helpful
thanksThis forum is for XML DB issues. XML DB is a feature of 9iR2 and later.You need t look in the XML Technology forum
-
Error while calling webservice from oracle8i
Hi,
i am trying to call a webservice from a stored procedure in Oracle 8i.
I am getting the following error.
ORA-31011: XML Parsing failed
ORA-19202: Error occurred in XML processing
LPX-00225: end-element tag "body" does not match start element tag "br"
Kinldy help me in knowing the cause of this issue. Also i wanted to know if
webservices will work in oracle 8i enterprise edition release 8.1.7.4.0
or do we need to add any patches for it.
Thanks,
SathiaThis forum is for XML DB issues. XML DB is a feature of 9iR2 and later.You need t look in the XML Technology forum
-
Error while calling applet from Javascript via LiveConnect and WebDriver
Hi all,
I am trying to call applet Java code from Javascript via WebDriver.
Given the following two cases:
- calling a static method: Integer.parseInt("42")- constructing a new object: new String("Hello world")My Javascript code looks like this:
document.appletId.Packages.java.lang.Integer.parseInt("42");
new document.appletId.Packages.java.lang.String("Hello world");When executing this code in Firefox via the Firebug Javascript console everything works fine and I get the expected results. However, when executing this code via the JavascriptExecutor from WebDriver only the call to the static method succeeds, the construction of the new object leads to the following error: "Attempt to call a default method on object with no invokeDefault method."
I don't have any idea what is going wrong here, so any help would be greatly appreciated.
Thanks!Hello Gerard, Hello Krishna,
-> The liveCache application failed with COM error::
40028 Illegal timestamp in rough timegrid
More details about COM error 40028 you will see in TA /n/sapapo/om10
-> Return code: 40028 -> execute ::
Invalid time stamp in the time buckets profile relation
( om_ts_tgrelinvalidstamp )
< click on '?' mark >
-> Open an OSS message in accordance with SAP note 167280 if further help
needed to solve the issue on your system.
Thank you and best regards, Natalia Khlopina -
Error while calling Subroutine from Script
HI Friends,
I am getting a short dump whilecalling a suboutine from Script.
Please suggest if am wrong with below code
/: PERFORM GET_ADDRESS IN PROGRAM ZSUBROUTINES
/: USING &MHND-KUNNR&
/: CHANGING &ADRS-LINE0&
/: CHANGING &ADRS-LINE1&
/: ENDPERFORM
All above fields are available in script window
In the program
FORM get_address TABLES in_tab STRUCTURE itcsy
out_tab stucture itcsy.
ENDFORM.
ThanksHI,
Your code is correct, in the FORM and ENDFORM in the program, read the INPUT table and get the values and write your logic using these values and send back the values to the SCRIPT using the OUTTABLE. here you need to use the MODIFY statment for the outtable using Sy-TABIX.
Regards
Sudheer -
How to call a badi implementaion from report program
Hi ABAP Guru,
I have ZBADI_FALLBACK_DEF new badi created by me and there two implementation ZBADI_FALLBACK_IMP and ZBADI_FALLBACK_IMP1
Now I am calling this badi from report program
DATA:
W_HANDLE TYPE REF TO ZBADI_FALLBACK_DEF.
* GET BADI - for getting objects..................
GET BADI W_HANDLE.
* CALL BADI - for calling interface methods.
CALL BADI W_HANDLE->ADD.
This is fine,,,
But I want to call only one implementaion ZBADI_FALLBACK_IMP.But here two implementaion is called.Please help....Hi Palash,
Then you create filter BADI and use filter in implementation.
While getting BADI reference use filter
GET BADI W_HANDLE FILTERS
Thanks & Regards,
Arun -
Error while calling COM routines via application program (return code 40028
Hi ,
When i am doing these steps i am getting the following error.
1.from SAP menu...Demand Planning>Planning>Interactive Demand planning
2.after the transaction gets loaded...click on the 2nd button that is selection window from the left ALV menu..on the top.
3.type the below
show - Material
APO Planning Version - K01
Material - 12345
4.Material 12345 will be loaded
5.Double click and i am getting ''error Error while calling COM routines via application program (return code 40028)''
Note : Observed that this is not happening everytime, but happening alternatively.
Can any one say what is the problem for Error.
Thanks
GerardHello Gerard, Hello Krishna,
-> The liveCache application failed with COM error::
40028 Illegal timestamp in rough timegrid
More details about COM error 40028 you will see in TA /n/sapapo/om10
-> Return code: 40028 -> execute ::
Invalid time stamp in the time buckets profile relation
( om_ts_tgrelinvalidstamp )
< click on '?' mark >
-> Open an OSS message in accordance with SAP note 167280 if further help
needed to solve the issue on your system.
Thank you and best regards, Natalia Khlopina -
Urgent.....Error while running a jsp report from Jdeveloper
Hi,
I am getting following error while running a jsp report from Jdeveloper. I am using version 10.1.2.1.0. The same report is working fine when I am running it from report builder. ( Both these tools were installed using Oracle Developer Suite 10g version 10.1.2). I did search in oracle discussion forums and google, but I could not arrive at a resolution of error. Any help in resolving this issue would be grateful.
Error details:
Page url : http://<hostipaddress>:8988/Reports-reportproject-context-root/MyReport.jsp
Reports Error Page
Wed Oct 17 20:03:22 IST 2007
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
javax.servlet.jsp.JspException: REP-51002: Bind to Reports Server myreportserver failed
at oracle.reports.jsp.ReportTag.doStartTag(ReportTag.java:464)
at MyReport.jspService(MyReport.jsp:4)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:57)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Could anyone help me out in resolving this issue.
Thanks
Siva...Hi,
I posted this message in jdeveloper forum yesterday, but there was no response. So I thought of posting it in this forum to check my luck.
Thanks
Siva... -
Operation not found error while calling AM methods from managed bean
Hi,
operation not found error while calling AM methods from managed bean.
written a method with two parameters in AM.
exposed the method in AM client interface
in the page bindings added the method in method action ..left empty in the value fields of the parameters.
calling the method from managed bean like below
String userNameVal = (String)userName.getValue();
String passwordVal = (String)password.getValue();
OperationBinding operationBinding =
ADFUtils.findOperation("verifyLogin");
operationBinding.getParamsMap().put("userName",userNameVal);
operationBinding.getParamsMap().put("password",passwordVal);
operationBinding.execute();
i am getting operation verifyLogin not found error.Please suggest me something to do.
Thanks
SatyaHi vlsn,
Can you try with the below code
// in your backing bean
OperationBinding operation = bindings.getOperationBinding("verifyLogin");
//Put your both parameters here
operation.getParamsMap().put("parameter_name1", parameterValue1);
operation.getParamsMap().put("parameter_name2", parameterValue2);
operation.execute();
if (operation.getResult() != null) {
Boolean result = (Boolean) operation.getResult();
and share the result.
regards,
Rajan
Maybe you are looking for
-
How i can recharge or purchase voucher code nokia ...
Hello Everyone! Can any one suggest me how i can recharge or purchase nokia music voucher code??? i will try from last 1 year but the recharge site dosnt work (oxrechage.com) something like this Sanjeev! [email protected] Moderator's note: E-mail ad
-
Values not populated in S_ALR_87012806 for a specific cost element
Hi all, Postings made to specific cost element are not populated in report S_ALR_ 87012806. Can anyone throw some light on this? Thanks Shravan
-
New computer, Mac Book Pro with latest version of IWeb. Last night I tried transferring information from my old powerbook. Not only was I not successful, but the power book bit the dust. I have backups where I published to folder from my blog, but a
-
Automating global consistency check
Hi, Could anyone please share knowledge on how to automate rpd global consistency check and creating output file containing errors and warnings of rpd. Regards, Varun
-
Initializing Global (?) Objects
Still getting used to Java and OOP as I'm an old programmer. I have a Course class that I want to be able to manipulate in other classes (FileFunctions, Utilities, other jDialogue and GUIs). The problem is, I can't seem to figure out how to do this w