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

Error in BAPI_PO_CREATE1

Former Member
0 Likes
2,957

Dear All,

We were using BAPI_PO_CREATE1 to create auto PO for certain type of PRs. This was working fine.

Now we upgraded our system to EHP4 and now when we try to create POs for open PRs...we are getting an error "E 06 076 Materials of requisition 10068618 item 00010 alr. ordered in full" eventhough there is no earlier POs created for this PR.

Can you let me know what the reason could be?

Rgds

Smijoe

9 REPLIES 9
Read only

Former Member
0 Likes
2,306

Hi,

Its telling that the Material in the Requisition in item 10 is ordered full.

Please consult with the Functional consultant.

With Regards,

Sumodh.P

Read only

0 Likes
2,306

I did speak to the functional consultant and we found that there is no PO created for this PR...so technically this error should not come. This error started coming only after the EHP4 upgrade....till then the BAPI was working fine.

Rgds

Smijoe

Read only

0 Likes
2,306

Hi ,

Can you please check whether this PR is there : 10068618

With Regards,

Sumodh.P

Read only

Former Member
0 Likes
2,306

Hi,

Please keep breakpoints in the below places and try to trace the issue.

Program Found locations/short description

/PBS/MM06EFO1 578 MESSAGE e076 WITH eket-banfn eket-bnfpo.

MM06EF0B_BANF_SELEKTION 121 MESSAGE e076 WITH eket-banfn eket-bnfpo.

OR

Go to tcode ME53N and check the PR item status.

Execute the report RM06HL04, check the database update.PR history may not update.

Edited by: Raj on Jul 7, 2010 2:18 PM

Edited by: Raj on Jul 7, 2010 2:19 PM

Read only

Former Member
0 Likes
2,306

Does this only occur with PR's that were created before upgrade?

It is worth checking the following fields against PR 10068618 in Table EBAN to ensure:

- eban-statu does not equal 'B'

- eban-ebeln and eban-ebelp are initial.

Regards,

Phil

Read only

0 Likes
2,306

Dear All,

The PR exists, database update is fine..and we are facing issues with PRs created before and after upgrade and the PR status is N..so that is not a prbm.

Rgds

Smijoe

Read only

0 Likes
2,306

Hi there,

Did you solve this issue?

We face a simular problem: Error in bapi_po_create after deploying EHP4. Before it was working fine.

Our error message is about the Amount- or percentage-based distribution not being provided, but actually it is.

Thanx, Walter

Read only

Former Member
0 Likes
2,306

Hi there,

if you got this message ""E 06 076 Materials of requisition 10068618 item 00010 alr. ordered in full" this is due to the quantity (at position level, item 0010) you have in PRs is greater than quantity that you pass to the BAPI.

Check this line and IF my_data-bsmng GT  l_item-menge:

Read only

azersun
Discoverer
0 Likes
1,691

Can anyone solve the problem?