Quantcast
Channel: SCN : Discussion List - SAP Document Management
Viewing all 761 articles
Browse latest View live

Gui shows chinese like characters instead of text (display kpro)

$
0
0

Hi Guys,

 

I am getting an error displaying a Kpro document on a SAP GUI. When I download the same document locally as a text I can read the content without problem. When I try to display it on a GUI  I see chinese like characters.How can I fix it?

I dont have any problem with others documents. Is there a problem with the document size? Any idea`?

 

Some Information:

Character: UTF-16be

Mime type: text/plain

Size: 2600

 

Thanks in advance.


Hidden chars in Document

$
0
0


Hi,

I have a user who doesn't see some some field in the document (transaction CV01N, CV02N, CV03N), in Additional Data tab.

The user sees only the fields with a values inside. If the field is empty without any value she he doesn't see anything.

Other users see all the fields (full and empty) so it seems is something not related to roles or missing authorization.

Any idea? How can I solve this problem in this user?

Here below some print screens.

 

This user sees only the fields here below:

Foto1.png

All the other users see the same document in this way (also the fields empty, without any value):

Foto2.png

Same roles, parameters. What is the difference in the first user? I really do not understand.

 

Thanks

Fabio

[ASK] successful create document in DMS using BAPI_DOCUMENT_CREATE2 but error Error while checking out:

$
0
0

Dear Expert,


I am really need your advise. I try to create document and upload file TXT to SAP easy DMS.

I am success create this document but when i access it through CV03N there is a message


"Error while checking out: DMO000000000000001000000002100000 Message no. 26254 "

error file.jpg


This is my code..


DATA: ls_doc LIKE bapi_doc_draw2 OCCURS 0 WITH HEADER LINE ,

         lt_files LIKE bapi_doc_files2 OCCURS 0 WITH HEADER LINE ,

         itabobjectlinks LIKE bapi_doc_drad OCCURS 0 WITH HEADER LINE,

         li_files TYPE TABLE OF bapi_doc_files2,

         ls_files TYPE bapi_doc_files2,

         ls_return TYPE bapiret2,

         lf_doctype LIKE  bapi_doc_aux-doctype,

         lf_docnumber LIKE  bapi_doc_aux-docnumber,

         lf_docpart LIKE  bapi_doc_aux-docpart,

         lf_docversion LIKE  bapi_doc_aux-docversion.

   DATA: BEGIN OF errmsg OCCURS 10.

           INCLUDE STRUCTURE bapiret2.

   DATA: END OF errmsg.

 

   CONSTANTS : lc_pdf TYPE bapi_doc_files2-wsapplication

               VALUE 'TXT',

               lc_path TYPE bapi_doc_files2-docpath

               VALUE 'D:\',

               lc_x   TYPE c VALUE 'X'.

 

 

   ls_doc-documenttype 'DMO'.

   "ls_doc-documentnumber = '0000000000000010000000013'.

   ls_doc-documentversion = '00'.

   ls_doc-documentpart  = '000'.

   ls_doc-description = 'Document Sample TXT'.

   ls_doc-docfile1 = 'D:\sample.txt'.

   ls_doc-savedocfile1 = 'D:\sample.txt'.

   ls_doc-wsapplication1 = 'TXT'.

   ls_doc-datacarrier1 = 'SAP-SYSTEM'.

   ls_doc-SAVEDATACARRIER1 = 'SAP-SYSTEM'.

   APPEND ls_doc.

 

   lt_files-documenttype = 'DMO'.

   lt_files-storagecategory = 'DMS_C1_ST'.

   lt_files-docfile 'D:\sample.txt'.

   lt_files-wsapplication = 'TXT'.

   lt_files-description = 'Document Sample TXT'.

   lt_files-sourcedatacarrier = 'SAP-SYSTEM'.

   APPEND lt_files.

 

*  CLEAR itabobjectlinks.

*  REFRESH itabobjectlinks.

*  itabobjectlinks-objecttype = 'VBAP'.

*  itabobjectlinks-objectkey = '2142342'.

*  APPEND itabobjectlinks.

 

   CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'

     EXPORTING

       documentdata         = ls_doc

*     HOSTNAME             =

*     docbomchangenumber   =

*     DOCBOMVALIDFROM      =

*     DOCBOMREVISIONLEVEL  =

*     CAD_MODE             = ' '

*     PF_FTP_DEST          = ' '

*     PF_HTTP_DEST         = ' '

*     DEFAULTCLASS         = 'X'

     IMPORTING

       documenttype         = lf_doctype

       documentnumber       = lf_docnumber

       documentpart         = lf_docpart

       documentversion      = lf_docversion

       return               = errmsg

     TABLES

*     CHARACTERISTICVALUES =

*     CLASSALLOCATIONS     =

*     DOCUMENTDESCRIPTIONS =

       objectlinks          = itabobjectlinks

*     DOCUMENTSTRUCTURE    =

       documentfiles        = lt_files

*     LONGTEXTS            =

*     COMPONENTS           =

     .

   IF sy-subrc NE 0.

     CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

   ELSE.

     CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

       EXPORTING

         wait = 'X'.

   ENDIF.

 

   "ls_files-storagecategory  = 'SAP-SYSTEM'.

   ls_files-docpath          = lc_path.

   ls_files-docfile          = 'sample.txt' .

   ls_files-wsapplication    = lc_pdf.

   ls_files-checkedin        = lc_x.

   APPEND ls_files TO li_files.

   CLEAR : ls_files.

*

* BAPI to check in all converted PDFs

   CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'

     EXPORTING:

       documenttype    = lf_doctype

       documentnumber  = lf_docnumber

       documentpart    = lf_docpart

       documentversion = lf_docversion

     IMPORTING

      return     = ls_return

     TABLES

       documentfiles = li_files.

   IF ls_return-type CA 'EA'.

     CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.

   ELSE.

     CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

       EXPORTING

         wait = 'X'.

   ENDIF.


Please help...


Best Regards...

Does anyone know if OpenText archive server for SAP supports IPV6?

$
0
0

Does anyone know if OpenText archive server for SAP supports IPV6?

SAP to Nimbus connection

$
0
0

Is there a way to connect SAP and Nimbus so that document info records can point to a Nimbus document?

How to ristrict document type list in SAP Easy DMS

$
0
0

Hi,

 

How to ristrict document type list in SAP Easy DMS?

Disappearence of Excise header tab dueto DMS tab on MIGO

$
0
0

Dear Experts,

 

We have been implemented BADI (MB_MIGO_BADI) to get DMS attachment additional tab in header screen of MIGO .  Everything correctly enhanced without any ABAP dumps. MM users complainant as unable to enter Excise header tab due to DMS attachment list tab .

 

Please provide your valuable solution regards to get DMS attachment tab without overlapping 'Excise invoice '

 

 

Regards,

chandu.

Link documents to materials at plant level

$
0
0

Hello Experts,

 

We have the next scenario and we do not know how to manage it.

 

We have 3 plants that share the same material master data. We have defined the same document type to link to the material master data. How can we control the authorizations to access a document of this type? I mean, in some cases user from one plant shouldn't be able to access documents generated by someone in other plant. Is it possible to control it?

 

 

On the other hand, is it possible to link documents at plant level? In DRAW table there is a plant field but I do not know how I can control it.

 

Thanks in advance.


Successful check in using BAPI_DOCUMENT_CHECKIN2 but document still check out?

$
0
0

Dear expert,

 

After successful create document using  BAPI_DOCUMENT_CREATE2, i try to check in the document using BAPI_DOCUMENT_CHECKIN2.

I successfull run BAPI_DOCUMENT_CHECKIN2 without error, but when check the document in explorer, this document still check out?

Why this happen please help me...

document_still_checkout.jpg

 

This is my sample code..

 

*************

**define required variables

************

 

** Document key

   DATA: lf_doctype LIKE bapi_doc_draw-documenttype,

         lf_docnumber LIKE bapi_doc_draw-documentnumber,

         lf_docpart LIKE bapi_doc_draw-documentpart,

         lf_docversion LIKE bapi_doc_draw-documentversion,

         lf_status LIKE bapi_doc_draw-statusextern,

         psx_message TYPE messages.

 

** Bapi-Return structure

   DATA: ls_return LIKE bapiret2.

** internal table in which the information for the originals

** is entered, which is then transferred to the module

   DATA: lt_files LIKE bapi_doc_files2 OCCURS 0 WITH HEADER LINE.

 

********************************************

** Assign the data

******************************************

   lf_docnumber = '0000000000000010000000003'.

   lf_doctype = 'DMO'.

   lf_docversion = '00'.

   lf_docpart = '000'.

 

*empty itab and workarea

   REFRESH lt_files.

   CLEAR lt_files.

** Checkin the original into the SAP-database

   lt_files-storagecategory = 'DMS_C1_ST'.

   lt_files-docfile = 'D:\sample.pdf'.

 

*If the original is to be checked into the old storage, the following must take place

* the assignment of

   "lt_files-originaltype = '1'.   " or '2'

 

* some optional fields

   "lt_files-description = 'Sample Description2'.

   lt_files-wsapplication = 'PDF'. "defines, with what the original

*was opened in R/3-> WORD

   APPEND lt_files.

 

*appending multiple documents possible, repeat the above steps

 

******************************************************************

** Check in document

******************************************************************

   CALL FUNCTION 'BAPI_DOCUMENT_CHECKIN2'

     EXPORTING

       documenttype    = lf_doctype

       documentnumber  = lf_docnumber

       documentpart    = lf_docpart

       documentversion = lf_docversion

     IMPORTING

       return          = ls_return

     TABLES

       documentfiles   = lt_files.

 

   IF ls_return-type CA 'EA'.

     ROLLBACK WORK.

     MESSAGE ID '26' TYPE 'I' NUMBER '000'

     WITH ls_return-message.

   ELSE.

     COMMIT WORK.

   ENDIF.

 

Best Regards,

Anastasius

Cache Server is not working!

$
0
0

Hi!

 

We're using SAP Content-Server on our company on Location A and now we installed the SAP Cache Server on Location B. We are working with Case Management and KPro documents. After we completed the Content- and Cache Server customizing, I have done some tests and realized, that the Cache Server is not working correctly - it only works for .TXT files - and I dont know why!

 

After debugging some code, we detected, that SAP is using different methods for calling .TXT-file, Office-documents, PDF-files and so on... and we think the problem is the location-parameter, which is only returned correctly (location=B for users on location B) when opening a .TXT-file. (Of course we are working with locations - transaction SCMSHO - and with the userparameter "LCA" for the users on location B). But this is only speculation...

 

Summary:

- we customized the Cache Server in transaction OALO (KPro-locations), SCMSHO (locations of the servers), SCMSCA (caches) and of course CSADMIN

- Content-Server on location A, Cache-Server on location B

- users on location B have the user-parameter "LCA" = B

- Cache-Server works perfect only for .txt-files but not for office-files, pdf-files and so on!

 

Does anybody know this issue?

 

Thanks a lot!

 

Marc

HTTP Error 401: Unauthorized on testing content repository connection

$
0
0

Hi,

I am facing one problem while testing connection of repository created through TCode OAC0. Its giving error "HTTP error: 401 Unauthorized". Please if anyone has solution let me know.. Reward Points will be given...

 

Regards

Hardik

Massive change for document types

$
0
0

Hello experts,

 

We have two different document types that we want to unify. Is it possible to change document type value for a document that has been created with other document type? Which option do we have to make this change??

 

Thanks in advance.

 

Laura

Issue while Archiving the documents.

$
0
0

Dear All,

 

i am facing a peculiar issue that while executing the SARA transaction the files are not deleted i mean that all the process is working fine but document is not archiving from the tables and i can able to see the archived document in all the transactions.Is there any setting which need to be done before doing the archiving.

 

Note :Each step is executing fine and i can able to see the documents in Read step also after deletion program if i go to CV02N i can able to see the document.

 

Regards,

Bhanu.

How to Disable the Option ' Create attachment'

$
0
0

Dear all

 

we are using 'Store Business Document' option in our company to archive the documents onto ECM FileNet Application ( Integrated with SAP Objects using IBM Content Collector) and not on SAP Database. my query here is to know how do we disable the option to create attachment as we wish to restrict the document saving on SAP.

 

let us know how is it possible to disable the create attachment option in services for objects as shown in below.attachement.png

Many thanks

Avinash

How to configure trex server with SAP DMS

$
0
0

Hi,

 

How to configure trex server with SAP DMS ?

 

Our Basis team already installed trex server and they also created RFC..


Easy DMS + MS Office Integration

$
0
0

Can somebody please tell me whether office integration/ole links is possible in Word/Excel documents if you are just using the Easy DMS interface for document management? And if so, what settings need to be made where.

 

We are using Easy DMS 7.1

 

Thanks,

Dean.

Document versions for diffrent plants

$
0
0

Dear Experts,

 

do you know if it´s possible to make document versions plant specific?

 

Example:


Document 123 Version A1 is valid from 31.12.2013 until 30.12.9999. For plant 1000 and 1001.

Now we have a change in the document which is only relevant for plant 1000, therefore we are creating a new version A2 which will be effected from 31.03.2014 (ECM controlled).

 

By SAP standard automatically the lower version A1 will be only valid until 30.03.2014. Which will effect both plants, but we want still to use the previous version A1 for plant 1001.

 

Has somebody any smart idea how we can solve this in a SAP standard way?

 

Thanks a lot in advance for your feedback.

 

Cheers,

Sven

How to config CRM to archive link

$
0
0

Hi

 

How to config CRM to archive link?

updating assignment field in sap doc number..

$
0
0

Hi all,

            I have posted 40,000 documents in SAP FI, but Assignment field is not updated in it. I updated in BSEG table from back end . But it is not showing in fbl1n t code. It is getting updated only if assignment field in updated from FB03 t code.

 

Please help in changing all assignment fields(for all 40,000 entries) at a time, as it is not possible to change from fb03 for all the entries.

 

 

Thanks & regards,

Krishna.

how to link an archivlink document to a financial object(BOR: bkpf)

$
0
0

Hi guys,

 

I would like to open an archivlink document from a financial object (in the transaction fb03 for example).

What are the steps to take?

 

Thanks.

Viewing all 761 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>