cancel
Showing results for 
Search instead for 
Did you mean: 

DMS issue - backend program

shaik_basha6
Explorer
0 Kudos

Hi Experts,

I am facing one problem in DMS as not able to create documents from backend(scheduling job - files pick from application server) and getting error message : Error while checking & storing .... but when I tried this from foreground, able to create documents(files pick from presentation server). I have used bapi BAPI_DOCUMENT_CREAT2 in both the programs for creating document in CV01N.


I have checked all the configurations in system & everything configure properly and also analyze the configurations with the assists of SDN DMS suggestions.


I have placed all the images(jpg) in application server and tried to create documents from foreground(files pick from app server) but getting same error message : Error while checking & storing.

Actually I have to create nearly 30 thousand documents with attachment & linked with BOM. I have few doubts on documents creation.

1) Is this bapi BAPI_DOCUMENT_CREAT2 will support backend execution, if not please let me know is there any approch to acheive this requirement.

2) If its support then what I need to do at my end or check in system with basis team.

I really appreciate those who will give some suggestions or solution.

Advance thanking for those who give suggestions or solution

Regards,Mahaboob Basha.

Accepted Solutions (0)

Answers (2)

Answers (2)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi,

You have placed the file on the application server and trying to

access via front end. The presence of file on the application server

could be seen via AL11, however, you cannot access the file directly

from windows. This is the reason you get an error.

 

Could you make following changes to the data carrier settings in DC20

and check if this works:

1. Goto DC20.

2. Double-click node 'Define data carrier type "server, front end"'.

3. Select the data carrier type.

4. double-click node 'Identify frontend computers'.

5. Observe that there is no information maintained here. Could you try

    to add the relavant front end type computer and configure as per

    your network path.

 

Also, you could use the F1 help for the data carrier to customize as

per your business scenario. I found a informationfor other customer

which might be useful for you.

 

Please have a look:

Start transaction 'DC20' and double click on folder 'Define mount

points/logical drive' in the dialog structure. Then create a new entry

(new data carrier). Enter a name for the data carrier, select a front

end type (usually 'PC') and finally enter the path of the network

drive directory, where your original files are stored for editing.

If now a user goes and creates an original file in CV01N/02N (user

must be assigend to frontend type 'PC'), he only has to enter the data

carrier, which serves as a prefix for the network directory (e.g.

//servername/DMS/files/). And in field 'Original' the user only has to

enter the actual file name.

 

Perhaps another workaround in this case would be :

- Read the orginal file with FM "CV120_READ_FILE2TABLE" within a internal table

- Call FM "CVAPI_DOC_CHECKIN" to check-in the internal table and not directly the file (parameters PF_CONTENT_PROVIDE = 'TBL')

 

The main problem here is that from DMS point of view the original file

needs to be accessible locally to be uploaded and checked in

successfully.

 

As I tried to explain above the file in the application

server is not accessible from Windows and therefore also the API

function module is not able to checkin the file to the archive.

Therefore I suggested to maybe read the file to an internal table with

function module "CV120_READ_FILE2TABLE" and then the system should be

able to access the file. From DMS point of view the upload always

fails if the system is not able to access the file to upload.

 

I'm sorry that I cannot offer you another proposal in this message but

the mentioned scenario is a quite special one. From the current DMS

standard point of view we also recommend to use the KPRO storage which

offers several additional functionalities for storing original files

in DMS.

 

However also when uploading the file to a KPRO storage

category the file needs to be accessible from Windows.

For further help I can only suggest you to get in touch with your

local consulting organisation who will surely try to find a suitable

individual solution for your scenario.

 

I hope that this information could be useful for you. Generally the

checkin of files to an archive should work as far as I know. But there

are a lot of environmental influences in such scenarios and therefore

it is hard to define a standard solution for it.

Best regards,
Christoph

shaik_basha6
Explorer
0 Kudos

Hi Experts,

Please any advance on this....

Regards,Mahaboobbasah

shaik_basha6
Explorer
0 Kudos

Hi Experts,

Any suggestion please...

Regards, MBasha