Archiving billing invoices

Hi,
I am working on Billing documents( T Code VF02).
I am working on two programs the first one uses SCRIPTS.
and the second is SMARTFORM.
The reqquirement is for the o/p type i have assigned the
ARCHIVE ONLY mode. Here I am suppose to get the
archived document as an attachemnt for the perticular invoice.
for the script in the 'START_FORM' I passed the paramenter
'ARCHIVE_INDEX = TOA_DARA'. And it is working fine.
Where as for the smart form I am providing the same parameter. But it is not working. Please give me an idea to overcome this issue.

Please can anybody can look in this issue. If you want me explain in detail please let me know.
Thanks
Praveen

Similar Messages

  • 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

  • EL37 showing unreversed & archived billing document related MR??

    Dear Friends & Gurus,
    We are in the process of archiving billing & print documents. During the testing, it was realized that T. code EL37 (Reverse Meter reading) showed an archived billing document which was never reversed. The understanding is that EL37 should only show reversed billing documents So does this anomaly/issue occurs due to archiving or some other reason?
    Appreciate feedback ...
    thanks in advance,
    Anand

    Thanks for your reply
    your absolutely right,  i have used FD document type and i have  created a proforma invoice  so that i can have a excise posting done for the particular materials , because  since it should  excised .
    i have a billing type  with  SD document category as "U"  for proforma invoice . 
    here everything is happening like  sales order is created , PGI is happening and when it comes to delivery related billing
    The system cannot able to able to save the data during billing.
    the system is saying an error  "billing document XXXX does not exist"
    since i am creating a proforma invoice atleast i need to have the billing document number generated to do the exicse posting
    Is it related to number ranges problem ?
    Kindly  reply me , waiting for your reply in anticipation
    thanks

  • Regenerating output for archived billing document

    Hi,
    As TCODE=VF31 can not generate output from archived billing documents, I would kindly ask you if is there any other alternative standard SAP way to do it ?
    Thanking in advance for your help, best regards
    Joseph Sangoi

    You cannot print from archived documents as archived documents have to remain unchanged. Printing will create new NAST records for your document which is not possible for archived data.
    You have to care about such requests prior to data archiving. You need a general strategy e.g. printing into an archive (setting in your message conditions), which is optical archiving and often mixed with data archiving . Those optically archived invoices can be reprinted at any time.

  • VF01/02 archiving output invoice

    Hello,
    I need some help from you guys on the following:
    On VF01/02 when the output of the invoice is completed SAP, adds on TOA01 an entry for the printed output with object key VBRK which will be then available on the attachment list of the service objects.
    My question is: where is this peace of code executed? Does anybody knows the program, exit or function module that is responsible for this action?
    Thanks in advance,
      Ricardo

    Hi ,
    as per your requiremnet
    go to t-code --> NACE and select Output type --> Billing -->and click on OUTPUT types
    try to add the your output type as medium as T for Work flow according to your requirement
    and callin the processing routine to create entry in the TOA01 Table and archive the Invoice data..
    regards,
    Prabhudas

  • Automatic archiving FI invoices while printing

    Hi guys !
    I need to build an "archiving system" for FI documents.
    The overall requirement is to archive all invoices in pdf format in external system (let's call it ES), and then link those documents to SAP FI module
    My initial concept was to save PDF documents on physical hard drive, new documents would be triggered by ES, processed and the link is somehow sent to SAP and then linked to particular invoice.
    Another approach would be to call WS on ES side, push document and receive a link in response.
    Which solution is better? Maybe there is another approach to achieve given requirements?
    What is more, is there any standard procedure to archive document, on physical drive or send, while printing invoice or it just require to create some custom enhancement in printing process?
    And the most mysterious subject to me, how to link SAP invoice with external source and let SAP to display external document? Hope it is achievable with Archivelink, do you have some good source of tutorials on ArchiveLink ?
    Unfortunately I have never occupied with Archiving module and I really need your piece of advice.
    Greets,
    Adam

    Your answer did help but still expriencing challanges with the following:
    Output Types
    -Print Parameters options are as follows
        >Plant/Storage location
        >Plant/Storage location/User group
        >User exit
       >User parameters
       >User
    Please advice which of the above is appropriate?
    -Should there be a program reflected on change output field for General data screen?
    Please advice since I'm currently experiencing shotdumps(runtime errors) when processing the GR.

  • How to check if a user fills a header text in billing invoice

    Hi everybody and thanks in advance.
    My consultant wants to oblige all users to fill a header text when they create the billing invoice (vf01).
    I was looking for several user exits when I can manage this requisite.
    My problem is that when the user creates the invoice and push save button, I try to look for in the table STXH if the user created the header text. But I have not found anything, because the invoice has not created yet.
    Only when the billing invoice has saved, the header text is stored in the table STXH.
    I has been trying to find a structure wich contains the header data like xvbrk contains the data about type of invoice, etc.
    I have studied this user exits:
    userexit_number_range (module pool saplv60A, program rv60afzz)
    userexit_account_prep_komkcv (same module)
    userexit_account_prep_kompcv (same module)
    userexit_fill_vbrk_vbrp (same module)
    v60A0001 (Customer functions in the billing document).
    My question is: In which structure is the header text of billing invoice manage before push the save button?
    If I knew where it is, I could manage the data and check if the user filled the header text.
    Thank you very much, and sorry for my pour English.

    David,
    Place this code into USEREXIT_NUMBER_RANGE:
    DATA: CATALOG LIKE TCATALOG OCCURS 0 WITH HEADER LINE,
          MEMORY_ID(30).
    data: c_MEMORY_ID(30) VALUE 'SAPLSTXD'.
    DATA l_head type THEAD.
    DATA wa_head type THEAD.
    data: l_lines type table of TLine.
    data: l_line type TLine.
    DATA l_CATALOG type TCATALOG.
    IMPORT CATALOG FROM MEMORY ID 'SAPLSTXD'.
    loop at catalog into l_catalog.
       if  l_catalog-IS_REFTEXT is initial
       and l_catalog-keep is initial.
         concatenate c_memory_id l_catalog-id into memory_id.
         import thead to l_head
                tline to l_lines
           from memory id memory_id.
         loop at l_lines into l_line.
           message i000(zz) with l_line-TDLINE.
         endloop.
       endif.
    endloop.
    It will expose the text entered into the text ids in a message box (for now).  You will want to replace the MESSAGE statement with your own logic.
    You may also need to change the message numver/class from ZZ - as seen here "message i000(zz) with l_line-TDLINE."  with an appropriate message on your system.
    DON'T forget those points.

  • Self billing invoice with input tax code

    Hello experts,
    we are currently trying to implement a billing procedure with credit memos within the module SD. In this set-up the recipient of a service (company using the SAP) creates a credit memo for the renderer of a service (a debitor in SAP) showing the amount the recipient of the service/product has to pay. The credit memo will also show VAT (we currently only try to implement a process for transaction within Germany, no cross-border transactions yet). For the recipient of the service (= issuer of the credit memo) the credit memo is similar to an incoming invoice (self billing invoice). Hence, the shown VAT on this credit memo - if all other requirements are met - can be treated as deductible input tax.
    In order to automatically process the credit memo correctly as incoming invoice it has to be linked to a tax code (Steuerkennzeichen) with tax type "V" (=input tax) (Vorsteuerkennzeichen). To achieve that we have created a new condition record (Konditionssatz) that performs that task.
    So currently we create a credit memo request (Gutschriftsanforderung) which is linked to an input tax code (Vorsteuerkennzeichen) via mentioned condition record. We then create the billing document. During creating the billing document an accounting document should also be created. But that is where our approach does not work properly. The system creates a billing document (credit memo) but does not create the corresponding accounting document. We receive the error message:
    Document .... saved (no accounting document generated)
    Message no. VF050
    When trying to release the document to FI via Transaction VF02 we receive the following, more detailed error message:
    Only output tax is allowed for account 480000 1000, VZ is not allowed
    Message no. FS215
    This problem has to be somehow linked to the usage of an input tax code. If we perform the same procedure with an output tax code (Ausgangsteuerkennzeichen) we will not receive the error message and an accounting document is created.
    It seems that the account determination is responsible for the described problem: Although an input tax code is assigned, the account key (as shown in the overview to the applied conditions on the items within the credit memo request (Item - Condition - Detail)) does not change from "MWS" to "VST" and therefore an output tax account (Account Number 480000) is determined for the tax amount. And for that output tax account the usage of an input tax code is not allowed.
    Has anyone an idea how to solve the described problem or how to implement the billing procedure another way?
    We are aware that there is such a functionality within the module MM called "Evaluated Receipt Settlement (ERS)" but this is not suitable for our purposes since we want to implement this within SD and without the need to create an order first which seems to be necessary for ERS.
    Thanks for your help,
    Bernd

    Hi
    Please check in FS00, of that G/L account  in control data tab what is the Tax Category that has been maintained.Check wheather input tax/output tax has been maintaind or not
    In FS00 in the control tab check the box Posting without tax allowed
    Regards
    Srinath
    Edited by: sri nath on Sep 30, 2011 4:55 PM

  • Testing in billing, invoice and delivery

    Hi,
    I need some examples or details about testing in billing , invoice and delivery.

    Hi Meenakshi,
    VBRK and VBRP for billing document.
    RSEG and RBKP for invoice.
    KONV and KONP for delivery.
    Thanks,
    ANil

  • Export Indicator in the Billing Invoice Header

    How does the Export Indicator field gets populated in the billing invoice doc. (from what specific source)?   I have an invoice where the accounting doc. didnu2019t generate ... it referenced 'foreign trade data incomplete', yet both are for DOMESTIC customers.  In the header for the invoice the Export Indicator was marked w/ an u2018Xu2019.  I'm trying to determine how that field could get populated since the invoice for domestic customer (where would it be pulling from)?

    Siva
    When you create a UDF at the Marketing document header, it creates it for all marketing document both AR and AP.
    You could Open the AR document Press CTRLShiftB and uncheck VISIBLE on the user field.
    The formatted search query would be
    SELECT T0.CARDCODE, T0.CARDNAME FROM [DBO\].[OCRD\] T0 WHERE T0.CARDTYPE = 'C'
    Suda

  • Dispute Case creation (credit memo reference to Billing invoice)

    Hey
    We are using SD module to create Billing invoices and Credit Memo's.
    1. Dispute case created for Accounting invoice (Generated from Billing invoice).
    2 Credit memo raised in reference to billing invoice and FI document generated for Credit memo.
    We are in need to add Credit memo to the existing Dispute case in the Billing invoice.
    I have tested this scenario and this is not an standard. Any inputs in this regard is highly appreciated.
    Thanks
    Rajanikanth.

    adding the credit memo is not available as standard.
    Object type BUS2094 is the object type for a sales order - so you could use this - but this will bespoke

  • Create sales order with reference to archived billing

    Hello,
    Is it possible to create sales order with reference to archived billing?
    Thanks in advance and kind regards

    Hi,
      I think it is possible only return sales orders.
    regards
    karunakar

  • Creation of DMR and CMR from the archived billing document in EHP3 system

    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.

    > 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.
    I suggest you open that question in an SD forum together with the support package you run and if you have an industry solution or any business function sets activated or not.
    Markus

  • Exchange rate accounting (FI) in header of billing invoice

    Hello.
    I have got a question about the exchange rate accounting (FI) in the header of the billing invoice.
    Situation:
    When creating the billing document: on item level the exchange rate type B is correctly taken for the date of billing as determined in the customer master data and the copy control.
    BUT what can I do to fix in the header of the billing invoice the exchange rate accounting M from the month of the sells document (usually they issue the sells document one month and the billing document a month later)??
    I tried to put the correct exchange rate accounting in the sells document VBKD-KURRF, but the value is not taken automatically in the header of the billing document.
    Pressing F1 I get the message: Exchange rate for FI postings
    The exchange rate that the system applies when you create an invoice.
    Use
    Your system is configured in such a way that it expects:
    No prefix (leading sign) for direct rates
    No prefix for indirect rates
    Can anyone help please??
    Thank you.
    Regards,
    Maike

    If you are maintaining the exchange rate in sale order in the field VBKD-KURSK (Exch.rate-acct. in header accounting tab) then this rate will be passed on to the billing document header Exchange rate-accntg field.
    Check whether the PricingExchRate type field is maintained as blank in the copy controls from delivery to billing.
    Regards,
    GSL.

  • Error in billing invoices to accounting

    Dear All,
    We are Facing Problem in Releasing Billing invoices to Accounting
    Let me explain a bit
    Surcharge GL Account there in SD/FI Act Determination with SOrg,AAgr,AAgr,Material combination and Defined Act in Chart of Account level.
    while doing billing invoices releasing to Accounting we are getting error GL Act does not exist in Cocode.
    when there is no net value in pricing, there is no error, if Net value is there in pricing then only we are getting the above error
    make me clear that is there any need to assign that surcharge act to SD pricing?
    Thanks in advance.
    Regards
    Madhu

    Was you GL defined at Company Code level , TCODE FS00 and table SKB1 ?

Maybe you are looking for

  • IF_EX_ME_PROCESS_PO_CUST multiple error message in the CHECK

    Hi All i search a way for multiple error message in the CHECK Methode, because i check every line. INCLUDE MM_MESSAGES_MAC. ch_failed = 'X'. mmpur_message 'E'                                     "&1 sy-msgty               '00'                        

  • Rescue and Recovery: No backups available for "local hard drive" with Full Restore

    I can see all my backups in "view all backups" and can restore individual files, although when I select the option for "full restore", it reboots my PC and brings up the Rescue and Recovery interface which gives me the option for "full restore".  Whe

  • Upgrading Macs from g to n

    Hi - I currently have a 802.11g base station and two macs (a G5 iMac and a G4 powerbook) connecting to it for internet access. I'm thinking of getting an apple tv box, and reckon I should upgrade the wireless network. So, as well as getting a airport

  • Ant mxmlc

    Hey guys. I am compiling the flex application with Ant mxmlc on top of Flex2 with java 5 and getting Unable to run mxmlc: flex2.tools.Compiler.mxmlc([Ljava.lang.String;) Please help me out.

  • Doe's the restore procedure from itune will return all my data and app ?

    Every day i backup my iphone4 via itune. If in the future the iphone will lost or get damage (i hope not) and i will buy a new  one, my question is: after restoring via itune,will i get the same app, the same data (i am writing a personal diary) the