Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GL account error for BAPI_PR_CREATE

Former Member
0 Likes
610

Hi Experts,

I am getting error while using function moule BAPI_PR_CREATE for creating PR.

Enter G/L Account

No instance of object type PurchaseRequisition has been created. External reference: # 1

here I have provided data like PREQ_ITEM, SERIAL_NO, CREAT_DATE, QUANTITY, GL_ACCOUNT and COSTCENTER for PRACCOUNT table.

Please can you suggest solution for this.

Thanks & Regards,

BBC

3 REPLIES 3
Read only

Former Member
0 Likes
521

Hi

You need to pass the update indicators to PRITEMX structure.

Regards,

Raghu.

Read only

0 Likes
521

Hi,

I have maintained indicators for PRITEMX then I got error maintain services or limits.

here I am passing values for SERVICELIMIT table like DOC_ITEM, OVERALL_LIMIT & EXP_VALUE.

here I have doubt , have to maintain indicators for PRACCOUNTX & SERVICELIMITX ?

please suggest me.

Regards,

BBC

Read only

dev_parbutteea
Active Contributor
0 Likes
521

Hi,

check if the gl account needs the leading zeroes in front and if its a valid one .

Dev.