FM for Document Relationship in Archive

Hi All
There is a transaction ALO1 which shows me the relationship of an archived invoice.
How can I reuse this in my own program? Anybody some experiance? I have my invoice archived, but there is no VBFA Object available in the archive. But ALO1 is able to find me the related shippings and orders. No clue, how.
Thank you for any hint
Herbert

I found that the FM ASH_HIERARCHY_SHOW shows me the hierarchy.
But how can I now get for example the order number?

Similar Messages

  • CRM Copy control: CRM_COPY_BADI for document relationship

    Hello!
    I need CRM copy control from an opportunity to another opportunity. The implementation of badi CRM_COPY_BADI should include document relationships: target document should be related to the same documents linked in the source document.
    I cannot find a method to do this.
    Please, could anyone suggest me a solution?
    Thank you.
    Kind regards.
    Elena

    Hello Elena,
    Please follow the steps below:
    1) Go to transaction CRMV_EVENT
        Click on "Object Function/Callback" button
        Create a new entry with following values:
        Function Module: ZCRM_DOCFLOW_COPY_EC
        Object Function: CRM_DOC_FLOW
    2) Go to IMG Path: Customer Relationship Management -> Transactions -> Basic Settings -> Edit Event Handler Table :
    Here create a new entry with the following details
    Trans. Category       BUS2000111     Opportunity
    Execution Time        1                                Immediately
    Priority                    99
    Object Name            ORDERADM_I                       Administration item
    Event                       AFTER_CREATE_WITH_REFERENCE
    Attribute                   <*>
    Function                  ZCRM_DOCFLOW_COPY_EC
    Perform Function for Doc.Header = "Checked"
    Perform Function for Document Item = "Checked"
    Call Callback = space
    3) Create function module ZCRM_DOCFLOW_COPY_EC with the following signature:
    *"  IMPORTING
    *"     REFERENCE(IV_STRVAL_OLD) TYPE  ANY OPTIONAL
    *"     REFERENCE(IV_STRVAL_NEW) TYPE  ANY OPTIONAL
    **Code:
    DATA:
      FIELD-SYMBOLS:
              <ls_orderadm_i_wrk>  TYPE crmt_orderadm_i_wrk,
              <lu_orderadm_i_wrk>  TYPE crmt_orderadm_i_wrk.
      ASSIGN iv_strval_new TO <ls_orderadm_i_wrk>.
      ASSIGN iv_strval_old TO <lu_orderadm_i_wrk>.
    4) Now in this function module you can read the docflow of old opportunity (<lu_orderadm_i_wrk>) using 'CRM_DOC_FLOW_READ_OB'
    Build the new docflow entry for the new opportunity and call 'CRM_DOC_FLOW_MAINTAIN_OW'
    Please let me know if any questions.
    Thanks,
    Sandeep

  • Mime Type for document class when archiving outlook emails

    Hello team,
    can anybody fill me in how to configue the mime type for .msg files (outlook emails) in the document class msg?

    1) Use SE16 to change table V_TOADD
    2) Add:
    Document Class                 - MSG
    Description                         - Outlook Mail
    MIME type of a Web object - message/rfc822
    You can then associate the MSG document class to document types.
    Eli.

  • Logical repositories for Document Archiving

    Hi.
    We are changing all our content repositories to Logical Repositories and it has worked 100% for data archiving objects. (No more re-customizing after a copy) But this does not seem to work for Document archiving.
    OAC3, field Cont.Rep.ID only sees selective repositories. Investigation showed that table TOAAR only caters for 2 CHAR on the ARCHIV_ID, which is fine in our case, because the logical repositories have been created as such. TOAAR however does not contain the logical repository entries.
    Please advise how we can proceed to also make use of logical repositories for Document archiving.
    Thanks

    Come on guys, there must surely be somebody that knows something about the use of Logical repositories with Document Archiving.
    If somebody can shed some light, it will be highly appreciated.
    Thanks

  • Repository A2 is already used for document area DATAARCH (Data Archiving].

    Dear ALL,
    Actually I am getting probelem Photo configuration in back end.
    I am using Transaction SM31 maitaining the table TOAAR_C, here I am getting probelem  'Content Repository Identification' (A2), here i am getting below error.
    Repository A2 is already used for document area DATAARCH (Data Archiving].
    Please look in to issue.
    Regards,
    venkat

    Jürgen - your answer was very helpful and I'm sure I'm now in the right direction!
    However I still have an issue:
    When the write job is finished and before deleting and storage, the archive file is not accessible - and then I am not able to continue with deletion and storage.
    An example:
    Filename: RMM_EKKO11180104855_CLL
    Logical path: ARCHIVE_GLOBAL_PATH_WITH_ARCHIVE_LINK
    Physical file name: E:SAPContRepZ5RMM_EKKO11180104855_CLL
    E:SAPContRepZ5 is the root of the content repository and should according to the documentation contain the file during the delete phase and until final storage in the repository. But there is no file there.
    In the log of the write job there are the following entries:
    Job started
    Step 001 started (program RM06EW70, variant Z_DEMO_7, user ID CLL)
    Reading purchasing documents
    Archiving session 000913 is being created
    Path:
    Name for new archive file: RMM_EKKO11180104855_CLL
    1 of 1 purchasing documents processed
    Job finished
    I am a little concern about that no path is written to the job log - could maybe mean something.
    Any ideas?
    Thanks,
    Claus.

  • 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

  • Accounting document relationship to find intermediate document in FI-SL

    Hi all,
    I'm working in FI-SL and specially, on Drill-down from FI-SL document.
    My customer has a distributed system by ALE transfer with many other SAP Sytem.
    But I have one problem, when I try to drill-down these documents created by ALE, I have an error message "Original document is not in local system ".
    it's normal because, I only have the original document number but I haven't an intermediate document (My accounting document).
    So I would like to know if you know the function module's name used by SAP in Document relationship ?
    Thank you for any help.
    Gilles.

    Thank's Vikas.
    But I could tell you, It's normal behaviour of FI-SL. When you have one document which was created in another System, in FI-SL standard field, you only have the original document informations.
    Thus, you could not use the drill-down by GD13, for example, because it's not the right system. The original document was not created in the local system.
    Anyway, I just would like to know the name of function module,"Display Relationship" used by SAP in FB03. Because, it's only object which works with all documents created, from original document to last object.
    Thank you.
    Best regards,
    Gilles.

  • A  FI document has been archived can it be reversed through FB08

    A  FI document has been archived can it be reversed through FB08. I am not talking of Unarchiving.

    Hi ,
    I think we need to  enhance our understanding regarding fundamental concept for resolving the above issue  . All documents in SAP are based upon Document principal. According to which we  create number ranges for business transaction e.g.  'AB' , 'DR' , 'DZ' , 'KZ' , 'KR' using the tcode FBN1N.
    Once posting has been made to the g/l account  for ( credit or debit memo , vendor or customer payment )  and a reverse entry is required. This will lead to the creation of reverse document type having different number range.
    e.g Reverse MIRO is done and later GOODS RECEIPT Note is reversed in case of wrong entry.
    Once the document gets reversed following are the principals which have to be followed
    SAP R/3 can reverse a SAP document only if the following conditions are satisfied:
    - It contains no cleared items
    - It contains only vendor, customer, or G/L line items
    - It was posted within the SAP FI system
    - It contains only valid values, such as business areas, cost centres, and tax codes.
    Please refer to the link below
    http://saptrainingtutorial.com/reversal-of-sap-fi-accounting-document.html
    Data  archiving is used for removing the out of date  data.
    1) Archived file gets created using object using transaction AOBJ and object - FI_DOCUMNT
    2) Variant gets created by defining the company code , document type , fiscal year
    3) File would be deleted
    Please refer to the link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20b94062-e43b-2c10-6c8a-ffe7a08db1a4?quicklink=index&overridelayout=true
    The archived data would be stored depending upon a storage strategy which would include
       a) storage cost
       b) operation cost
       d) purchase cost
        Thus the cluster tables like BKPF , BSEG  has to be taken into consideration. However, we know that these table have   secondary indexes table e.g BSKD  . Therefore the archiving  principle would be considered e.g cleared item.
    In case of open item the entries need to be updated would create complexity of the scenario as there could be pitfall while creating field catalog
    http://www.sap-press.de/download/dateien/1262/sappress_archiving_data.pdf
    Thanks
    RAJAT KUAMR SHARMA

  • Authorizations for document management

    Hi,
    I'm trying to figure out what every authorization means and which effects it has...
    I created a new user, gave him all the necessary authorizations to use certain transactions in Document management by making a new role/profile for him
    After trying everything out, I still have a few questions:
    - with Authorization for change object link (C_DRAD_OBJ)I have the following properties:
    Activity: change, display
    document type: DRM-DRM
    linked SAP object: *
    document status: *
    I know how to display my object link, but how can I change it? <b>Do they mean with changing the object link, the creating of long text for the link or is there more to it?</b>
    - with authorization for document access (C_DRAW_DOK), I can't figure out what the options "Display Application archive" and "Change application archive" mean.  Which effect does it have when I choose them? Where do I consult the application archive? What is the application archive? => SOLVED
    - Do I also have to give the authorization "Display" when I want to give the authorization to delete something?  How can I delete a document info record without displaying it? =>SOLVED
    - <b>With "Status dependent authorizations for documents" (C_DRAW_TCS) what do the following options do?</b>
            *change application start (which difference with change?)=>SOLVED
    display application start (which difference with display)=>SOLVED
            *<b>request</b>
            *display archive =>SOLVED
            *change archive=>SOLVED
    I know it are a lot of questions but I'm making documentation on the authorization profiles of document management and when I figured those few last things out, I can share my documentation with the rest of you...
    Message was edited by: Vicky Liesens

    Good morning,
    Havent been watching this thread for some time now, so please shout if you do have any questions.
    Just a quick note on deleting documents:
    Setting the deletion indicator will simply mark the DIR for deletion, but, it will still be on the dB.
    After you have set the DIR for deletion, you need to run the program "MCDOKDEL", which has a test mode and a real mode.
    This program will physically delete the documents that you have marked for deletion.
    Regards,
    Freddie Botha
    www.documation.co.za
    SAP DMS, CAD Integration, Data Archiving, Imaging and Scanning and Workflow
    [email protected]

  • FI-MM document relationship tables?

    Are there tables where I can find the relationship of the FI Invoice with the MM Invoice and the GR document. Basically, I want to find the FI Goods receipt document from the FI Invoice document.
    In FI document display, the Document relationship browser gives me this information. But I want to know the table relationships or logic. Can anyone help?
    Thanks,

    Hello Vishal,
    The main tables related to invoice is RSEG. for more information on table relation, please have a look on the first thread of MM forum which will give table information.
    Hope this helps.
    Regards
    Arif Mansuri

  • Return Delivery when the material document has been archived

    Hi There,
    We have a situation in which we need to return some consignment material to a vendor because we don't need it anymore. We have 74 units in unrestricted stock. The thing is that the PO's material documents have been archived. This causes we can't do the return delivery using MIGO transaction.  
    Could someone tell me what options do I have?
    Thanks for your help.
    Luis

    Hi,
    You can create a return purchase order to do that, just flag the checkbox "Return" in the PO item line.
    Good luck
    Tao

  • Where to configure retention period for document type ?

    Hi Experts,
    In SAP DMS, once we set a Retention period, after that period document can be deleted or archived automatically.
    can anybody tell me , where to configure this retention period and how document gets archived or deleted after this period.
    Kind Regards,
    Sunil

    Supplementing Senthil's inputs, you may also explore setting the deletion indicator on for the DIR's you no longer wish to retain prior to running the z-program.This can be achieved by adding the function module DMS_PROC_DOC_DELETE in the "Start processing" node.(SPRO > CA Components > DMS > General Data >  'Start Processing for Documents').
    On enabling this FM, in CV04n results screen, use the button 'Process' to set the Mass Deletion indicator on for relevant DIR's. You may then run the deletion program in the background for the above selected DIR's.
    Hope this helps.
    Regards,
    Pradeepkumar Haragoldavar
    Edited by: Pradeepkumar  Haragoldavar on Aug 24, 2010 5:55 AM

  • Metadata for UK Museum digital archive

    I'm involved in a project for a provincial museum, which will produce quite a lot of digital material in several forms for an archive.
    One of the subjects I have become aware of is that of systematic metadata tags. Problem is, there seems to be more than a couple of different methods used. (Hardly a "Standard"...)
    Has anyone here had experience of this, and be willing to exchange notes, observations et?
    tia
    N

    Hi Master,
    SharePoint support archive documents, you can archive documents by declaring documents as records and then use retention policy or send to connections to move the documents to the places you want to store them.
    And SharePoint support to manage the records in a record center or in-place in a collaboration site.
    You can refer to the links below for more about records management in SharePoint Server 2013:
    https://technet.microsoft.com/en-us/library/cc261982.aspx
    https://technet.microsoft.com/en-us/library/ee424394.aspx
    I am not familiar with the LTANS archive standard, you may consider to get help from their side to see if LTANS archive standard can be integrated with SharePoint.
    To get data from SharePoint, you can use REST api to retrieve data from SharePoint site.
    https://msdn.microsoft.com/en-us/library/office/jj860569.aspx
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Store expired documents in a archive.

    hi all,
    is it possible to move/store all the expired documents to an archived location.
    and send alerts on document expiry.
    its pretty urgent.
    need help.
    regards
    hari

    Hello Harish,
    I do not believe that there is any out of the box functionality to do this. I've had to create my own application for notifying us of documents that are expired or almost expired.
    Using what I've created, it wouldn't be too much more to come up with an application that relocates expired files. I am willing to share my java classes if you are interested.
    We have discovered that the scheduled jobs piece doesn't work like we had hoped. We cannot schedule our own custom java applications to run. We are hopeful that there is a solution coming in the near future for this. In the mean time, we have someone manually run the jobs.
    -StephenS

  • Error M8-688 - Creation of several vendor line items is not possible for document type RN.

    Hello All,
    We are using the Net Invoice Posting with document type RN(Invoice- Net). We are generating different vendor line items in the accounting document based on the withholding tax codes involved in the invoice posting. When it comes to net invoice posting system is giving an error message M8-688 - Creation of vendor line items is not possible for document type RN. Is there is any way to create multiple vendor items with net invoice posting? Please suggest.
    Thanks,
    Chandu.

    I dont think that there is any way because it is a hardcoded error message.
          IF NOT t003-xnetb IS INITIAL.
            MESSAGE e688 WITH pi_rbkpv-blart.
          ENDIF.
    SAP is checking the customizing for net/gross posting per document type in table T003
    And if it is set up as net, then it is a hard error.

Maybe you are looking for