Find accounting document for deleted incoming invoice document

Hi all,
I have few ncoming invoice documents which were deleted. those documents i can see in RBKP table.
I want to trace the accounting documents for those deleted documents.
Can any one help me to find the accounting documents for deleted documents.
thanks in advance.

Hi,
this might give you an idea:
data: l_belnr like bkpf-belnr, l_gjahr like bkpf-gjahr.
clear: l_belnr, l_gjahr.
data: l_string(20) type c.
clear l_string.
data: l_belnr_2 like bkpf-belnr, l_gjahr_2 like bkpf-gjahr.
clear: l_belnr_2, l_gjahr_2.
select belnr gjahr from rbkp into (l_belnr, l_gjahr)
where rbstat = '2'. "Status = deleted
concatenate l_belnr l_gjahr into l_string.
select single belnr gjahr from bkpf into (l_belnr_2, l_gjahr_2)
where awkey = l_string.
write: /'FI', l_belnr_2, l_gjahr_2, 'MM', l_belnr, l_gjahr.
endselect.
Note that the key here is AWKEY.
Best regards.
Edited by: Pablo Casamayor on Apr 13, 2009 3:03 PM

Similar Messages

  • Deletion parked invoice document

    Hi Experts,
    I have company code (ausbk), document number (belnr), fiscal year (gjahr ), using these parameters I need to delete parked document.
    Please suggest how to write code or function module for deletion parked invoice document.
    Thanks & Regards,
    Sridhar

    Hi,
    You can use a BDC for the same. Create a recording using SHDB or SM35 => Recording.
    Best regards,
    Prashant

  • Accounting document for Export Excise invoice

    Dear All,
    We have two scenario's one is Domestic Sales & Export Sale.
    In domestic sales as per the normal flow of document we create excise invoice after billing document and accounting documents are also generated and updated in the billing document accounting (VF02). Accounting document for excise invoice has been generated.
    However in export sales we create excise invoice with the reference of billing document but no accounting document has been generated for excise invoice.
    Can u please tell me where i have to make changes so my accounting document for export excise invoice will generate?
    Thanks & Regards,
    Ratish

    Hi ALL,
    There are 4 export scenario :
    1) Deemed export 2) Export under Bond 3) Export under claim for rebate [No bond] 4) Export under Letter of Undertaking.
    3) In export under no bond process is :- we pay the excise on the goods for exports and create the ARE-1 doc and send to port where the customers officials note the actual quantity of goods on the ARE-1 doc and stamped it. Then these stamped ARE-1 will be send to the excise range of the despatch plant(for exports) where we claim the rebate.
    Now if you are not able to generate the accounting doc for such a scenario some of the consultants may suggest u to use the user exit (J_1I7_USEREXIT_DUTY_IN_EXPORT) and pass the the value X to the parameter SUPPRESS_CALCULATION this intern will help u to generate the Accounting doc also. but real problem lies somewhere else.
    Actual Solution: Maintain J1ID (Customer excise details)
    for export customer maintained the excise indicator to 3 {Nil Duty} insted of 1 {100% tax}.
    Problem will be solved
    Regards
    Satish Zade

  • How to delete one invoice document in FI module!

    Hi all,
    Does anybody know the T-code to delete a invoice document in FI module.
    Thanks in advance!
    Best regards,
    Wendong Feng

    Hi
    You can't delete the invoice document. probably you can reverse(cancel) the invoice document using MIRO or MR8M.
    Actual deletion can be done only by archiving.
    Regards
    Mani

  • How to find condition  type for a particular material document no.

    hiiiiii
    How to find condition type for a particular material document no.

    Hi
    Condition types are maintained at PO level
    Take the EKKO-KNUMV and pass to
    KONV-KNUMV field and take the different condition types values from KONV
    Take the Material Document No (MBLNR) and pass to MSEG table and take the EBELN field and from EKKO table take EKKO-KNUMV field and pass to KONV
    see the table T685 for different condition types.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Hi! Where can I find account number to pay Adobe Invoice for cretive cloud? I don't know how can I pay my second Invoice?

    Hi! Where can I find account number to pay Adobe Invoice for cretive cloud? I don't know how can I pay my second Invoice?

    Some Change/Verify Account links https://forums.adobe.com/thread/1465499 that may help
    -Credit card https://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting -creative-cloud.html
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • Populating value in idoc segment E1EDP02 for INVOIC01- incoming invoice

    Hi Friends,
    I am working to get the incoming freight invoice posted to MIRO, using
    IDOC : INVOIC01
    message type: INVOIC
    process code: INVL
    function module : IDOC_INPUT_INVOIC_MRM
    Vendor does not send the PO number only send the bill of lading number(shipment number). So i have customised the IDOC with one segment for getting bill of lading number. My requirement is get bill of lading number and then get PO no and populate into segment E1EDP02. I am not able to populate this field and hence each time the IDOC fails with message :
    Required field BELNR(001) is missing in segment E1EDP02
    Required field ZEILE(001) is missing in segment E1EDP02
    Please tell me how to get this field populated and get the issue resolved. I have been trying to figure out for couple of days but no success OR My approach is incorrect for posting invoice to MIRO with populating field segment.
    Please suggest.
    Thanks
    Deepak

    Thanks everyone for getting the issue resolved. I have implemented implicit enhanencement and before the function module strarts procesing, I loop over segments and fill up the PO number to E1EDP02 for bill of lading number. There was also a case of error handling for IDOC. That is to check if the amount sent by vendor is correct as compared to the amount on the shipment cost docuemnt, if they dont match then I need to send an email to the business informing them for bill of lading number and amount. There is also another check to find out if the bill of lading number has already been invoiced, if invoiced I again need to inform the business user.
    So keep all the requirements in mind I went with Implicit enhancement, thus populating the required segment and if the validations fail for amount or invoice document already generated, then I send the mail to business with bill of lading number and reason of failure. In such case IDOC is not executed and after sending the mail, the logic exits out of function module.
    I

  • Can we Use T Code MIRA instead of MIRO for posting incoming invoice?

    Hi All,
    Can we Use T Code MIRA instead of MIRO for posting incoming invoice?
    While trying to post a incoming invoice using MIRO, I am getting a error "HKONT is EMPTY". But when using MIRA i could get the invoice posted.
    And in which situations we use MIRA?
    Thanks in Advance
    Gopi Krishna

    Hello
    MIRA is for Invoice Verification in the Background
    Purpose
    This process is suitable for the following transactions:
    Posting invoices with mass amounts of data for which no item check is required
    Posting invoices referring to transactions not yet entered in the system
    Entering Invoices for Verification in the Background (Without Item List)
    When verifying invoices in the background, you enter only a small set of document header data, such as the invoice amount, the currency and the tax information. You also allocate the incoming invoice to a purchasing document or a vendor. The system saves the data and allocation criteria you enter.
    At a later point, the system verifies the invoice in the background. It uses the allocation criteria you entered to determine the item list. It then calculates the net total from the item list.
    If the net total = gross amount invoiced - tax amount (+/- tolerance), the system posts the invoice in the background.
    If the net total ¹ gross amount invoiced - tax amount (+/- tolerance), the system does not post the invoice in the background. It saves the document header data and the items determined in the background; the saved document then has to be processed manually in Invoice Verification.
    With Invoice Verification in the background, the system does not check for any quantity or price differences at item level. Since you do not enter any actual invoice item data, the system uses the default data for comparison.
    Regards
    Gregory Mathews

  • How to attach documents in Delivery & in Invoice document of SD processing?

    Dear Sirs,
    Hi,
    Can you please suggest me how to attach documents in Delivery & in Invoice document of SD processing?
    I could do so in inquiry, quotation, sales order but not able to locate the path in Delivery and in Invoice.
    Pl suggest.
    regards,
    rajni,

    hi ,
    GO to SU3 own parameters then add SD_SWU_ACTIVE and X.
    Then in VA02,VL02 (edit mode) You can attach the document to respective orders.
    If the intermediate Coupling required then 2nd method for this is
    CV01N Create the document and attach document to Document no and line NO.
    Regards,
    Sam

  • AP API package for deleteing AP INVOICE

    Dear All
    We are looking for AP API package for deleteing AP INVOICE. Can anyone please tell me where can i find that package.
    Regards
    Musaddaq

    We are looking for AP API package for deleteing AP INVOICE. Can anyone please tell me where can i find that package.Please see this thread -- Api Delete ap invoice
    Thanks,
    Hussein

  • Accouting Document Number along with Invoice Document Number

    Hi All,
    I want to see the Accouting Document Number along with Invoice Document Number
    while Posting the invoice in MIRO.
    Regards
    Arjun

    Check
    miro (invoiced document number & account documber number)

  • Account marked for deletion

    Hi,
    i have one account marked for deletion, and this message " Account marked for deletion?" is displayed when i used it.
    So please how to cancel that and make this account normal?
    i hope you help
    regards

    Hi,
    If you have marked the account for deletion you will get this message. But system will allow you to post. If you want posting to be prevented to this account you should block at company code and chart of account level in addition to marking for deletion. You can find the lock key just next to deletion key in FS00 t code.
    You can goto FS00 and uncheck mark for deletion check box.
    Regards
    Santosh Hegde

  • Accounting Entry for Depot Excise Invoice

    Hi Gurus
    We make a STO from factory to depot. I have posted the depot excise invoice via J1IJ but Im unable to see the accounting entry for the excise invoice..
    Im able to see the acounting entry for excise invoice for factory sales thru J1IIN..
    Pls advise
    Rgds..Vinz

    Hi Vinz,
    I would like to explore more for ur info.
    When u create Excise invoice at Factory Using J1iin, accounting entries flow to the system. When u transfer it to Depot, u credit the Excise amount using MIRO and post it to RG23D ( Depot Register)
    The value of the excise for which u have taken credit from ur factory would be passed on to customer now.
    If you notice carefully, when u take credit of Excise entry in RG23d No accounting entry flows in the system, only value & qty gets updated to Register.
    Generally, while deciding the selling price from depot  u consider Basic price + Excise duty. since u are passing on the excise benefit to customer, using proforma excise invoice (transaction J1IJ)
    So there is no wuestion of accounting entries.
    Hey CIN Gurus.. correct me if i am haveing any misconcepts regarding this.
    Hope this is clear to you now..
    Reward if helpful..

  • Account assignment of the incoming invoice and the purchase order

    Hi,
    I am trying to control the account assignment of an incoming invoice against the account assignment of the purchase order used. The link I found is the field ZEKKN. I think RBCO-ZEKKN tells me what account assignment of the purchase order (EKKN-ZEKKN) I am using (just as RSEG-EBELN and RSEG-EBELP help to point the item of the PO used in the invoice). This link is working pretty well in 99% of my Pos and invoices. But sometimes when I create an assignment line in the PO, this line is created with a key EBELN, EBELP, ZEKKN = ‘02’, even if any assignment was created wit an ZEKKN = ‘01’.
    In this case, when I park an invoice on this PO, the value of RBCO-ZEKKN is ‘01’ and not ‘02’ as in the table EKKN.
    It is very annoying because the control I implement blocks the posting of the invoice..
    Any idea or any new link between tables RBCO and EKKN will be very appreciable.
    Thanks in advance

    Hi, I've got the same issue if someones has a clue it would be very helpfull

  • BAPI for MIRO Incoming Invoice

    Hi All,
    I want BAPI for MIRO Posting ie for Incoming Invoice.
    .here MIRO is being done with Delivery Note number
    Following are the necessary entries for MIRO Posting
    Invoice date
    Reference
    Amount
    Calculate Tax
    Tax amount
    Delivery Note
    Vednor
    Business Area
    Please suggest me suitable BAPI for MIRO Incoming Invoice Posting with sample code.
    immediately.Please give some sample code for my reference.
    Rewards will be given.
    Regards.
    Ulhas

    Hi,
    BAPI for Invoice Verification: Post Invoice
    BAPI_INCOMINGINVOICE_CREATE
    The method can only carry out your function if no error messages were
    generated in the Return table. This is the case if the header data and
    all the items were processed successfully.
    Transaction control is not implemented. The calling program therefore
    has to execute the Commit Work itself after this method has been
    successfully called (in other words, if no errors were reported in the
    Return parameter).

Maybe you are looking for

  • How to load data into an ods from multiple info sources.

    hi all... i am given a task to load data into an ods from 3 infosources ... can someone plz give me the flow . thank u in advance..

  • My email is being blocked

    All of a sudden my email is being blocked. I have [email protected] forwarded to [email protected] Apple is not supporting me. I'm getting the following: SMTP error from remote mail server after RCPT TO: <[email protected]>:    host mx3.me.com.akadns

  • PDF in a Muse page

    I have to place a PDF-questionaire in a Muse-page. How do I do that?

  • How to install iPlanet & NAS on same machine

    Hi, We have successfully installed iPlanet 6.0 SP3 on solaris in a webless mode. But both Webserver and App. server are running in the same machine. Now we have a requirement, that one other group wants to share the same machine, wherein they want to

  • Load transaction datas on customize fields

    Hi experts A hard question for me need some hits. A Transaction datasource has been enhanced and added some customize fields in extraction structure. If there are only some new transaction data on customize fields, how to load these data into delta q