How to manipulate the date in idoc scripting?
how can we manipulate date in idoc scripting? How to retrieve the year, month, date from the date? How can we update the year of the particular date in idoc scripting.
There are a bunch of date / time functions that you can find in chapter 5 of the Idoc Script Reference (the bible for this sort of thing)
For the sort of things you need to do I would recommend you look at formatDateWithPattern()
for example to retrieve the year of 'now'
<$year = formatDateWithPattern(dateCurrent(),"yyyy")$>
month
<$month = formatDateWithPattern(dateCurrent(),"MMM")$>
the patterns for the same rules as Java date formats (unsurprisingly)
If you want to update the year then I think you need to build the date as a string and the use the parseDate or parseDateWithPattern functions to actually create something that Idoc will recognise as a date object.
Tim
Similar Messages
-
Flash Charts - How to manipulate the #data# replacement string in XML
I have a problem with the XML file for a flash chart. I am trying to display a 2dColumn chart of an SQL query with the general form:
select null link, x as name, sum(y) as value from z group by (x);
this generates multiple rows, which are displayed as a bar in the chart. So far so good. The problem is, that each row is defined as a block in the chart, but only one name entry is created "value", which is displayed in the legend of the chart.
I can display the block names on the x-axis of the chart, however, I can't rotate them, so that they don't overlap in the display, which I would be able to do with names. I assume, that the blocks are defined in the #data# replacement string of the XML file. I would like to change the generated XML replacement string from the SQL to make each row selected a different name, and only have one block ("value").
What would be the easiest way to achieve this?user587996,
There's no way to manipulate the #data# replacement directly, but you could generate your own XML (see Re: Apex changing nulls to zeroes when creating Flash Charts for one way to do it).
When you say "I can't rotate them, so that they don't overlap in the display" -- have you tried the Labels Rotation chart attribute, or is that not working?
- Marco -
How to change the date format?
Hi,
I need to display the data format as(YYYY-MM-DD). But now it displays(2009-1-9)
Here is my code snippet which i used to display the data format as(2009-1-9)
*<INPUT TYPE=TEXT NAME="date_submitted" MAXLENGTH=20 SIZE=10 VALUE="" onBlur= "return dateSubmitted()"> (YYYY-MM-DD)*
*<SCRIPT LANGUAGE="javascript">*
dateSubmitted()
*</SCRIPT>*
function dateSubmitted()
if (document.pgUpdate.date_submitted.value == "")
date = new Date();
month = date.getMonth() + 1
document.pgUpdate.date_submitted.value =
date.getYear() + "-" + month + "-" + date.getDate();
return true;
Can anybody help me how to change the date format?
Thanks in advance!prit123 wrote:
use SimpleDateFormat class. The code is :He posted a Javascript related question, not a Java related question.
Please use forums devoted to Javascript. You're here at a Java/JSP forum.
There are JS forums at webdeveloper.com and dynamicdrive.com. Good luck.
String formatPattern = "yyyy-mm-dd";
SimpleDateFormat sdf = new SimpleDateFormat(formatPattern);
sdf.format(yourdate);yyyy-mm-dd denotes year-minutes-days. Please go read the SimpleDateFormat API as well. -
How to Hightlight the Data in Jsp Page
How to Hightlight the Data in Jsp Page,
I am doing doing search page,based on values given search page those are sent to servlet,in servlet based on some conditions if particuler id i am getting then i am redirecting to Respective jsp page with highlight the data from database..
Thanks in advance..."Highlighting data in JSP sounds strange".
Without looking at your search specific algorithms I feel you are finally going to display a page (HTML content) to user which contains highlighted text. Highlighting is not directly related to server side language you use (JSP, ASP, PHP etc.). This is purely HTML and CSS. However, server side script (such as JSP) should generate HTML content for getting highlight effect.
Following HTML shows highlighted text using background-color property on span element.
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>
<body>
<p style="font-size:1.1em">This is a long paragraph which contains <span style="background-color: yellow;">highlighted text</span> and non highlighted text.</p>
</body>
</html>Thanks,
Mrityunjoy
Edited by: mrityunjoy on 14 Jun, 2010 3:30 AM -
How to insert the data from XML to a table
Hi,
I'm using Oracle 10g Express Edition
I need help in How to insert the data from XML file into the table.
Below is the example i'm working on..
I have create ridb user with below mentioned privileges:
Account Status Locked Unlocked
Default Tablespace: USERS
Temporary Tablespace: TEMP
User Privileges :
Roles:
CONNECT
RESOURCE
Direct Grant System Privileges:
CREATE DATABASE LINK
CREATE MATERIALIZED VIEW
CREATE PROCEDURE
CREATE PUBLIC SYNONYM
CREATE ROLE
CREATE SEQUENCE
CREATE SYNONYM
CREATE TABLE
CREATE TRIGGER
CREATE TYPE
CREATE VIEW
& table is created TRIALZIPCODES below mentioned is the DDL:
CREATE TABLE TRIALZIPCODES
STATE_ABBR VARCHAR2(20) NOT NULL
, ZIP_CODE NUMBER(10, 0) NOT NULL
, ZIP_CODE_EXT VARCHAR2(20)
Below is the XML FILE: which is stored in C:\OracleProject Folder
File name: trial.xml
<?xml version="1.0" ?>
<metadata>
- <Zipcodes>
- <mappings Record="4">
<STATE_ABBREVIATION>CA</STATE_ABBREVIATION>
<ZIPCODE>94301</ZIPCODE>
</mappings>
- <mappings Record="5">
<STATE_ABBREVIATION>CO</STATE_ABBREVIATION>
<ZIPCODE>80323</ZIPCODE>
<ZIP_CODE_EXTN>9277</ZIP_CODE_EXTN>
</mappings>
</Zipcodes>
</metadata>
PL/SQL Procedure:which i'm trying to execute from SQLDeveloper
create or replace
PROCEDURE TRIAL AS
BEGIN
DECLARE
-- declare attributes
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
v_FileHandle UTL_FILE.FILE_TYPE;
l_context_handle dbms_xmlgen.ctxHandle;
insCtx DBMS_XMLStore.ctxType;
begin
-- DBMS_XMLGEN.setRowTag ( ctx IN ctxHandle, rowTag IN VARCHAR2);
-- DBMS_XMLGEN.setRowSetTag ( ctx IN ctxHandle, rowSetTag IN VARCHAR2);
-- the name of the table as specified in our DTD
DBMS_XMLGEN.SETROWSETTAG(l_context_handle,'zipcodes');
-- the name of the data set as specified in our DTD
DBMS_xmlgen.setRowTag(l_context_handle,'mappings');
-- for getting the output on the screen
dbms_output.enable(1000000);
-- open the XML document in read only mode
v_FileHandle := utl_file.fopen('c:/OracleProject','trial.xml', 'r');
loop
BEGIN
utl_file.get_line(v_FileHandle, charString);
exception
when no_data_found then
utl_file.fclose(v_FileHandle);
exit;
END;
dbms_output.put_line(charString);
if finalStr is not null then
finalStr := finalStr || charString;
else
finalStr := charString;
end if;
end loop;
-- for inserting the XML data into the table
insCtx := DBMS_XMLSTORE.NEWCONTEXT('RIDB.TRIALZIPCODES');
insCtx := DBMS_XMLSTORE.INSERTXML(insCtx, finalStr);
dbms_output.put_line('INSERT DONE '||TO_CHAR(rowsp));
DBMS_XMLStore.closeContext(insCtx);
END;
END TRIAL;
For the first time when i complied i got the errors as :
Procedure RIDB.PROCEDURE1@RIDB
Error(16,14): PLS-00201: identifier 'UTL_FILE' must be declared
Error(16,14): PL/SQL: Item ignored
Error(29,1): PLS-00320: the declaration of the type of this expression is incomplete or malformed
Error(29,1): PL/SQL: Statement ignored
Error(33,1): PL/SQL: Statement ignored
Error(33,19): PLS-00320: the declaration of the type of this expression is incomplete or malformed
Error(36,1): PL/SQL: Statement ignored
Error(36,17): PLS-00320: the declaration of the type of this expression is incomplete or malformed
So i logged in as sys & grant the permission to execute on UTL_FILE to ridb (user):
SQL Statement:
grant execute on utl_file to ridb
So, it got compiled successfully but when i execute it gives me error as:
Source does not have a runnable target.
What does this mean?
So I browse through forum & i got to know that i need to initial the UTL_FILE_DIR ="C:/OracleProject" in init.ora
So can i edit the init.ora with notepad.When i tried to do that it says permission denied
In my system it shows the init.ora file in path C:\oraclexe\app\oracle\product\10.2.0\server\config\scripts
but there is also other file initXETemp in the same path do i need to do the changes in it.
I have tried even editing the SPFILE as mentioned below:
C:\oraclexe\app\oracle\product\10.2.0\server\dbs\SPFILEEXE - I had edit this file using notepad & set the value of UTL_FILE_DIR ="C:/OracleProject". So next time when i restarted i'm unable to log on to the database.
So i had reinstall the software again.
Could you please let me know how to proceed..hi,
I have created the directory from sys database
CREATE or replace DIRECTORY XML_DIR2 AS 'C:\OracleProject';
& grant read,write access to the user
grant read,write on directory XML_DIR2 to RIDB;
& i had change the tag name in the xml file as shown below:
<?xml version = '1.0'?>
<metadata>
<Zipcodes>
<mappings Record="4">
<STABBRE>CA</STABBRE>
<ZIPCODE>94301</ZIPCODE>
</mappings>
<mappings Record="5">
<STABBRE>CO</STABBRE>
<ZIPCODE>80323</ZIPCODE>
<ZIPCODEEXT>9277</ZIPCODEEXT>
</mappings>
</Zipcodes>
</metadata>
TRIALZIPCODE table as shown below:
CREATE TABLE "RIDB"."TRIALZIPCODE"
( "STABBRE" VARCHAR2(20 BYTE),
"ZIPCODE" NUMBER(*,6) NOT NULL ENABLE,
"ZIPCODEEXT" NUMBER
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ;
I have tried two methods as shown below:
Procedure 1:
create or replace
PROCEDURE TRIAL_V2 AS
BEGIN
DECLARE
-- declare attributes
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
v_FileHandle UTL_FILE.FILE_TYPE;
l_context_handle dbms_xmlgen.ctxHandle;
insCtx DBMS_XMLStore.ctxType;
cnt NUMBER;
xmldoc xmltype := xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') );
--XML_DIR VARCHAR2(40) := 'C:\\OracleProject';
BEGIN
insCtx := DBMS_XMLStore.newContext('DEV.TRIALZIPCODES');
DBMS_XMLStore.setUpdateColumn(insCtx, 'STABBRE');
DBMS_XMLStore.setUpdateColumn(insCtx, 'ZIPCODE');
DBMS_XMLStore.setUpdatecolumn(insCtx, 'ZIPCODEEXT');
DBMS_XMLStore.setRowTag(insCtx, 'mappings');
cnt := DBMS_XMLStore.insertXML(insCtx, xmldoc);
DBMS_XMLStore.closeContext(insCtx);
END;
Procedure 1 was compiled with out errors but when i execute i got the error as :
Source does not have a runnable target.
Procedure 2_
CREATE OR REPLACE PROCEDURE TRIAL_V3 AS
BEGIN
DECLARE
-- declare attributes
charString varchar2(80);
finalStr varchar2(4000) := null;
rowsp integer;
v_FileHandle UTL_FILE.FILE_TYPE;
l_context_handle dbms_xmlgen.ctxHandle;
insCtx DBMS_XMLStore.ctxType;
cnt NUMBER;
xmldoc xmltype := xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') );
--XML_DIR VARCHAR2(40) := 'C:\\OracleProject';
BEGIN
INSERT INTO trialzipcode (STABBRE, ZIPCODE, ZIPCODEEXT)
SELECT extractvalue(x.column_value, 'mappings/STABBRE'),
extractvalue(x.column_value, 'mappings/ZIPCODE'),
extractvalue(x.column_value, 'mappings/ZIPCODEEXT')
FROM TABLE(
XMLSequence(
EXTRACT(
xmltype( bfilename('XML_DIR2','trialxml.xml'), nls_charset_id('AL32UTF8') ),
'metadata/Zipcodes/mappings'
) x
END;
END TRIAL_V3;
Procedure 2 was complied without errors but when i execute i got the error as:
Connecting to the database RIDB.
ORA-22288: file or LOB operation FILEOPEN failed
The system cannot find the file specified.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at "RIDB.TRIAL_V3", line 12
ORA-06512: at line 2
Process exited.
Disconnecting from the database RIDB.
Could you please let me know how to proceed... -
How to save the data to sap abap using Adobe Flex
Hi Everybody......
I am new to Adobe flex with sap abap.
How to save the data in sap abap using Adobe Flex coding is Action Script and using RFC web service.
Please give me any suggisions on that.
Thank you
Venkatesh VHi Venkatesh,
Try with folowing coding...
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
initialize="initApp()">
<mx:Label x="10" y="23" text="Airline" width="90" id="lblAirline"/>
<mx:TextInput x="108" y="21" id="txtAirline"/>
<mx:Button x="10" y="49" label="Get Data" id="btnGetData" enabled="false" click="getData()"/>
<mx:DataGrid x="10" y="97" id="dgFlightData" dataProvider="">
</mx:DataGrid>
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.rpc.AbstractOperation;
import mx.rpc.events.FaultEvent;
import mx.rpc.soap.LoadEvent;
import mx.rpc.events.ResultEvent;
import mx.rpc.soap.WebService;
[Bindable] public var flightData:ArrayCollection;
private var flightWS:WebService;
private function initApp():void{
flightWS = new WebService();
flightWS.wsdl = "http://uscib20.wdf.sap.corp:50021/sap/bc/soap/wsdl11?services=ZGTEST&sap-client=000";
flightWS.addEventListener(FaultEvent.FAULT,onWSError);
flightWS.addEventListener(LoadEvent.LOAD,onWSDLLoaded);
flightWS.addEventListener(ResultEvent.RESULT,onFlightWSGotResult);
flightWS.loadWSDL();
private function getData():void{
var operation:AbstractOperation = flightWS.getOperation("ZGTEST");
var input:Object = new Object();
input.Airline = txtAirline.text.toUpperCase();
operation.arguments = input;
operation.send();
private function onWSError (event:FaultEvent):void{
private function onWSDLLoaded(event:LoadEvent):void{
btnGetData.enabled = true;
private function onFlightWSGotResult(event:ResultEvent):void{
flightData = event.result.SFLIGHT;
]]>
</mx:Script>
</mx:Application>
Regards,
Vinoth -
Hi,,
The below test data is for SD report which do the monthly batch transfer from Annexure to F-form
Can you please help me how to test the data? and prepare the unit test case.
1. Intra-plant movement of inventory between two plants with the same region Code - In India there are two plants in the state of Maharashtra.
Plant 8600 (Vendor 10999346) -> Plant 8601 - MM# 1003623 / 1013515 / 5214135 / 8788143
NB PO# 6500002231 / ZU PO 4600000500
2. Intra-plant movement of inventory from Plant 8650 - Goa to one Depot Plant
Plant 8613 (Vendor 10999359) -> Plant 8618 - MM# 1003623 / 1013515 / 5214135 / 8788143
NB PO# 6500002232 / ZU PO 4600000501
3. Intra-plant movement of inventory between two Parts plants.
Plant 8650 (Vendor 10999344) -> Plant 8601 - MM# 4908281 / 4908323 / 4908968 / 4922001
NB PO# 6500002233 / ZU PO 4600000502Please go thorugh this ...
eCATT stands for extended Computer Aided Test Tool (eCATT) which is built is testing tool to test SAP system. By using testing tool we can test the entire business process, and we can also use this tool with a third party testing tool (I am not covering this topic). Execution of every test script ends with a log, which explains the results of the test script.
By using eCATT we can do following operations,
· Test transactions, reports, and scenarios
· Call BAPIs and function modules
· Test remote systems
· Check authorizations (user profiles)
· Test updates (database, applications, GUI)
· Test the effect of changes to customizing settings
· Check system messages
For more information go to: eCATT::Extended Computer Aided Test Tool (sdn.com)
Here I am discussing fundamentals about eCATT in detail. You can find very good documentation in sdn.com.
To develop a test script in eCATT we need to follow the following steps,
1. Creating Test Scripts.
2. Creating Test Data Containers[16] .
3. Understanding System Data Containers[17] .
4. Executing Test Configurations.
There is a very good web blog on eCATT in sdn.com which explains eCATT with necessary screen shots. To read document click here Blog on eCATT in sdn.com
For details and the screenshots please see the link
http://www.erpgenie.com/sap/ecatt/
Reward points if it is usefull ...
Girish -
How to automate the data load process using data load file & task Scheduler
Hi,
I am doing Automated Process to load the data in Hyperion Planning application with the help of data_Load.bat file & Task Scheduler.
I have created Data_Load.bat file but rest of the process i am unable complete.
So could you help me , how to automate the data load process using Data_load.bat file & task Scheduler or what are the rest of the file is require to achieve this.
ThanksTo follow up on your question are you using the maxl scripts for the dataload?
If so I have seen and issue within the batch (ex: load_data.bat) that if you do not have the full maxl script path with a batch when running it through event task scheduler the task will work but the log and/ or error file will not be created. Meaning the batch claims it ran from the task scheduler although it didn't do what you needed it to.
If you are using maxl use this as the batch
"essmsh C:\data\DataLoad.mxl" Or you can also use the full path for the maxl either way works. The only reason I would think that the maxl may then not work is if you do not have the batch updated to call on all the maxl PATH changes or if you need to update your environment variables to correct the essmsh command to work in a command prompt. -
How to import the data to Data manager
Hi All,
I am new to MDM and need your help in handling the following issue
In our setup we are sending the Customer master data from R/3->XI->MDM (R/3-> XI IDOCs, XI->MDM XML files).
with the help of extraction job in R/3 IDOCs r generated and XI has onverted these IDOCs to XML Files and created at MDM Server. Now my Question is how to import the Data from these XML files to Data Manager !!!!
Note : Import Map settings are done already in the system.
Can any one help me the steps requeired to get this data to Data manager .
and am I need to do some activity in MDM to import the data to Data manager each and every time or is there any automatic way of doing this .
Please guide me.
Thanks in advance!Hi MDM User,
Generally there are 2 cases while importing the data,
1) Initial Load
2) Delta Load
Initial Load means importing the data into MDM at first time.This is usually done by manual importing
without using import server.
Delta Load means importing the data into MDM when we have changes to existing data or added new data
to existing data.This is usually done by automatically using import server.
To manually import the data,just create a remote system and port in console and login into import manager
using remote system.Create ,save the map and execute the map.There is no other configurations needed.
To automatically import the data without manual intervention,we go for import server.
To let this happen we need to set some configuarations in mdis.ini file of import server.
Give the repository name,username and password which are set in console for that repository and also
give schedule time based on which import server picks the file from ready folder.
Go to the import manager , change the map and import action depends on your requriment and save that
map.
and also you need to set port type as inbound and automatic and select the map which you saved earlier in
MDM console.
As soon as we start the import server, it picks the file from ready folder of MDM server based on
configurations which we set in mdis.ini file and executes the map.
Here i am giving complete path of ready folder.
SAP MDM 5.5> Server>Distributions>bp1bocap080.bp.co_MSQL> BP3_PoC_Customer> Inbound>Siebel> SIEBEL_OB_CUS_SIEBELCUS01> Ready)
This path has to be given in target directory of receiver communication channel of XI so that it puts XML
file in the above path.
For better understanding,go through below blogs.
/people/balas.gorla/blog/2007/02/05/r3-xi-mdm-outbound-scenario
/people/balas.gorla/blog/2006/09/27/mdm-xi-r3-integration
Hope it helps
Reward points,if found useful
Thanks
Narendra -
How to export the data to excel in OAF Page - Urgent
Hi All,
I have a developed a page wich dispaly the records based on some condition.
The Page has two regions.
1.RowLayout Region
2.Table Region
Both the regions are getting the data from two diffrent VOs.
In this case how to export the data to excel as the export button will not work if the page uses more than one VO(I think).
Please help me.
Thanks,
Srinivas
Edited by: SrinivasChanda on Oct 7, 2009 10:07 AMHi Gaurav,
Yes you are rite.When i tried exporting the data(which is coming from two different VOs altogether),i got only one region's data and then got error.
Please note: Two regions(RowLayout,Table) are getting data from two different VOs
below is one of the region(row layout) data:
Hierarchy Learning Certification Status Learning Certification Supervisor
Direct Reports Passed Only All Michael Swinnerton
below is the error:
<div CLASS="errorText">
<html lang="en-US">
<head>
<script>
function ignoreWarnAboutChanges(url)
document.location.href = url;
</script>
<title>Error Page</title>
<link rel="stylesheet" charset="UTF-8" type="text/css" href="/OA_HTML/cabo/styles/blaf.css">
<META name="fwk-error" content="Error occured while processing the request">
<META name="fwk-error-detail" content="oracle.apps.fnd.framework.OAException: Application: FND Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.io.IOException: Stream closed;
" at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)"
" at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)"
" at OAErrorPage.jspService(OAErrorPage.jsp:34)"
" at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)"
" at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)"
" at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)"
" at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)"
" at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)"
" at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)"
" at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:119)"
" at com.evermind.server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:547)"
" at com.evermind.server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:518)"
" at OAExport.jspService(OAExport.jsp:122)"
" at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)"
" at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)"
" at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)"
" at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)"
" at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)"
" at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)"
" at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)"
" at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)"
" at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)"
" at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)"
" at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)"
" at java.lang.Thread.run(Thread.java:534)"
## Detail 0 ##
java.io.IOException: Stream closed
" at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:98)"
" at java.io.BufferedWriter.write(BufferedWriter.java:197)"
" at OAExport.jspService(OAExport.jsp:107)"
" at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)"
" at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)"
" at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)"
" at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)"
" at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)"
" at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)"
" at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)"
" at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)"
" at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)"
" at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)"
" at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)"
" at java.lang.Thread.run(Thread.java:534)"
java.io.IOException: Stream closed
" at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:98)"
" at java.io.BufferedWriter.write(BufferedWriter.java:197)"
" at OAExport.jspService(OAExport.jsp:107)"
" at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)"
" at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)"
" at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)"
" at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)"
" at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)"
" at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)"
" at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)"
" at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)"
" at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)"
" at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)"
" at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)"
" at java.lang.Thread.run(Thread.java:534)"
">
</head>
<body>
<table width=100%"" border=""0"" cellspacing=""0"" cellpadding=""0"">"
<tr> <td><img src="/OA_MEDIA/FNDSSCORP.gif" alt=""> </td></tr>
<tr> <td> </td>
<td> <a href= /OA_HTML/OALogout.jsp>Logout </a></td>
</tr>
<tr> <td width="100%" nowrap class="OraBGColorDark" > </td> </tr>
</table>
<p>
<center>
<table width="95%" border="0" cellspacing="0" class="OraBGAccentDark" cellpadding="0">
<tr> <td> </td> </tr>
<!-- <tr> <td class="OraErrorHeader"> <img src=/OA_HTML/cabo/images/errorl.gif> Error Page </td> </tr> -->
<tr> <td class="OraErrorHeader"> <center> Error Page </center> </td> </tr>
<tr> <td colspan=2 class="OraBGColorDark"> </td> </tr>
<tr> <td> </td> </tr>
<tr> <td colspan=2 class="OraErrorText" >You have encountered an unexpected error. Please
contact the System Administrator for assistance. </td> </tr>
<tr> <td colspan=2 class="OraErrorText"> Click <a href=javascript:ignoreWarnAboutChanges("/OA_HTML/OAErrorDetailPage.jsp")> here </a> for exception details.
</td> </tr>
</table>
</center>
</div>
</body>
</html>
Please help me to solve this issue.
Thanks,
Srinivas -
How to Transfer the Data from ORACLE APPS to SAP
Hi Gurus,
Here are my couple of quieries regarding Data Migration from Legacy(Oracle Apps) to SAP.
1. How to link between Legacy system(ORACLE APPS) and SAP ?
2. How to migrate the data from Oracle tables to SAP directly, instead of loading the flat files(.txt, .xls) ?
Please respond to my queries ASAP.
Thanks,
SAPSURE.
Edited by: sapsure on Sep 9, 2010 11:39 AM
Edited by: sapsure on Sep 10, 2010 2:32 PM1. How to link between Legacy system(ORACLE APPS) and SAP ?
If you have SAP PI in place then you can interact with oracle database tables directly from PI and then data can be posted to SAP transactions through IDocs/BAPIs.
If you did not have SAP PI still you can do JDBC connection directly from ABAP program. Not sure about the exact steps check in forum.
2. How to migrate the data from Oracle tables to SAP directly, instead of loading the flat files(.txt, .xls) ?
If you want to directly post the data SAP transactions (I hope not directly to SAP tables) then connection needs to establish through ABAP program or Via. PI.
Regards, -
Pls let me know how to fetch the data from tables bdcp or bdcps
Hi guru's!!!!
I want to post the changed master data to the legacy.
I am npt using IDOC. I want to go ahead by using the change doc. I want to know how we can filer the change doc. data for my equirement. & also how to send the data
transaction wise. I am using the FMs "change_pointers_read.
it is very urgent..
Thanks in advance!!!!!Hi,
1. You will have to activate the change pointers for the master data you are looking for.
2. You can do the configuration so that whenever master data is changed, a IDOC is triggered for that master data.
3. You can configure the IDOC's to be transmitted to your legacy system in the form of files or to your middleware system.
<b>You don't have to read the CHANGE POINTERS yourself.</b>
Regards,
Ravi
Note : Please mark all the helpful answers
Message was edited by: Ravikumar Allampallam -
How i write the structure for idoc.
hi gurus,
how i write sthructure of an idoc segment.
how i define internal table for header and item level data.
please guid me with an example.
please provide me some programme or threads where programme is wriiten for saving the data through idoc into db.
thanks and regards.
Edited by: Pawan Kumar on Feb 20, 2008 3:14 PM1. In IDOC type you will be having segments and each segments contains fields
2. When ever you want to create an IDOC, first you have to fill the segments (Fields) with data.
Example:
move-corresponding mard to e1mardm. -> here we are transfer some of the mard data to segmnet e1mardm.
(mass movement)
e1mardm-msgfn = mardkey-msgfn. -> here we are filling the data to segments on fields basis.
I think now it clear to you.
Thanks, -
How to pass the data from a input table to RFC data service?
Hi,
I am doing a prototype with VC, I'm wondering how VC pass the data from a table view to a backend data service? For example, I have one RFC in the backend system with a tabel type importing parameter, now I want to pass all the data from an input table view to the RFC, I guess it's possible but I don't know how to do it.
I try to create some events between the input table and data service, but seems there is no a system event can export the whole table to the backend data service.
Thanks for your answer.Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
Thanks. -
How to select the data from a Maintainance View into an internal table
Hi All,
Can anybody tell me how to select the data from a Maintainance View into an internal table.
Thanks,
srinivas.HI,
You can not retrieve data from A mentenance view.
For detail check this link,
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
Regards,
Anirban
Maybe you are looking for
-
How to move DB from one machine to other
Hi We have a Oracle DB Server 7.1.6 running on a HP10.20 box. We are migrating our server to a new box with HP11.x with oracle 8i(8.1.7) What is the best way to move the database between these two machines with out creating the database, tablespaces
-
The operation could not be completed. (osstatus error 2.)
I have 3 bufallo network storage devised. One of which I want to use for time machine back ups. Unfortunately when I select the drive to use as the back up I get the error 'Time Machine can't access the back up disk "time machine". The operation c
-
New relationship category for business partner
I want to create a new relationship category for the business partner. Could anybody guide on this, how to create? --hari
-
Report with Subreport very slow from SharePoint
HI, I have a report with a sub-report that runs in about 9 seconds from my PC using the Report Designer with SQL Server 2008R2. When I run the deployed report from SharePoint it takes 4 minutes. If I remove the sub-report it again runs fine from Sha
-
Hi I have a requirement to create a invoice report, I am planning to go with ALV, but the challenge is when it is printed the information related to each invoice should be printed separately. How do i go about doing this.. your help is appreciated, I