How configure sending CDR reporting via ftp server
hi
i want to send the CDR reporting automaticly to FTP billing server each 1H.
i have add the billing server
i don t know how or when can i configure the automatique sending CDR report to this server
Thanks for your help
You'll need a SFTP server instead of FTP.
For instructions, please see here:
http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/service/7_1_2/admin/sacdrm.html
Thanks!
Michael
http://htluo.blogspot.com
Similar Messages
-
How to send a report via e-mail
Hello All,
I want to send a report via e-mail.
What should I do for that?
Please help me out...
Regards,
Ravi Khattar.Hi,
Please check the below code....
data: t_objpack like sopcklsti1 occurs 1 with header line,
t_objhead like solisti1 occurs 1 with header line,
t_objtxt like solisti1 occurs 0 with header line,
t_objbin like solisti1 occurs 1 with header line,
t_reclist like somlreci1 occurs 1 with header line,
t_lobj like abaplist occurs 0 with header line,
t_listobj like abaplist occurs 1 with header line.
data: v_tab_line1 type i,
v_tab_line2 type i,
v_docsize type i,
v_len type i,
v_line(1250) type c,
v_subj(132) type c,
v_cr(1) type x value '0D',
v_linefd(2) type x value '0D0A',
v_docdata like sodocchgi1.
clear: t_objpack[], t_objhead[], t_objtxt[], t_reclist[], t_listobj[].
concatenate 'This email is generated from a SAP' sy-sysid '-'
sy-mandt '- batch environment.' into t_objtxt separated by ' '.
append t_objtxt.
t_objtxt = 'Please do not respond to this email.'. append t_objtxt.
v_docdata-obj_name = 'SAMPLE_TEST'.
concatenate 'Sales Order Status Attachment -' sy-datum '-' sy-uzeit
into v_subj separated by ' '.
v_docdata-obj_descr = v_subj.
describe table t_objtxt lines v_tab_line1.
read table t_objtxt index v_tab_line1.
v_docdata-doc_size = ( v_tab_line1 - 1 ) * 255 + strlen( t_objtxt ).
t_objpack-head_start = 1.
t_objpack-head_num = 1.
t_objpack-body_start = 1.
t_objpack-body_num = v_tab_line1.
t_objpack-doc_type = 'RAW'.
append t_objpack.
clear v_line.
if p_type = '1'.
loop at t_list.
concatenate v_line t_list v_linefd into v_line.
v_len = strlen( v_line ).
do 4 times.
if v_len ge 255.
if v_line+254(1) = v_cr.
v_line255 = v_line254.
v_line+254(1) = ' '.
endif.
t_objtxt = v_line(255).
v_line = v_line+255.
v_len = v_len - 255.
append t_objtxt.
else.
exit.
endif.
enddo.
endloop.
if v_line ne ' '.
t_objtxt = v_line(255).
append t_objtxt.
endif.
describe table t_objtxt lines v_tab_line2.
t_objpack-doc_size = ( v_tab_line2 - v_tab_line1 ) * 255.
t_objpack-body_start = v_tab_line1 + 1.
t_objpack-transf_bin = ' '.
t_objpack-doc_type = 'TXT'.
else.
t_objbin[] = html[].
describe table t_objbin lines v_tab_line2.
t_objpack-doc_size = v_tab_line2 * 255.
t_objpack-body_start = 1.
t_objpack-transf_bin = 'X'.
t_objpack-doc_type = 'HTM'.
endif.
t_objpack-head_start = 1.
t_objpack-head_num = 1.
t_objpack-body_num = v_tab_line2.
t_objpack-obj_name = 'SAMPLE_TEST'.
t_objpack-obj_descr = 'Test'.
append t_objpack.
loop at s_email.
t_reclist-receiver = s_email-low.
t_reclist-rec_type = 'U'.
append t_reclist.
endloop.
t_reclist-receiver = sy-uname.
t_reclist-rec_type = 'B'.
append t_reclist.
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = v_docdata
put_in_outbox = ' '
TABLES
packing_list = t_objpack
object_header = t_objhead
contents_bin = t_objbin
contents_txt = t_objtxt
receivers = t_reclist.
if sy-subrc = 0.
endif.
Cheers,
Bujji -
How to run the report via application server
Report not running?
hi All,
I am calling the report via forms, In application server i had recompiled the reports in two different format too.
1. myreports.rep
2. myreports.jsp
I have called the report from the menu and i used code like below
Declare
V_id Varchar2(100);
Begin
V_id := Run_Report_Object('myreports');
End;but i am getting following error.
Frm-41219:Cannot find report:Invalid ID.and subsequently an another too.
Frm-40738:Argument 1 to builtin RUN_REPORT_OBJECT cannot be null.please guide me
kanishI using Forms 10g R2, i store the recompile version in Application server.
Good, so you can refer to the metalink note I mentioned above, as per storing the reports in the application server, the default place for running reports is not a folder in the FORMS_PATH, the REPORTS_PATH is set in the $ORACLE_HOME/bin/reports.sh file, pointing by default to the sample folder - $ORACLE_HOME/reports/samples/demo, for testing purposes you can put your report there and try it again, or you can modify the REPORTS_PATH variable in the reports.sh file to point to the directory you were mentioning.
Note: I am calling the report throug menu using the eariler posting code.
I would recommend to create a Form to call the Report, I am not sure if there are restrictions about invoking a report directly from the menu.
About the code, you are missing a lot there, refer to metalink note mentioned above, here is an excerpt from that document.
PROCEDURE TEST_REPORT IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
BEGIN
repid := find_report_object('report5');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repserver90');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no pdeptno='||:dept.deptno);
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
/*Display report in the browser*/
WEB.SHOW_DOCUMENT('http://<YourServerName:8888/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
ELSE
message('Error when running report');
END IF;
END;
In my eariler version 6i (2 tier) when i call the report it invoke parameter form. will 10g also behave same like 6i?
Yes, there is still a parameter Form which runs in an HTML page.
*1. Should i want to create any Report_Path, Report_classpath ? if yes ,where should i ?* It will depend on your configuration, the easiest way is to setup the REPORTS_PATH in the $ORACLE_HOME/bin/reports.sh file, if you are configuring the reports server to use environment ids, that would not work and you would need to setup the REPORTS_PATH directly in the reports engine configuration file .. $ORACLE_HOME/reports/conf/rwserver.template.
Edited by: Rodolfo Ferrari on Jun 3, 2009 3:19 PM -
How to email reports via SMTP server FORMS AND REPORTS 6i and databse 8i
Dear All,
through reports builder reports are build but i need to email reports via SMTP server is it possible in 6i are not?if yes the how please rep asapIf it will be a scheduled report, you can create a batch file to run report with reqd parameters and generate it's pdf in a oracle directory.
Then schedule the batch file on oracle database pc, (thru task scheduler if OS is windows),
Then a email procedure will be required which will pick up the pdf from oracle directory, attach it and send mail.
Even the email procedure can be scheduled thru oracle job, but the OS batch schedule time and Oracle Job time should be handled as some gap will be needed between the two.
As for the email smtp procedure with attachments, you can find one in this forum or try googling it.
Regards,
Amol -
How to send a file from FTP to external server
My requirement is to send a file from FTP to D3(External) server.
Now I am able to store the file in Appln server.
I want to send the file created by the program thru FTP to D3 server.
I know the username,Password,HostID,RFC destination details.
How to send the file from FTP to D3.
If u have any program,Plz send it...
I dont want the function modules name...I want the example code ....
Thanks in advance.Hi Sumi,
You could do it so that you create a .bat or .cmd script to your server which does your ftp transfer.
To do this you must use sm69 to create a external operating system command which you can call from FM SXPG_COMMAND_EXECUTE. To SXPG_COMMAND_EXECUTE you the file you need to transfer as a parameter.
What happens is that your abap program passes the file to windows batch script (.bat .cmd) which will then do the transfer for you.
Here's a sample of ftp-script for windows:
echo open IP_ADDRESS_TO_YOUR_SERVER > c:zftp_transfer.ftp
echo USERNAME>> c:zftp_transfer.ftp
echo PASSWORD>> c:zftp_transfer.ftp
echo put YOUR_FILE>> c:zftp_transfer.ftp
echo quit>> c:zftp_transfer.ftp
ftp -s:c:zftp_transfer.ftp
also take a look here for more details:
http://support.microsoft.com/?kbid=96269
Ok, this might be a bit trivial but if your server is unix/aix etc.. Instead of using batch script you must do a shell script.
Regards,
Ville -
How to send the report output to the application server in a excel file
Hello,
how to send the report output to the application server in a excel file.
and the report runs in background.
Thanks in advance.
SundeepDear Sundeep.
I'm providing you with the following piece of code ... Its working fine for me ... hopefully it suits your requirement ...
D A T A D E C L A R A T I O N *
TYPES: BEGIN OF TY_EXCEL,
CELL_01(80) TYPE C,
CELL_02(80) TYPE C,
CELL_03(80) TYPE C,
CELL_04(80) TYPE C,
CELL_05(80) TYPE C,
CELL_06(80) TYPE C,
CELL_07(80) TYPE C,
CELL_08(80) TYPE C,
CELL_09(80) TYPE C,
CELL_10(80) TYPE C,
END OF TY_EXCEL.
DATA: IT_EXCEL TYPE STANDARD TABLE OF TY_EXCEL,
WA_EXCEL TYPE TY_EXCEL..
E V E N T : S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Here you populate the Internal Table.
Display - Top of the Page.
PERFORM DISPLAY_TOP_OF_PAGE.
E V E N T : E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
SET PF-STATUS 'GUI_STATUS'.
E V E N T : A T U S E R - C O M M AN D *
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'EXPORT'.
Exporting the report data to Excel.
PERFORM EXPORT_TO_EXCEL.
ENDCASE.
*& Form DISPLAY_TOP_OF_PAGE
text
--> p1 text
<-- p2 text
FORM DISPLAY_TOP_OF_PAGE .
SKIP.
WRITE: /05(128) SY-ULINE,
/05 SY-VLINE,
06(127) 'O R I C A'
CENTERED COLOR 1,
132 SY-VLINE.
WRITE: /05(128) SY-ULINE,
/05 SY-VLINE,
06(127) 'Shift Asset Depreciation - Period/Year-wise Report.'
CENTERED COLOR 4 INTENSIFIED OFF,
132 SY-VLINE.
WRITE: /05(128) SY-ULINE.
E X C E L O P E R A T I O N
CLEAR: IT_EXCEL[],
WA_EXCEL.
PERFORM APPEND_BLANK_LINE USING 1.
WA_EXCEL-cell_02 = ' XYZ Ltd. '.
APPEND WA_EXCEL TO IT_EXCEL.
CLEAR: WA_EXCEL.
WA_EXCEL-cell_02 = 'Shift Asset Depreciation - Period/Year-wise Report.'.
APPEND WA_EXCEL TO IT_EXCEL.
PERFORM APPEND_BLANK_LINE USING 1.
ENDFORM. " DISPLAY_TOP_OF_PAGE
*& Form APPEND_BLANK_LINE
text
-->P_1 text
FORM APPEND_BLANK_LINE USING P_LINE TYPE I.
DO P_LINE TIMES.
CLEAR: WA_EXCEL.
APPEND WA_EXCEL TO IT_EXCEL.
enddo.
ENDFORM.
*& Form EXPORT_TO_EXCEL
text
--> p1 text
<-- p2 text
FORM EXPORT_TO_EXCEL .
DATA: L_FILE_NAME(60) TYPE C.
Create a file name
CONCATENATE 'C:\' 'Shift_Depn_' SY-DATUM6(2) '.' SY-DATUM4(2)
'.' SY-DATUM+0(4) INTO L_FILE_NAME.
Pass the internal table (it_excel which is already populated )
to the function module for excel download.
CALL FUNCTION 'WS_EXCEL'
exporting
filename = L_FILE_NAME
tables
data = IT_EXCEL
exceptions
unknown_error = 1
others = 2.
if sy-subrc <> 0.
message e001(ymm) with 'Error in exporting to Excel.'.
endif.
ENDFORM. " EXPORT_TO_EXCEL
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When you click the button - Export to Excel ( GUI-Status) you'll be able to export the content of the Internal Table to an Excel file .......
Regards,
Abir
Don't forget to award Points * -
If i send a report via icloud how am i notified
if i send a report via iclod how do i get my response please
Yes. On your phone make sure it is set to send messages from your phone number, not your apple id or other email address. That way when they reply it will go to your phone.
-
Error to send a report via mail with BI Publisher
Hello,
I am working with BIP 10.1.3.4 over Windows Server 2003 Standard Edition, and I would like to send a report via mail.
I added one Email server navigation via Admin>Delivery Configuration > Email with the server name and host.
Then Send report via Email, got error.
oracle.apps.xdo.service.delivery.DeliveryException: oracle.apps.xdo.delivery.DeliveryException: smtp
at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:228)
at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1190)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:478)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: oracle.apps.xdo.delivery.DeliveryException: smtp
at oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler.submitRequest(Unknown Source)
at oracle.apps.xdo.delivery.AbstractDeliveryRequest.submit(Unknown Source)
at oracle.apps.xdo.service.delivery.impl.DeliveryServiceImpl.deliverToEmail(DeliveryServiceImpl.java:222)
... 4 more
Caused by: javax.mail.NoSuchProviderException: smtp
at javax.mail.Session.getService(Session.java:764)
at javax.mail.Session.getTransport(Session.java:689)
at javax.mail.Session.getTransport(Session.java:632)
at javax.mail.Session.getTransport(Session.java:612)
... 7 more
I have followed this SR, and I applied the solution, but it isn't solved the issue (ID: 1072742.1)
https://support.oracle.com/CSP/ui/flash.html#tab=KBHome%28page=KBHome&id=%28%29%29,%28page=KBNavigator&id=%28from=BOOKMARK&viewingMode=1143&bmDocTitle=BI%20Publisher%20With%20JDE%20Fails%20To%20Send%20Email,%20Error:%20javax.mail.NoSuchProviderException:&bmDocID=1072742.1&bmDocType=PROBLEM&bmDocDsrc=KB%29%29
Regards,
Mónica.Hi Christian.
You could put the lines of your list in a table of type SOLISTI1 and then use the function module SO_NEW_DOCUMENT_SEND_API1 to send the content of this table. You have to fill the table RECEIVERS with the address you want to send the report to.
Hope that helps,
Timo. -
Failed to send a report to FTP site
hi There
i am tring to create a schedule to send my reports to the FTP site, i can access that FTP by DOS FTP with login ID/Pssword, however my job in the business objects failed, it said connection error "WSA0"
can some one please tell me how i can send a report to FTP site under business objects?
thanksHi Cleo,
Could you please try the following workflow.
1.Are you getting this error message when trying to schedule a single report or when bursting the reports in a bunch?
2. We need to check the seeting on the FTP server if this is an issue with the report bursting.
Tracing the Destination server or something would help[ You can put a trace by stopping the destination server and putting -trace in the command line of destination and the job server that are involved in it], but I can think of a test that may be faster to reproduce:
With such a test running, do repeated netstat -a from the command line on the server running the job. This should tell us if we're just adding more and more connections without closing them, for instance. The FTP server itself may also have a limit on the number of connections it allows in altogether, or from a single host. At the point that things start failing, from the same machine, make also an interactive FTP request from the command line. This should tell you whether you can still log in. If you cannot, you know that your FTP server is no longer accepting connections, and is perhaps waiting for things to time out. Also, since it is external, we may well be trying to upload 130 docs at the same time, with the first one still being written, when the next upload request comes in. Maybe the server just can't handle that many writing streams at the same time. There may be a bandwidth constraint as well, so maybe we're getting connection errors because we trying to logon yet again, when already we're sending MBs down the pipe in multiple streams.
I hope this helps.
Regards,
Sarbhjeet Kaur -
Error in Scheduling a report via FTP option in WEBI
Hi,
I am not able to schedule my report via FTP. Im putting in the details correctly.
Would like to confirm what value should be mentioned in port, the servers port? and account refers to the user Id on the server ?
It is giving the following error :
connection error. [WSA10038]: [CrystalEnterprise.Ftp]Hi Neha,
This error message may occur due to following causes:
1. The ftp destination parameters of the relevant Job Server are not set correctly.
or
2. The ftp port is blocked.
Kindly refer SAP Note 1427440 to verify the solution.
Regards,
Nakul Mehta -
How to archive files in another ftp server?
Hi,gurus:
My scenario is file to file and my sender adapter is ftp adapter.
Now I want to archive the send file in another ftp server,how can I implement it?
There is a parameter "Archive files on FTP server" when I choose the processing mode "archive".What's it's use?Thanks in advance.Hi,Santhosh:
Thanks for your reply.
I have checked your blog before,and it is very useful for me.
I still have a problem about command line.
In an sap note,I found the principle of the execution of the command line is like below code:
import java.util.*;
import java.io.*;
public class test {
public static void main(String args[]) {
try {
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("C:/data/test.bat <param1> <param2>");
} catch (Exception e) {
e.printStackTrace();
But you know this method has restriction.If my bat file has many commands,it only execute a part of commands(sometimes 8,sometimes 9 ).
My bat file is like below:
echo open 192.168.67.149 >c:
data
copyResult.txt
echo <username> >>c:
data
copyResult.txt
echo <password> >>c:
data
copyResult.txt
echo cd /receive>>c:
data
copyResult.txt
echo get %2>>c:
data
copyResult.txt
echo cd /ok>>c:
data
copyResult.txt
echo put %2>>c:
data
copyResult.txt
echo cd /archive>>c:
data
copyResult.txt
echo delete send.txt>>c:
data
copyResult.txt
echo quit >>c:
data
copyResult.txt
ftp -s:c:
data
copyResult.txt
del %2
I wanna merge all the "echo" in one command,so it may execute successfully,but I don't know the method.Any ideas? -
How to send CSV files to external server
Hi All,
How to send CSV files to external server (not to application server).
I know how to download files to application server.
Please give me the steps to send CSV files to external server.
Is it posiible with RFCs? If yes, then plz provide me the steps. Do we need to create RFC destination for this.
Appriciate your help with rewarding points.
Please help as this is an urgent requirementhi,
you can send via xi.
chk this blog
a) content conversion (sender)
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
b)content conversion (receiver)
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
<b>
reward points if this helps you.</b>
Siva
Message was edited by:
SivaKumar -
HOW TO SEND THE REPORTS AND THROUGH XI TO NON -SAP SYSTEM
Hi Experts,
I want to know how to send the reports and smartform through xi to another system. All the post blogs are just explaning only about the FILE-TO-FILE, FILE-TO-IDOCS scenarios only.Hi,
XI is the middleware that to be used to transfer the data between various systems and even you could design the Business Processes with it.
In R/3 the smartforms, are generally converted to PDF and then have to send it across to Non SAP systems. Similarly you can convert the smartforms to pdf format and keep it on application server. XI will pick up that pdf and will send it to Non SAP system either as mail or as an attachments.
ABAP reports are normally used to re-present the data. If you need to transfer this data across the Non SAP systems then you have the IDOCs to be generated, RFC or ABAP Proxy to integrate this data with Non SAP system.
XI is not restricted only upto file to file or file to IDOC scenarios. It have enormous capabilities to involve various Business Processes as well integrate various SAP or Non SAP systems.
If need anymore specific details, please let us know.
Thanks
Swarup -
PLEASE HELP: How to establish a link via ftp to sapserv?
Hi All
We have having serious problems with one of our producton servers and sap have asked me to ftp som files to 'sapserv3'. However I don't know how to establish a link via ftp to sapserv!!
Can some one help me get this set up?
Thanks in advance
PhilHi,
Try from the server where you have 'saprouter' running for SAP Remote support.
Then open a command prompt and simply go to:
>> ftp sapserv3 (or the neares sapserv for you, e.g. sapserv3 is located in Europe)
Login with user 'ftp' and supply your email address as password (guest logon is ok).
Then you can upload your file (via put command in FTP) to the sapserv under 'upload' directory.
The complete list of sapservX are:
147.204.2.5 sapserv3 # Walldorf
204.79.199.2 sapserv4 # Foster City
194.39.138.2 sapserv5 # Tokio
194.39.139.16 sapserv6 # Sydney
194.39.134.35 sapserv7 # Singapore
Hope it helps....
Cheers !!
Satya.
PS: Pls reward points if the answer is helpful...Thx -
Error when scheduling WEBI report to FTP server
Hi
We are getting error "destination directory error. CrystalEnterprise.Ftp: 550 Requested action not taken" while scheduling WEBI report to FTP server.
Any help would be appreciated
Regards,
AnisaHi All,
I want a run my report once by scheduling, so i provide a time interval for scheduling a report
start date/ time : 11:38:AM 10/30/2011
end date/time : 11:43:AM 10/30/2011
after completion of end time....report is failed and fetching an error
Error : Object could not be scheduled within the specified time Interval
Any solution for resolving this error
Maybe you are looking for
-
Guest OS Windows 7 for remote access
We are setting up 4 VM's with Windows 7 OS for staff access on a Dell PowerEdge R320. We had all of the VM's working as specified above but had to re-install Server 2012 Standard because the factory tech setup the Raid 5 to only give the server OS 40
-
Video in Adobe Reader 7.0.5
I'm gonna take a shot in here to see if anyone knows of this problem. I am taking a .mov file and embedding it into a .pdf. When I get the file made and I open it up, I have to click on the black box in order for the video to play. However, I would l
-
Hi Friends I have a task to upload the factory calendars.I don't want to do manual upload, but want to upload all the data at once. I tried to run through the BDC recording, but the transaction includes an ALV which I cannot capture in BDC recording.
-
What are Offline Settlement Modes in Sybase Mobiliser
Dear All, Actually I am looking for Fee Offline settlement process. (In Sybase Mobiliser) While exploring, I found some tables related to Offline settlement Modes. Those are: MOB_SETTLEMENT_MODE MOB_PI_TYPES I have not seen any record in the MOB_SETT
-
Imovie08 doesn't import quicktime file made from imovie05
I can't get imovie 08 to open the quicktime file I made from a movie that was created in imovie 05... any suggestions?