‎2006 Sep 13 5:41 AM
Hi, all!!
While I'm trying to test the BAPI_ACC_DOCUMENT_POST for AR/AP postings, I faced 'obj*' errors.
For the BAPI_ACC_GL_POSTING_CHECK, I've tested it successfully without no 'obj' parameters. But this time, the BAPI_ACC_DOCUMENT_POST does not work without 'obj' parameters.
So I've filled 'obj*' parameters like belows:
doc_head-obj_type = 'BKPFF'.
doc_head-obj_key = '$'.
CONCATENATE SY-SYSID 'CLNT' SY-MANDT INTO DOC_HEAD-OBJ_SYS.
But, there was an error occurred: 'Incorrect entry in field OBJ_TYPE: BKPFF'.
Object type 'BKPFF' exists in the TTYP table.
What was wrong in this FM. Please let me know it.
Message was edited by: Jong-woon Lee
‎2006 Sep 13 5:49 AM
Can you try with the below statement...
DOCUMENTHEADER-OBJ_TYPE = 'FKKSU'.
Thanks & Regards,
Govind.
‎2006 Sep 13 5:49 AM
Can you try with the below statement...
DOCUMENTHEADER-OBJ_TYPE = 'FKKSU'.
Thanks & Regards,
Govind.
‎2006 Sep 13 6:01 AM
Thanks, Govind.
You showed me another side of this FM what I'm not knowing. Very helpful. Thank you.
Regards,
Lee.
Message was edited by: Jong-woon Lee
‎2008 Dec 29 1:55 PM
Lee
Can you please share the solution, i have got a similar problem, Thanks.