I'm using BAPI_ACC_GL_POSTING_CHECK and BAPI_ACC_GL_POSTING_POST to post GL accounting documents into SAP. they can do their job successfully, But I have some questions:
1. in BAPI_ACC_GL_POSTING_CHECK, every time it gets an FI document number from number range. No matter it checks OK or not, the number cannot be used anymore.
Can I put the number back if check error? Or should I use another function module?
2. The functions did not check 'amount' field. if amount = 0, it gave me "check successfully" or "post successfully" in return message. But actually, I cannot find any document in BKPF and BSEG. the number is used too.
Do you know any other function modules can give me actual message about the post result?
Thank you for your answer.