on 05-09-2006 2:30 PM
Which object type do I enter in the BAPI (BAPI_ACC_INVOICE_RECEIPT_POST) for a regular incoming invoice (vendor invoice, no PO, only FI posting, external number range)? I checked the table TTYP, there it says to enter RMRP. When I use this entry as OBJ_TYPE, I get the following error:
T ID NUM Message
E RW 628 Incorrect entry in field OBJ_TYPE: RMRP
How can I solve this so I can post vendor invoices using this BAPI?
Thanks in advance
Hi Boiler,
Object Type RMRP is valid when SAP tries to generate an accounting document during invoice verification of a vendor invoice.
When you are trying to call this BAPI to directly post a FI document, similar to transaction FB01, the object type for the bapi call in the BAPI_ACC_INVOICE_RECEIPT_POST will be BKPF.
Hope this helps.
Regards,
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea why I could not use the OBJ_TYPE BKPF?
Could it be because I test the BAPI via se37?
How can I actually see the result in a table (e.g. BSEG table)? Because with SE37, entering BAPI name + hitting F8-button, no actual postings are made.
I read somewhere to add "commit"...but where to add it, remains a mystery for me
Message was edited by: Boiler
Hello Boiler,
I believe it should be BKPF. What u can do is goto Fb03 and select one vendor invoice. Then press display the vendor invoice and click on Header button. Whatever is getting displayed in Ref procedure u can use the same value in the OBJ_TYPE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hai Boiler
check the following SAP Standard Programs
ACC_BAPI_TEST_INVOICE_RECEIPT Test Report for BAPI Invoice Receipt
LACC4U29 BAPI -> IDoc: ALE_ACC_EMPLOYEE_REC_POST
LCACSFI_STMT_TRANSFER_FIU02
LWOSCR_EXIF01
RBUS6003 Program for Object Type BUS6003 : Acctng Invoice Receipt
DATA: lv_type LIKE bapiache03-obj_type.
CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
EXPORTING
documentheader = lv_doc_header
CUSTOMERCPD =
IMPORTING
obj_type = lv_type
obj_key = lv_key
obj_sys = lv_sys
TABLES
accountpayable = lt_positions_kred[]
accountgl = lt_positions_sako[]
accounttax = lt_positions_tax[]
currencyamount = lt_positions_amount[]
PURCHASEORDER =
PURCHASEAMOUNT =
return = lt_bapi_return
CRITERIA =
VALUEFIELD =
extension1 = lt_extension1. .
Thanks & regards
Sreenivasulu P<u></u>
Message was edited by: Sreenivasulu Ponnadi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.