Can we send .csv file from sap srm system to sap pi?
Hi Experts,
we have 3 options send the data from sap systems to sap pi.i. e.proxy,idoc and rfc only
How can we send .csv file from sap srm to sap pi?
Regards,
Anjan
Anjan
As you know SAP SRM and SAP PI are different boxes.
*_Option 1:_*
we need a shared AL11 directory in between SAP SRM and SAP PI (Ask basis to setup shared folder). Place / Populate the file in the folder from SAP SRM and then it can be picked through sender file communication channel.
In this case you (Basis team) will share one folder which is visible from the AL11 transaction of both the systems (SRM and PI). You will drop .csv file using some report or program from SRM at this location and from PI you can read that file using File communication channel (NFS mode).
Option 2:
Setup a FTP at SRM environment and expose some folder which can be accessible from PI. Use sender file communication channel at PI end to pick the file.
You can use this option incase sharing of folder is not possible (due to network / other constrains). Here FTP server is required to expose any folder as FTP so as it can be accessible from internet (remote location). You need to expose some folder at SRM machine. You will drop .csv file using some report or program from SRM at this location. Now PI can fetch the file from that location using sender file communication channel (FTP Mode) providing user credentials.
Hope it clears now.
Regards
Raj
Similar Messages
-
HT3887 i can't send any files from smartphone to my macbook!
i wan't to send a picture from my blackberry to my macbook pro i can connect it but it say's "service search failed" what do i have to do with that?
it works thank you!
-
I can't send deleted files from i movie to the trash and delete them.
I can't delete files. I bought a Lacie big quadra 4T and allmy project are saved there (mode raid1). When I’m trying to delete files theydoesn’t go to the trash bin but they are not longer in I movie. Apparently they are still in the hard drive using space.How can I delete them or send them to the trash bin of my Macbook Pro?
Okay I had the same problem but I figured it out. When you go to choose file, all the links are greyed out. Use two fingers simulatiously and click down on the file you want, then choose "quick look" from the option menu. This will open a preview of your document and make the open button usable. Close the preview, and then select the open button.
The site I was trying to use says it only supports IE, so maybe that is what causes the problem.
Hope it works for you! -
How to put file from a legacy system to SAP through FTP
Hi
I want to put one file which will be comming from legacy system to a folder of application server of the SAP system through xi.The protocol i want to use is FTP.
But im not sure about the configuration to be done for putting the file directly to SAP app server.
Anybody having idea what configuration i need to do in the SAP side to put the file into the app server directly through FTP.
Thanks
DebrajHi Debraj,
Try if these links help you solve your problem:
http://help.sap.com/saphelp_bw31/helpdata/en/4e/2ba038b81e897ce10000009b38f8cf/content.htm
http://www.sapfans.com/sapfans/saptips.htm#prog
http://help.sap.com/saphelp_nw04/helpdata/en/a4/db833d4c47ea4ea1a9b7af3c535ff2/content.htm
Cheers,
Chandra -
Delete a .csv file from desktop system
Hi All,
My requirement is to read the .csv file from the desktop system having the shared folder and delete the file after read successfully.
Here I can read the .csv file from the location using the function RFC_REMOTE_FILE and updated the content into internal table.
But I cant delete the file from the presentation server ( Desktop system).
Can anyone tell me how to delete the .csv file from the desktop system on different location.
Note:
I followed this link to read file:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9831750a-0801-0010-1d9e-f8c64efb2bd2&overridelayout=trueHi Rob,
Thanks. I solved this problem myself.
The solution to delete the file from remote system is
concatenate 'DEL' i_filename i_dirname into v_bkfile separated by space .
call function 'RFC_REMOTE_EXEC'
destination c_dest
exporting
command = v_bkfile
exceptions
system_failure = 1 MESSAGE v_ermsg
communication_failure = 2 MESSAGE v_ermsg. -
Sending .xlsx file from ABAP
Hi Experts,
How can we send .XLSX file from ABAP.
I have done as suggested in note 1459896 but it's not working.
I have added the header table with such value
concatenate '&SO_FILENAME=' lv_filename into lv_text_line.
append lv_text_line to lt_att_head.
passing header table to
lo_document->add_attachment( exporting i_attachment_type = 'XLS'
i_attachment_subject = 'AttachmentFilename'
i_attachment_size = lv_size
i_attachment_header = lt_att_head
i_att_content_hex = binary_content ).
but when I try to open it in SOST it says," file format or extension is not valid " .
Do you think if I send thsi mail to outlook it will work. ?
Thanks
WilliBut SAP note says 1459896 , it can be done
using
filename = 'attachment.xlsx'
concatenate '&SO_FILENAME=' lv_filename into lv_text_line.
append lv_text_line to lt_att_head.
but still not working. -
Reading File from a Desktop/ShareFolder in SAP MII 14.0
Dear Experts,
I have a situation where I want to read a CSV file from a source different than SAP MII server. Basic intention is to read a file from a desktop or some shared folder.
My first doubt is- Is it really possible in SAP MII 14.0 version?
But still I tried doing the same. Used Get File Text Loader action and text loader and provided file path from desktop which gives me an error. Here's the syntax I tried with mask as .csv:
C://Users/XXX/Desktop
C:\Users\XXX\Desktop
C:/Users/XXX/Desktop
Error I get is as follows:
[ERROR] [Get_File_List_0]GetFileList: Access to the file path /C://Users/XXX/Desktop is not allowed
Please advise, if it is really possible in MII 14.0 . If yes, Am I missing any steps?
RegardsHi Kirti
To read/load a file from your desktop you will need to execute some form of client side program like HTML or JS or applets. MII Transactions run on the MII server and would point to the Server's C:/ if the server has such a folder. Usually users do not have access to C drive of servers. Hence you see the error.
You will need to write some program that executes on your desktop and pulls the file from your system and then posts to the server.
Regards
Partha -
Transfering .csv file from SAP to NON-SAP using FTP connection
Dear All,
I am able to place the .CSV file successfully to other system using FTP connection, but when i open the file I could see the gaps between each record. I mean 1st line with the 1st record and 2nd line having a GAP and 3rd line with the 2nd record and so ..on as shown below
1 1/1/2009 0 41000027
2 1/1/2009 0 41000027
3 1/1/2009 0 41000027
I have declared an internal table as below
TYPES: BEGIN OF ty_charlist,
line(5000) type c,
END OF ty_charlist.
DATA: w_charlist TYPE ty_charlist,
t_charlist TYPE TABLE OF ty_charlist.
And concatenating each field seperated by ','
CONCATENATE res1 res2 res3 res4 res5 res6 res7 res8 res9 res10 res11 res12 res13 res14 res15 res16 res17 res18 res19 res20 res21 res22 res23 res24 res25 res26 res27 res28 res29 res30 res31 res32 res33 res34 res35 res36 res37 res38 res39
INTO w_charlist-line SEPARATED BY ','.
APPEND w_charlist TO t_charlist.
Now T_CHARLIST contains 50 records which needs to be placed on other system. I can see 50 records but gap is coming
Here res1, res2 and so on are declared as TYPE STRING..
Please do help me this issue
Thanks
PravaHello dprava ,
Try to be assisted with these examples .
1. [http://wiki.sdn.sap.com/wiki/display/ABAP/FTPfiletransferinBackground]
2. [Reg: FTP Connection; - SAP examples programs
Thank you,
Boaz -
I recently bought two iMac quad core i5 processor speed 2.5 Ghz. Every time I use Air Drop and I send a file from one iMac to the other, a black curtain drops and I am asked to restart the computer!!! What can I do?
That's a kernel panic and indicates some sort of problem either with the computer's hardware or software. Visit The XLab FAQs and read the FAQ on diagnosing kernel panics. It would help to post the panic log: Mac OS X- How to log a kernel panic.
Meanwhile, try booting the computers into Safe Mode then restarting normally. If this is simply a disk repair or cache file problem then this may fix it.
You can also try creating a new admin account on each computer then booting into the new account. This would help determine if the problem is related to a bad file in the user accounts. -
How can I send scanned files, which are documents changed from doc to PDF, as documents that can be edited if the recipient doesn't have Adobe capabilities?
Hi flaviusjack,
If you still have the .doc files, it might be best to send those to your recipients so they can be edited. Otherwise, you can use ExportPDF to convert the PDF files back to .doc format. But, again, that step would be unnecessary if you have the .doc files.
Best,
Sara -
Send binary files from SAP System to SAP XI/PI
Dear experts,
in our SAP ERP-System we have a link to JPG files which are stored in an archive. We want to send these files with some other information to our SAP XI and then store them on a file server. Is there a way to send a MIME attachment via RFC? Or is there another way to send binary files from SAP ERP to SAP XI? We want to avoid polling the files on OS level.
Thanks and regards,
DavidMost recommended way is to go for ABAP proxies. They support attachments.
Regards,
Prateek -
*Error retrieving some or all of your defaults from the SAP SRM system*
NULL Value in field when user tries to update their MYDEFAULT personal details in the MYBUSINESS webportal
http://imageshack.us/photo/my-images/62/mydefaults.png/
Error retrieving some or all of your defaults from the SAP SRM system
SAP 640 GUi on WINXP
any ideas?Hi,
Are you enable POP account in internal Exchange server or using POP from ISP outside?
Check File > Accounts Setting > Email > Select this account > Change > More Setting... > Outgoing Server tab > Check the first box: My outgoing server (smtp) requires authentication and don’t circle: Log on to incoming mail server before
sending e-mail.
If you are using check the LDAP, please also check the server address is correct or connection port is right.
If there is nothing wrong with your client. The problem could be on the mail server. Sometimes it could be due to maintain of the mail server of your recipient, and it is not available . You can give a try other time. If still failing, very possible the
email is no longer available.
Please let me know the result and feel free to post back.
Tony Chen
TechNet Community Support -
Can we strore .CSV file into CLOB datatype
hi
can we strore .CSV file into CLOB datatype
its giving me error ot hexa coonversion?
can anyone provide sample code...
when i m sending mail from oracle database when i send as blob object then nope but when i send attachment stored in table with clob column it gives me hex to raw conversion error
folllowing is my code--
CREATE OR REPLACE PROCEDURE com_maildata_prc1( pi_sender IN com_batch_contact_dtl.strreceivername%TYPE,
pi_recipients IN com_batch_contact_dtl.stremailaddr%TYPE,
pi_subject IN VARCHAR2 ,
pi_text IN VARCHAR2 ,
pi_filename IN VARCHAR2 ,
pi_blob IN cLOB
IS
conn utl_smtp.connection;
i NUMBER;
len NUMBER;
BEGIN
('com_send_email_prc',Vn_Process_Id);
conn := demo_mail.begin_mail( sender => pi_sender,
recipients => pi_recipients,
subject => pi_subject,
mime_type => demo_mail.MULTIPART_MIME_TYPE
demo_mail.begin_attachment(conn => conn,
mime_type => 'application/csv',
inline => TRUE,
filename => pi_filename,
transfer_enc => 'base64'
-- split the Base64 encoded attachment into multiple lines
i := 1;
len := DBMS_LOB.getLength(pi_blob);
WHILE (i < len) LOOP
IF(i + demo_mail.MAX_BASE64_LINE_WIDTH < len)THEN
UTL_SMTP.Write_raw_Data (conn
, UTL_ENCODE.Base64_Encode(
DBMS_LOB.Substr(pi_blob, demo_mail.MAX_BASE64_LINE_WIDTH, i)));
ELSE
UTL_SMTP.Write_raw_Data (conn
, UTL_ENCODE.Base64_Encode(
DBMS_LOB.Substr(pi_blob, (len - i)+1, i)));
END IF;
UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
i := i + demo_mail.MAX_BASE64_LINE_WIDTH;
END LOOP;
demo_mail.end_attachment(conn => conn);
demo_mail.attach_text(
conn => conn,
data => pi_text,
mime_type => 'text/csv');
demo_mail.end_mail( conn => conn );
END;
Thanx in advance...
Message was edited by:
user549162
Message was edited by:
user549162Hi
Ignore "SQL*Loader-292: ROWS parameter ignored when an XML, LOB or VARRAY column is loaded" error
after importing your csv file just change length CHAR(100000).
ex: your column col1 CHAR(1000) to change CHAR(100000).
and deploy your mapping and execute
Regards,
Venkat -
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 -
Inserting Record into CSV file from BizTalk Orchestration
Scenario:
1.Receive file from Source system via RecvPipeline
2.In Orchestration extracting some values like ENO,Ename,Salary etc.these values to be added in to CSV file from Expression Shape.How to append/add emp records in to CSV with out overriding the rows.
Ex:If we submitted 10 files then the CSV file should contain 10 rows in CSV.
Let me know how to create CSV file from Orchestration and how to add rows into that csv value
Regards BizTalkWorshipSimple.
Receive the message through a Receive Port/Location.
Create a flat-file schema representing the CSV file structure. Ensure each row is delimited by “{CR}{LF}”.
This flat-file schema should only contain the element which you want to see in the destination CSV file like ENO,Ename,Salary etc.
Have a map where the source schema should be the one which represents the received file and destination schema should be the one which is above created flat-file schema.
Map the source schema to the destination schema mapping the filed
ENO,Ename,Salary etc.
Have a custom send pipeline with flat-file assembler component it. Use this send pipeline in the send port.
In send port, configure the send filter like “BTS.ReceivePortName == YourReceivePortName”. Configure the send port’s “Outbound Maps” to the map which you have created in
above step
Key Point. In your send port, set the “Copy Mode” property to “Append” from default “Create New”
With your send port’s, “Copy Mode” property configured to “Append” this will append the value of the output to the existing file. Since in your flat-file schema, each record
is delimited by “{CR}{LF}” and since you’re overwriting the output file you will have one file with records appended. So if 10 files received, instead of 10 output files, you will have 1 CVS file with 10 rows.
If you want to construct the message in Orchestration as do, you do as opposed to map in send port at outbound map you can still do.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.
Maybe you are looking for
-
I'm, running WinXP Sp3. I downloaded 10.0.2 and installed it as an upgrade as I have done successfully with all other new versions. It installs, but when it tries to load I get the following error: Platform version '9.0.1' is not compatible with minV
-
I need recovery media for an old Toshiba but apparently can't order it. Help!
The other day my TOSHIBA laptop - MODEL # PSM43U-01700P - must've got a virus or something because it started to slow and was unable to open some programs. Thinking the computer was about to go, i started saving my personal files onto a disk, and jus
-
I am using iphone 3gs and have accidentally clicked "update" to software version 5. However, after I failed and all my data was lost. I manage to restore back to my previous situation. But all my apps has been gone. How can I get back all my aps? I k
-
Extreme Noob Question-How do I make it run by itself?
Well recently I found the source code for Asteroids so I copy it into JCreator and save it as a .java file. Than I make a html file so I can play it. Everything runs fine but how do I make it a stand alone program? I want to be able to put Asteroids
-
Sys Prefs setup with 2nd display using Mavericks . . . the new functions of Mav won't come in with LG display even though same display works with my other Macs. Any like experiences or advise would be more than appreciated? bumdiago