DMS Objectlisks Issue
Dear team,
We have written one Zprogram for linking some vendor codes to DMS conraol number ,my Zprogram is working fine,
when i execute that report vendors are sitting in objects of Document contraol number , But When I go to vendor screen XK03 the same dcouemnt number is not appearing ( message is No assignments found).
I have used below 2 function modules
wa_objectlinks-objecttype = 'LFA1'.
wa_objectlinks-objectkey = wa_final-lifnr.
APPEND wa_objectlinks TO it_objectlinks.
CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'
EXPORTING
documenttype = 'VEN'
documentnumber = wa_final-doknr
documentpart = '000'
documentversion = '00'
documentdata = ls_doc_data
documentdatax = ls_doc_datax
IMPORTING
return = ls_return
TABLES
characteristicvalues = lt_chr_val
classallocations = lt_cls_aloc
objectlinks = it_objectlinks.
IF sy-subrc = 0.
IF ls_return IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
iuuse is why documents are not appearing in XK03.
Siva
Hi Siva,
based on your description I would kinldy ask you to check if there is an entry created in table DRAD for this document info record. Because in this table the link data is stored for each link between a document info record and the linked object.
To grant that allways the currenct screens and authorizations were
called please maintain also the value "1" into the "Authorization"
column. For further informations on this maintainance please see the
SAP note 1066915. It's important that you not enter the mentioned
screen number wihtout the leading "1" as this number is added
automatically by the system (e.g. object MARA 1201 maintain like MARA
201). You can do this in customizing under:
Transaction SPRO
> Cross-Application-Component
> Document Management
> Control Data
> Define screen for object links
If you need the dynpro number or object you will find all standard SAP
objects and their screen number in function module CV130 (Screens) by
transaction SE80. Please maintain all necessary SAP objects.
Best regards,
Christoph
Similar Messages
-
CProjects to DMS connectivity issues
Hi Everyone,
We are currently integrating SAP DMS in cProjects.When we try and open the originals of a DIR, the following error messages are displayed:
Application log contains messages for links to SAP R/3 DMS
Message 1: Create Document Link to a New Folder ( application log - subobject: LNK_2_NEW_FOLD )
Cross checked the RFC connection b/w the systems. Seems fine. Please note that SAP DMS is on ECC5.0 and cProjects4.5 is hosted on CRM 7.0 server on two separate systems. Do let know incase you have resolved issues along similar lines. Thanks.
Regards,
Pradeepkumar HaragoldavarSteve,
I have seen this issue many times before and it always turned out to be an issue on the Telco network. It's quite possible either the line itself or some equipment on the provider network mayn't be provisioned for DATA or faulty equipment on their network.
Let us know how you do with it.
HTH
Sundar -
Hi All,
I have integrated DMS with KM. I am able to see the files. But I have 2 probs
1: the file names are displayed like this.
10000001,TEC,000,00,469BB43537697394E10000000A02107C
I want to change this. The last part is the "loio"
. I want to remove that and put Description. I have followed this help link
http://help.sap.com/saphelp_erp2004/helpdata/en/32/2a840d132af04fa2f0b31ebf3e8a78/content.htm
But this is not working for me.
2: When I click a file name (above name in prob 1) , I know its a word file. But its not getting opened in word, All files in KM are opened propery, but not the DMS files.
I think this is the prob with MIMEs, since I am using User Mapping.
How can I solve this issue?
My i am in Netweaver 2004s.
Any help will be greatly appreciated
Regards
GeorgeDear George,
I know exactely this issue only when using older versions of the DMS KM connector. You'd best assure using the latest SP/Patch level.
On such issue I'd anyway file a message on Component EP-PCT-PLM-SR3, guess this will be most efficient here.
Regards, Peter -
Adobe Reader 9 DMS integration issue
Hi all
We're trying to deploy Adobe Reader 9 to 1800+ users but having trouble with the integration with our Document Management System (Interwoven) in that the users have to manually open, close then re-open Reader before integration works. We'd like to automate this if possible within the existing batch file. We've tried the following command lines:-
:: Install Adobe Reader 9
msiexec /i \\server\share\AdobeReader9\AcroRead.msi TRANSFORMS=\\server\share\AdobeReader9\ar9.mst /qb! /norestart ALLUSERS=1 /l*vx C:\AdobeReader9.log
:: Copy IManAcrobatReader.api to the local machine to re-enable Interwoven-integration
mkdir "C:\Program Files\Adobe\Reader 9.0\Reader\plug_ins\Interwoven"
xcopy /Q /R /Y \\server\share\AdobeReader9\IManAcrobatReader.api "C:\Program Files\Adobe\Reader 9.0\Reader\plug_ins\Interwoven"
:: Update NRTDDE.INI to amend path to new Adobe Acrobat executable
xcopy /Q /R /Y \\server\share\AdobeReader9\NRTDDE.INI "C:\Program Files\Interwoven\WorkSite"
:: \\server\share\AdobeReader9\subinacl /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe" /grant=everyone=F
:: Open then close Adobe Reader 9 to register Interwoven-integration
"C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe"
taskkill /F /IM AcroRd32.exe /T
Adobe Reader 9 launches ok but will not close, the taskkill process does not appear to run for some reason.
Any ideas why not please?
Thanks
ScottAutoIT worked a treat.
I used the following code:-
; Open Adobe Reader 9
Run("C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe")
; Close Adobe Reader 9
WinWaitActive("Adobe Reader")
WinClose("Adobe Reader")
Then compiled as .exe and added to my script. Hope this helps others.
Scott -
HI,
I am creating a new report template. On save I get this error: Error occurred while saving the document template; save again. Although I save again, it does not save the layout. At this stage I don't check the symbols as I have not yet created any into the layout. Even though I say 'check', it does not save at all.
Can anyone help. I have checked the File locations for Template folder to be correct C:\....\SAP\FrontEnd\SAPgui\wwi
Am on GUI 7100.3.12
Patch 12
Any recommendations ? ThanksHello Sanjay,
It seems to be DMS configuration issue. May be your system is trying to store the template document to external database by using "kpro". Please check for following two configurations:
1. Go to Basic Data & Tools-->Report Definition >Settings for Document Management>Assign EHS doc type to DMS doc type Here for doc type "SBV" , Ty. should be "SBV" and Data Carrier should be "SAP System" if you are not specifying any external server for document storage.
2. Next, Go to Basic Data & Tools-->Report Definition >Settings for Document Management> Check Doc types and doc statuses. Go to the "Details" of doc type "SBV", and uncheck "kpro" if checked.
If you have configured external server for WWI docs, then you need to define different data carrier.
Please tell if it solves your problem, otherwise you may be probably having problem with your document status management.
In that case, you may like to refer following SAP notes in sequence.
995736,1005225,1091699.
regards
Pavan -
Error in Check in of Originals by BAPI In background
Hi Friends
We have requirement to check in the documents in DMS in background mode using BAPI_DOCUMENT_CHECKIN_REPLACE2 . Original files are stored on
application server in folder G: drive . When I run this BAPI in foreground mode it runs
fine. But in background mode it gives error u2018Program no longer
started via RFCu2019. No return possible.u2019 I debugged the BAPI and found that error occurs at
function module 'CV120_FTP_START_REG_SERVER in include LCV120F06.
Error occurs when it calls SYSTEM_START_REG_SERVER.
When this program runs in background it is unable to find SAPGUI.
That is why it fails while calling function module RFC_PING inside function module
CV120_FTP_START_REG_SERVER at line 28.
I have referred note 505891 for DMS related issues.
But when this BAPI runs in background it fails to check in.
We have also requirement to check in files located at remote FTP location.
Whether this is possible or not.
With Regards
Mangesh PandeHi Mangesh,
I'm facing the same problem, could you please give us some further explanations?
->Files are on the same server
->Checkin always fails (RFC-Callback not allowed)
->online works always fine (sure: with gui-download instead of FTP->No probs)...
Does it mean, i need a special Storage category? the one i have has the vault-Indicator...
Thanks in advance for any information and greetings from France...
Guillaume Delorme
Edited by: Guillaume Delorme on May 5, 2010 10:15 AM -
Problem searching non-string values within property bundles
Platform: Windows NT 4.00.1381
Ifs version: 1.1
The documents I want to search on have an associated property bundle containing properties of type String, Integer, Date...
A. OK: When I search on a property of type String, correct documents are returned successfully.
B. OK: When I search on a property of type Integer, but specifying a String as query value, no documents are returned, as expected.
C. BAD: When I search on a property of type Integer, specifying an Integer as query value, an exception is thrown, describing that the SQL query is invalid because of a missing right parenthesis.
Here is the exception stack trace, with Verbose set to ON:
oracle.ifs.common.IfsException: IFS-22012: Search failed. Invalid query may have been specified
java.sql.SQLException: ORA-00907: missing right parenthesis
at oracle.jdbc.oci8.OCIDBAccess.parseExecuteDescribe(OCIDBAccess.java:740)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:1674)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1870)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:314)
at oracle.ifs.server.S_Search.open(S_Search.java:277)
at oracle.ifs.server.S_LibrarySession.DMOpenSearch(S_LibrarySession.java:4589)
at oracle.ifs.beans.LibrarySession.DMOpenSearch(LibrarySession.java)
at oracle.ifs.beans.Search.open(Search.java:472)
at oracle.ifs.beans.Search.open(Search.java:401)
at com.karat.dms.ifs.issues.query.IfsQueryTest.testQuery(IfsQueryTest.java:144)
at com.karat.dms.ifs.issues.query.IfsQueryTest.main(IfsQueryTest.java:209)
And here is the snippet of code:
public static void testQuery(LibrarySession lib) throws Exception
// Create FolderRestrictQualification
FolderPathResolver resolver = new FolderPathResolver(lib);
Folder searchFolder = (Folder)resolver.findPublicObjectByPath("/home/myfolder");
FolderRestrictQualification frq = new FolderRestrictQualification();
frq.setStartFolder(searchFolder);
// Create PropertyQualification
PropertyQualification pq = new PropertyQualification();
pq.setPropertyName("issueNumber");
pq.setValue(AttributeValue.newAttributeValue(1234));
pq.setOperatorType(AttributeQualification.EQUAL);
// Create SearchQualification
SearchQualification sq = new SearchClause(
frq, pq, SearchClause.AND);
// Create SearchClassSpecification
String cls = "DOCUMENT";
SearchClassSpecification cs = new SearchClassSpecification();
cs.addSearchClass(cls);
cs.addResultClass(cls);
// Create AttributeSearchSpecification
AttributeSearchSpecification ss = new AttributeSearchSpecification();
ss.setSearchClassSpecification(cs);
ss.setSearchQualification(sq);
// Perform search
Search search = new Search(lib, ss);
search.open();
SearchResultObject[] res = search.getItems();
if (res == null)
System.out.println("No match.");
// Display results
for (int i=0; i<res.length; i++)
LibraryObject lo = res.getLibraryObject();
long id = lo.getId().longValue();
String name = lo.getName();
System.out.println("<publicObject name='"+name+"'>");
PublicObject po = (PublicObject)lo;
// Retrieve and display property bundle
PropertyBundle pb = po.getPropertyBundle();
if (pb != null)
Property[] props = pb.getProperties();
for (int j=0; j<props.length; j++)
Property prop = props[j];
AttributeValue val = prop.getValue();
System.out.println(" <property name='"+prop.getName()+"' type='"+val.getClass().getName()+"' value='"+val.getObject(lib)+"'/>");
else
System.out.println(" <noPropertyBundle/>");
System.out.println("</publicObject>");
search.close();
Any help would be greatly appreciated...
Best Regards...Hi Mathieu,
Looks like this is a bug. Here's why
you are getting the exception.
Search API generates SQL based on your
search constructs. It uses the LibrarySession's Localizer to get String
representations of values in the search.
In this case, after converting 1234 to
string, it ended up with 1,234 which is
confusing the SQL parser.
I will look into what we need to do this.
In the meanwhile, there is a workaround.
If you can set the NumberFormat on
LibrarySession's Localizer object to
setGroupingUsed(false) and that should make
your searches work.
Try by inserting this code prior to
running the search.
LibrarySession sess;
Localizer loc = sess.getLocalizer();
NumberFormat nf = loc.getNumberFormatter();
nf.setGroupingUsed(false);
loc.setNumberFormatter(nf);
I have not tested the side effects of doing
this on other parts of iFS. You could
do the reverse to reset the NumberFormat
right after the search, so that these
changes do not affect other aspects of
iFS.
Let me know if this helps your search run.
Thanks for finding an interesting issue.
Vijay
null -
DMS Document Validity date issue.
Hello All,
I have an issue in DMS Valid from Date & Valid to date as below.
In our Document type when our document status is set to OB i.e. obsolete, in front of the status, system is showing two dates like 22.01.2014 to 31.12.9999.
We are not using change number functionality in this document type. But still system is showing two dates. When document is in RE i.e Release status system is showing 22.01.2104... date in front of the status.
Could you please let us know why it is showing two dates in front of document status.
ThanksHi,
from my point of view I can inform you that these dates are validity dates for the document. Normally these dates are filled when the document is released to show which version of the document is valid or was valid in a specific period.
By using menu "Extras" >> "Versions". Here a list of all versions should be displayed and the columns "Valid From" and "Valid to" should show the validity dates.
Normally these date values are only filled when the status has set the "release" flag in transaction DC10.
Best regards,
Christoph -
Hi Gurus,
DMS configuration done in SAP R/3 and able to see all configured document types in sap easy dms as well. But document description wrongly showing under document types.
SAP R/3 EASY DMS
Eg:1 ZSD sales document Eg 1 : ZSD material document
Eg 2 ZMM material document Eg2: ZMM sales document.
Please help me on this.
Regards,
Nithal.Hi Chandu,
Everything fine.
In SAP r/3 , document type & document description correctly given but while in EasyDMS document type picking incorrect document description. Remains no issue in easyDMS.
Please help.
Regards,
Nithal. -
DMS Connector to Portal Issue PDF files does not work
I have a general issue regarding PDF files from DMS, these files are all defect when opened through the portal (works fine through backend access), but other document types works fine (like .doc;.ppt, *.xsl etc..).
It is possible to download the file to your local pc, but still the same error occurs.
When Adobe Reader opens a info box shows The file is damaged and could not be repaired.
I have tried to update Acrobat Reader without any luck.
Any ideas on how to solve this issue?
Thanks in advance
JohnI will never understand why but in the end I rebuilt my 32 bit dell laptop from scratch and the pdf files can now be searched.
I cannot search them on a mapped drive as I was able to with Windows XP because now they must be indexed and windows 7 will seems not to allow a mapped location to be indexed which must be done to make the pdf files searchable so I have had to move the files to the local drive.
My Windows 7 64 bit systems can search the mapped drives just fine without needing to be indexed. Again I will never understand why this works and the 32 bit machine does not. -
DMS--- C Drive frontentd document storage Issue
Hello Guys,
This doubt is pertaining to DMS ,
We all know that once the originals are Saved in secured storage area inside DIR and while accessing the originals for DISPLAY /EDIT OR CHANGE mode in the front end system the copy of originals are stored automatically,
For example: i have set my Data carrier path as C:\temp\ and when ever i process a copy will get save in frontend system.
i knew its a standard practise but i was shocked seeing my C drive its completely packed with more GB of Originals.
My request to all is
1) Will not be after an year my c drive is complely jam, my system performance will get slow due to that.
2) is there any work around so that C drive dost affect and i can still store my documehts on other disk(is this advisable)?
3) Also if the design dept when they use just imagine we have transformer pro\e(igs data) which is huge in size .just 5 files occupies huge space.
This issue strucks the whole implementation of DMS...
Help me out in this regard by suggesting a suitable method to solve this issue.
Regards,
Murali.SHi,
please see the SAP note 741388 which explains how to set the OLE2 flag and avoid that the local created copy for displaying remains on your PC. Without the OLE flag the system always creates a copy under C:\temp (maintained in DC20). But with the OLE2 flag this copy will be removed after you close the display again.
To avoid completely the copy of an temporary file to your PC you can use a BADI implementation.
There exists the BAdI method DOCUMENT_FILES01~AFTER_START_APPL .
You can implement the following coding, which deletes the file even when the user is viewing the file. I hope this solution is useful for you.
method IF_EX_DOCUMENT_FILES01~AFTER_START_APPL .
DATA :
l_str_file TYPE string,
l_i_retval TYPE i.
l_str_file = TARGET_FILE-FILENAME.
CALL METHOD cl_gui_frontend_services=>file_delete
EXPORTING
filename = l_str_file
CHANGING
rc = l_i_retval
EXCEPTIONS
file_delete_failed = 1
cntl_error = 2
error_no_gui = 3
file_not_found = 4
access_denied = 5
unknown_error = 6
not_supported_by_gui = 7
wrong_parameter = 8.
endmethod.
Best regards,
Christoph
Please reward points if this is useful. -
Hi All,
Please let me some clarifications for the following 2 issues :
1) When i am going to use storage using DMS and not using the knowledge provider the what are the customization settings required.specially under "Define data carrier" tab with relevance.
2) Is it possible to customize one document type with storage under DMS & other with Knowledge provider withing the same client without any problem??
kindly reply on priority.
Regards,
Sandeep SharmaHi Sandeep,
1) all other customization in DC30 and DC20 remains same while in DC10 u need to do the following change if you are not using KPro.
under define document types, for particular document type u need to uncheck "Use KPro"
at almost bottom of the same window u need to specific File size (~1500000 or more) which indicates storage in SAP database.
2) Yes, it is possible to customize one document type with storage under DMS & other with Knowledge provider withing the same client without any problem.
When you are in need of using SAP database, uncheck Kpro and mention File Size in that particular Document type.
When u are need of using KPro, keep File Size blank and use Kpro.
Thank You,
Manoj
Pl. reward if useful. -
KM DMS connector: Configuration issue
Hi experts,
I follow this thread to configure my DMS connector:
https://forums.sdn.sap.com/thread.jspa?threadID=1411690&messageID=7884645
After that, i've moved to KM contents -> dms folder. Unfortunately, i've got the following error:
Exception Class: class java.util.MissingResourceException
Exception Message: Can't find bundle for base name com.sap.pct.plm.dmsrmconnectorforkm.modeledproperties, locale en
Could you provide me more information about this issue?
Points if helpful.
Regards,Hi,
Some suggestoins about my issue?
More precisions: First time i've tested my connector it work correctly (no error) However, i can't see only "Dynamic folder". After some modifications on my connector configuration: variant and default storage I've got the previous error.
Even come back to initial configuration i continue to get the same error.
I hope my information will be helpful.
Regards -
DMS Original File Display issue
Hello All,
This is regarding Original File dispaly issue in DMS. User is using CV04N transaction to download the file. After going in the DMS screen user is selecting the file, Right Click & select the option "Copy to". Then user select the option to save the file on Desktop. If required user change the description of the file & save it on Desktop.
But when he tries to open that file from the desktop, file is not diaplayed & does not give any error. In some cases file is taking more than 10 mins to open the file.
This issue is faced by only two users whereas on my laptop file is displayed properly without any issue.
What could be the reason behind this? Waiting for your valuable reply.
Thanks
PravinHi,
As it happens after saving the file it si probably the local system issue.Please check if the application is not corrupt or you are using the latest version of the same.
Thanks
Amulya -
Hello all,
i got a issue with my video portal appliance. when i try to make a deployment i get an error, im put this attachment with the Error Screen. I will appreciate your help.
Thanks in Advance.
Robert.The first clue is the error itself. Check to see that you have configured
the "DEPLOYMENT LOCATION" settings in the Video Portal-> Setup -> Deploy Locations
admin page.
The publishing location for all content should be an external
media server of some sort as documented here:
http://www.cisco.com/en/US/docs/video/digital_media_systems/5_x/5_0/dmm/user/guide/crconoff.html#wp1104317
Although it's true that you can push content to the video portal (usually for demos)
hosting the content on the Video Portal itself is NOT a Recommended or
TAC Supported Solution. With that said, the SFTP username is 'vpsftp' for
the video portal and the password is the same as the AAI password for
the 'admin' user.
"For DEMO purposes only:"
Here's a sample of directory configuration that is often
used in demos. Please note that the directory 'cisco'
is the Video Portal "Instance name" and can be changed
to match your specific instance:
Root URL File Directories are as follows
Flash
/dm2/www/html/cisco/dms/video_portal/media/flash
Windows
/dm2/www/html/cisco/dms/video_portal/media/windows
MPEG4/H.264
/dm2/www/html/cisco/dms/video_portal/media/mpeg4
Real
/dm2/www/html/cisco/dms/video_portal/media/real
Support
/dm2/www/html/cisco/dms/video_portal/support
Root URL Path are as follows
Flash
http:///cisco/dms/video_portal/media/flash
Windows
http:///cisco/dms/video_portal/media/windows
MPEG4/H.264
http:///cisco/dms/video_portal/media/mpeg4
Real
http:///cisco/dms/video_portal/media/real
Support
http:///cisco/dms/video_portal/support
Maybe you are looking for
-
Hi, I designed the report output includes 40 columns and 100000 rows. However, the request and opens slow in XML format on the client very slow. Please ask you one optimal solution to the problem above? (Version R12) Thank alot! Edited by: user121933
-
Auto align & distribute objects in a grid?
i love the align & distribute 'tools' i use them all the time. but it has always appeared thay they are only good for a single row of objects. is this correct or is it possible to select a 'grid' of objects and have them evenly aligned & distributed?
-
Getting "Help is not available..."
Whenever I try to access the dynamic help from inside Flash Builder, I get a dialog saying "Help is not available at this time" and "Verify that you are connected to the internet then try again". I am connected to the internet. The Adobe Community He
-
Interface trip stop not running on ship confirm
Version: 11.5.10.2. Hi Guys While ship confirming the orders, for some of them, interface trip stop is not automatically running which keeps the order status " shipped" and the order does not become eligible for running autoinvoice. We have to unassi
-
Credit card encryption-decryption
We are going in for credit card enryption.Once a credit card is encrypted,can it be decrypted back again?Is there any transaction to do that? Jen