MASS UPLOAD OF DOCUMENTS USING LSMW
Hello Experts,
I am experienced in SAP DMS but not in LSMW.
I would like to use LSMW for Mass Uplaod of Documents and would like to give the input in the below format.
I was able to create LSMW for Doc Upload using Recording option but it will not give me the original path location.
I know there is a BAPI too for Document create which is BAPI_DOCUMENT_CREATE but dont know how to use it in LSMW>
Which option is best to be used in this case. Below find the input format of the file which am looking
DIR
Number
Doc Type
Doc Part
Doc Ver
Description
Status
Original File
Path.
Appriciate your answers.
Regards,
S.Kulkarni
Dear Shrikanth,
please note that batch input in Document Management System is not
supported for Releases higher than 4.5. The batch input technology
was designed for the transactions CV01 and not for CV01N/02N etc.
To create
or change a document info record in background I would recommend you to
use the BAPIs BAPI_DOCUMENT_CREATE2 or BAPI_DOCUMENT_CHANGE2 to create
or change a Document info record. Please see SAP note 766277,
which contains the full documentation of all BAPIs in the DMS area.
Normally you can use DMS BAPI or API function modules to checkin
originals into the content server. I would recommend you to use the
API modules as they are much more flexible then BAPIs. Please see the
note 504692 which contains further information and some
sample programs.
With transaction SXDA you can also create document info records
in the background but the filepath should not be shortened anymore.
For further information please check SAP note 817743.
I hope that this information could be useful for you to setup a
working scenario to edit document info records successfully in
background.
Best regards,
Christoph
Similar Messages
-
Hi Everybody
Is there any tools available for mass upload of documents into server? please provide me the information.
Thanks
PrasadHi Prasad,
There are several options that you can explore for mass document upload and see which best fits your requirements and constraints:
-You can upload documents by using LSMW(Legacy System Migration Workbench). Using this, you can safely upload 1000-1100 documents at one go.
- Ask your ABAPer to develop a BDC for mass document upload.
- Use 'DMS Loader' solution from SEALS systems. http://www.sealsystems.de/fileadmin/mediaFiles/Factsheets/DMS_Loader_en.pdf
Regards,
Pradeepkumar Haragoldavar
Edited by: Pradeepkumar Haragoldavar on Jun 17, 2010 11:09 AM -
Mass Upload of documents for a financial Document
Dear Friends
I have created Document Type ZFIINVOICE and assigned it to Object Type BKPF. I am able to link Document to individual FI Document via OAWD.
I want to mass upload documents related to a person in Financial Document .
Is there any BAPI vailable for mass upload.
Or can LSMW can be used.
Please advice for the method of upload.
With Regards
Mangesh PandeHi,
You can use the following BAPI for this purpose:-
BAPI_ACC_DOCUMENT_POST
Regards,
Gaurav -
Mass Upload of documents for a Person
Dear Friends
I want to mass upload various kinds of documents related to a person in HR.
I have cretaed 5 document types ( Employee Photo, caste Certificate, Joining Biodata, Employee Signature, Gratuity Nominations).
I want to upload Legacy data which in mass to all employees created in SAP HR.
I have seen many threads related to Upload of employee photo. But I am not getting clear picture how to upload data related to various document types for an employee. I am using Assign and store scenario.(Manual Storing).
Is there any BAPI vailable for mass upload.
Or can LSMW can be used.
Please advice for the method of upload.
With Regards
Mangesh PandeHi Mangesh Pande,
Currently I have the same requirement like you.
So can you please post it, how you solved the issue?
It will be useful for others also in future.
So please make it asap.
Thanks in Advance!
warm regards
Senthil Kumar -
Import Billing Document using LSMW
Hi,
I'm trying to import SD - Billing Documents using LSMW (Object 0090; Method 0000; Program RVINVB10)
with out sucess.
Can anybody give me a example for this ?
Best regards,
PauloHi Gopidas,
Thank you for your riply.
I have a PC aplication to create invoces (and credit / debit memos etc), and i want to import them to SAP SD.
I think the best way is using LSMW. The aplication generates a file that can be used by LSMW.
My question is how ?
I have beeing trying this but with no sucess. Do you have any example for this ?
Best regards,
Paulo -
Mass upload of Documents/Folders in SolMan?
Hi,
We have a situation here. All the project documents and other documents are stored on the company portal. For any given process, they have a set of documents associated with it.
Example: for a change request, they have at least 10 - 12 documents which follow a chain and are dependent. All these 10-12 documents are stored in a folder "Change Request Documents".
There are close to 200 such folders on the portal and each folder has between 20 to 50 documents. Is there any way that we can import all the folders with the same hierarchy structure in SAP Solution Manager?
Do we need ABAP program? What is the best possible way other than manual upload?
Appreciate suggestions.
Thanks,
KrishHi Aditya
If you start doing 1 by 1, you'll go mad , as you said, there are more than 2 lakh documents are there.
You can upload documents by using LSMW. To be safer side, you can upload 1000 documents at one shot.
Otherwise you can ask your ABAPer to write a BDC.
Good luck.
Amaresh Makal -
Hi,
The requirement is to automatically upload hundreds of documents from a website to Solution Manager.
What is the best way of doing this?
Thanks,
KashyapHii,
i think you should use LSMW for the same.Morover if you want to make any changes to specific data you can do it easily.
Regards,
Shweta -
Mass uploading of Documents with ABAP
Hello,
i have to write an ABAP-Program, to automatically mass-upload documents to cFolders.
I have the FUBA CFX_API_DOC_CREATE where i can create document-hulls. Now i think i have to use CFX_API_DOC_DOCUMENT_WRITE to upload the content. The FUBA needs the filling of the TABLE_Parameter IT_CONTENT, which is the content of a file. My Question: How can i fill this Parameter?? Is there a FUBA, where i can simply fill this parameter???
Thanks
Best Regards
Helmut Wenzlerok, found the solution...a simple "GUI_UPLOAD" works
Best Regards
Helmut Wenzler -
Basic Data Upload to MATERIAL Using LSMW is not working
HI All,
we are using LSMW /SAPDMC/SAP_LSMW_IMPORT_TEXTS program to upload the basic text of the material, all steps are executed correctly and shows records are transfered correctly , but the in MM03 the text is not uploading..
EPROC_PILOT - MASTER - TEXT_UPLOAD Basic long text 1line
Field Mapping and Rule
/SAPDMC/LTXTH Long Texts: Header
Fields
OBJECT Texts: Application Object
Rule : Constant
Code: /SAPDMC/LTXTH-OBJECT = 'MATERIAL'.
NAME Name
Source: LONGTEXT-NAME (Name)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-NAME = LONGTEXT-NAME.
ID Text ID
Source: LONGTEXT-ID (Text ID)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-ID = LONGTEXT-ID.
SPRAS Language Key
Source: LONGTEXT-SPRAS (Language Key)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTH-SPRAS = LONGTEXT-SPRAS.
* Caution: Source field is longer than target field
/SAPDMC/LTXTL Long Texts: Row
/SAPDMC/LTXTL Long Texts: Row
Fields
TEXTFORMAT Tag column
Rule : Constant
Code: /SAPDMC/LTXTL-TEXTFORMAT = 'L'.
TEXTLINE Text Line
Source: LONGTEXT-TEXTLINE (Text Line)
Rule : Transfer (MOVE)
Code: /SAPDMC/LTXTL-TEXTLINE = LONGTEXT-TEXTLINE.
and at last it displaying as follws
LSM Workbench: Convert Data For EPROC_PILOT, MASTER, TEXT_UPLOAD
2010/02/01 - 10:14:25
File Read: EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.read
File Written: EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
Transactions Read: 1
Records Read: 1
Transactions Written: 1
Records Written: 2
can any one tell us what could be problem
Regards
Channappa SajjanarHi , thanks for your reply,
i run the all the steps .
when i run the program it gives message as follows
Legacy System Migration Workbench
Project: EPROC_PILOT eProcurement Pilot
Subproject: MASTER Master data Upload / Change
Object: TEXT_UPLOAD Basic long text 1line
File : EPROC_PILOT_MASTER_TEXT_UPLOAD.lsmw.conv
Long Texts in Total: 1
Successfully Transferred Long Texts: 1
Non-Transferred Long Texts: 0 -
Enter G/L account error while uploading open contracts using lsmw
Hi Experts,
I have a flat file for Open Contracts.While trying to upload using LSMW -BAPI method(BUS2014), it is throwing error as 'Enter G/L account' though G/L is present in the flat file.I have done with the mapping in the 5th step.
Checked all the configuration settings of G/L.everything is fine. Not getting where is it going wrong.
please help me out.I've tried regarding Helmut's advise and it works.
10 points (if i was a thread owner) -
Uploading subcontracting PO using LSMW-BAPI method
I am trying to upload the subcontracting Purchase order using LSMW-BAPI .
Bapi name -Create from Data1
Business Object - BUS2012 Purchase Order
Method - CREATEFROMDATA1 Create Enjoy Purchase Ord
Message Type - PORDCR1 Create Purchase Order
Basic Type - PORDCR102 Create Purchase Order
In this BAPI - for subcontracting material (component), required quantity & plant values are provided in a input file .
When I trying to upload this PO, PO gets created but component data not getting uploaded.
In documentation of BAPI -under restriction section -there is a restriction for subcontracting.
So can we create Subcontracting PO using this PO.
any solution on same.
Because most of the conversion part is done. Only for subcontracting PO this bapi is not working.
Please anybody know about the solution guide me ASAP.
ThanksHi Vikram,
I am also having same scenario , I m using BAPI - BAPI_GOODSMVT_CREATE To create GR for Subcontracting PO
Can u please tell me how can solve this problem.
Normal GR its working but for Subcontracting PO its not working.
Regards,
Sanket -
Mass upload of documents over FlexUI
Hi,
is it possible to implement a mass upload of files to the portal km over the FlexUI?
Best regards,
Thomas KuriHi Thomas,
with FlexUI, unfortunately, the possibilities that you have regarding your requirement are very limited.
To implement an enhanced upload to KM it is advisable to either use GWT (Google Web Toolkit) or the preferred and recomended language WebDynpro Java.
You can find here on SDN a tutorial on [Uploading and Downloading Files in Web Dynpro Java|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71].
In a past project, we added the multiple file selection capabilities by using Flash Objects, and enabled the communication between Flash Objects and the WD Application via Java Script and EPCF event junction.
Hope that helps,
Robert -
Upload multiple files using lsmw
I have to upload 2 different files using lsmw..
Please explain me the procedure..
I made the option as sequential file in specified files..
but i am getting error.. Using different sequential files is not allowed...is der some problem or just u need clarification?
When I import the data everything seems fine... 52 entries from file 1, and 682 entries from file 2.
In my "Fieldmapping and conversion rules" i have a statement like this:
read table FILE2 with key oldsls = FILE1-lgart.
My problem is that FILE2 is empty, even that I saw in my import screen that 682 entries was imported.
in one statement, you are saying ki it seems fine then u r saying that ur file 2 is empty. HOW CAN U UPLOAD DATA FROM AN EMPTY FILE ?
and we don't don anything in field mappng until unless v don't use complex stuctures while uploading data. LSMW takes care of everything by itself.
Most important thing is
reward point
hope this will help
bye tc
sandy
waiting for reward point -
Functional Design Document using LSMW
Hi,
I have to write a Functional Design Document for a LSMW development.Does any body have any samples / template for such a document - LSMW specific?
Thanks in advance.
ArindamHi Gopidas,
Thank you for your riply.
I have a PC aplication to create invoces (and credit / debit memos etc), and i want to import them to SAP SD.
I think the best way is using LSMW. The aplication generates a file that can be used by LSMW.
My question is how ?
I have beeing trying this but with no sucess. Do you have any example for this ?
Best regards,
Paulo -
Uploading Delivery Schedule using LSMW
Hi All,
I am uploading the Delivery Schedule documents(T-code: ME38) into SAP.
I am using BAPI method in LSMW.
Business Object: BUS2013
Method: MAINTAIN
Message Type: PURSAG_MAINTAIN
Basic Type: PURSAG_MAINTAIN01
While doing so I am getting some warning and error messages.
1. Statistical delivery date in the past
2. Delivery date is in the past
3. Can delivery date be met? (Realistic delivery date: 22.05.2008 )
4. Instance PurchSchedAgreement of object type <SA Number> could not be changed
As mentioned above all the messages are coming as Status 51 only.
But I am able to successfully upload the same record manually using ME38 even though I get the warning messages which is given above (1,2,3).
Can any one help me sorting out this as soon as possible?
Helpful answers will surely be awarded.
Thanks in Advance,
Asif Ali KhanYou will keep one input file, and store your look up file as a translation table in step 6 of the LSMW, then use this translation in the mapping rules.
This is standard LSMW functionality, please refer to LSMW documentation or online information for further information.
Thomas
Maybe you are looking for
-
IPhone 5 2.4ghz/ weak wifi connectivity issues
Hello. So when I got my iPhone 5 I had a 2.4ghz linksys router and I thought the router was messing up dropping the connection a few times a day so I bought a Netgear dual band which in return worked pretty well. Now for some circumstances I had to m
-
REQIMPORT errors when security profile set using 12I
I am submitting the purchase requisition import using the following script in release 12I. The request is submitted but completes with an error. declare l_request_id NUMBER; l_batch_id NUMBER := 1027; l_ou_count NUMBER; l_org_id NUMBER := fnd_global.
-
Command S not working in Dreamweaver CS6
Command S not working in Dreamweaver CS6
-
Plotting Time Stamp from Txt file in Column to another column
I want to know how to plot 2 columns that i am reading from a text file. column 1 has a time stamp in HH:MMS, and column 5 has data in which i want to plot the time verus the data.
-
Asking for single quotation mark in a query?
Hi, can somebody told me how I can ask in SQL for a string which includes a single quotation mark?? Something like this: AAAsb '&' BBBfg I would like to replace the '&' into &. To make this I must know how I can ask in a query for '&' thanxx Schoeib