Utl_file not generating file but no raising no exceptions
The utl_file_dir is set to /tmp/usr on my system. I am trying to write a simple file in this directory as follows :
declare
l_filehandle UTL_FILE.FILE_TYPE;
begin
l_filehandle := UTL_FILE.FOPEN('/usr/tmp', 'test_file','w');
utl_file.putf(l_filehandle, 'test');
utl_file.fclose(l_filehandle);
end;
When i run this, i do not see any errors but at the same time the file is not generated. Any ideas what the issue may be.
I ran this from both sqlplus client and from the unix server but no luck in both teh cases. The procedure just completes without generating the file.
please help
thanks
Satya
thanks for the response, apparantly it was creating the files on a different server. I'm not sure why or how.
But thanks, problem solved !!
Similar Messages
-
Not generate file using ItemAdded Event in SharePoint Online
I develop a list item event receiver For Sharepoint online.I upload the .wsp file in solution and activate the feature On ItemAdded event I create/generate document on 15 document library based on library template.
Some time it generate all 15 files and sometime it generate 8/10/12 files.
i.e not generate files in all the document library.
It work fine in my local server.
Please Help me. ****1.design_Pre_Order_Meeting_Template [=========== ] System.ArgumentException: Value does not fall within the expected range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****2.design_Checklist_T [=========== ] System.ArgumentException: Value does not fall within the expected range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****3.design_Drawing_Change_Schedule [=========== ] System.ArgumentException: Value does not fall within the
expected range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****4.design_Responsibility_Matrix_Template [=========== ] System.ArgumentException: Value does not fall within
the expected range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****5.design_Review_Record_Template [=========== ] System.ArgumentException: Value does not fall within the expected
range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****6.design_Risk_Assesment_Template [=========== ] System.ArgumentException: Value does not fall within the
expected range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****7.design_Supplier_Material_Sheet [=========== ] System.ArgumentException: Value does not fall within the
expected range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****8.design_Team_Meeting_T [=========== ] System.ArgumentException: Value does not fall within the expected
range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****9.pc_Key_Isssue_Schedule [=========== ] System.ArgumentException: Value does not fall within the expected
range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****10.pc_Client_Progress_Report [=========== ] System.ArgumentException: Value does not fall within the expected
range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****11.pc_Design_Change_Register [=========== ] System.ArgumentException: Value does not fall within the expected
range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****12.pc_rfi_schedule [=========== ] System.ArgumentException: Value does not fall within the expected range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****13.pc_Drawing_Progress_Schedule_T [=========== ] System.ArgumentException: Value does not fall within the
expected range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****14.pc_Technical_Submittal_Schedule [=========== ] System.ArgumentException: Value does not fall within the
expected range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****16.pc_Drawing_Issue_Schedule [=========== ] System.ArgumentException: Value does not fall within the expected
range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****19.proc_Pre_Order_Meeting_T [=========== ] System.ArgumentException: Value does not fall within the expected
range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) ****20.proc_Preferred_Supplier_List [=========== ] System.ArgumentException: Value does not fall within the expected
range.
Server stack trace:
at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.SPWeb_SubsetProxy.GetFile(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile__Inner(String strUrl)
at Microsoft.SharePoint.SPWeb.GetFile(String strUrl)
at new_contract_request.pc_contract_request_form.pc_contract_request_form.ItemAdded(SPItemEventProperties properties) -
Mailing the Report Output-Does not generating file name
Dear Gurus,
The below program fulfils the "mailing the report" requirement .it sends the out put as an attachment in XLS format.But one problem exists i.e.,it does not generate filename.It gives the filename as ".XLS"(DOT XLS).
What should be done that system generates a filename?
*& Report ZTESTMAIL *
REPORT ZTESTMAIL .
tables: ekko.
parameters: p_email type somlreci1-receiver.
types: begin of t_ekpo,
ebeln type ekpo-ebeln,
ebelp type ekpo-ebelp,
aedat type ekpo-aedat,
matnr type ekpo-matnr,
end of t_ekpo.
data: it_ekpo type standard table of t_ekpo initial size 0,
wa_ekpo type t_ekpo.
types: begin of t_charekpo,
ebeln(10) type c,
ebelp(5) type c,
aedat(8) type c,
matnr(18) type c,
end of t_charekpo.
data: wa_charekpo type t_charekpo.
data: it_message type standard table of solisti1 initial size 0
with header line.
data: it_attach type standard table of solisti1 initial size 0
with header line.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1,
gd_error type sy-subrc,
gd_reciever type sy-subrc.
t_object_header = 'Text.xls'. append t_object_header.
*START_OF_SELECTION
start-of-selection.
Retrieve sample data from table ekpo
perform data_retrieval.
Populate table with detaisl to be entered into .xls file
perform build_xls_data_table.
*END-OF-SELECTION
end-of-selection.
Populate message body text
perform populate_email_message_body.
Send file by email as .xls speadsheet
perform send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'PO'
changing gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
perform initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select ebeln ebelp aedat matnr
up to 10 rows
from ekpo
into table it_ekpo.
endform. " DATA_RETRIEVAL
*& Form BUILD_XLS_DATA_TABLE
Build data table for .xls document
form build_xls_data_table.
*CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
*con_tab TYPE x VALUE '09'. "OK for non Unicode
*If you have Unicode check active in program attributes thnen you will
*need to declare constants as follows
*class cl_abap_char_utilities definition load.
constants:
con_tab type c value cl_abap_char_utilities=>horizontal_tab,
con_cret type c value cl_abap_char_utilities=>cr_lf.
concatenate 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
into it_attach separated by con_tab.
concatenate con_cret it_attach into it_attach.
append it_attach.
loop at it_ekpo into wa_charekpo.
concatenate wa_charekpo-ebeln wa_charekpo-ebelp
wa_charekpo-aedat wa_charekpo-matnr
into it_attach separated by con_tab.
concatenate con_cret it_attach into it_attach.
append it_attach.
endloop.
endform. " BUILD_XLS_DATA_TABLE
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
form send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
data: ld_error type sy-subrc,
ld_reciever type sy-subrc,
ld_mtitle like sodocchgi1-obj_descr,
ld_email like somlreci1-receiver,
ld_format type so_obj_tp ,
ld_attdescription type so_obj_nam ,
ld_attfilename type so_obj_des ,
ld_sender_address like soextreci1-receiver,
ld_sender_address_type like soextreci1-adr_typ,
ld_receiver like sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
clear w_doc_data.
read table it_attach index w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + strlen( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
clear t_attachment.
refresh t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
clear t_packing_list.
refresh t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
describe table it_message lines t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
append t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
describe table t_attachment lines t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
append t_packing_list.
Add the recipients email address
clear t_receivers.
refresh t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
append t_receivers.
call function 'SO_DOCUMENT_SEND_API1'
exporting
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
importing
sent_to_all = w_sent_all
tables
object_header = t_object_header
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
loop at t_receivers.
ld_receiver = t_receivers-retrn_code.
endloop.
endform.
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
form initiate_mail_execute_program.
wait up to 2 seconds.
submit rsconn01 with mode = 'INT'
with output = 'X'
and return.
endform. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
Populate message body text
form populate_email_message_body.
refresh it_message.
it_message = 'Please find attached a list test ekpo records'.
append it_message.
endform. " POPULATE_EMAIL_MESSAGE_BODY
Your suggestions will be appreciated and rewarded.
Thanks in advance
MuraliHi
Your pgm is not passing anything in obj_descr in packing list for excel file. If you pass a name your excel file will have that.
Regards
Sathar
perform send_file_as_email_attachment
tables it_message
it_attach
using p_email
'Example .xls documnet attachment'
'XLS'
'PO'
' ' *------> no value*
changing gd_error
gd_reciever.
form send_file_as_email_attachment tables pit_message
pit_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription *----> no value*
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
t_packing_list-obj_descr = ld_attdescription. -
Successfully processed messages did not generate files
Hi,
I have a situation with file interface were XI is generated text files. I have several successfully messages out of which only some messages created files but not all. I checked the FTP but don't see all the files. Where do I need to start looking or troubleshooting? How can I rerun the successful messages to create the file? I cannot rerun the program otherwise I will duplication in R/3.
Thanks,
SangitaHi Sangita,
start having a look at the runtime workbench -> adapter engine where you'll see the status of your messages at adapter engine level.
Could it be that you set the append mode so every time the file content is just appended? try adding a timestamp when you generate the file, just to check if everything is ok.
Are you using condition to create the files? maybe this could be a reason, check the message payload from SXMB_MONI.
If messages are in error in SXMB_MONI you can restart them from there, otherwise if they are in error in the adapter engine you can restart them from RWB.
Hope it helps,
Kind Regards,
Sergio -
Flash CC not closing files, but displaying confirmation message in the output panel
Hi everyone,
I have a JSFL file that basically iterates through some of the frames of an ordinary flash file to validate it has some specific frame labels inserted.
The thing is, after I've ran this once against any flash file, no matter what the result is (either it finds the labels or it doesn't and it traces the result in the ouput panel) flash CC does this weird thing... I try to close any flash file I have open which has some unsaved modifications, and instead of prompting me if I want to save the changes, I see the message in the output panel:
Save changes to "green_fire_dragon.fla"?
So I can't actually close the file because I can't click OK! If I try to close Flash itself I get the same thing.
Can anyone explain this? Thanks!
PS: Not sure if it will make a difference but I can post the javascript code if necessary.Can you log a bug at :
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform -
Double click on icon not open file but only Photoshop
Hi,
I have some problems with Suite CS6 Master Collection on W7 os.
1. After I installed the Suite CS6 Master Collection the psd file were not associated with software
2. I manually associated psd files to Photoshop software, the classic icon did not appear but appeared icon "Photoshop Plug-In". When we click on file psd, Photoshop starts but not open the file
3. again, if I associate psd file and Photoshop icon, the file opens correctly once, then when I reopen psd file or restart my pc, the icon will automatically return "Photoshop Plug-In" and only open software.
4. I discovered if I don't change associated icon files psd opens correctly.
I'm waiting for an answer
Thank youI have this exact same problem - I use WIN 7 and FF 3.6.13 - no one believes what I am seeing (except you :>) ) - hopefully someone will be able to respond with a solution
I have uninstalled FF and re-installed same problem
The FF WIN 7 taskbar preview shows the correct display and when I click it I get a flash and it appears to go off right side of screen -
PSE7 External hard drive rename does not disconnect files but...
I am running Vista, and keep my pic files on an external HD (Drive F:).
Occasionally I would run into the issue that my EHD would get bumped to the G: drive (because I would plug something else into the USB port). When I would open PSE6 Organizer with the drive designated as G:, my files would show as disconnected. I could either search and reconnect all the files each time, or just remap (am I using that term correctly?) the drive back to F: and reopen the organizer and it would find them fine. I understood how to fix this problem in PSE6. I also assumed if I wanted to change my EHD designation, that would be the way to do it.
Here's the issue: I've upgraded to PSE7, converted my catalogs, and all is well WHEN the drive remains as F:. I want to remap my EHD to the W: designation (to solve the bumping to a different drive letter name issue). But now in PSE7, if I change the drive letter to anything other than F:, and then open the Organizer, the F: designation shows up as a 'ghost' (greyed out, and read-only evidently).
I can still view the files, edit them, print them, and if I try to reconnect like before, it tells me there are no disconnected files! I CAN'T move the files or folders, create new folders, add folders to watchlist, etc. (by right-clicking in the folder location view). Incidentally, the properties for each file lists them as on the W: drive, but clicking on a file points to a 'ghost/greyed' folder under the 'ghost' F: drive in the folder location view.
HOW can I change the drive designation and get the organizer to update the thumbnails to point to THAT drive designation, so I can work with all the files and folders like normal? Am I stuck on the F: drive forever???!!!
Thanks!John, Thanks for the reply. Here is what I get when I run the utility with my EHD set to F:, which is where PSE7 knows most of the the files to be. (I do have some occasional files on the internal C: drive.)
psedbtool version 1.04
Opening catalog C:\ProgramData\Adobe\Catalogs\Family pics 2006 to present\catalog.pse7db
Photoshop Elements version: 7
Total files : 10064
Total files missing : 0
Total files offline : 0
PSE Volume Table
Path used by PSE : F:
Status : online
Total files : 10047
Total files missing : 0
Description : WD Passport - Michelle
Serial : 5226-599A
Drive_path_if_builtin: F:
Type : builtin_drive
Id : 3011
Path used by PSE : [Family Photos 20]
Status : offline
Total files : 0
Total files missing : 0
Description : Family Photos 20
Serial : E7A6-129B
Drive_path_if_builtin:
Type : readonly_drive
Id : 183343
Path used by PSE : C:\ProgramData\Adobe\Catalogs\Family pics 2006 to present
Status : online
Total files : 0
Total files missing : 0
Description : database relative
Serial : amoc:database_relative_volume
Drive_path_if_builtin:
Type : database_relative_drive
Id : 2
Path used by PSE : C:
Status : online
Total files : 17
Total files missing : 0
Description : OS
Serial : 30B4-E6C7
Drive_path_if_builtin: C:
Type : builtin_drive
Id : 2899
Windows Drives
Drive Type Serial Path
C: builtin_drive 30B4-E6C7
D: builtin_drive F4B1-4B30
E: readonly_drive 0000-0000
F: builtin_drive 5226-599A
Now I will change the drive letter and run the utility again... Okay, changed it to W: and now I get this:
psedbtool version 1.04
Opening catalog C:\ProgramData\Adobe\Catalogs\Family pics 2006 to present\catalog.pse7db
Photoshop Elements version: 7
Total files : 10064
Total files missing : 0
Total files offline : 0
****** Volumes with warnings: 1
PSE Volume Table
Path used by PSE : W:
Status : online
Total files : 10047
Total files missing : 0
Description : WD Passport - Michelle
Serial : 5226-599A
Drive_path_if_builtin: F:
Type : builtin_drive
Id : 3011
***** WARNING ***** : Wrong drive letter in catalog
Path used by PSE : [Family Photos 20]
Status : offline
Total files : 0
Total files missing : 0
Description : Family Photos 20
Serial : E7A6-129B
Drive_path_if_builtin:
Type : readonly_drive
Id : 183343
Path used by PSE : C:\ProgramData\Adobe\Catalogs\Family pics 2006 to present
Status : online
Total files : 0
Total files missing : 0
Description : database relative
Serial : amoc:database_relative_volume
Drive_path_if_builtin:
Type : database_relative_drive
Id : 2
Path used by PSE : C:
Status : online
Total files : 17
Total files missing : 0
Description : OS
Serial : 30B4-E6C7
Drive_path_if_builtin: C:
Type : builtin_drive
Id : 2899
Windows Drives
Drive Type Serial Path
C: builtin_drive 30B4-E6C7
D: builtin_drive F4B1-4B30
E: readonly_drive 0000-0000
W: builtin_drive 5226-599A
OKay, I KNOW there is a wrong drive letter in the catalog, but when this happened in PSE6, I could just reconnect files and go with the new drive letter. That's actually what I want to do here (as painful as it will be to reconnect all my files!) I'm tired of my EHD drive getting bumped around to different letter designations (and causing problems like this), so I'm trying to set it to something far out that won't get bumped.
Help? -
Rysnc not sending files, but acts like it is..
This ones got me really confused.
I'm trying to backup my laptop's most important folders, like /etc/ and /home/, to my arch linux server. I somehow managed to backup my /etc directory, but since then, its not working.
It looks like it worked, sometimes even giving accurate-ish "speed up" reports at the end. But when I SSH into my server, and run "ls -l" in the folder everything was meant to be sent to, theres nothing there.
This is one of the commands I've used, using the "push" method.
rsync --progress -avz /home/ -e 'ssh -p 1984 [email protected]:/backup/laptop2002/home'
From what I know, this is meant to compress my /home contents, preserving permission and whatnot thanks to the -a switch, sending the contents of said /home directory to my password-less, yet ssh-key-secured server on 192.168.1.70, dumping it in the /backup/laptop2002/home directory. But it doesnt. It reports that it has, but doesnt.
This is the other one I tried, running this on the server to "pull" the /home folder from my laptop.
rsync --progress -avz -a 'ssh -p 1984 [email protected]:/home/ /backup/laptop2002/home/'
Still no joy. It's asthough I'm running rsync with the -n switch to simulate the backup. But obviously I'm not.
Im totally baffled. It's really quite frustrating.
Any ideas?
Thanks.The -e option should only contain "ssh -p1984", not any hostnames/paths.
To synchronize your local folder to the remote server use:
rsync --progress -avz -e 'ssh -p1984' /backup/laptop2002/home/ [email protected]:/home/
To synchronize the remote folder to your local machine use:
rsync --progress -avz -e 'ssh -p1984' [email protected]:/home/ /backup/laptop2002/home/ -
Not saving data after we raise an exception
Hi,
I extended continue button function in OTL - Timecard. If we throw any error in continue button, then after do the required modifications to the data and click on Save button , for the first time the save is not working. Then again click on save, the data is getting to the database.
Any suggestions would be greatly appreciated.
Thanks in advance
KalyaniHi,
Please find the code in save
if(sA != null && sA != "" && sA.equals("TimecardSaveForLater"))
oapagecontext.writeDiagnostics(this,"am in save >>>>>>",6);
oadbtransaction.putValue("CheckSave", "Y");
long l = GlobalUtilities.getLongOrNullFromObject(oapagecontext.getParameter("TimecardId"));
oapagecontext.writeDiagnostics(this,"am in save >>> timecard id.."+l,6);
if(-1L == l)
l = GlobalUtilities.getLongOrNullFromObject(oapagecontext.getParameter("Timecard_id"));
oapagecontext.writeDiagnostics(this,"am in save >>>> timecard id.."+l,6);
ValidationforZeroRowsVOImpl zeroVO = (ValidationforZeroRowsVOImpl)oaapplicationmodule.findViewObject("ValidationforZeroRowsVO");
oapagecontext.writeDiagnostics(this,"second vo on click continue button.."+zeroVO,6);
if(zeroVO == null)
zeroVO = (ValidationforZeroRowsVOImpl)oaapplicationmodule.createViewObject("ValidationforZeroRowsVO", "sonata.oracle.apps.hxc.selfservice.timecard.server.ValidationforZeroRowsVO");
zeroVO.setWhereClause(null);
zeroVO.setWhereClauseParam(0,l);
zeroVO.executeQuery();
oapagecontext.writeDiagnostics(this,"second vo row count on click continue button.."+zeroVO.getRowCount(),6);
}else
zeroVO.setWhereClause(null);
zeroVO.setWhereClauseParam(0,l);
zeroVO.executeQuery();
oapagecontext.writeDiagnostics(this,"second vo row count on click continue button with else.."+zeroVO.getRowCount(),6);
oapagecontext.writeDiagnostics(this,"second vo row count on click continue button with else.."+zeroVO.getQuery(),6);
ValidationforZeroRowsVORowImpl Zerorow = null;
int fetchedRowCount = zeroVO.getFetchedRowCount();
oapagecontext.writeDiagnostics(this,"fetchedRowCount>>>>fetchedRowCount.."+fetchedRowCount,6);
RowSetIterator zeroIter = zeroVO.createRowSetIterator("zeroIter");
String chkVal = "Delete";
if(fetchedRowCount > 0)
zeroIter.setRangeStart(0);
zeroIter.setRangeSize(fetchedRowCount);
for (int i = 0; i < fetchedRowCount; i++)
oapagecontext.writeDiagnostics(this,"am in for loop ..",6);
Zerorow = (ValidationforZeroRowsVORowImpl)zeroIter.getRowAtRangeIndex(i);
if(Zerorow.getMeasure() != null)
oracle.jbo.domain.Number primaryKey = Zerorow.getMeasure();
oapagecontext.writeDiagnostics(this,"primaryKey>>>>primaryKey.."+primaryKey,6);
oracle.jbo.domain.Number timeBuildingID = Zerorow.getTimeBuildingBlockId();
oapagecontext.writeDiagnostics(this,"timeBuildingID>>>>timeBuildingID.."+timeBuildingID,6);
int zero = 0;
Number y = 0;
String timcardID = Zerorow.getTimeBuildingBlockId().toString();
oapagecontext.writeDiagnostics(this,"am in for loop with time card build id.."+timeBuildingID,6);
if(primaryKey.compareTo(zero) == 0)
oapagecontext.writeDiagnostics(this,"am in primarykey validation true..",6);
OADBTransaction dbtrans = oaapplicationmodule.getOADBTransaction();
String procedureStr = "BEGIN son_delete_zero_time(:1); END;";
OracleCallableStatement callablestatement = (OracleCallableStatement)dbtrans.createCallableStatement(procedureStr, 1);
try{
oapagecontext.writeDiagnostics(this,"AM in delte before close..",6);
callablestatement.setInt(1, Integer.parseInt(timcardID));
callablestatement.execute();
callablestatement.close();
oapagecontext.writeDiagnostics(this,"AM in delte after close..",6);
chkVal = "AfterDel";
}catch(SQLException _sqle) { try
callablestatement.close();
catch(Exception e) { }
throw OAException.wrapperException(_sqle);}
}oapagecontext.writeDiagnostics(this,"am in primarykey validation false..",6);
}oapagecontext.writeDiagnostics(this," am in close iterator",6);
//break; // only one possible selected row in this case
}zeroIter.closeRowSetIterator();
} -
Planning File Entry not generated for items releveant to PM
MRP procedure used for material is reorder based planning , in April -09 the stock for this material is consumed and becomes
zero (reorder point is 8 ,Maximum Stock Level is 8 ) and after that in MRP run the requirement is not generated .
But as per the setting of reorder point PR should be initiated.
When checked the MD21 , material is not flagged ,
I want to know the specific reason why only this material is not flagged for MRP run.
What all settings i can check ?
MATERIAL TYPE : YMRO OP Maint/ Repair/OperSup
Lot size : Repl. to max. stock level after cov. req
Procurement type : FHi,
Run the reports MDRE & MDAB to ensure the planning file entries are correct.
About your query what might have caused a entry not to be in planning file, well it could be many. So run the above reports & then run MRP & check the results.
Regards,
Vivek -
SQR does not generate PDF file
Hi,
on F9 with 8.49 tools on a Win 2003 server , the SQR does not generate PDF, but only nnnnn.out and nnnnn.log files.
What might be the reason ? What should be verified ?
Thank you.Hi ...
the table that uses the output file type is PS_PRCSOUTPUTFILE , lokk into this table...
(or)
login to PIA ...
navigate to peopletools--process scheduler--system settings--process type--process output type.
select sqr and see type web and active and default are checked.
Then navigate to process output format (the next tab to the previous one)
then select process type sqr and output destination type web are selected...
then u should see *.pdf is active and default... if not make it default...
reconfigure the process scheduler(bounce the scheduler and clear cache).
that should give u pdf doc....
any questions... please update
Thnks! -
PDF file not generating for only one Invoice billing document
Hi all,
We have upgraded our system into ECC6.0 from 4.7 version. During our Testing time, we have found the following Bug:
Bug: Not possible to get output in pdf format for only one Invoice type(TR code: VF02) except for all it is generating PDF output.
Can anybody help me out to find the route cause for this problem.
Regards,
Murali.Hi,
For one Billing-Invoice type , PDF is not generating. But it is generating for other Invoices.
So should i need to go through the Printer settings?
Regards,
Murali. -
PDF file is not generating for Billing Document for Invoice
Hi all,
We have upgraded our system into ECC6.0 from 4.7 version. During our Testing time, we have found the following Bug:
Bug: Not possible to get output in pdf format for Invoice type(TR code: VF02) except for all it is generating PDF output.
Can anybody help me out to find the route cause for this problem.
Regards,
MuraliHi,
For one Billing-Invoice type , PDF is not generating. But it is generating for other Invoices.
So should i need to go through the Printer settings?
Regards,
Murali. -
Exchange rate fluctuatuion amount is not generated in F-28
Hi Gurus,
when making partial payment from foreign customer in F-28, the Exchange rate fluctuation amount is not generated. But when making full payment from the foreign customer, exchange rate Fluctuation amount is generated.
For eg: At the time of billing the document, the amount is 1050 USD @ 46.4500
Now there are paying a partial amount of 1000 USD @ 46.3000
Now the difference amount between 46.45 & 46.30 has to generated at time of payment.
But its not happening.
Can anyone help me to find a solution.Hi Satish,
While making Partial Payments also you can post forex gain/Loss but for that a little configuration is required. The IMG path is :-
Financial Accounting Global Settings (New)>Global parameters for Company code>Currencies>Indicate Currency Differences for partial payments.
Here against the document type, which you are using for making partial payments you have to tick that doc type and then the Forex gain/Loss gets posted even on partial payments.
Regards,
SAPFICO -
EXIT_SAPLCORF_008 - how to raise the exception "PREDEC_NOT_CONFIRMED "
Hi,
I am using the user exit " EXIT_SAPLCORF_008 " to the check the previous activity is confimed or not.
so i want to raise the exception "PREDEC_NOT_CONFIRMED " , Because this exit comes under function module "CO_RU_CHECK_OPERATION ".
I am not able to raise the Exception . Plz guide me how to go ahead.
Exception List - CO_RU_CHECK_OPERATION
CONFIRMATION_NOT_ALLOWED Confirmation not allowed
NEW_STATUS_NOT_POSSIBLE Confirmation not possible because of status management
OPERATION_NOT_FOUND Operation not found
OPERATION_NOT_SELECTABLE Operation cannot be selected because of parameter setting
ORDER_DATA_MISSING Order data was not yet supplied
PREDEC_NOT_CONFIRMED Predecessor of operation not confirmed
PRT_LOCKED Production resource/tool is frozen.
Regards,
RaniHi,
I am using the user exit " EXIT_SAPLCORF_008 " to the check the previous activity is confimed or not.
so i want to raise the exception "PREDEC_NOT_CONFIRMED " , Because this exit comes under function module "CO_RU_CHECK_OPERATION ".
I am not able to raise the Exception . Plz guide me how to go ahead.
Exception List - CO_RU_CHECK_OPERATION
CONFIRMATION_NOT_ALLOWED Confirmation not allowed
NEW_STATUS_NOT_POSSIBLE Confirmation not possible because of status management
OPERATION_NOT_FOUND Operation not found
OPERATION_NOT_SELECTABLE Operation cannot be selected because of parameter setting
ORDER_DATA_MISSING Order data was not yet supplied
PREDEC_NOT_CONFIRMED Predecessor of operation not confirmed
PRT_LOCKED Production resource/tool is frozen.
Regards,
Rani
Maybe you are looking for
-
HT2470 I need to transfer my photo folder to my external drive?
Mark this discussion as a Question - this encourages people to answer for points and helps you track ans
-
Import jpeg files into iPhoto library - closes iPhoto
I scanned some images and saved them as jpeg. They will open and display fine using various applications. When I try to use File > Import from iPhoto 6, iPhoto closes without importing the file. When I reopen iPhoto, a message tells me that an image
-
HT1338 Why won't Mail open following a software update?
I completed a software update-after which my mail icon changed - and won't open...
-
Does anyone know where i can get the apple phone number ?
hey i dont know to find the apples phone number can someone send me a link?
-
Satellite C50-A-1CK double characters appear when typing
All I have a brand new Satellite C50-A-1CK which is perfect for my needs EXCEPT I continually get double characters appearing on screen when typing which is: A. VERY frustrating B. Wasting a lot of time as I have to keep correcting words to remove th