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

Problems with bapi BAPI_PO_CREATE

Former Member
0 Likes
787

Hi experts,

I create a PO, and everything ok, but the problem is, that the quantity is instead of the 10 (informed in po_item_schedules) 50! Other example: I inform 968, but the PO is created with quantity 1000.

I already checked, if it is a UNIT problem, but it isn't.

Thanxx a lot,

Alexandre Nogueira

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
744

Sounds like the rounding value for the material is forcing this. Check the rounding value in the material master. MRP1 View, field MARC-BSTRF.

Regards,

Rich Heilman

5 REPLIES 5
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
745

Sounds like the rounding value for the material is forcing this. Check the rounding value in the material master. MRP1 View, field MARC-BSTRF.

Regards,

Rich Heilman

Read only

0 Likes
744

Congratulations Rich,

You are right, it is exactly my problem.

Thanks a lot!!

Alexandre Nogueira.

Read only

0 Likes
744

Well, at least I did some good today.

Glad to help.

Regards,

Rich Heilman

Read only

0 Likes
744

Hi Experts,

I have a similar problem on this issue. While creating STO via bapi_po_create , can be bypass the check done in the MRP1 view tab (minimum lot size quantity) of the material so that if i pass 100 quantity to this FM, the STO should

be created with 100 quantity rather than checking the MRP1 for minimum lot size quantity.

If this can't be done by this FM, is there any other way to do it.

Please reply to this ASAP as its uregent for my development. thks.

Regards,

Amit Patade.

Read only

Former Member
0 Likes
744

Hello,

Have you check the customization?,

Another thing to do is to check if you are giving to de BAPI the correct data, it usually is that way, you shoul debug your program in order to warranty that you are inserting the correct data.

Hope this helps!!!

Gabriel