on 02-14-2016 10:39 AM
Hi Everyone,
I am using ''BAPI_DOCUMENT_GETLIST2" to search for documents present in the DMS documentum server.
Object search is carried out as OR-search and all documents are received which are linked to one of the entered objects or all objects.
What i am expecting to match all the conditions/Object links and perform a AND search.
I also came across a blog discuss this.
http://wiki.scn.sap.com/wiki/display/PLM/2.+Document+Search+-+Functionalities
Is there any SAP note on this regard ?
Please share your thoughts.
Regards
Prabaharan
Dear all,
Could anyone see the issue above here here ?
Appreciate your help !
Regards
Prabaharan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neyeemur,
I am not searching for documents based on texts instead it is based on Object links. It is passed into the BAPI to the argurement as shown below. Please suggest.
*Fetch list of Documents
CALL FUNCTION 'BAPI_DOCUMENT_GETLIST2'
EXPORTING
select_documentdata = ls_documentdata_dms
language = iv_language
language_iso = iv_language_iso
maxrows = iv_maxrows
fulltext_searchstring = iv_fulltext_searchstring
fulltext_and = iv_fulltext_and
fulltext_or = iv_fulltext_or
fulltext_searchtype = iv_fulltext_searchtype
get_fulltext_active = iv_get_fulltext_active
fulltext_active = iv_fulltext_active
classtype = iv_classtype
classno = iv_classnumber
getdocdata = 'X'
getobjectlinks = 'X'
getdocdescriptions = 'X'
getlongtexts = 'X'
getstatuslog = iv_getstatuslog
getdocfiles = 'X'
getcomponents = 'X'
getclassification = 'X'
getstructures = iv_getstructure
getwhereused = iv_getwhereused
folder_key = is_folder_key
latest = iv_latest
latestreleased = iv_latestreleased
IMPORTING
return = cs_return
foundrows = cv_foundrows
e_fulltext_active = cv_fulltext_active
TABLES
docnumberselection = int_docnumberselection
documentdata = int_documentdata_dms
objlinkselection = int_objectlink_selection
objectlinks = ct_objectlinks
classnumrange = ct_classnumrange
class_selection = int_class_selection
alloclist = ct_alloclist
documentdescriptions = ct_documentdescriptions
longtexts = ct_longtexts
statuslog = ct_statuslog
documentfiles = ct_documentfiles
components = ct_components
characteristicvalues = int_char_val
classallocations = int_classallocations
documentstructures = ct_documentstructure
whereusedlists = ct_whereusedlist
all_returns = ct_all_returns .
Regards
Prabaharan Asokan
Hi Neeyeemur,
Search logic in reference to object links was changed in release ERP2005. Before this search was carried out as a AND-search which means that if you enter more than one object the system search for document info records which are linked to both objects.
This was not very user-friendly as most of the customer expected to get all documents which are linked to at least one of the entered objects. Therefore the system design was changed now the object search is carried out as OR-search and all documents are
received which are linked to one of the entered objects or all objects.
Now i am looking for the inverse scenario mentioned above. Require a AND search instead of OR when passing multiple selections (entries) in Object Links selection
Please suggest .
Regards
Prabaharan
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.