cancel
Showing results for 
Search instead for 
Did you mean: 

MASS UPLOAD OF DOCUMENTS USING LSMW

Former Member
0 Kudos


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 TypeDoc PartDoc VerDescriptionStatusOriginal File
  Path.

Appriciate your answers.

Regards,

S.Kulkarni

Accepted Solutions (1)

Accepted Solutions (1)

christoph_hopf
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

Hi Christoph,

I appriciate for your detailed solution. I will follow up the steps you mentioned and also refer to the notes for further exploration.

Thanks,

Shrikanth

Answers (0)