‎2009 Aug 17 1:50 PM
I m populating FB01 tcode...using BAPI BAPI_ACC_DOCUMENT_POST..in my flat file for populating Fb01..i have two fields vendor and account...but where r these fields in BAPI structure...but while entering values in FB01 i m entering both vendor and account values in same field rf05a-newko(account)...where is this field in BAPI structure..
‎2009 Aug 17 2:01 PM
HI,
To pass the vendor you need to pass the data in strcuture ACCOUNTPAYABLE.
Pass the G/L account number and the vendor number.
Regards,
Ankur Parab
‎2009 Aug 17 2:01 PM
HI,
To pass the vendor you need to pass the data in strcuture ACCOUNTPAYABLE.
Pass the G/L account number and the vendor number.
Regards,
Ankur Parab
‎2009 Aug 17 2:11 PM
Account or Matchcode for the Next Line Item(RF05A-NEWKO)...where is this field in BAPI structure
‎2009 Aug 17 2:14 PM
Sorry Duplicate
Edited by: Himanshu Verma on Aug 17, 2009 6:45 PM
‎2009 Aug 17 2:20 PM
Hi,
You cannot find the field NEWKO directly.
The value which pass to field NEWKO in transaction FB01 basically depends upon the posting key.
It can either be a customer number or vendor number or a G/L account.
So accordingly you have 3 tables available in the BAPI ; ACCOUNTGL, ACCOUNTRECEIVABLE and ACCOUNTPAYABLE.
Understand the business concept and the relevance of the field NEWKo by doing F1 on the same.
Also check with your functional consultant to explain the business relevance of the field.
Regards,
Ankur Parab
‎2009 Aug 17 3:42 PM
see...if i have fields below...how to populate in BAPI...
Company Document number Document Type Posting date Document Date Currency Amount Vendor no. Matriculation Number Cost Center Account Order Posting Key Due Date Text field Special G/L Assignment
DM10 E000000001 ES 27072009 27072009 EUR 200 1000006 34 27072009 LAST DATE OF EXP.NOTE:27.07.2009 E000000001
DM10 E000000001 ES 27072009 27072009 EUR 200 1910011 40 EXP.NOTE NO:E000000001 EMPLOYEE NAME: MARIO Romani E000000001
DM10 E000000001 ES 27072009 27072009 EUR 200 1000006 25 27072009 LAST DATE OF EXP.NOTE:27.07.2009 E000000001
DM10 E000000001 ES 27072009 27072009 EUR 200 2103001 50 EXP.NOTE NO:E000000001 EMPLOYEE NAME: MARIO Romani E000000001
where exactly i need to send to which structure...pls help....
‎2009 Aug 17 4:28 PM
Parab...thanks for u reply...it was really helpful...
but one thing...all errors are sorted out..only left are
Error in document: RMRP E000000024DM102009OR DSDCLNT500
Incorrect entry in field OBJ_TYPE: RMRP
what shall i pass to obj_type field...as i checked in BKPF table this value already exists...
‎2009 Aug 17 7:22 PM
Hi,
For vendor posting 'BKPFF', also if you set a different year or period from the value that you have in the posting date you might get this error.
Regards,
Himanshu
‎2009 Aug 18 5:57 AM
still..i m getting below error......pls help
E RW 609 Error in document: BKPF E000000024DM102009OR DSDCLNT500
E RW 628 Incorrect entry in field OBJ_TYPE: BKPF
‎2009 Aug 18 7:48 AM
Hi,
I am sorry those fields are export parameters and you are not suppose to fill them.
If you want to capture those values youc an jusy pass blank fields of the reference type.
Regards,
Himanshu
‎2009 Aug 18 8:45 AM
these are present in header table...and it is giving error if dont pass any value...
‎2009 Aug 18 8:50 AM
Ohh!!1
try with documet type 'BKPF' i got confued OBJ_TYPE on the export that should work
Regards,
Himanshu
‎2009 Aug 18 10:26 AM
i have given as...
OBJ_TYPE BKPF
OBJ_KEY E000000024DM102009OR
OBJ_SYS DSDCLNT500
BUS_ACT RFBU
it is not working...giving below error
E RW 609 Error in document: BKPF E000000024DM102009OR DSDCLNT500
E RW 628 Incorrect entry in field OBJ_TYPE: BKPF
‎2009 Aug 18 11:16 AM
Hi,
The Object Types for Accounting are maintianed in table 'TTYP' check that table and see if the enry is there,
Also i the structure if you just dont pass the obj_typ are you getting an error.
It shold either be 'BKPF' or 'IBKPF'.
Regards,
Himanshu
‎2009 Aug 18 11:53 AM
'BKPF' entry is there in table TTYP...and also when i post a document in FB01 tcode i m not entering any OBY_typ value but...while i check that document number in BKPF table OBJ_TYPE is stored as 'BKPF' value...internally how it is taking that value..
‎2009 Aug 18 1:19 PM
STRANGE!!
i have tried to post using oby_type = ABR ACE AFRU AIBU AMBU AMDP it got posted successfully in BAPI...but there is no entry in BKPF table???
and why it is not taking
BKPF
BKPFF
BKPFI
‎2009 Aug 19 7:06 AM
i m also facing same problem...
i have tried to post using oby_type = ABR ACE AFRU AIBU AMBU AMDP it got posted successfully in BAPI...but there is no entry in BKPF table???
and why it is not taking :BKPF BKPFF BKPFI
pls help
‎2009 Aug 17 2:14 PM