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

regarding availability check in BAPI_PO_CREATE1

Former Member
0 Likes
980

Hi Abapers,

In BAPI_PO_CREATE1 function module, while creating the STO, by default 'Availability check' has been performed.

But in my scenario, Delivery has been completed already. So this availability check should not be happened.

How can I achiev it?

Please give me ur solutions as early as possible.

Thanks and regards

Subash

Hi Abapers,

In BAPI_PO_CREATE1 function module, while creating the STO, by default 'Availability check' has been performed.

But in my scenario, Delivery has been completed already. So this availability check should not be happened.

How can I achiev it?

Please give me ur solutions as early as possible.

Thanks and regards

Subash

4 REPLIES 4
Read only

agnihotro_sinha2
Active Contributor
0 Likes
853

hi,

i think SAP checks LIPS-MTVFP value before avaibility... so if you set the value in such a way the avability check can be skipped...

ags.

Read only

0 Likes
853

But how can I do that. its in standard BAPI_PO_CREATE1. please give me your suggestions.

Read only

0 Likes
853

Hi S.A ,

doing availability check is standard process , even for online transactions also u wll get this issue , so what u can do is , try to find out any Enhancement which can skip this check for STO.

regards

Prabhu

Read only

Former Member
0 Likes
853

u can pass field Delivery Completed" Indicator

structure BAPIMEPOITEM

field NO_MORE_GR

like:-

wa_item-material = p_matnr.

wa_item-plant = '3200'.

wa_item-quantity = 100.

wa_item-conf_ctrl = 'Z01'.

wa_item-ACKN_REQD = 'X'.

WA_ITEM-ERS = ''.

wa_item-NO_MORE_GR= 'X'.

APPEND wa_item TO it_item.

wa_itemx-po_item = p_int.

wa_itemx-material = c_x.

wa_itemx-plant = c_x .

wa_itemx-stge_loc = c_x .

wa_itemx-quantity = c_x .

wa_itemx-item_cat = c_x .

wa_itemx-acctasscat = c_x .

wa_itemx-conf_ctrl = 'X'.

wa_itemx-ACKN_REQD = 'X'.

WA_ITEMX-ERS = 'X'.

wa_itemx-NO_MORE_GR= 'X'.

APPEND wa_itemx TO it_itemx.