Finding DMS documents via classification values

Hi,
I have a list of characteristic values, from which i need to find the DMS documents which use that characteristic, and have those values.
I have used table AUSP, but when i find that characteristic, the value fields are empty, therefore i don't find anything.
Could someone please help by either telling me which tables to check in order to find these values, or if there is a function module which allows you to enter a characteristic value, and find all documents using that value.
Thanks in advance.

Hi All,
We can use the function module - CV100_CLASS_SEARCH
Please refer the following example
data: wa_class type dmscls_simple_selection,
       it_class type standard table of dmscls_simple_selection.
wa_class-characteristic = 'CH_TRF_RPT'."Characteristic name
wa_class-value = 'ASDASD'."Characteristic Value
append wa_class to it_class.
clear wa_class.
call function 'CV100_CLASS_SEARCH'
   exporting
     classno                    = 'CL_DMS_RPT'"Classifcation Name/Class Name
     classtype                  = '017'"Class type
     max_hits                   = 9999
     slanguage                  = sy-langu
*   PF_LIST_TYPE               =
   tables
     tdraw                      = it_draw
    class_selection            = it_class
*   CLSC_CLASS_SELECTION       =
     stdokar                    = it_dokar
     stdoknr                    = it_doknr
     stdokvr                    = it_dokvr
     stdoktl                    = it_doktl
* EXCEPTIONS
*   NO_RESULT                  = 1
*   BAD_QUERY                  = 2
*   OTHERS                     = 3
if sy-subrc <> 0.
* Implement suitable error handling here
endif.
Note: Only fill class selection table along with importing parameters

Similar Messages

  • How to find DMS documents without object links in ABAP?

    How can I find DMS documents without object links,  in ABAP language?
    thank you

    Hi,
    this functionality is not available as on till date with sap dms and it's current version.
    Hope this will help.
    Regards,
    Ravindra

  • FM to find sales order Characteristic Classification Value

    Hi friends,
    Iam having a requirement where I have to find Sales Order Characteristic Classification Value.
    Here is the Path from where I have to get that detail.
    sales order tcode va03 --> item detail : configuration --> Character Description --> Charcater Value
    I need to fetch this character value to classify my Sales Order in programming.
    With Regards
    Bhaskar

    if you call function module VC_I_GET_CONFIGURATION, with the value VBAP-CUOBJ for the sales order line item in parameter INSTANCE, all characteristic descriptions and values will be returned in table parameter CONFIGURATION

  • Search via classification in CV04N returns incorrect documents

    When doing a search in SAP DMS CV04N using classification, and incorrect list of DIRs return. The search criteria is for one signle value, but it returns documents that does not form part of the search criteria.
    Any suggestion as to what the problem can be?
    Thanks
    Pierre

    hi,
    1. Document may be not indexed For TREX.
    2. In define Charectristics u need to maintain Class type 017, DMS, in the field Restrict.
    3. Check whether u set class and class type for perticular document type, in tc- DC10, basic data screen.
    Benakaraja
    ??P

  • How to find a text in the Frame maker document via script?

    How to find a particular text in the Frame maker document via script?

    johnsyns wrote:
    Why it doesn't work for the other days? When i tried to change the days other than wednesday. it return nothing.
    Reason why Justin's code does not work for other days is date format mask DAY returns day blank padded to 9 characters which is the longest day name which, yes you guessed right, is WEDNESDAY. You either need to blank pad or use format modifier FM:
    SQL> select *
      2    from (SELECT TO_DATE(SYSDATE+ROWNUM, 'DD-MON-YY') dt
      3            FROM DUAL CONNECT BY ROWNUM <= 27)
      4  WHERE TO_CHAR(dt,'DAY') = 'TUESDAY'
      5  /
    no rows selected
    SQL> select *
      2    from (SELECT TO_DATE(SYSDATE+ROWNUM, 'DD-MON-YY') dt
      3            FROM DUAL CONNECT BY ROWNUM <= 27)
      4  WHERE TO_CHAR(dt,'DAY') = 'TUESDAY  '
      5  /
    DT
    07-APR-09
    14-APR-09
    21-APR-09
    28-APR-09
    SQL> select *
      2    from (SELECT TO_DATE(SYSDATE+ROWNUM, 'DD-MON-YY') dt
      3            FROM DUAL CONNECT BY ROWNUM <= 27)
      4  WHERE TO_CHAR(dt,'FMDAY') = 'TUESDAY'
      5  /
    DT
    07-APR-09
    14-APR-09
    21-APR-09
    28-APR-09
    SQL> SY.

  • Payment in CJIA and document in FB03, Value not matching

    ********Reposting from FI group***********
    Dear Gurus,
    In a scenario where user has made a payment to vendor, a clearing document has been posted. The values are not martching in payment transaction, CJIA and the document disaplay FB03. Please find the screen shot as below:
    The amount paid in FB03 TC is 11,550,730.20- and  7,945,096.92.
    Whereas in CJIA report it displays 61,363,254.58- and 55,591,175.59
    Kindly Note, I have already deleted and regenerated Project cash management document via programs RFFMDL16 and RFFMRP15P, but the values displays same.
    I am not able to understand the values which are shown in TC CJIA.
    Kindly provide your input.
    Thanks and regards,
    Narender.

    HI Gokul,
    Thanks for your reply. There are no entries in table RPSCO.
    But the entries are in table COFP with BTran as KAFM and value type 57.
    Regarding your questions: Another thing that i wanted to know is whether you ran CJFN for the accounting document after doing the actual payment?
    Initially these values were displaying once the payment was done (VType 57). I tried to execute the correction programs considering there will be inconsistencies in table. But the values did not changed. After this values were displaying in VType 54 and hence I execute CJFN to display Vtype as 57 such as to bring the system display as initial condition.
    Let me know if this helps. Further inputs awaited.
    Thanks and regards,
    Narender.

  • DMS Document relationship with company code

    Hi All,
    I have to delete all DMS Documents for Document Type AAA and company code 8200. I am not able to find relationship between Document info records and company code in table level so can you please guide me How to get the relationship.
    I checked with tables : DRAW, DRAD, AUSP... but not got proper answer.
    -Thanks,
    Ajay

    Hi All,
    Thanks for your replay. This issue is resolved.
    In transaction CV04N with classification tab I have to option of Company code. I am able to get list of DIR's with company code and document type.
    -Thanks,
    Ajay

  • Link DMS document to Sales Order

    Hello -
    Currenlty, our Quality Department manually opens each applicable sales order and manually attaches a required document via the "Extras/Documents" path from within VA02 menu bar. It is extremely time consuming.
    I want to know if it is possible to automatically attach a "linked document" to a sales order after it has been saved? I'd like to create/run a batch job that loops through these sales orders, and if applicable, attaches the "linked document". DMS is setup and working and the document that I need to attach is ready. I don't know where I need to put the record of this "link". I can see all of the "links" via CV03N (Object Links/Sales Document Item), but I don't know how they get there.
    Any advice or link to documentation would be greatly appreciated.
    Thanks,
    Bryan

    Benakaraj ES -
    A few more questions with BAPI_DOCUMENT_CREATE2.
    Here is the FM. Can you assist in helping me establish which parameters I need to provide?
    Example:
    Sales Order: 2142342 with one line item.
    Document:
    TYPE: ZQN (DRAW-DOKAR)
    DOC: QZ6 (DRAW-DOKNR)
    PART: 000 (DRAW-DOKTL)
    VER: 00 (DRAW-DOKVR)                                     
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
    EXPORTING
        documentdata                           = ls_doc
        HOSTNAME                             =
        DOCBOMCHANGENUMBER     =
        DOCBOMVALIDFROM              =
        DOCBOMREVISIONLEVEL       =
        CAD_MODE                             = ' '
        PF_FTP_DEST                         = ' '
        PF_HTTP_DEST                       = ' '
    IMPORTING
        documenttype                 = lf_doctype
        documentnumber             = lf_docnumber
        documentpart                  = lf_docpart
        documentversion             = lf_docversion
        return                             = ls_return
    TABLES
        CHARACTERISTICVALUES      =
        CLASSALLOCATIONS              =
        DOCUMENTDESCRIPTIONS     =
        OBJECTLINKS                         = lt_drad
        DOCUMENTSTRUCTURE         =
        DOCUMENTFILES                   =
        LONGTEXTS                           =
        COMPONENTS                       =
    I see that there is an objectlinks table which I assume is used to create the link between the document and VA02/VA03. The underlying structure for the objectlinks table is BAPI_DOC_DRAD. I'm not clear on what values I need to add to this table when calling the BAPI_DOCUMENT_CREATE2. FM.??
    Any advice on how to fill stucture BAPI_DOC_DRAD?
    Also, I don't want to create any documents. The document already exists. I just want to establish a link. Can I do that without creating a document that already exists?
    Thanks,
    Bryan

  • DMS documents send

    Hello Experts,
    we are working in DMS Documents and my requirement is to send any type of documents (PDF, JPEG, XLS etc) to vendor using ME22N transaction.
    i have created one function module which retries document from DMS server and give hexadecimal values. i am sending this values in my Address id SO-NEW-DOCUMENT-ATT-SEND-API1 as an attachment but  i am getting the junk in the  attachment.
    could you please suggest how to send the hexadecimal string as attachment in correct format.
    please note that this is an requirement and i need to give this today to customer for testing.
    thanks
    sachin.

    Hello,
    Message : DOCMAS, CLFMAS for Classification
    Establish an ALE Interface and configure the above mentioned message and transfer the DIS by program RBDSEDOC.
    For further details refer to the book: ALE,EDI and IDocs by Arvind Nagpal
    or
    SAP help.
    Hope this helps you.
    Best Regards, Murugesh AS

  • DMS Connector & using classification in variant

    Hi-
    Does anyone know if you use classification values (class and characteristics) in the definition of your KM DMS connector variant if the connector reads them? 
    Or is there a trick to have the connector recognize that classification values have been entered? 
    For our connector, it seems that the classification entries are ignored.
    Thanks!
    -Jenn

    Hi
    I've seen reference to a SAP-DMS Configuration document.
    I'm looking for the implementation Guide for Document Management.
    Does anyone have a link.
    Please send it to [email protected]
    Regards,

  • Generate change documents for characteristic value changes in material master

    Hello,
    I am currently using material class (class type: 001) and assign some characteristics to material master. I am going to create a query/custom report to track all changes in the characteristic values in that material master. However, I could not find any change document in CDHDR table.
    I have activated "Change Docs" parameter in class type 001 customizing as described in SAP note: 65124 Classification Change Documents as follow:
    Is it possible to generate change documents for characteristic values in material master?
    Regards,
    Julian

    Hi Rajen,
    Thanks for your reply. It seems that I missed one more step in the customizing. Once the multiple object is activated, I need to activate the change document parameter for each assigned object.
    Thread closed.
    Regards,
    Julian

  • Error  received while cancelled inoice document via MR8M

    Dear Expert,
    User post the invoice wrongly  in the system with posting  date as 01.10.2011 and  invoice date  is 15.03.2011(Last Fiscal Year).
    Now when user try to calceled the document via MR8M he  received error  as "Item 010 order 205460 budget exceed." (In document item 010 Order 205460, budget  for fiscal year 2010 was exceeded by 238,360.00 INR.)
    Budget for the year 2010 is  already carried forward to the new year 2011. I am unable to find reason via user  receiving this  error.
    Please advise on the same.
    Thanks
    Rohan

    Hi,
    I assume you had transferred all the commitments form fiscal year 2010 to fiscal year 2011 you will surely get the error message of budget exceeded in the year 2011 .You will will have to transfer the budget of the year 2010 also or you may update the current budget .I f you do not want the error message,you will have to first deactivate the Project budget using T code CJBW & after reversing then activate the Project budget using T code CJBV.
    Hope it may help you.
    Kuber

  • How to find out the max/min value of one field corresponding to a second field in HANA through graphical way.

    Hi,
    I am trying to find out the latest delivery date(EINDT)  for each purchasing document (EBELN) through graphical way.
    The view contains other fields apart from the above mentioned two fields.
    When only the two fields (EBELN, EINDT) are there, then in semantics, I can select 'Max' as aggregation to get the maximum value for each document.
    If I do like this, then I need to join more than 3 views and also so many joins in calculation view. Taking so much time for data preview.
    Hence , please help me in getting the solution while the view contains other fields also.
    Thanks in advance.
    Thanks,
    Jyothirmayi

    Hi Sreehari/Vinoth,
    Thank you for your replies.
    if only two fields are then I can get the max/min values of one field corresponding to other field.
    But more than two fields are there with different values, then let me know how to find out the max/min value of a particular filed corresponding to the 2nd field with other fields also should be in the output.
    I hope you understood my issue.Please revert in case of questions.
    Thanks & Regards,
    Jyothirmayi

  • ERS generated document with zero value for SES

    Hi,
    I have maintained service entry sheet.
    Accounting entry is generated.
    When I run T code MRRL, it has generated document with zero value.
    This is not a free goods PO.
    Why this is happening?
    Please guide on this issue.
    Regards,
    Piyush

    Hi,
    Creating an ERS zero document is an expected system behavior ,you           
    could create an ERS zero document by doing the following wrong           
    procedure:                                                                               
    1. Create PO with ERS falg ON.                                           
    2. Perform GR for PO.                                                    
    3. Create the invoice by MIRO.(Not MRRL).                                
    4. Run MRRL (LIV-ERS).                                                                               
    For every purchase order with flag 'ERS' a table entry is generated.     
    If a goods receipt is posted, this GR should be invoiced via ERS         
    (Tr. MRRL). Manually posted invoices should be avoided, because          
    the table entry will not be deleted. A new invoice receipt must be       
    created while running ERS (but with amount and quantity zero and without 
    FI documents) in order to give a message to the vendor because he        
    has sent you an invoice by mistake.                                      
    Could you please check also the note:1069215
    Best regards
    Erika

  • DMS document output in SOP report

    Hi all,
    I want to OUTPUT a DMS document in SOP Report template. But it is not reflecting in my SOP report  though I have fullfilled the prerequisites.Here are my steps that i carried out
    1)  I have linked the DMS doc. in a value assignment in user defined text.
    2) The DMS document type is SBV.
    3) The required document indicator tick is alos ensured in specify user defined text types in BASIC DATA & TOOLS in customizing.
    3)It is also ensured that the EHS <> DMS doc types are linked in customizing.
    4) I put the symbol in wwi report template under GESTDHEADE HEADER User-defined text .
    But when I run the preview (cg42) the space where I have assigned the symbol is blank.
    I even tried to put my required data in Long text in user defined text tab assigning REMARKS as user defined text type but there is no output in  REPORT when i carry out preview.
    Requesting your  comment what shall be the cause of this .
    Regards,
    Ashish pradhan

    Hello all
    the document type SBV should not be used or used only carefully regarding this. I recommend to use a customer specific document type. SBV is related to WWI report templates. Furthermore make sure that generation variant fits usage of data record in which you have set up the document which is located in the user defined text (Active indicator of usage must be set). I know cases in the area of access problemes so that the WWI could not retrieve the user defined document. PLease make sure that you have "checked" WWI layout without error (WWI Check).
    PLease check this:
    if you have uploaded e.g. an rtf file and created a value assignment and you have uploaded the document to be stored in the user defined text than the document is "there". That means: in this process the SAP EH&S process generate a new unique id which should show up in the user defined text (there somthing like this should show up: SBV WWI 0000111223 numbers...)
    Using this unique ID you can check if the document is really in DMS available. Furthermore depending on the EH&S release (support package etc.) you could check this. If you "click" with the mouse key on the unique id (refer above) the SAP EH&S system should upload directly to your client computer the document and start immediatly the corresponding application (e.g. word etc.) . In doing so you can check if the document is "really" there
    May be you need to check further DMS customizing. E.g. depending on the document you have used in upload there is a missing link to the "type" of document. .E.g. the EXCEL macro regarding standard SAP output variant links to I believe a seperate document type
    Hope that helps
    With best regards
    CB

Maybe you are looking for