File not getting generated.
I am doing an IDOC to file & mail.I mean 2 receivers.
everything is fine XI...but the file is not getting created at the path....It shoes successful flag in XI.
mail is working fine....
i used variable substitution for defining the name of the file schema...and content conversions aswell...
what should be the problem....
Hi,
Check the file adapter configuration as well check the file adapter status from RWB communication channel monitoring.
chirag
Similar Messages
-
PDF File not getting generated - PLEASE HELP
I have a jsp in a portlet from where in I call another jsp to generate a PDF file on the fly. IT is not working I have tried all sorts of stream please help.
Calling JSP (Portlet)
<tr>
<td><netui:anchor href="print.jsp" target="new">Print
</netui:anchor>
</td>
Called JSP, print.jsp:
try {
ServletOutputStream outStream = (ServletOutputStream)response.getOutputStream();
outStream.write("BINARY OUTPUT".getBytes());
outStream.println("PRINTLN OUTPUT--"+request.getParameter("empID"));
outStream.flush();
outStream.close();
} catch {}
As you can see I am just trying to Write some string in the print.jsp
The word opens up but nothing is WRITTEN in it. Have tried all the OutputStreams. Please help why is it not getting printed even if set proper headers.There are some issues with this PDF file. It's not tagged but even still it has some real problems. I checked the file to see what created it and it was something called "Wine Postscript Driver" and the PDF Producer was "GPL GhostScript 9.10" When you check the file in Preflight then you will begin to understand that this is a poorly created PDF file. Here is a bit of the PDF Syntax report:
-
PDF files not getting generated
Hi friends,
Through our application we are generating PDF to network location. Suddenly it stoped from last month.
I am not able to trace exact problem. forms version 6i we are using.
PROCEDURE P_PRINT_GRN
(p_type VARCHAR2 default 'P') IS -- Added by Piyush on 09/09/2007 GRN Email CR20
/* p_type value if 'P' then normal Printing if 'M' then generate PDF for email attachment CR20*/
param_grp ParamList ;
param_grp_frr ParamList ;
pl_name VARCHAR2(10) := 'tempdata';
pl_name2 VARCHAR2(10) := 'tempdata';
v_backslash VARCHAR2(1) ;
fopen Text_IO.File_Type; /* File handle for opening the file */
alt_msgs NUMBER ;
v_runmode VARCHAR2(80) ;
v_mch_name parameter_master.value%TYPE;
v_port_no parameter_master.value%TYPE;
v_server_name parameter_master.value%TYPE;
o_usrid VARCHAR2(6);
o_password VARCHAR2(15);
o_dbname VARCHAR2(30);
v_param_check NUMBER;
v_potype VARCHAR2(20);
v_path VARCHAR(100); -- Added by Piyush on 09/09/2007 to capture path for GRN report PDF File CR20
v_err NUMBER; -- Added by Piyush on 09/09/2007 Show_Alert CR20
BEGIN
SELECT NVL(TO_CHAR(po_no), 'VMIPO')
INTO v_potype
FROM grn_header
WHERE GRN_NO = :grn_header.grn_no;
param_grp := Get_Parameter_List(pl_name);
/* Creates the parameter list if one doesnt exist */
IF Id_Null(param_grp) THEN
param_grp := Create_Parameter_List(pl_name);
IF Id_Null(param_grp) THEN
Message('Error creating parameter list '||pl_name);
RAISE Form_Trigger_Failure;
END IF;
ELSE
Destroy_Parameter_List(param_grp);
param_grp := Create_Parameter_List(pl_name);
END IF;
/* Adding parameters to Parameter List in order to be passed to called report */
/* Added (Start) by Piyush on 09/09/2007 GRN Email, Generate PDF CR20*/
if p_type = 'M' then
BEGIN
SELECT value
INTO v_path
FROM parameter_master
WHERE type_code = 16
AND value_code = 6;
EXCEPTION
WHEN NO_DATA_FOUND THEN
SET_ALERT_PROPERTY('ALT_ERROR', alert_message_text, 'Reports Path parameter does not exists in Parameter Master.');
v_err := SHOW_ALERT('ALT_ERROR');
RAISE FORM_TRIGGER_FAILURE;
WHEN OTHERS THEN
SET_ALERT_PROPERTY('ALT_ERROR', alert_message_text, substr(error_text,1,100));
v_err := SHOW_ALERT('ALT_ERROR');
RAISE FORM_TRIGGER_FAILURE;
END;
ADD_PARAMETER(param_grp, 'P_DESTYPE', TEXT_PARAMETER, 'FILE');
ADD_PARAMETER(param_grp, 'P_DESNAME', TEXT_PARAMETER, v_path || 'GRN_' || :grn_header.grn_no || '.pdf');
ADD_PARAMETER(param_grp, 'P_DESFORMAT', TEXT_PARAMETER, 'PDF');
ELSE
ADD_PARAMETER( param_grp , 'P_DESTYPE' ,TEXT_PARAMETER,'PRINTER');
ADD_PARAMETER( param_grp , 'P_DESFORMAT' ,TEXT_PARAMETER,'DEFAULT');
END IF;
/* Added (End) by Piyush on 09/09/2007 GRN Email, Generate PDF CR20*/
/* Commented (Start) by Piyush on 09/09/2007 to set value based on paramter CR20*/
--ADD_PARAMETER( param_grp , 'P_DESTYPE' ,TEXT_PARAMETER,'PRINTER');
--ADD_PARAMETER( param_grp , 'P_DESFORMAT' ,TEXT_PARAMETER,'DEFAULT');
/* Commented (Start) by Piyush on 09/09/2007 to set value based on paramter CR20*/
ADD_PARAMETER( param_grp , 'P_COPIES' ,TEXT_PARAMETER, 1);
ADD_PARAMETER (param_grp ,'PARAMFORM' , TEXT_PARAMETER, 'NO');
ADD_PARAMETER(param_grp,'P_REPID',TEXT_PARAMETER,'R021');
ADD_PARAMETER(param_grp,'P_MENUID',TEXT_PARAMETER,NULL);
ADD_PARAMETER(param_grp,'P_USERID',TEXT_PARAMETER,:grn_header.created_by);
/* Code for adding user Parameters to the list should be added over here */
ADD_PARAMETER(param_grp , 'P_FROM_GRN_NO', TEXT_PARAMETER,to_char(:grn_header.grn_no));
ADD_PARAMETER(param_grp , 'P_TO_GRN_NO', TEXT_PARAMETER,to_char(:grn_header.grn_no));
/* Get the application property to check whether mode is client server or Web */
v_runmode := Get_Application_Property(USER_INTERFACE);
IF v_runmode = 'WEB' THEN
SELECT a.value,b.value,c.value
INTO v_mch_name,v_port_no,v_server_name
FROM parameter_master a,parameter_master b,parameter_master c
WHERE a.type_code = 13 and a.value_code = 1 AND
b.type_code = 13 and b.value_code = 2 AND
c.type_code = 13 and c.value_code = 3;
/* Code for calling the reportin web mode */
--FP_CONNECTSTRING(o_usrid , o_password ,o_dbname );
web.show_document('http://'||v_mch_name||':'||v_port_no||'/ows-bin/rwcgi60.exe?module='||
'+userid='||o_usrid||'/'||o_password||'@'||o_dbname|| /*added by Amol on 16/08/01*/
'+server='||v_server_name||
'+desformat=default'||
'+p_destype=printer'||
'+p_copies=1'||
'+p_repid=R021'||
/* Code for adding user Parameters to the list should be added over here*/
'+p_grn_number='||:grn_header.grn_no||
'+p_userid='||:grn_header.created_by||
'+p_menuid='||NULL
ELSE
/* Code for calling the report by passing the parameter list to be added over here
For Example */
Run_Product(REPORTS,'R021', SYNCHRONOUS,RUNTIME, FILESYSTEM, param_grp ,NULL);
IF v_potype <> 'VMIPO' THEN
param_grp_frr := Get_Parameter_List(pl_name2);
/* Creates the parameter list if one doesnt exist */
IF Id_Null(param_grp_frr) THEN
param_grp_frr := Create_Parameter_List(pl_name2);
IF Id_Null(param_grp_frr) THEN
Message('Error creating parameter list '||pl_name2);
RAISE Form_Trigger_Failure;
END IF;
ELSE
Destroy_Parameter_List(param_grp_frr);
param_grp_frr := Create_Parameter_List(pl_name2);
END IF;
ADD_PARAMETER(param_grp_frr, 'DESTYPE', TEXT_PARAMETER, 'FILE');
ADD_PARAMETER(param_grp_frr, 'DESNAME', TEXT_PARAMETER, v_path || 'FRR_' || to_char(:grn_header.grn_no) || '.pdf');
ADD_PARAMETER(param_grp_frr, 'DESFORMAT', TEXT_PARAMETER, 'PDF');
ADD_PARAMETER(param_grp_frr , 'P_GRN_NO', TEXT_PARAMETER, TO_CHAR(:grn_header.grn_no));
--ADD_PARAMETER (param_grp ,'PARAMFORM' , TEXT_PARAMETER, 'NO');
--ADD_PARAMETER(param_grp,'P_REPID',TEXT_PARAMETER,'R186');
--ADD_PARAMETER(param_grp,'P_MENUID',TEXT_PARAMETER,NULL);
--ADD_PARAMETER(param_grp,'P_USERID',TEXT_PARAMETER,:grn_header.created_by);
--Run_Product(REPORTS,'R186', SYNCHRONOUS,RUNTIME, FILESYSTEM, param_grp ,NULL);
Run_Product(REPORTS,'R186', SYNCHRONOUS,RUNTIME, FILESYSTEM, param_grp_frr ,NULL); --testing
END IF;
END IF ;
EXCEPTION
WHEN OTHERS THEN
IF sqlcode = -302000 THEN /* Invalid file path */
alt_msgs := LPK_ERROR.F_ERROR_MSGS(910);/*Enter Valid Path and File name.*/
END IF;
END;
please give a clueYou have to give us a bit more then this. What stopped? Web or client/server version? What changed last month? Are there errors?
For the code, please use the { code } tags for formatting and readability. -
WAR file not getting generated
I am in the development of a web application with jsf2 ,and I am almost done with that and pretty much happy with the outcome , but now comes the problem , I am trying to get the project as WAR file but after the war creation wizard I am not seeing any war file in the mentioned path. Please let me know any suggestions
I am using
Jdeveloper 11I just figured way out of my problm silly me, but now the generated WAR is throwing errors while deploying it
-
Output file not getting generated.
I have a scenario R/3->XI->Legacy system. When the file is generated by a program, unix script runs and moves the file to FTP server. From there, it is moved to output folder on Legacy system. I have an issue where I am not able to see the output file from the FTP server to the Legacy system. There are no errors seen on message monitor or RTWB. I also checked the program, Unix script, FTP server is all running. What can I do for troubleshooting? I have checked almost everywhere. I also checked the server port XI connects, the system login, etc.
Any suggestions or ideas?
Thanks.Rajan
What I understand from your saying is:
With a program R/3 is generating a File. So here there is no XI role.
Then XI is picking this file and sending to FTP server. So File-XI-File scenario. First of all are you sure that your R/3 is generating the file what XI is expecting? If yes then your XI will pick up and you will see in SXMB_MONI. If not first find out whether it is generating or not. If it generates and if you are unable to pick the file then check the authorisations. Also if you are doing Content conversion kindly go to adapter monitor and find out whether you can see any error?
Regards,
---Satish -
Nohup.log files are not getting generated correctly
hai,
im a weblogic administrator. Here is my problem in weblogic. My partner has complained that nohup.logs are not getting generated properly. Like for every 5 mins a new nohup .log file is getting generated. But almost 4 to 5 logs are of 0 size and after that the 6 log file is very hug ( around MB). And the status of the managed servers is in FAILED state. When i checked the nohup logs, i can see "E297: Write Error In Swap File" and also the below error. But when i checked the disk space it is only 30 % full. Please suggest me something that can help me in this. Why is this behavior in the nohup.logs? have anyone faced anythign like this? Please help me.
But after the recycle everything is fine. But i want to know what went wrong and why it got recovered after the recycle.
<Feb 11, 2010 7:43:59 AM CST> <Error> <HTTP> <BEA-101246> <Error occurred while flushing HTTP log file for the Web server: wl38_managed1
java.io.IOException: Disk quota exceeded.
java.io.IOException: Disk quota exceeded
at java.io.FileOutputStream.writeBytes([BII)V(FileOutputStream.java:???)
at java.io.FileOutputStream.write(FileOutputStream.java:260)
at com.wily.introscope.agent.probe.io.ManagedFileOutputStream.write(ManagedFileOutputStream.java:423)
at weblogic.utils.io.DoubleBufferedOutputStream.flushBuffer(DoubleBufferedOutputStream.java:58)
at weblogic.utils.io.DoubleBufferedOutputStream.flush(DoubleBufferedOutputStream.java:157)
at weblogic.servlet.logging.LogManagerHttp$FlushLogStreamTrigger.trigger(LogManagerHttp.java:522)
at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)according to error message, your partition size have not enough disk space from where you are running nohup command. check with df -kh.
-
Reports file did not get generated during upgrade from 12.1.1 to 12.1.3
Hi,
Following is my setup:
Two node Rac database on Linux 5(64-bit)
All apps services are on single node - Linux 5(32-bit)
Database version -- 10.2.0.5
Apps version -- 12.1.1
To upgrade apps from 12.1.1 to 12.1.3 i applied following patches.
a.Merged patch 9239090, 9239095 and applled the merge driver, during the patch application i got the following error:
Copying files to destination ...
Done copying files to destination.
The following Oracle Reports objects did not generate successfully:
ja reports/US JAINMCEN.rdf
An error occurred while generating Oracle Reports files.
Continue as if it were successful [No] :
== I did 'Yes' and patch applied successfully then as a post step i Merged Patch 9817770, 9966055 and apply the merge driver.
Now i wanted to regenerate that particular rdf file, but its not getting generated even with adadmin. Not sure will the rdf file causes issue later so i wanted to fix this.
Please advice...
Thanks,
Tanveer MohammedHi;
I did 'Yes' and patch applied successfully then as a post step i Merged Patch 9817770, 9966055 and apply the merge driver.
Now i wanted to regenerate that particular rdf file, but its not getting generated even with adadmin. Not sure will the rdf file causes issue later so i wanted to fix this.I belive you regenarete rdf and u dont have any issue than you can ignore this error. If you dont generate rdf than i suggest regenarete and if you have any issue update thread please
Regard
Helios -
Transportation lane KEY not getting generated in the table
Transportation lane KEY not getting generated in the table
Hi folks,
The issue is like this :
We have a weekly workorders upload program from legacy systems to SAP-APO. The legacy planners send a .CSV file containing material-wise workroders. A customised zee program picks these quantities & writes them in Prod.planned keyfigures in SNP planning book. This process is done for the manufacturing locations only.
Lately workorders for two particular material M1 & M2 had failed to get upload. It gives the error 'NO VALID SOURCE OF SUPPLY COULD BE FOUND' in its Job log. We did some debugging & found that for successful materials the TRPID is getting generated in the table /SAPAPO/V_TRPROD whereas this TRPID is missing for M1 & M2. Why this is happening is our main concern. We tried deleting the PPM & creating this again, assuming that the PPMID is the precursor for generating this TRPID, but this yielded no results.
____ for successful upload______________
se16 --> /SAPAPO/V_TRPROD
Version = 000
LOCTO = LOCID KEY for manufacturing location
MATID = MATID KEY of successfully loaded workorder
Enter
This gives the following results
TRPID = TRPID KEY
LOCFR = LOCID KEY for manufacturing location
LOCTO = LOCID KEY for manufacturing location
MATID = MATID KEY for successfully loaded workorder
( This seems a self-lane, i.e both TO & FROM location are same)
____ for unsuccessful upload________
se16 --> /SAPAPO/V_TRPROD
Version = 000
LOCTO = LOCID KEY for manufacturing location
MATID = MATID KEY for unsuccessfully loaded workorder
Enter
This gives the following results
Error = No Table entries found for specified KEYS
We are perplexed why this TRPID is not getting generated for these two particular material M1 & M2?
We have deleted their PPM & re-created them to cross-check if the PPMID KEY is the trigger for generating the TRPID key. This didn't work!
Please let us know in case someone faced a similar issue.
Many Thanks.
Kumar
Edited by: Blue Lotus on Jun 9, 2011 2:44 PMYes Anand.
We deleted the PPM & created it again, which didn't work.
Later on we deleted the product itself from APO & re-CIFed it from R3 & then re-created the PPM.
The PPMID which was missing earlier is now getting created! However no luck with the TRPID.
Why this TRPID is not getting generated in our only concern
Regards
Kumar -
Display name not getting generated When creating user thorugh GTC
We are using GTC flat file as a trusted source. We see that display name not getting generated. And same thing happening when creating a new GTC mapping.
previously when we ran with few test user got created with display name through GTC flat file , Suddenly we see this issue display name not getting generated through flat file recon.
Manually user creation has no issues.
Please let me know if you have any idea about this issue.Don't use GTC... GTC is inflexible and buggy technology... Nothing guaranteed... Rather create your own custom trusted recon code...
For more details
26 Known Issues of Generic Technology Connectors
http://docs.oracle.com/cd/E10391_01/doc.910/e10360/issues.htm -
Wlproxy.log not getting generated
Hi
I am trying to proxy the weblogic requests through IIS 7.5, it is working. but wlproxy logs are not getting generated. Please fnd below my iisproxy.init file contents.
Could any one tell me if I am missing any thing.
Steps followed.
1. created website in IIS
2. added isapi filter by giving the iisforward.dll path, name given is wlforward
3. added handler mappings by giving *.wlforward as the path and giving iisproxy.dll path
4. added the file iisproxy.ini file
iisproxy.ini contents
WebLogicHost=xx.xx.xx.xx
WebLogicPort=7002
WLForwardPath=/
DefaultFileName=/TEST/index.jsp
WLproxySSL=ON
SecureProxy=OFF
RequireSSLHostMatch=false
Debug=ALL
DebugConfigInfo=ON
WLTempDir=D:/Temp
Regards
PPKIt is working. It is something to do with admin rights on that file clreation. I got full admin access. now it works.
-
Dear All,
I know this is a repeat query but im unable to find information from the blogpost http://scn.sap.com/docs/DOC-41109.
I have earlier configured the WWI setup in a linux server. Now I am testing it on a windows server. I have made all the configurations in word and for generation server. The issue is, the report is not getting generated in report management screen and is in status Generation possible always.
When i check the wwi monitor, the doc type SBR is getting released but not getting completed. Please see the screenshot. CGSADM is working fine, RFC is working fine. I tried creating documents in CV01N and they are getting created. The DCOM settings are also good and activated the permissions there too. The DMS settings are set as per the SAP notes. However The job i scheduled is in status Finished for document generation. But when I try to generate the report, the report is created using a variant and the status of the report is in generation possible always. I checked the variant of the report and the validity is in REG_WORLD. I understand that there is some issue in the scheduled job.
I have scheduled only one job for Document Generation as follows.
a)Enter the job name - DOC GENERATION and choose a job class - A.
d) Choose Start condition and in the dialog box, choose After event.
e) Enter SAP_SYSTEM_START in the event field.
f) Activate Periodic job - HOURLY
g) Choose Check and save your entries.
h) Choose Step and choose ABAP program in the dialog box that appears.
i) Enter RC1WWIDS as the ABAP program name.
j) Choose Check and save your entries.
k) Before you leave the Define Background Job screen, you must save your entries once more.
Result: The job is started whenever the SAP system is started.
aFTER REPEATED ATTEMPTS, THE RESULT IS THE SAME AND NO CHANGE IN STATUS OF THE REPORT.
Kindly suggest what step am i missing . I have been through all the blogs in SCN. My old blogs are however missing and hence I am not able to access them.
I am using SAP GUI 7.30, ECC6 and EHP 5.
Regards
DhineshDear Dhinesh
Please help me to understand your system landscape.
a.) Did you have had a SAP EHS up and running together with a "linux server" based WWI version
and
b.) now you are switching the same SAP system to a "windows server" based version?
I am not sure about your screenshots. But you seem to have more than one gen server attached to the same system; did you updated as well WWI?
So no adaption of general SAP set up (like DMS etc.)?
Therefore any job scheduled (before afterwards) is done using a SAP account having the necessary access rights?
Can you please check this:
1.) create several sessions; one with WWi monitor and one with CG02; try to generate a different report for the same spec id (e.g. not MSDSUS in EN, but MSDS/FR) and check progress in WWI monitor as well as CG50
2.) select in CG50 the report in status "generation possible"; mark it and try to "go" on ; check access rights afterwards (su53)
I hate this status "generation possible". I believe you need to use "debug replace" to remove that entry; I can not remember any more but that was the only option to get "rid" of this entry
Please read WWI cookbook, There is a set up possible in such a way that any action on WWI server is "logged"; may be try to analyze the log file to get idea why there is no progress regarding the generation
PS: the problem you have detected is not related to the "validity area". It is a matter of communication issue between SAP and WWI server and the WWI process can not be finalized.
But you are not alone with your problem (e.g. check:
http://www.benxbrain.com/en/sap/program/RC1WWIDS-Generation-possible-status-not-changing-thread-1-1547841.htm)
http://scn.sap.com/thread/3311944
http://www.consolut.com/en/s/sap-ides-access/d/s/doc/H-ESEWSRSTAT
https://scn.sap.com/thread/1575223
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/ehs-wwi-processing-272462
Check as well your own thread: http://scn.sap.com/thread/3304285
C.B.
PS: may be check: http://www.stechno.net/sap-notes.html?view=sapnote&id=1094307
as well as:
http://www.stechno.net/sap-notes.html?view=sapnote&id=580586
PPS I: logging feature of WWI is described here: Note 778684
PPS II: may be check: http://www.stechno.net/sap-notes.html?view=sapnote&id=1094307
PPS II: may be check as well: http://scn.sap.com/thread/3344033
and http://scn.sap.com/thread/1381004 -
File not getting created in a different server
My requirement.
I have written a code in the BI system and now need to write an empty file (say a.done)in a directory /interfaces of PI system.
I wrote using open data set and close data set however the file (a.done) is not getting created in the PI system even though the directory /interfaces exist.
When I give any directory of that of BI system ,the file(a.done) is getting created i.e the file is getting created on the same server and not on the different server.
Is there any function module or any other way for the file to get generated in the PI system.
Please explain with an example.
Regards,
VishTry to use search FTP in se37 or checkout the below FM
CALL FUNCTION 'EPS_FTP_MPUT'
EXPORTING
RFC_DESTINATION =
* FILE_MASK = ' '
* LOCAL_DIRECTORY = ' '
* REMOTE_DIRECTORY = ' '
* OVERWRITE_MODE = ' '
* TEXT_MODE = ' '
* TRANSMISSION_MONITOR = 'X'
* RECORDS_PER_TRANSFER = 10
* MONITOR_TITLE =
* MONITOR_TEXT1 =
* MONITOR_TEXT2 =
* PROGRESS_TEXT =
* IMPORTING
* LOCAL_DIRECTORY =
* REMOTE_DIRECTORY =
* LOCAL_SYSTEM_INFO =
* REMOTE_SYSTEM_INFO =
* TABLES
* FILE_LIST =
* EXCEPTIONS
* CONNECTION_FAILED = 1
* INVALID_VERSION = 2
* INVALID_ARGUMENTS = 3
* GET_DIR_LIST_FAILED = 4
* FILE_TRANSFER_FAILED = 5
* STOPPED_BY_USER = 6
* OTHERS = 7
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF. -
Planned order not getting generated at plant level
Hi experts,
When i run MRP for a particular plant in T- code (MD01) Planned order is not getting generated but when MRP is done against a material in T - code (MD02) in the same plant planned order gets generated... Is there any customizing to generate planned order in plant level.....
Regards,
Joseph.
Edited by: joseph5885 on Aug 12, 2010 9:23 AMDear Joseph,
No it is not recommended. only in emergance cases this will be done
Usually in MDRE and MDAB will be scheduled before MRP run at background for inconistancies in planning file enries
So the above said t-codes will take care of the same
Added
Refer this link
[Planning file entry;
Regards
Madhu
Edited by: K.Madhu Kumar on Aug 12, 2010 6:53 AM -
Utl_file not getting generated
hi i wrote one procedure using utl_file , to check the output of the file in a text format and it was created successfully , intially it had problems with directory and i created that directory and even granted permissions using system user but nothing is happening the text file is not getting generated.
CREATE TABLE ITEM (IT_CODE VARCHAR2(12),IT_NAME VARCHAR2(20))
INSERT INTO ITEM VALUES ('A','AAA')
SQL> CREATE DIRECTORY MY_DIR AS 'C:\TEMP'; -- this is the path of my local folder
Directory created.
SQL> GRANT READ ON DIRECTORY MY_DIR TO ORION2007;
Grant succeeded.
SQL> GRANT WRITE ON DIRECTORY MY_DIR TO ORION2007;
Grant succeeded.
CREATE OR REPLACE PROCEDURE it_status
IS
v_filehandle UTL_FILE.file_type;
CURSOR itc
IS
SELECT *
FROM item
ORDER BY it_code;
BEGIN
v_filehandle := UTL_FILE.fopen ('MY_DIR', 'AAAA.TXT', 'w');
--Opening a file utl_file.putf(v_filehandle,'Item file :GENERATED ON %s\n',SYSDATE);
UTL_FILE.new_line (v_filehandle);
FOR v_it_rec IN itc
LOOP
UTL_FILE.putf (v_filehandle,
'Item Details %s are:s\n',
v_it_rec.it_code,
v_it_rec.it_name
END LOOP;
UTL_FILE.put_line (v_filehandle, '***END OF REPORT***');
UTL_FILE.fclose (v_filehandle);
END it_status;
{code}i tried using get_line but there is a error
SQL> ed
Wrote file afiedt.buf
1 CREATE OR REPLACE PROCEDURE it_status
2 IS
3 v_filehandle UTL_FILE.file_type;
4 CURSOR itc
5 IS
6 SELECT *
7 FROM item
8 ORDER BY it_code;
9 v_txt varchar2(1000) := 'aaa.txt';
10 BEGIN
11 v_filehandle := UTL_FILE.fopen ('MY_DIR', 'AAAA.TXT', 'w');
12 --Opening a file utl_file.putf(v_filehandle,'Item file :GENERATED ON %s\n',SYSDATE);
13 UTL_FILE.new_line (v_filehandle);
14 FOR v_it_rec IN itc
15 LOOP
16 UTL_FILE.GET_LINE(v_filehandle,v_txt,32767);
17 UTL_FILE.FCLOSE(v_filehandle);
18 UTL_FILE.putf (v_filehandle,
19 'Item Details %s are:s\n',
20 v_it_rec.it_code,
21 v_it_rec.it_name
22 );
23 END LOOP;
24 UTL_FILE.put_line (v_filehandle, '***END OF REPORT***');
25 UTL_FILE.fclose (v_filehandle);
26* END it_status;
SQL> /
Procedure created.
SQL> exec it_status;
BEGIN it_status; END;
ERROR at line 1:
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 98
ORA-06512: at "SYS.UTL_FILE", line 656
ORA-06512: at "ORION2007.IT_STATUS", line 16
ORA-06512: at line 1 -
Custom log not getting generated in weblogic 10.3.5
We have weblogic 10.3.5 as application server and deployed DAM(Digital Assets Management ) application on it. Also we have deployed 2-3 more application which is sharing connection properties file (dfc and log4j) outside from application war in shared location.
Now, we have configured the log path but logs are not get generated where as it comes in out log of weblogic.
Is there any configuration changes which can create the log files as mentioned in our log4j.properties?? Seeking help urgently.How are you writing to the log file in your application?
When, for example, use System.out.println the entry will show up in the .out file.
You need to get the right loghandler to write the logging you configure.
Maybe you are looking for
-
How to install solaris 8 in 30 GB ata/100 drive ?
Solaris installation fails saying that there is no suitable hard disk or partition available in my system. If I run format utility I can see the hard drive but Solaris does not recognize it's partitions and requires me to enter nr of cyls, heads etc.
-
Java ME embedded database used in BlackBerry for mobile CRM
Interested in business applications of Java ME mobile technology, or in embedded database systems available for Java ME? If so, take a look at the news posted on McObject's 'Perst Blog'. Maximizer, a British Columbia company, has adopted the Perst Li
-
How to run Excel 2011 from applescript for batch
Every night at 2:00am, I want to convert an Excel spreadsheet to CSV. I'm doing this on a Mac, with Excel 2011. The following Applescript works sometimes: tell application "Microsoft Excel" open "/Users/siemsen/PetesLookup/BPO.inventory.c
-
Hi All! I would like to link to specific text within a PDF document. I can link to pages, but I can't link to specific text within a page. Is there any way to do this? I'm on Mac OS 10.5.8 using Acrobat 9.4.0 ... Thank you so much!! Diane
-
MPD Relevant tabs are not available
Hello All, Why am i not getting MPD relevant tabs in CV01N/CV02N transactions? All the necessary customizing settings are done for the document type. What am I missing here? Thanks RJS