Fetch Archived FI document based on booking reference.

Hi All,
We have archived the some of the invoice documents in FI.
Now we want to fetch these documents details from the Archived system based on the reference no. (BKPF-XBLNR), how can achieve this?
Regards,
Pooja

Hi,
It will be easy creating a BDC for this transaction, as currently no good BAPI exist for it.
However you can try BAPI_ACC_DOCUMENT_POST but it requires the extensive data to be passed on to needed fields.
Regards,
Gaurav

Similar Messages

  • How to findout the clearning document number based on the reference

    Hi all
    we  need to findout the clearning document number based on the reference number in financial transaction code.
    basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
    we  want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
    Please confirm.
    Thanks
    K.Gunasekar

    you can get it from BSAD too. but again its not a primary key

  • Archive Link Documents

    Hi Experts ,
    I am currently working on the Web UI component GS_CM . The requirement is to display the name , description and the  created by fields entered by the user during the upload process correctly on the web UI. The user would click the advanced button and then click the attachment button in the advanced assignment block to upload documents. These documents are added as archive link documents.  In the current state only the extension name ( E.g. xls ) is displayed. The data entered by the user is being populated correctly but I am not able to figure out where the attributes are being set and where wrong information is being picked up . Could anyone with experience in attachments and who has worked with the component GS_CM please help me out? Could this be a standard issue? Any reference to SAP notes would be really helpful.
    Also is there an API that would fetch the information directly from the database?
    Thanks.
    P.S: These attached documents are added within a single folder within the Archive link folder. Hence the view for the advanced assignment block has a context node with a tree structure. It is this mode which holds the name , description and the user name.

    I assume you have read http://scn.sap.com/docs/DOC-27791 ?
    First you must have Services for Objects enabled. Then you will need further enhancement to "Store Business Documents" if yo are truly using "archivelink" documents. If you use create attachment you will just be writting to the SOFFCONT1 table in SAP.
    You are spamming all the old threads on this site. This is considered very bad form.
    Please be more specific in what you have attempted to implement and you are more likely to get truly helpful answers.

  • Creation of sales document (DMR, CMR) from the archived billing document

    Hi all
    I read somewhere that one of the functionality in EHP3 is we can create sales document like debit memo request and credit memo request from the archived billing document. I am working on EHP3 system only but i am not able to create the sales document. the system throws an error that billing document doesnt exist
    If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.

    hi,
    the help says:
    You can use this business function to further optimize your electronic Sales and Billing Processes.
    Electronic data archiving regulations result in a high volume of data for sales documents and require invoices to be archived at an early stage. You can integrate archived billing documents in your business processes more easily. Since you still have electronic access to archived invoices during the sales process, you can manage archiving without delay and execute further sales processes electronically.
    You can more efficiently use the rebate agreements from SAP ERP for your marketing activities. In particular, customers who use SAP CRM (Trade Promotion Management) with a large volume of data for campaigns, target groups, and product segments can define a custom-made logic for their rebate determination and thus avoid potential database problems.
    Integration
    To implement the logic for rebate processing in SAP ERP, you use the Enhancements for Rebate Processing Business Add-In (BAdI). For more information, see the Implementation Guide (IMG) under  Sales and Distribution  Billing  Rebate Processing  Business Add-Ins (BAdIs)  Enhancements for Rebate Processing .
    Prerequisites
    You have activated the Logistics: S&D Simplification (SD_01) business function.
    Features
    You can integrate archived billing documents in your business processes as follows:
    Create sales documents with reference to archived billing documents, such as credit memo and debit memo requests.
    Display archived billing documents.
    When you do either of these steps, the system first looks for the invoice in the database and then in the archive.
    For the sales employee, the processing steps are identical, regardless of where the sales document is stored. As soon as the sales employee processes an archived billing document, they see the relevant information in the message line as well as in the title of the function.
    For rebate processing, you can store your company's check logic in the interface of the Business Add-In (BAdI) Enhancements for Rebate Processing.
    So check if you have activated the business function.
    I hope this helps.
    Balazs

  • Reports showing Archived Sales Documents

    Hi, I am working on using SARA to archive SD documents, and it seems as if Document flow and Change logs are not archived, and not possible to see in reading the archived Sales Orders from SARI/SARJ. Are there SAP standard  reports which can fetch and show data from archive, or any other way to find a 'document flow' (to eg. deliverys or billing docs)  and 'change log' from an archived Sales Order?
    Thanks!

    Hello,
    The answer from Caveman is correct, the DRB - tcode ALO1 (that is the letter o not a zero) retains some of the document flow of archived data.
    Do not use transaction VPAR as that archives data related to preference determination and transaction VF07 does not show document flow.
    If you have implemented the PBS modules to view archived data, they retain the document flow information and you can view the data exactlly how it looked before it was archived.
    Hope this helps.
    Best Regards,
    Karin Tillotson

  • Archiving spool  documents

    Hi  Gurus,
    We  are looking  for  a solution how we can download and archive spooled document  into  an  easily  accessible and secure directory.
    Issue is  with  spooled  pdf  jobs  that  contain thounsand of pdf   files , non sequential , that need to be downloaded and archived in area where these files could be consulted by any business users.
    I found a program RSTXPDFT4 , but  i 'm not  sure  there is a solution with archivelink , because there is no business object for spoolfile . Is it possible  to  do  it  with  archivelink ?  or  other solution
    custom objects and a bespoke method to call standard functionality for the actual storage of the data ?
    or  to get the PDFs archived and linked to the belonging SAP business documents.
    I have no idea and experience zero in archiving.
    Thanks in advance for  any  information
    Soufiene

    Hi Soufiene,
    From your question, my understading is that you are looking for something lke archiving outgoing documents. With this scenario, you can send the documents, which is sent to spool for printing, to archive also. So you will have the choice to either 'Print' or 'Store' or 'Print and Store'.
    There are many such archivelink scenarios available based on the module and the business object.  The following link explains one such scenario of archiving outgoing SD documents.Have a look at this link which might give some idea.
    Link: [http://help.sap.com/saphelp_erp60_sp/helpdata/en/33/5cd7345a238045e10000009b38f83b/frameset.htm]
    Hope this helps,
    Naveen

  • Cancel Archived Material Document

    Hi Experts
    I have scenario, where I need to cancel a Material document(PGR ref to a delivery) which appears to be archived. I was archived by the system, due to an update termination error, following some conversion issues in material master.
    How can I cancel this archived material document
    thanks & regards
    Vin

    your question is not clear
    if a material document is already archived (deleted physically from the tables), then you cannot cancel it, as you can only cancel what is available.
    In this case you would need to perform a new movement using the cancellation movement type, but without reference to a material document.
    I was archived by the system, due to an update termination error,
    this is just impossible. Archiving is only done by execution of certain transaction, but not by termination of postings.
    If the update has terminated, then the movement has never been in your system, hence you dont need to cancel it.

  • Archiving spool document  (.pdf,.otf,...)

    Hi  Guru,
    We  want  to  archive  spool  document  , is it a solution with archivelink  ?   what are the steps .
    Spool  document are stored in external storage ! 
    Do we need to install and customize a SAP certified content server  for  external storage ?
    - Do we need to do basic customizing with archivelink  (create content repositories , outgoing document,..)
    Can someone have experience with archiving give me steps ?
    Thanks in advance
    Soufiene

    Hi Soufiene,
    From your question, my understading is that you are looking for something lke archiving outgoing documents. With this scenario, you can send the documents, which is sent to spool for printing, to archive also. So you will have the choice to either 'Print' or 'Store' or 'Print and Store'.
    There are many such archivelink scenarios available based on the module and the business object.  The following link explains one such scenario of archiving outgoing SD documents.Have a look at this link which might give some idea.
    Link: [http://help.sap.com/saphelp_erp60_sp/helpdata/en/33/5cd7345a238045e10000009b38f83b/frameset.htm]
    Hope this helps,
    Naveen

  • Archiving Change Documents - XML Archiving.

    Hello Archiving experts,
    I need to archive change documents of my application. There is already a change document archiving class "CHGDOCU" which I can use for this. But this is only for ADK based approach.
    Basically, I want to know if there is any Archiving class available for archiving change documents in XML based archiving?
    Thanks for your help.
    Best Regards,
    Pramod

    Hi Thomas,
    if you want to go with SARA, you would have to archive hundreds of objects, since change documents are (as of 4.5B, I think) no longer deleted/archived by themselves, but always with their respective objects.
    You can easily check that for yourself: in transaction DB15 click on the radio-button 'Archiving Objects' --> Objects for Table --> CDCLS (you can only view the cluster, not it's components). You will get a list of all archiving objects that 'contain' change documents.
    That leaves you the option to find out, to which object most of your 500 mio. change document positions belong, but my guess would be that this would be quite a lot ... so either, you are considering an overall archiving project (which is no short-term goal) or you use one of the reports that make a 'hard-cleanup' of CDCLS --> there are various notes in OSS about that topic, make sure you read them all, since the impact is not to be necglected.
    As for the artice in question, you may not need it ... there are 33 hits for object CHANGEDOCU in OSS - I think you can get all the information you need there, however - if you want to use this object, please keep in mind that you are cutting the connection between the business object and the changedocu - like described in note 1325862.

  • ArrayController in non-document based Applications

    I just tried to use the ArrayController in an app. The app was not document based. I did everything as you are supposed to do, I made up a class called AppControll, set it Files Owner of the XIB file, connected the contend Array and so on. There were no warnings or errors, the compiler said No Issues, the Build was suchsessfull. But before the window has opened, the Application crashed. On the console was this log:
    2011-05-17 16:28:45.652 MyApp[9637:903] An uncaught exception was raised
    2011-05-17 16:28:45.656 MyApp[9637:903] [<NSApplication 0x10011b240> valueForUndefinedKey:]: this class is not key value coding-compliant for the key boxArray.
    2011-05-17 16:28:45.792 MyApp[9637:903] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<NSApplication 0x10011b240> valueForUndefinedKey:]: this class is not key value coding-compliant for the key boxArray.'
    *** Call stack at first throw:
              0   CoreFoundation                      0x00007fff8059a7b4 __exceptionPreprocess + 180
              1   libobjc.A.dylib                     0x00007fff864c30f3 objc_exception_throw + 45
              2   CoreFoundation                      0x00007fff805f2969 -[NSException raise] + 9
              3   Foundation                          0x00007fff867abb8e -[NSObject(NSKeyValueCoding) valueForUndefinedKey:] + 245
              4   Foundation                          0x00007fff866db488 -[NSObject(NSKeyValueCoding) valueForKey:] + 420
              5   AppKit                              0x00007fff8810a384 -[NSApplication(NSScripting) valueForKey:] + 492
              6   Foundation                          0x00007fff866dedcc -[NSObject(NSKeyValueCoding) valueForKeyPath:] + 226
              7   AppKit                              0x00007fff87e9fb6f -[NSBinder valueForBinding:resolveMarkersToPlaceholders:] + 171
              8   AppKit                              0x00007fff88065f80 -[NSArrayDetailBinder _refreshDetailContentInBackground:] + 368
              9   AppKit                              0x00007fff87e92a33 -[NSObject(NSKeyValueBindingCreation) bind:toObject:withKeyPath:options:] + 557
              10  AppKit                              0x00007fff87e6f546 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1172
              11  AppKit                              0x00007fff87e6d88d loadNib + 226
              12  AppKit                              0x00007fff87e6cd9a +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 248
              13  AppKit                              0x00007fff87e6cbd2 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 326
              14  AppKit                              0x00007fff87e6a153 NSApplicationMain + 279
              15  MyApp                            0x0000000100001302 main + 34
              16  MyApp                            0x00000001000012d4 start + 52
    terminate called after throwing an instance of 'NSException'
    The debugger tells me "Programm recieved signal SIGBART"
    If I cut the bnding to the contend array, the Applications stats as usual, but it dosent work, because there is no contend array.
    Then I tried something else. I made up a new project, this time a document-based one, and did exactly the same as I did before. It worked well and fine the way it should work. There was no problem and the ArrayController worked fine. I don`t think a made mistake writing the name of the array, because I allways copied and pasted the name to the IB. So I would like to know if it is possible to use an ArrayController in a Non-document based Application? What do i have to do differently? The reference about the ArrayController does not mention this. It would be great if you could help me soon, thank you.

    No, but actually this was not my Problem But It helped me figure out what the problem is in detail. If you use a document based application, NSDocument can call the subclass NSPersistentDocument. This automatically reads out the model (if you use Core Data. I do`t like Core Data because it`s sometimes a bit strange and it`s hard to hunt down bugs there, but I think basically the problem is the same) and create a managedObjectContext, wich is needed to run the NSArray Controller. The big question is now, how to call something simular to NSPersistentDocument wich is not a subclass ob NSDocument but of NSObject.

  • Archive & View Archived TDS documents

    Hi All,
    Can anybody explain me the procedure how to do Archive TDS Ddocument(2ID) and how to View Archived TDS documents(J2IE).
    It is urgent, please help me out in this regard.
    Regards
    Srinivas

    Hi Anandh,
    Based on the settings provided by the Basis Team, messages in Adapter Engine will be archived.  In your case messages from Adapter engine archived for every 5 days.  You can also view these archived messages at RWB.
    RWB --> Message Monitoring  -->  Messages from Component = Adapter Engine  --> From = Archive   Click Display button.
    At Filter select From Date and To Date --> click Start button.  Then you can able to see the archived messages from Adapter Engine.
    Reward points if this answer is helpful.
    Regards,
    Sridhar.

  • How to get Status of Archived Delivery Document line item

    Hi Folks,
    I want read the Status of line item of archived delivery document.
    As delivery is archived, it is not found in LIKP/LIPS. So I got the archived delivery document from VBFA table.But this does not contain the status field.
    Is there any program or Function modules which reads this status.
    Please help.
    Thanks in advance.

    Check field VBUK-GBSTK (Overall processing status of document).
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Fetch Open PO's based on component part numbers (BOM)

    Hi All,
    I need to fetch Open PO's based on component part numbers (BOM).
    Is there any standard FM or any T-Code or program to achieve this?

    Hi All,
    I need to fetch Open PO's based on component part numbers (BOM).
    Is there any standard FM or any T-Code or program to achieve this?

  • Transaction MB5B takes not into account the archived material documents

    Transaction MB5B takes not into account the archived material documents . Is it possible?

    Hi
         It is not possible to see the archieved materials. Once archieved it will remove from the registry. Cannot be retrieve back.
    Thanks
    Ganesh

  • I am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me

    Dear ALL,
    i am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me solutions.
    var myBookFileName ,myBookFileName_temp;
                    if ( myFolder != null )
                            var myFiles = [];
                            var myAllFilesList = myFolder.getFiles("*.indd");    
                            for (var f = 0; f < myAllFilesList.length; f++)
                                        var myFile = myAllFilesList[f]; 
                                        myFiles.push(myFile);
                            if ( myFiles.length > 0 )
                                        myBookFileName = myFolder + "/"+ myFolder.name + ".indb";
                                        myBookFileName_temp=myFolder.name ;
                                        myBookFile = new File( myBookFileName );
                                        myBook = app.books.add( myBookFile );  
                                       myBook.automaticPagination = false;
                                        for ( i=0; i < myFiles.length; i++ )
                                                   myBook.bookContents.add( myFiles[i] );             
                                        var pdfFile =File(File(myFolder).fsName + "\\"+myBookFileName_temp+"_WEB.pdf");
                                        var bookComps = myBook.bookContents;
                                        if (bookComps.length === 1)
                                                       bookComps = [bookComps];
                                         var myPDFExportPreset = app.pdfExportPresets.item("AER6");
                                        app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFEx portPreset,bookComps);
                                      //myBook.exportFile (ExportFormat.pdfType, pdfFile, false);
                                      //myBook.exportFile(pdfFile, false, pdfPref, bookComps);
                                        myBook.close(SaveOptions.yes);      

    Change the below line:
    app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset,bookComps);
    to
    app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset);
    Vandy

Maybe you are looking for

  • E73 + ovi maps

    sooo i just downloaded the maps for my e73 and it seems that "my position" is inaccurate. its not too far off like others i've known but mine is like 1 state away. anyone know the cure to this problem? currently running ovi maps 3.04 on my nokia e73

  • 2.7ghz Dual Core verses Single Core

    Hi, I have a Pro Tools system with PCI audio cards that I sunk quite a bit of money into. Needless to say, I'm stuck in PowerMac purgatory until I come up with the cash to make a total PCIe conversion. With that being said, I am now trying to determi

  • 'Unsupported Image Format' after migrating project

    I finally when to an Apple store and purchased version 2. But I have a major issue with one project I just migrated to RAW 2.0. Lots of the images are now saying 'Unsupported Image Format', these images are from the same Nikon D80 camera using the sa

  • HT2052 I don't actually see any activity on the screen when I am downloading ios 3.1 for the touch (1st gen)

    I can see in itunes, that is says it's downloading, but nothing is actually happening on my 1st gen touch

  • Search size limit

    Hi all, Any one knows how to increase the search size limit in creating a referral policy for a sun-organization, the filter for searching the value field seems returning an error. I could try to type in the value and locate the actual sub-org for in