I am trying to create pr using bapi_pr_create , im getting following error.
E BAPI 001 No instance of object type PurchaseRequisition has been created. External reference: # 5
I am not passing any value in HEADER-PREQ_NO assuming it should pick up the next PR no in internal no range. However it doesn't.
Looks like some configuration issue.
Any help is appreciated.