09-29-2008 12:33 PM
Hi ,
I am getting following error while executing BAPI_ACC_DOCUMENT_POST.
"E: RW:602=Required field GL_ACCOUNT was not transferred in parameter ACCOUNTGL" . I am posting following details:
BUS_ACT= RFBU
USERNAME= abc_D
COMPANY Code: 1000
Posting date: 290908
Fiscal Yr: 2008
Doc Type: SA
ACCOUNTGL :
Item : 10
GL acct :810401
ACCT_TYPE: S
Company code: 1000
Posting Date: 29.09.08
Item : 20
Vendor_No : 21
ACCT_TYPE: K
Company code: 1000
Posting Date: 29.09.08
What is the eaaror related to?
Prashant
09-29-2008 12:39 PM
Hi,
Use UNPACK Statement for field GL_ACCOUNT[HKONT] and then check.
Thanks
Sudharshan
09-29-2008 12:51 PM
Also please do fill the 3 fields of header
wa_docheader-obj_type = BKPFF
wa_docheader-obj_key = $
wa_docheader-obj_sys = $
I hope you have used UNPACK statement
UNPACK wa_accountgl-gl_account into wa_lineitem-gl_account.
Thanks
Sudharshan
09-30-2008 8:05 AM
Hi,
1) I have posted FI document as system has given return message that
"Document posted successfully: BKPFF 010000016910002008 T90CLNT090"
But i am not able to see the document 100000169 on co code 1000 yr 2008. What could be the problem?
2) If i have to post following FI posting what should be the bapi Inputs?
Co Code 1000, Yr 2008
Debit Vendor=21 Amount=100 INR
Credit G/L= 810401 Amount=100 INR
Can you help me for this?
Prashant
10-01-2008 7:02 PM
hi Prashant,
After receiving this message [document no] you should find this document in this system with the document no specified,the only reason I feel you are not able to see this is because you might have not used BAPI_TRANSACTION_COMMIT after this bapi.
Please do check and let us know ..
Thanks
Sudharshan
10-06-2008 1:18 PM
Hi,
When i am posting the Vendor document ( Account payable), is it mandatory to pass reconciliation account along with the Vendor code?
Prashant
10-07-2008 2:21 PM
Dont think so its mandatory even without this field you will be able to handle accounts payable document,let me know if you are looking anything specific to use Reconcilation account.
Thanks
Sudharshan
10-18-2008 10:23 AM
Hi Sudarshan,
Could You please suggest me how can I use UNPACK statement. Iam also getting same error. Iam doing File to BAPI scenario. Iam not using proxy. Iam just using File to RFC.
Please suggest how can I overcome that problem.
10-19-2008 3:44 AM
Hi,
Please do check F1 on more help for UNPACK statement.
UNPACK FIELD1 into FIELD1.
which will set the length to the defined value by padding zeroes.
Thanks
Sudharshan
10-20-2008 10:27 AM
Hi,
Which fields in the accountgl or accountpayable paremeter corresponds to the reference or assignment field in the regular FB01 or any finance transaction?
Prashant
02-02-2009 10:07 AM