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

Issue regarding Wbs Element in bapi BAPI_PR_CREATE

Former Member
0 Likes
2,214

Hi Experts ,

I am creating PR using bapi BAPI_PR_CREATE  .

In bapi I am giving the wrong WBS ELEMENT but while creating the pr I am getting the fallowing error .

         Enter G/L Account .

End user asking us why we are getting this message even though I given correct GL account and wrong WBS element ..

I debug the standard bapi but unable to find the solution ..at last I am positing this issue in SDN ..

Please anybody provide the solution for this ..

Thanks,

Santhosh.v

6 REPLIES 6
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,553

Please indicate the exact message (and number). Did you see the many SCN threads about the topic? (I googled: "bapi_pr_create" enter G/L account site:scn.sap.com)

Read only

0 Likes
1,553

Thanks for your reply please find the error message below

Type     ID      Number    Message

E        ME       083         Enter G/L Account .

Thanks,

Santhosh.v

Read only

former_member223133
Active Participant
0 Likes
1,553

Hi,

SERIALNO field in the tables PRACCOUNT and PRACCOUNTX should to be set to a value of 01 or above. It seems '00' as default.

Hope it solves your problem.

BR

Gangadhar

Read only

0 Likes
1,553

Hi ,

Thanks for your reply.

I am populating the values which are mentioned as by you only ..but still I am facing the same issue

Thanks,

Santhosh.v

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,553

Check consistency between PRITEM-ACCTASSCAT and data from PRACCOUNT, also try to create the PR without input of any GL account number with transaction ME51N, were you successful?

Regards,

Raymond

Read only

0 Likes
1,553

if the WBS element is wrong, then what's the point in passing it to PR item. try with only correct G/L account.