Uploading from File Server
hi,
i have a BDC program to be done however the file is in File server so wht shud i do inorder to access the file the file server for example the path is given :
127.1.1.10\SharedFolder\20070704.txt
and i have authorization set on it and i have been given a user id and password to access the folder so wht shud i be doin to read the file from the given location
Hi
Use the Tcode CG3Y to bring the file from Application to Local server and write the ordinary BDC code
other wise
Use OPEN DATASET concept..
READ dataset
TRANSFER dataset
CLOSE dataset
see the sample code
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
Reward points for useful Answers
Regards
Anji
Similar Messages
-
LSMW file upload from presentation server
Hi,
We are using LSMW to create new Document info records and will need to upload/ attach multiple files to the DIR.
everything is working except in the IDOC processing stage, it errors out -
"Error while checking in and storing:
otlta134a\pcm\test1.txt"
Its is unable to upload file from network drive, it works successfully when the same file is uploaded from application server.
I have worked in other LSMW projects and have successfully loaded files from network drive.
Please let me know what configuration setup is required, is it the content server or the gateway server?
Thanks for all your help.Sheetal,
I think this is the problem due to the authorization....
try to open the file from AL11........... if u r still getting the problem better to contact the basis guys...
If it is the problem with the authorization... once u get this error open another session with SU53 tcode.. take the authorization object and give it to basis guys to allow the permissions to u... -
Transfer data from File server to SAP R/3 AS
hi, i need to transfer data from file server (http:/.....) to SAP R/3 application server. I have the HTTP Host name (http:/......) and login details. please let me know how i can resolve this.
best regards
NeerajHi
You need to create a RFC Destination with the details what you have, then you can create a RFC Fucntion module to read the data, according to the destination system, you have to code that, once you
pick the data from the destination system, later you need to convert it to SAP Format.
To trace your fm status, there are function module availabe in sap, search with http, you can find.
regards
Praveen -
Read image direct from file server
hello, need to help me somebody.
A like to create form , what read image direct from file server, without store in database.
Please help me.Hi you may go through the below post to find what could be a better way to do that.
http://forum.java.sun.com/thread.jspa?threadID=5163829
REGARDS,
RaHuL -
How can i check the file which is upload from the server
when upload the excel file from the server file to the internal table ,how can i check the data whether it accord with the required condition .
for example ,i want to upload the file which have the data whose type is pack, and it have three integer and two decimal ,how can i check in my code.
thanks,Hi Sichen,
First upload the file, Then do ur validations and delete the records that doesn't satisfy ur requirements.
Thanks,
Vinod. -
2.DMS uploading from Development server to Production server[GO LIVE]
Hi All
Is it all document type [dms] which r created in development server, these will transefer from development to production server by [uploading]transport request.
Or is It needs Basiss Help.
Rgds
Ben.hi,
I think for moving customization request to production, u dont need help of basis, if u have authorization then u can transport the request.
Before moving first identify which are the request number u want to transport and release them using t code SE10 in development server.
Go to production server, execute STMS t code for importing the request from devp server.
Once ur request moved to production successfully then all customization will be available in production system except number ranges and class and characterstics.
If ur using classification system, then create class and characterstics in production system it self.
award points if useful
regards
Sham -
DMS uploading from Development server to Production server[GO LIVE].
Hi, All,
I have configured DMS at client palce. Here they don't have quality server.
What we configured will be tested in development it self. So in the unit test there is no errors at all and
uploaded some documents in the development also.
So i want to know how i could tranfer request and full DMS configuration to production server[Go Live].
1.Wheather I could need Basiss Help.
2.What are all precautions i could take before and after 'go live'
3.What are all requirement needs to 'go live'.
plz give procedure i details
Rgds
Benhi,
there no mandatory of quality server to test , if ur confident, u can directly transport to production
For request transporattion its better to have basis person, if u know the procedure, u can also import from production server.
Before that release all transport request in devp server.
After transporting to prod server check wheather all customising setting imported or not, wherever necessary u create master data in production system it self(Class and characterstics, and number ranges).
For going live u need to create all roles and autorization and need to assign to respective user ids.
award points if useful
regards
sham -
PDF file transfer from File server into SAP
Hi,
I need to get the PDF file which exists in the File server into SAP using XI in any format so that I can convert into required form in SAP but the file exists in PDF format in File server or any method other than XI .Is it possible to do it through XI if so please explain me the procedure.
Answers will be appreciated with points.
Thanks,
Ramesh.Hi Ramesh,
In addition to above reply, also go through these blogs whcuh also talk about ADF Conversion:
<a href="/people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield:///people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
<a href="/people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter:///people/sap.user72/blog/2005/07/27/xi-generate-pdf-file-out-of-file-adapter
Regards,
Subhasha Ranjan -
Display image in Report from File Server
Hi
As the logo of the company is changing every 3 - 4 months, i need a solution for this..
my approach is to replace the new logo in file server
call the logo in the oracle reports... using oracle reports 6i...
but i am not able to do so ( which objects to be used like formula column, link file, ole) ... any help from your side will be good.
Regards
YramYou may put the logo into db as a blob column and retrieve it onto report. One update in db would update all calling reports.
-
CS5 opening file from file server through explorer gets file not found error
Hi There,
Has anyone come across an issue with CS5 where they open an ai file through Windows Explorer and gets an error file not found after CS5 has started? Opening through CS5's file > open option does not produce the same error and seems to only error when opening by double clicking on the ai file. Is this a possible issue with shellex open handler registry key?
Any help would be greatly appreciated.Opening files directly from the server can produce errors and damage files. It is generally not advised.
http://kb2.adobe.com/cps/327/327749.html -
Can't open files directly from file server (MAVERICKS)
since updating to Mavericks earlier today i have had the below problem
I use a file server at work to access all my work files. i have no problem accessing the servers but when i try and when I double click to open a file (excel, word, pdf, etc) it says "the application cant be found"
when Ihave the application open and i open the same file from within the application (file > open) it works fine. I just cannot open files directly from the file server by double clicking.
in previous versions there have been no problems with this,
any help would be great,Same issue here; I hadn't related it to upgrading to the latest OS 10.9.2. I've shutdown and restared multiple times. I've also rebuilt permissions on my hard drive as I thought it was the Finder but files on my local HD open file. Off the server, I cannot double-click or even drag to the dock. Files open fine if I open the app first then browse to find the file.
-
Approx 700 Files being deleted from file server (server 2003) without permission
Hello,
We had a problem with files being deleted from our file server.
We lost approx. 700 files across approx. 40 directories from the file date codes between Nov. 30 2014 and Dec 3, 2014. All files before this date were not touch.
Our Dec. 1 backup had all of the files. Our Dec. 5 backup only have files before Sept. 1 2014 and after Dec. 3, 2014.
My question is how can this happen without going to each directory and sorted my date cade and delecting files from this date range.
Does anyone have any other ideals on how this could of happen?
Thank You
BertHi,
I suggest you enable file system auditing to find out the cause of this issue.
AD DS Auditing Step-by-Step Guide
http://technet.microsoft.com/en-us/library/cc731607(v=WS.10).aspx
Planning and Deploying Advanced Security Audit Policies
http://technet.microsoft.com/en-us/library/ee513968(v=WS.10).aspx
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Item Master Attachment from File Server
Hi All,
I have a requirement if I want to attach file stored onto FILE SERVER, how to attach it with Inventory Item.
Let say if file is stored onto the following location onto PC name "ABC", Directory Name "DIRTEST" and file name is "Test.pdf"
\\ABC\DirTest\Test.pdf
then how to accomplish this in Oracle Applications.
ThanksEven if you load from backend using an API, data will get stored in fnd_lobs.
The following post has a great example and detailed code for loading attachments using API.
Re: Add Attachement to Sales Order
Hope this answers your question
Sandeep Gandhi -
From File Server to SharePoint
Hi,
I would like to move all the files in several folders on a fileserver and put them on sharepoint.
The files in the fileserver are organized in several folders and subfolders (quite deep) and the security is controled via user Group membership (AD Groups).
What guidelines should I follow to do this "migration" and to have eficient (and security trimmed) search functionalities?
Many thanks,
DDWhy?
A file server and SharePoint are very different products and answering the question about why will have a bearing on not only what you move, but how you end up planning to move it and what the destination structure might look like and decisions around both
information architecture and information management. Answering questions on Disposition or Retention of files in the file server for example might lead you to consider Records management features of SharePoint, routing rules and audit policies.
If all you want to do is dump files into SharePoint then you can just open a library in Explorer view and dump the files or do it via powershell:
http://www.codeproject.com/Articles/762291/Upload-Files-to-Library-in-SharePoint-using-PowerS
Regards John Timney http://www.johntimney.com -
Master Data Flexible Upload from Application Server?
Hi Group,
Anyone know if it's possible to do a flexible upload of master data from a flat file on the application server?
I'd like to upload FS items and hierarchies from the BCS app server into our development environment, then transport to QA & PROD. We would obviously need some way to "save" after the upload was complete.
In the workbench, I can right click--> execute on the flex upload method and get a pop-up for a workstation file. In a data collection method, I can specify a logical file & filename, but I cannot choose master data (which might have allowed me to run a data collection method via the workbench).
Anyone accomplished this before? Or have any ideas if/how this is possible?
Thanks,
- ChrisHi Christopher,
It is not possible to assign Flexible Upload Method with Master Data to be assigned to Data Collection Method.
Flexible Upload with Master Data should be executed independently from Workbench. This is system design.
Regards
Narayana Murty
Maybe you are looking for
-
Do I have a virus or Trojan malware on my MacBook Pro?
I downloaded a faulty mp3 file from the internet which I think infected my computer with either a virus or Trojan malware. It took over my computer and disallowed me from accessing any applications. I clicked on Finder, for example, and a window woul
-
HP 6510b Maximum Hard drive Size
Hi I try to upgrade my HP 6510b with a new hard drive. But none of the 2 I tried are recognized. I tried a Hitachi 320Gb and a Seagate 500Gb. I both case, the BIOS doesn't seem to see them. These 2 drives are working on an other laptop and it seems
-
CMX/MSE location service with 2 seperated AP groups, hence 2 group of SSIDs?
Hi We design to broadcast for 8 SSISs. Due to limitation, we should not broadcast more than 4-5 SSIDs per AP due to too much beacon is harmful. Then I design to resolve the ielssue by separate AP inti TWO AP groups. Group A for SSID 1-4, and B for 5-
-
Hey, I'm trying to create a simple alv list but i'm not able to change anything. I'm surfing already a whole day on this site and still didn't find the awnser. So, what do i want to do. I have a database-table created. With another program i fill
-
Imported MPEG video playback problems
Hi, I have a client whose camera produces MPG video files. When she imports them into Presenter, the resulting video plays back way too fast, with no audio. If she plays the original MPG video on the desktop media player, it plays fine. Anyone with e