2006 Jan 31 2:33 PM
I am trying to post outgoing payments (F-53) for a FI document created through MIRO. I am planning to use this BAPI, but I am not able to figure out how I should pass the FI doc (created through MIRO) as input to this BAPI, so that I can post the clearing document.
At present, I am able to post an accounting document with posting key '21'(Credit memo) while I need to post a document with posting key '25' (Outgoing payment). Further the document I posted is not a clearing document.
If anybody can help me out, that would be great.
I am trying to post outgoing payments (F-53) for a FI document created through MIRO. I am planning to use this BAPI, but I am not able to figure out how I should pass the FI doc (created through MIRO) as input to this BAPI, so that I can post the clearing document.
At present, I am able to post an accounting document with posting key '21'(Credit memo) while I need to post a document with posting key '25' (Outgoing payment). Further the document I posted is not a clearing document.
If anybody can help me out, that would be great.
2006 Jan 31 10:03 PM
Hi,
If you see the doumention for the BAPI , its very clear and will solve your problem.
2006 Jan 31 10:29 PM
Hi Venkata,
I am sure that i am missing something.. but I do not know what...
Documentheader-obj_type = 'BKPFF'.
documentheader-ref_key = some unique number
DOCUMENTHEADER-COMPCODE = 1003
documentheader-pstng_date = today
documentheader-doc_date = today.
documentheader-ref_doc_no = 'TEST'.
documentheader-doc_type = 'KZ'.
Acctpayable-itemno_acc = '1'.
acctpayable-vendor = 'my vendor'.
acctpayable-itemtext = 'text'.
acctgl-itemno_acc = '2'.
acctgl-gl_account = gl_account
acctgl-doc_type = 'KZ'.
currencyamount-itemno_acc = '1'.
currencyamount-curr_type = '00'.
currencyamount-currency = 'USD'.
currencyamount-AMT_DOCCURR = '10.00'.
currencyamount-itemno_acc = '2'.
currencyamount-curr_type = '00'.
currencyamount-currency = 'USD'.
currencyamount-AMT_DOCCURR = '-10.00'.
This is my input..
I have tried giving the MIRO fi DOCUMENT in objkey, in AC_DOC_NO, but nothing works.. It creates a FI document, but the posting key for the doc created is '21' (credit notes) and not '25'. I want to create a clearing document which will clear my original FI document. So where do I give my original FI document as input in BAPI?
2006 Jan 31 11:50 PM
Hi SSG,
Please check SAP Test program "ACC_BAPI_TEST_INVOICE_RECEIPT" you can see how the function "BAPI_ACC_INVOICE_RECEIPT_POST" is called.
Hope this may help you.
Lanka
2006 Feb 01 1:44 AM
Lanka, that was the program I used as basis.. But I am unable to figure out where my reference accounting document needs to go?
At present , being unable to provide the reference accounting document , BAPI results in a document with posting key '21' (credit memo) and not '25' (payments)
Has anybody else used this BAPI to do F-53 payments?
2006 Feb 01 3:43 PM
Lanka, have you used this BAPI before to do F-53 payments?
In F-53, you have an ability to list 'Open items' for vendor and then choose the item (document) that you want to clear.
I want to duplicate that functionality in BAPI by giving the open document as Input. I am at end of my road, any help would be greatly appreciated.
2006 Feb 06 4:38 PM
2006 Feb 06 4:43 PM
2006 Jan 31 10:13 PM
I doubt if this is what you want, but RFBIBL00 will post with clearing.
Rob
2007 Jan 18 9:53 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |