‎2005 Jun 21 3:14 PM
Hi to all,
I have some problem with this Bapi.
I want to force the quantity in each item but during the creation the system applies the rounding rules. I have put BAPIMEPOITEM-NO_ROUNDING = 'X' (I dont' know if it's the correct field...) but nothing happened....
I have also a problem wtih the delivery date....I 'm forcing the value BAPIMEPOSCHEDULE-DELIVERY_DATE without result.
Thank you
Ezio
‎2005 Jun 21 4:53 PM
Hello Ezio,
TABLES
return = bapi_return
poitem = bapi_poitem
poitemx = bapi_poitemx
Fill poitemx table to with flags ie.
BAPIMEPOITEMX-NO_ROUNDING = 'X' .
Let me for further assistance on this.
Rgds,
Mano Sri
‎2005 Jun 22 7:53 AM
Hi Mano Sri,
I'm using bapimepoitem-no_rounding = 'X' and also
bapimepoitemx-no_rounding = 'X' but it seems not working.
You can see my reply to Rui.
Thank you!
Ezio
‎2005 Jun 21 4:53 PM
Hello Ezio,
About two questions:
What do you mean with rounding rules? Can you put here one real example?
Are you using the X structures in the BAPI?
Example for the delivery date:
l_schedule-po_item = '00001'.
l_schedulex-po_item = '00001'.
l_schedulex-po_itemx = 'X'.
l_schedule-delivery_date = '20050621'.
l_schedulex-delivery_date = 'X'.
APPEND l_schedule TO lt_schedule.
APPEND l_schedulex TO lt_schedulex.
This is working for me.
‎2005 Jun 22 7:45 AM
Hi Rui,
yes, I'm using the X structures.
For rounding rules I mean this:
I'm putting:
bapimepoitem-quantity = quantity.
bapimepoitemx-quantity = 'X'.
bapimepoitem-no_rounding = 'X'.
bapimepoitemx-no_rounding = 'X'.
And the same quantity in bapimeposchedule.
For example if in MM03 or ME13 there is a fixed quantity of 100 and I put 1 in bapimepoitem-quantity, my po is created with the value 100.
How can avoid this?
For the delivery date I'm filling the fields like you, but also in this case the po is created with different delivery dates for each items.
Thank you.
Ezio