Error while passing Free selections to standard program
I am submitting a standard program fagl_account_items_gl and trying to pass the free selections of the LDB . However it does not seem to work for the program fagl_account_items_gl.
Listed below is the code i am using. Need help on this one.
REPORT ZTEST MESSAGE-ID ab
LINE-SIZE 180
LINE-COUNT 80(1)
NO STANDARD PAGE HEADING.
START-OF-SELECTION.
TYPE-POOLS rsds.
DATA: trange TYPE rsds_trange,
trange_line
LIKE LINE OF trange,
trange_frange_t_line
LIKE LINE OF trange_line-frange_t,
trange_frange_t_selopt_t_line
LIKE LINE OF trange_frange_t_line-selopt_t,
texpr TYPE rsds_texpr.
DATA trsparams TYPE TABLE OF rsparams.
DATA r_bukrs TYPE RANGE OF t001-bukrs.
DATA rsparams LIKE LINE OF r_bukrs.
trange_line-tablename = 'SKB1_FS'.
trange_frange_t_line-fieldname = 'MITKZ'.
trange_frange_t_selopt_t_line-sign = 'I'.
trange_frange_t_selopt_t_line-option = 'EQ'.
trange_frange_t_selopt_t_line-low = 'D'.
APPEND trange_frange_t_selopt_t_line TO trange_frange_t_line-selopt_t.
trange_frange_t_line-fieldname = 'MITKZ'.
trange_frange_t_selopt_t_line-sign = 'I'.
trange_frange_t_selopt_t_line-option = 'EQ'.
trange_frange_t_selopt_t_line-low = 'K'.
APPEND trange_frange_t_selopt_t_line TO trange_frange_t_line-selopt_t.
APPEND trange_frange_t_line TO trange_line-frange_t.
APPEND trange_line TO trange.
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
field_ranges = trange
IMPORTING
expressions = texpr.
rsparams-sign = 'I'.
rsparams-option = 'EQ'.
rsparams-low = 'CH99'.
APPEND rsparams TO r_bukrs.
SUBMIT fagl_account_items_gl
VIA SELECTION-SCREEN
WITH FREE SELECTIONS texpr
WITH sd_bukrs IN r_bukrs
WITH rldnr EQ 'ST'
AND RETURN.
After days of fighting this I finally have it working
I did not need the fields table sent.
SUBMIT fagl_account_items_gl
WITH SELECTION-TABLE lt_select
WITH fs_dyns EQ le_dyns
WITH fs_num EQ '2'
AND RETURN.
I always have 2 fields so I just hard coded the number 2
Fill ranges for dynamic selections
le_ranges-tablename = 'BSIS_FS'.
le_frange-fieldname = 'PROJK'.
le_selopt-sign = 'I'.
le_selopt-option = 'EQ'.
Convert to internal number
CALL FUNCTION 'CONVERSION_EXIT_ABPSP_INPUT'
EXPORTING
input = le_alv-posid
IMPORTING
output = lv_pspnr.
le_selopt-low = lv_pspnr.
APPEND le_selopt TO le_frange-selopt_t.
APPEND le_frange TO le_ranges-frange_t.
APPEND le_ranges TO le_dyns-trange.
REFRESH: le_frange-selopt_t,
le_ranges-frange_t.
le_ranges-tablename = 'FAGLFLEXA_FS'.
le_frange-fieldname = 'RFAREA'.
le_selopt-sign = 'I'.
le_selopt-option = 'EQ'.
le_selopt-low = le_alv-fkber.
APPEND le_selopt TO le_frange-selopt_t.
APPEND le_frange TO le_ranges-frange_t.
APPEND le_ranges TO le_dyns-trange.
Fill dynamic selections table
CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
EXPORTING
field_ranges = le_dyns-trange
IMPORTING
expressions = le_dyns-texpr
EXCEPTIONS
OTHERS = 0.
Set Clauses for select
le_where-tablename = 'BSIS_FS'.
CONCATENATE '(' 'PROJK' 'EQ' '''' lv_pspnr '''' ')'
INTO le_wherecls
SEPARATED BY space.
APPEND le_wherecls TO le_where-where_tab.
APPEND le_where TO lt_where.
le_where-tablename = 'FAGLFLEXA_FS'.
CONCATENATE '(' 'RFAREA' 'EQ' '''' le_alv-fkber '''' ')'
INTO le_wherecls
SEPARATED BY space.
APPEND le_wherecls TO le_where-where_tab.
APPEND le_where TO lt_where.
APPEND LINES OF lt_where TO le_dyns-clauses.
I hope this helps.
I did not include the code for building the SELECTION-TABLE that was the easy part.
Similar Messages
-
Error while passing date parameters in procedure and commit issue
Hi
1) I am doing a archiveing records and pls find my code below and i have couple of issue,pls find my code and want to ensure the commit is happening every 100000 rows inserted but i am archeiving a huge table but when i checks the table frequently it shows 0 records and after it shows count the actual rows around 20 million records.How can i ensure it commiting on every 100000 records. pls find my code my db version is 10g on windows
CREATE OR REPLACE PROCEDURE doins as
cnt number:=0;
FOR x IN (select * from Call_log
where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY'))
LOOP
INSERT INTO call_arch
select * from Call_log
where trunc(c_date) = to_date('11-Aug-2008','DD-MON-YYYY');
cnt := cnt + 1;
IF( cnt = 10000 )
THEN
cnt := 0;
commit;
END IF;
commit;
END LOOP;
2) Error while passing date as parameter i am getting following errors while passing date parameter pls find my code and errors
CREATE OR REPLACE PROCEDURE doins(p_date date) as
cnt number:=0;
begin
FOR x IN (select * from Call_log
where trunc(c_date) = to_char(p_date,'DD-MON-YYYY'))
LOOP
INSERT INTO call_arch
select * from Call_log
where trunc(c_date) = to_char(p_date,'DD-MON-YYYY');
cnt := cnt + 1;
IF( cnt = 10000 )
THEN
cnt := 0;
commit;
END IF;
commit;
END LOOP;
end;
exec doins(11-Aug-2008) then gives
SQL> exec doins(11-Aug-2008);
BEGIN doins(11-Aug-2008); END;
ERROR at line 1:
ORA-06550: line 1, column 16:
PLS-00201: identifier 'AUG' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
if i gave exec doins(11-08-2008) it gaves
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'DOINS'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
rgds
roshCREATE OR REPLACE PROCEDURE doins(p_date varchar2) as
cnt number:=0;
begin
FOR x IN (select A.rowid,A.* from Call_log A
where trunc(c_date) = to_date(p_date,'DD-MON-YYYY'))
--hope that's c_date columne is DATE datatype
LOOP
INSERT INTO call_arch
select * from Call_log
where rowid=x.rowid;
cnt := cnt + 1;
IF( cnt = 10000 )
THEN
cnt := 0;
commit;
END IF;
commit;
END LOOP;
end;
thats your correct procedure - but NOT CORRECT ISSUE.
You should use bulk collect with limit clause and forall clause to do it faster!!! Or Merge clause. -
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 -
JCO.Server Error while trying to execute a RFC program from SAP
Hi,
We are connecting to an external registered server program from SAP via Web Methods.
The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
Number - 10
LUname - dev01
TPName - sapgw00
User - KRAORANE
Status - CONNECTED
Symbolic - PRDB2B
Conversation - 86520353
Prot - REG
SAP return code - 0
CPIC rtn code - 0
The external program returns results as expected.
However sometimes the RFC fails and returns the message JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS.
We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
-KiranHi,
Please see the below links..
JCO.Server Error while trying to execute a RFC program from SAP
Re: JCO.Servcer could not find server function
Re: JCO.Server could not find server function 'SET_SLD_DATA'
/people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
Re: interfacing SAP with an existing java applications
http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
http://www.sapgenie.com/faq/jco.htm
Regards
Chilla.. -
Getting error while passing implicit request object from JSP to JavaBean
Hi,
I am getting error while passing implicit object ie( request object)
from within JSP to JavaBean.
Following is source for JSP, JavaBean and Error message I am getting.
vaLookup.jsp Source
<jsp:useBean id="db" class="advisorinsight.javabeans.DisplayPages"
scope="request">
<jsp:setProperty name="db" property="request" value="<%= request %>"
/>
</jsp:useBean>
<jsp:getProperty name="db" property="totalrecords" />
JAVABEAN DisplayPages.java source
package javabeans;
import java.io.Serializable;
import javax.servlet.http.HttpServletRequest;
public final class DisplayPages implements Serializable {
private String totalrecords;
private HttpServletRequest request;
public void setRequest(HttpServletRequest req){
this.request = req;
public java.lang.String getTotalrecords()
this.totalrecords =
this.request.getParameter("totalrecords");
return this.totalrecords;
public DisplayPages(){
totalrecords = "";
request = null;
error after executing vaLookup.jsp
[30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
service JavaExtData successfully loaded
[30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
service LockManager successfully loaded
[30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
service RLOPManager successfully loaded
[30/Nov/2001 11:56:04:5] info: REQ-012: thread add
[30/Nov/2001 11:56:04:5] info: REQ-012: thread add
[30/Nov/2001 11:56:04:5] info: REQ-012: thread add
[30/Nov/2001 11:56:04:5] info: REQ-012: thread add
[30/Nov/2001 11:56:04:5] info: REQ-012: thread add
[30/Nov/2001 11:56:04:5] info: REQ-012: thread add
[30/Nov/2001 11:56:04:5] info: REQ-012: thread add
[30/Nov/2001 11:56:04:5] info: REQ-012: thread add
[30/Nov/2001 11:56:04:7] info: ENGINE-ready: ready: 10819
[30/Nov/2001 11:56:46:0] info: --------------------------------------
[30/Nov/2001 11:56:46:0] info: JSPRunnerSticky: init
[30/Nov/2001 11:56:46:0] info: --------------------------------------
[30/Nov/2001 11:56:51:7] error: Exception: SERVLET-compile_failed:
Failed in compiling template: /va/valookup.jsp, javac error:
c:\iplanet\ias6\ias\APPS\variabl
S\va\valookup.java:76: Undefined variable: JSP_8
db.setRequest(_JSP__8);
^
1 error
Exception Stack Trace:
java.lang.Exception: javac error:
c:\iplanet\ias6\ias\APPS\variableannuity\va\WEB-INF\compiled_jsp\jsp\APPS\va\valookup.java:76:
Undefined variable: JSP_8
db.setRequest(_JSP__8);
^
1 error
at
com.netscape.server.servlet.jsp.JSPCompiler.compileJSP(Unknown Source)
at
com.netscape.server.servlet.jsp.JSPCompiler.compileOrLoadJSP(Unknown
Source)
at
com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
Source)
at
com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
Source)
at
com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callJspCompiler(Unknown
Source)
at
com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUri(Unknown
Source)
at
com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUriRestrictOutput(Unknown
Source)
at
com.netscape.server.servlet.platformhttp.PlatformRequestDispatcher.forward(Unknown
Source)
at com.netscape.server.servlet.jsp.JSPRunner.service(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)The only thing that I see that looks funny to me is when you pass the request object into the method using <%=request%>, Im not sure whats going to happen here because that is suppose to print the results. Have you tried simply using <%request%>?
-
Getting error , while passing parameters from one page to another page
Hello friends,
i am getting error, while passing parameters from one page to another page, below code i wrote.
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
ArrayList arl=new ArrayList();
EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
ERecordImpl ERecordObj=new ERecordImpl();
HashMap hMap = new HashMap();
hMap.put("1",ERecordObj.getTransactionName());
hMap.put("2",ERecordObj.getTransactionKey());
hMap.put("3",ERecordObj.getDeferredMode());
hMap.put("4",ERecordObj.getUserKeyLabel());
hMap.put("5",ERecordObj.getUserKeyValue());
hMap.put("6",ERecordObj.getTransactionAuditId());
hMap.put("7",ERecordObj.getRequester());
hMap.put("8",ERecordObj.getSourceApplication());
hMap.put("9",ERecordObj.getPostOpAPI());
hMap.put("10",ERecordObj.getPayload());
// hMap.put(EresConstants.ERES_PROCESS_ID,
if(pageContext.getParameter("item1")!=null)
pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
hMap,
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES
Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
Thanks
krishna.Hi,
You have imported the wrong class for HashMap.
Import
com.sun.java.util.collections.HashMap; instead of java.util.HashMap
Thanks,
Gaurav -
ERROR while debugging a SELECT..ENDSELECT
Hello All,
We get an error while we go into the select..endselect loop during debugging. Because of this if we try to do some research on existing program with Select-endselect..it fails in the second pass of this loop.
This problem was not there earlier, but after we upgraded from 4.6 to 4.7 this problem is bugging us..every day. Does any one have a clue why ?
Thanks!!
Regards,
VishalHi,
debugging a SELECT...ENDSELECT statements brings to a LUW commit work if no other work processes are available for debug.
See OSS notes 675, 2104.
From OSS note 675 **********************************
Cause and prerequisites
Chain of causes:
1. There is a statement in one of the Select loops, that leads to a database Commit (or Rollback).
2. A database Commit causes the database to lose the cursor.
3. The system cannot automatically continue within Select loop after loss of cursor.
Following statements lead to a database Commit:
* All statements that cause a change of screen (CALL SCREEN, CALL DIALOG, CALL TRANSACTION, SUBMIT, I/W-Message)
* BREAK-POINT/ Debugging
. if no debug process free
. always after regeneration (in order to release generation lock).
* WAIT Here a work process is released and a Commit is executed.
* COMMIT WORK/ROLLBACK WORK
From OSS note 2104 **********************************
Solution
The "COMMITWORK" message appears in the ABAP debugger when programs
orscreensrequireregeneration,or when not enough free capacity
is available inthesystem (or else the debugger blocks a system
process).
Normallyonly one work process is released for debugging. This
isgenerally insufficient ina developmentsystem, as processes
can be blocked for other reasonstoo(background processing,
CPI-C connections,andso on).
The number of work processes made available for debugging can
be configured using the profileparameter
rdisp/wpdbug_max_no
Forexample:
rdisp/wpdbug_max_no = 10
setsthe maximum number of work processes made available for
debuggingto 10. It may be necessary to generally increase the
numberofwork processesatthis time (parameter rdisp/wp_no_dia).
In all other known cases, an error in the application program is
involved.
Regards, Manuel -
Error while generating a report in conc program
ERR REP-1320: Program unit 'beforereport' references column with invalid ID: 7.
I got this error while running conc program.
please any one help meIs this a standard or custom concurrent program?
Was this working before? If yes, what changes have been done recently?
You may review the following note, it could be relevant to the issue.
Note: 293532.1 - REP-1320: Program unit 'afterreport' references column with invalid ID: 21
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=293532.1 -
Error while passing the invoice to accounting
Hello,
while passing the document i am getting the following error,
Rule 3ZH1000#002 not found
Message no. GB102
Diagnosis
A subrule has been specified which does not exist.
System Response
None
Procedure
Check the name of the subrule and create a new one if necessary. The
subrule may belong to a different class.
I had WM settings, so i just deleted the assignment between Storage location and Warehouse.
Is my error due to this?
Please help me in removing the error.
Thanks.Hi
a validation rule is active in the system. Try running the program RGUGBR00. Also take help of FI Consultant
Regards
Sanil Bhandari -
Error while passing file from webdynpro screen to DMS server to gene DMS no
hello gurus,
i have one requirement in webdynpro abap.i need somme stuff to achive this.let me explain my requirement first.
i have one view as main having file upload UI element and one action button as CREATE. now i perform browse and selected one file . now i am going to perform action on that create button it is should generate one DMS document number against the selected file and strore this file in DMS storage location.for this i have used 'BAPI_DOCUMENT_CREATE2' bapi inside Action of CREATE BUTTON. but it is showing error like 'Error while checking in and storing: D:\file1.doc'
TYPE E
ID 26
NUMBER 253
MESSAGE Error while checking in and storing: D:\file1.doc
but when i am executing the BAPI 'BAPI_DOCUMENT_CREATE2' directly while passing the same data to bapi it is generating the document number perfectly.
i am new for this webdynpro could you please suggest me how can i overcome this problem.
regards.
babu.Hi,
This is not error with respect to WD. you can check same problem in thread Error while checking in and storing: C:Userscbt.abapDesktopLOP.XLS
I guess this will solve your problem.
Thanks,
Chandra -
Error while calling a select esb service
javax.resource.ResourceException: RollbackException: Transaction has been marked for rollback:
I encounter the above error while executing a synchronous bpel process, that invokes an esb db select service to fetch a value from the db.
the details available for the error are:
An unhandled exception has been thrown in the ESB system. The exception reported is: "java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 at java.util.Vector.get(Vector.java:710) at oracle.tip.esb.server.common.wsif.WSIFInvoker.readResponseHeader(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.wsif.WSIFOperation_ESB.executeRequestResponseOperation(Unknown Source) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:431) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:353) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:192) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:733) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:368) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:197) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3266) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1696) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:184) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:269) at com.collaxa.cube.engine.CubeE
Please suggest
thanx
AJDone That,
Thanx a ton Dave, it worked.
So I am finally moving on :-)
Just one question Dave, I happened to work on the Beta release of this version too, the problem was not there. How come we have been able to get it in dev preview. -
Error while running the rdf using concurrent program
Hi All,
I am facing the following error when i try to run the concurrent program
REP-0736: There exist uncompiled program unit(s).
REP-1247: Report contains uncompiled PL/SQL.
I am using a package in the program units. when i ues it the database its working fine. but when i use in the rdf.
it is throwing the above error.
Also the rdf is scuccessfully compiled.
Please let me know what should be done now??
Thanks
Janaclose report builder,
re-open
re-connect
open pgm unit procedure
compile each pgm unit individually
then ctrl+shift+k
ctrl+t
try now
CHK THIS LINK...may be while running, the user wont have access to the tables used in packages...
REP-1247 ERROR WHILE RUNNING REPORT
Edited by: Dora on Dec 15, 2009 10:00 AM -
Error while passing values from Interactive form to Webdynpro Application
Hi,
Iam working on AdobeInteractive Forms using GP.There is an interactive form with a submit button on my desktop. Now when i click on submit the values in the Interactive Form should be passed to an Webdynpro application.But when i click on submit button i was getting error.Can any one solve my issue.
The Error is:
SAP Guided Procedures - Error Page
What happened?
An internal error occurred while processing your request
What can you do?
Try again later. If the problem persists, contact your system administrator.
Additional Error Information
Error while processing document via ADS
com.sap.caf.eu.gp.base.exception.EngineException: Error while processing document via ADS
at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.processPDF(AdobePDFAdapter.java:842)
at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.getSessionContext(AdobePDFAdapter.java:1116)
at com.sap.caf.eu.gp.model.iforms.postproc.FormPostprocessor.processData(FormPostprocessor.java:396)
at com.sap.caf.eu.gp.model.iforms.FormPostProcessor.doPost(FormPostProcessor.java:182)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "GetData" operation. Request start time: Thu May 01 12:33:23 CDT 2008 com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@309d01f5 Exception Stack Trace: com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@309d01f5
at com.adobe.ads.remote.PDFState.getDocumentFromFile(Unknown Source)
at com.adobe.ads.remote.PDFState.getDocument(Unknown Source)
at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)
at com.adobe.ads.operation.GetData.execute(Unknown Source)
at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
at com.adobe.ads.request.Request.processOperations(Unknown Source)
at com.adobe.ads.request.Request.process(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: Stream does not represent a PDF document.
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.init(Unknown Source)
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.<init>(Unknown Source)
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.newDocument(Unknown Source)
at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.<init>(Unknown Source)
at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.newInstance(Unknown Source)
... 35 more
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:413)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.getData(PDFObject.java:311)
at com.sap.caf.eu.gp.model.iforms.adapter.pdf.AdobePDFAdapter.processPDF(AdobePDFAdapter.java:816)
... 19 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "GetData" operation. Request start time: Thu May 01 12:33:23 CDT 2008 com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@309d01f5 Exception Stack Trace: com.adobe.ProcessingException: Error creating PDF Document - PDF Exception: Stream does not represent a PDF document. [Ljava.lang.StackTraceElement;@309d01f5
at com.adobe.ads.remote.PDFState.getDocumentFromFile(Unknown Source)
at com.adobe.ads.remote.PDFState.getDocument(Unknown Source)
at com.adobe.ads.remote.EJB_PDFAgent.exportFormData(Unknown Source)
at com.adobe.ads.operation.GetData.execute(Unknown Source)
at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
at com.adobe.ads.request.Request.processOperations(Unknown Source)
at com.adobe.ads.request.Request.process(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0_0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0_0.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
at SoapServlet.doPost(SoapServlet.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
Caused by: com.adobe.internal.pdftoolkit.core.exceptions.PDFCosParseException: Stream does not represent a PDF document.
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.init(Unknown Source)
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.<init>(Unknown Source)
at com.adobe.internal.pdftoolkit.core.cos.CosDocument.newDocument(Unknown Source)
at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.<init>(Unknown Source)
at com.adobe.internal.pdftoolkit.pdf.document.PDFDocument.newInstance(Unknown Source)
... 35 more
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:400)
... 21 moreHi Praveen,
The concept what we have observed is When you click on Submit the values were sent to GP. There GP framework takes care of all these. After that when you try to login to Portal and click on GP Inbox and try to open the application, what ever the data that is sent previously will be retrieved.
Due to some reasons like Delegation and other conecpts where GP will not fit we have scrapped GP and got back to workflow. There we have used the concept of Portal Webservice inorder to send the data to R/3 by clicking on Submit button.
We have successfully implemented the Adobe Forms Offline Scenario using Portal Webservice. -
Error while passing values to store procedure
Hi,
I wrote a stored procedure by passing 3 in parameters and retrive data from source table and stored into target table.When i execute this pl/sql procedure individuallly(running anonymous block) its working fine,but when i pass the IN parameters through BPEL by posting xml data i am getting error like this
caused by ora-065335 statement string in open is null or 0 length.
nested exception:Error while trying to prepare and execute an API.
Any helpCan you provide your PL/SQL procedure, the XSD, and the XML?
-
Invalid I/O node config error while passing project reservations to APO
Guys,
I had created a Project with WBS Element, Network & Internal activity in ECC Project Systems. This data was ciffed and seen in APO without any issue.
Upon creating a Material component, as a reservation, under network activity in PS and releasing it, there is an error in the APO side log(SLG1) as shown below.
Source system: xyz, user: abc transaction:CJ20N function module:/SAPAPO/CIF_PRJ_INBOUND
-----Error start--
New order (warning)
Error in activity of operation 0010 order 4001740(warning)
Invalid I/O node configuration (error)- Message no. /SAPAPO/OM_ERROR258
Diagnosis-The I/O node cannot be scheduled using the value combination specified.
--Error end--
Error while processing project order: 000001234- (error)- Message no. /SAPAPO/PRJ003
------Log Information
The registered objects of the queue are marked as faulty - Message no. /SAPAPO/CIF_ERRHDLG604
CIF error handling activated - Message no. /SAPAPO/CIF_ERRHDLG504
End of processing registered for RFC 00000001 of the LUW with ID xxx
Message no. /SAPAPO/CIF_ERRHDLG605
checked the APO post processing and manaully triggered the transfer of selected order . even then order reservation wasn't pushed to APO.
Would appreciate if any one can provide with info on why this error is being produced and ways to resolve it!!!
Thanksplease check if you have any issues under network activity..if you could not find any please try to debug the failed queue with the help of your Abap counterpart. here is the process
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0d1265d-db32-2b10-79ba-ccf6fe2c161d
Maybe you are looking for
-
Import from camera not showing preview images
When I import from my DSLR, I see empty boxes representing all the images on the card but no preview. I'm set to import JPEG and the images are JPEG. I have the option Do Not Import Duplicates turned off. I've tried restarting Aperture (3.1) and even
-
Ibook g3 12in Red line in screen
Today My ibook g3 poped up with a red line to the right of the screen and want go away what could be doing this?
-
My USB Headset shows up twice for both the input and output in the Sound Preferences panel. If I disconnect it from my hub, one entry disappears from the list but the other one remains. It works for most things when I select the right one from the li
-
Hi, I have an xml document that I am parsing using an xsl stylesheet (to give a CSV file). The xml document contains dates in millisecond format, such as 983404800000 (i.e. the same format you would get from System.currentTimeMillis()). Would it be p
-
Why can Pages not be stopped?
I never had any problems with Pages '08 untill the last days: I can use the program, but can only stop it with force quit. There are no problems with Keynote and Numbers. I uninstalled and reinstalled IWork '08 and the updates. I used DiskUtility, On