How to clear documents in SAP-CM/CD

Hi all,
We need to add a new payment item to a claim that can be reassigned to another claim number.
We followed the outlined steps.
1.  Create new claim - ICLCDC01
2.  Add claim item(s)
3.  Pay out on claimed item(s)
4.  Save claim and exit
5.  Do payment run in CD - -FPY1.
But the document is still open. Can anyone throw some light on as to how to clear the document.
Thanks in advance,
Cherian

Hi Godhuli,
You can call transaction <b>RSRCACHE</b> and you can delete all; In OSS Note 456068, you can find all the issues related to this kind of problem
You can also refer oss notes 679609,779015 for OLAP cache invalidation.
Awarding points is the way of saying thanks in SDN!!!
Regards,
Balaji

Similar Messages

  • How to clear documents and data for third party applications

    Anyone can help me how to clear the documents and data for apps like facebook , i tried to delete the app and re-install but there is no change , please advise ,
    thank you.

    Manage the data on the device via iTunes.

  • How does clearing document works?

    Dear Experts,
    Would like to ask if there is a link that gives information on how does clearing of document works in FI.
    Thanks in advance.
    Kath

    Hi,
    BKPF - Period and fiscal year data
    BSEG- Here you will have complete line items information with the clearing document as well.
    Refer the fileds BSEG-BELNR,BUZEI,AUGBL-> Just check the combination of BELNR & AUGBL as input in the table selection you will find the BELNR & AUGBL combination variation.
    For exapmple  if any open item doc (Fi doc) is cleared then it will genertaes a clearing document.
    There are so many scenarios where we will get the clearing document concept. That depeneds on the scenario base.
    BR,
    Rajani

  • How to clear Cache in SAP BW

    Hi All,
    i changed 1 .js file in mime repository, but the changes are not getting reflected when i run 1 of the WAD templates. it still picks the old .js file. i guess there is some problem related to clearing of cache memory.
    Any ideas about how to clear cache in BW?
    Thnx in advance
    Godhuli

    Hi Godhuli,
    You can call transaction <b>RSRCACHE</b> and you can delete all; In OSS Note 456068, you can find all the issues related to this kind of problem
    You can also refer oss notes 679609,779015 for OLAP cache invalidation.
    Awarding points is the way of saying thanks in SDN!!!
    Regards,
    Balaji

  • How to clear Documents using XBLNR(Reference field) through Manual BRS-FF67

    I want to clear GL line items in clearing account using Manual BRS(FF67) with reference to "XBLNR" field(Reference). IS there any standard Algorithm which SAP provided for reference field or if we want to develop ne algorithm then how to create.
    Thank in advance.
    Best Regards
    Raj

    Hello Raj,
    It is not possible to clear an open item on a g/l account via the
    reference document number. The automatic clearing with interpretation
    algorithm 021/001 only takes place, if the item, which should be cleared
    is on a customer/vendor account. So it could never find open G/L items.
    The reason is that the reference number is usually not unique
    so it could lead to wrong clearings.
    A workaround therefore would be to use:
    a) another interpretation algorithm depending on the note to payee
       data are available.
    b) the user exit 1 (described in note 494777, point 1) if there are
       no other information available as the reference number.
    c) the report SAPF124/E to clear these items afterwards. Then the bank
       statement should only post FB01 without clearing. The requirements
       are criteria to assign and clear the suitable items.
    Regards,
    Renan

  • How to Attach Document in SAP Mail

    hi
       I want to attach a document in the SAP mail, but it should open in the SAP itself.like ALV grid FOrmat.
    Thanks in advance.

    Hi,
    Try this m not very sure this is wht u reqd or not???
    DATA method1 LIKE sy-ucomm.
    DATA g_user LIKE soudnamei1.
    DATA g_user_data LIKE soudatai1.
    DATA g_owner LIKE soud-usrnam.
    DATA g_receipients LIKE soos1 OCCURS 0 WITH HEADER LINE.
    DATA g_document LIKE sood4 .
    DATA g_header LIKE sood2.
    DATA g_folmam LIKE sofm2.
    DATA g_objcnt LIKE soli OCCURS 0 WITH HEADER LINE.
    DATA g_objhead LIKE soli OCCURS 0 WITH HEADER LINE.
    DATA g_objpara LIKE selc OCCURS 0 WITH HEADER LINE.
    DATA g_objparb LIKE soop1 OCCURS 0 WITH HEADER LINE.
    DATA g_attachments LIKE sood5 OCCURS 0 WITH HEADER LINE.
    DATA g_references LIKE soxrl OCCURS 0 WITH HEADER LINE.
    DATA g_authority LIKE sofa-usracc.
    DATA g_ref_document LIKE sood4.
    DATA g_new_parent LIKE soodk.
    DATA: BEGIN OF g_files OCCURS 10 ,
            text(4096) TYPE c,
          END OF g_files.
    DATA: fold_number(12) TYPE c,
          fold_yr(2) TYPE c,
          fold_type(3) TYPE c.
    PARAMETERS ws_file(4096) TYPE c DEFAULT 'c:\ Vikalp Solutions'.
    Can be any file from your pc....either xls or word or ppt etc...
    g_user-sapname = sy-uname.
    CALL FUNCTION 'SO_USER_READ_API1'
    EXPORTING
       user                            = g_user
       PREPARE_FOR_FOLDER_ACCESS       = ' '
    IMPORTING
       user_data                       = g_user_data
    EXCEPTIONS
       USER_NOT_EXIST                  = 1
       PARAMETER_ERROR                 = 2
       X_ERROR                         = 3
       OTHERS                          = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    fold_type = g_user_data-outboxfol+0(3).
    fold_yr = g_user_data-outboxfol+3(2).
    fold_number = g_user_data-outboxfol+5(12).
    CLEAR g_files.
    REFRESH : g_objcnt,
              g_objhead,
              g_objpara,
              g_objparb,
              g_receipients,
              g_attachments,
              g_references,
              g_files.
    method1 = 'SAVE'.
    g_document-foltp  = fold_type.
    g_document-folyr   = fold_yr.
    g_document-folno   = fold_number.
    g_document-objtp   = g_user_data-object_typ.
    *g_document-OBJYR   = '27'.
    *g_document-OBJNO   = '000000002365'.
    *g_document-OBJNAM = 'MESSAGE'.
    g_document-objdes   = 'testing by program'.
    g_document-folrg   = 'O'.
    *g_document-okcode   = 'CHNG'.
    g_document-objlen = '0'.
    g_document-file_ext = 'TXT'.
    g_header-objdes =  'testing by program'.
    g_header-file_ext = 'TXT'.
    CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
      EXPORTING
        method            = method1
       office_user        = sy-uname
       ref_document       = g_ref_document
       new_parent         = g_new_parent
    IMPORTING
       authority          =  g_authority
    TABLES
       objcont            = g_objcnt
       objhead            = g_objhead
       objpara            = g_objpara
       objparb            = g_objparb
       recipients         = g_receipients
       attachments        = g_attachments
       references         = g_references
       files              = g_files
      CHANGING
        document          = g_document
       header_data        = g_header
      FOLMEM_DATA        =
      RECEIVE_DATA       =
    File from the pc to send...
    method1 = 'ATTCREATEFROMPC'.
    g_files-text = ws_file.
    APPEND g_files.
    CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
         EXPORTING
              method       = method1
              office_user  = g_owner
              ref_document = g_ref_document
              new_parent   = g_new_parent
         IMPORTING
              authority    = g_authority
         TABLES
              objcont      = g_objcnt
              objhead      = g_objhead
              objpara      = g_objpara
              objparb      = g_objparb
              recipients   = g_receipients
              attachments  = g_attachments
              references   = g_references
              files        = g_files
         CHANGING
              document     = g_document
              header_data  = g_header.
    method1 = 'SEND'.
    g_receipients-recnam = 'MK085'.
    g_receipients-recesc = 'B'.
    g_receipients-sndex = 'X'.
    APPEND g_receipients.
    CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
         EXPORTING
              method       = method1
              office_user  = g_owner
              ref_document = g_ref_document
              new_parent   = g_new_parent
         IMPORTING
              authority    = g_authority
         TABLES
              objcont      = g_objcnt
              objhead      = g_objhead
              objpara      = g_objpara
              objparb      = g_objparb
              recipients   = g_receipients
              attachments  = g_attachments
              references   = g_references
              files        = g_files
         CHANGING
              document     = g_document
              header_data  = g_header.
    Hope this helps u.
    Thanks.
    Seema.

  • How to get documents from SAP KM in java

    Hi Everyone
                    I want to get  the SAP KM data to a simple java class......I am able to get this with servlet but i want not a servlet but a simple java class that can get the Documents stored in SAP KM repository..................
    I am thinking of using any java Driver in some code like
    Class.forName ("com.sap.dbtech.jdbc.DriverSapDB");
                        String url = "http://host name :port";
                        Connection con = DriverManager.getConnection (url, "", "");
                        Statement stmt = con.createStatement ();
                   IUser serviceUser = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
                   ResourceContext c = new ResourceContext(serviceUser);
                   IResource r = ResourceFactory.getInstance().getResource(RID.getRID("/documents/Public Documents/"), c);
                   System.out.println("Current user   "+r.getContext().getUser().getDisplayName());
                   System.out.println("Current user  : "+r.getContext().getUser().getDisplayName());
                   System.out.println("Access RID  : "r.getAccessRID().toString()"<br>");
    But the above code is giving an exception---java.sql.SQLException: No suitable driver
    Can anyone tell me the suotable Lava driver to access SAP KM repository..Or any simple java code that can connect to SAP KM...
    Waiting for Ur reply
    Thanks & Regards
    Rupesh

    I am not sure why you need a JDBC driver for doing that.. You can get it using the following itself. If you have a DB only repository, the underlying API of KM will make the DB connection for you and get the content.
    Here is what you should be doing
             IUser serviceUser = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");
             ResourceContext ctx = new ResourceContext(serviceUser );
             RID resRid = RID.getRID("<yourfilepath>");
             IResource resource = ResourceFactory.getInstance().getResource(resRid, ctx);
             //Finally you can read the stream from the resource
             resource.getContent().getInputStream();

  • How to clear documents

    HI Experts,
    My user has documents got posted in gl account with document type WE.
    Where she can clear this?
    i mean t-code..
    thanks,
    Uma

    HI,
    I have tried to clear in F_03 but system throwing below error
    "GR/IR clearing account can no be cleared manually"
    all the documents with G/L account is GR documents.
    can you please tell me where can i clear this.
    Thanks,
    vani

  • How to clear documents and data storage

    I cannot seem to get 6.08 worth of Gb off of my documents and data someone help!

    Manage the data on the device via iTunes.

  • How to Download documents from SAP Teched site

    Hi All,
    I have a user id and password. Please let me know the download procedure to download teched sessions from Teched site.
    Thanks in Advance.
    Kalyani.

    hi
    once you go to the teched site you can find the option  to download the presentations and exercises from tesh ed site.
    click on education sessions to get he list of session and demos.
    check below link for accessing saptech ed site
    http://www.sapteched.com/09/usa/edu_sessions/home.htm
    hope this helps
    regards
    santosh

  • Difference in clearing documents

    Hi,
    I would like to ask for help with the following problem. When posting the clearing (eg. clearing of Vendor Invoices X Bank payments on vendor account) the clearing documents are posted in two ways:
    Example clearing of two documents (invoice and payment) in amount of 100 in document currency.
    In the first way the clearing document is posted in document currency:
    DR: 100
    CR: 100
    In the second way the clearing document is posted in document currency:
    DR: 0
    CR: 0
    I am not able to find out how sap decides in which way to post clearing document.
    I checked the cleared documents and never found out any difference which could cause the way of posting of the clearing document.
    Thank you,
    Jan

    Hi Neeraj,
    Thanks for you reply.
    This is actually not the case. As I have difference in two clearing documents which clear items on the same vendor and bank account.
    However I found out the difference which causes the difference in the way of posting. In our system we have Local currency 2 and Local currency 3.
    In case there is automatically posted Forex Gain/Loss in different way for LC2 and LC3 (ie Gain on LC2 and Loss on LC3 or other way round) on one document the way of posting in Document Currency is:
    DR: 100
    KR:100
    In case there is automatically posted Forex Gain/Loss in the same way for LC2 and LC3 (ie Gain on LC2 and LC3 or Loss on LC2 and LC3) the posting in Document Currency is
    DR:0
    KR:0
    This is not very logical to me. But it is the way it works.
    Does anybody know if there is any way how to change the settings for the way how the clearing documents are posted?
    Thank you,
    Jan

  • Linking of FI clearing document to its scanned image stored in Open Test

    Hello Gurus,
    I have a requirement in which scanned copy of clearing document which is stored using Open text should be linked to the clearing document in SAP. I am new to this concept, can anyone help me with how to go about this. I am suppose to write a custom program as there is custom logic for selecting the clearing document for this.. how should I go about this??
    thanks for all the help..
    Thanks and Regards,
    Saurabh Chhatre

    i have emergency guys.. please help...
    - Saurabh

  • Clearing document and offseting document

    Dear expert,
    Would like to seek for your advise, why clearing document with status clearing had no line item appear/posted in the document and document type DL-AR Bill offset with document status A=clearing document also do not had line item in the document.
    Also vendor payment document type= KZ with document status=A (clearing document)  do not had line item in the document.
    Kindly also advise how the clearing document work/posting and also the reversal of the noted item document do not had line item?
    Please help.
    Regards,
    KH

    Hi Prakash,
    Thank you for tne reply.
    My question as below:
    1)Why clearing document with document status=A there is no line item in the document?
    2)Why some of the clearing document will have line item in the document?
    3)Does clearing document with document status=A which is without line item  int the document will store/post to table BKPF only and will not post to BSEG table?
    Hope you will understand my question.
    Many thanks.
    Regards,
    KH

  • Archiving documents in SAP Records Management

    Hello experts,
    Does anybody know how to archive documents in SAP Records Management? By default, they are stored somewhere in SAP database. However, based on the SAP documentation, they can be stored also to archive by using ArchiveLink. Where is this configuration done and how? Or do we need some coding here?
    I'm interested in two different solutions:
    1) Document will be stored on an archive server right from the start. By doing this, I no longer need to move the document content myself.
    2) Moving existing Records Management documents to archive. I know there is a program SRM_KPRO_CONTENT_RELOCATION for this purpose, but it doesn't seem to be working without some archiving/RM configuration before somewhere else.
    We are using Records Management as part of Digital Personnel Files and the documents to be archived are completed Adobe forms.
    Best Regards,
    JV

    Hi JV,
    You need to define the repository in OAC0 transaction. As per my analysis now your document are stored in sap database.
    If you are using separate serever then confuigure as follows in OAC0:
    Document area : SAP Records Management
    Storgae type : RFC Archive
    define IP address and port. Then goto CSADMIN and activate the certificate for the same.
    or if using SAP Database then make the changes in above areas.
    Then these archived documents will get saved in content server instead of sap database.
    Hope this will help.
    Regards,
    Ravindra

  • Attachement for clearing documents

    Hello!
    I want in a ABAP program send a SapScript form to the SER archive and the attach the archiv shortcut to the clearing document.
    As I understand it, I must only attach the form into the attachmentlist of the clearing document. SAP send the form then the form automatically to the archive.
    I tried to debug the standard but do not find somthing there.
    And I tried to find a function module with the same result.
    Thanks and Regards,
    Miriam Gerstacker

    I have the same question as you ,  please tell me if you had known , thanks !
    Edited by: HB WANG on Mar 4, 2008 4:08 PM

Maybe you are looking for