‎2008 Sep 03 4:10 AM
Hi experts,
good day! i am trying to create a PR using bapi in ABAP and have supplied all necessary data in the internal tables for the bapi. But i'm still getting this error message from the RETURN table of the bapi.
No instance of object type PurchaseRequisition has been created. External reference: # 1
Enter G/L Account
i dont know why i'm getting this error message even though i have provided the G/L accont in the praccount table of the bapi. i also noticed in the debug mode that the value of GL_ACCOUNT field in my internal table i_praccount (in reference with structure bapimereqaccount) is cleared when the call to bapi BAPI_PR_CREATE is performed.
Thank you for your usual support!
Onin
‎2008 Sep 03 6:35 AM
Hi,
Check your Item Category in the first item table. Check whether you missed populating any mandatory parameter in Account Assignment table like Purchase item no. Acc Assignment, Quantity etc.
Regards,
Santosh Kumar M.
‎2008 Sep 03 6:35 AM
Hi,
Check your Item Category in the first item table. Check whether you missed populating any mandatory parameter in Account Assignment table like Purchase item no. Acc Assignment, Quantity etc.
Regards,
Santosh Kumar M.
‎2010 Apr 30 2:31 AM
Hi,
i face the same problem. would you please elaborate the solution.
Thanks in advance.
Peerasit
‎2010 Aug 09 10:49 AM
Check that the WBS element (PRACCOUNT-WBS_ELEMENT) is initial, if you do not use an account assignment with WBS element.
I had this problem because the WBS element value was '00000000' although I used account assignment category K and this created the error.