‎2009 Aug 19 7:11 AM
I m populating FB01 tcode...using BAPI BAPI_ACC_DOCUMENT_POST..in my flat file for populating Fb01..
when i m using oby_type = BKP/BKPFF/BKPFI the BAPI is showing posting error " and cannot be posted"...but when i use some other oby_type such as ABR ACE AFRU AIBU AMBU AMDP...it is posting successfully...but where is no entry in BKPF/FB03 ...what is the error i m doing here...
PLs help.........?
‎2009 Aug 19 3:32 PM
Hi,
You need not pass the obj_type. Instead need to pass alteast the below field to the header:
bus_act = 'RFBU'.
username = sy-uname.
doc_date
pstng_date
doc_type
comp_code
fisc_year
ref_doc_no
Regards
Shiva
‎2009 Aug 19 1:38 PM
Hi
We are also doing similar kind of interface and we are not passing any value OBJ_TYPE field, but we are passing 'RFBU' to BUS_ACT field
Regards
Madhan D
‎2009 Aug 19 3:32 PM
Hi,
You need not pass the obj_type. Instead need to pass alteast the below field to the header:
bus_act = 'RFBU'.
username = sy-uname.
doc_date
pstng_date
doc_type
comp_code
fisc_year
ref_doc_no
Regards
Shiva