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

bapi_outb_delivery_create_sto + Error

biju_john
Explorer
0 Likes
1,507

hi ,

          I am uploading some STO using XL File and creating Deliveries using the BAPI bapi_outb_delivery_create_sto

My XL File has the following Format

PO NumberPO DateMaterial NumberPlantStorage LocationSerial Number
400000038825.10.201330000000XXXXXXXA000000000
400000038825.10.201330000000XXXXXXXA000000001

Imagine the Scenario that For the said PO Number 4000000388 the committed Quantity is 4 and i have already delivered 3

Now again i am trying to deliver 2 more ( one more than the committed quantity ) by uploading the above XL File

and passing the data to  BAPI _OUTB_DELIVERY_CREATE_STO it still creates the Delivery

now My Committed Quantity is 4 and Delivered is 5

Why is this happening ? is there a way to prevent it via the BAPI itself ?

Or i have to manually check?

1 ACCEPTED SOLUTION
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,164

We have done it manually for the stock before the bapi call. So please check it manually. If it can be controlled via configuration that i am not aware of.,

3 REPLIES 3
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,165

We have done it manually for the stock before the bapi call. So please check it manually. If it can be controlled via configuration that i am not aware of.,

Read only

0 Likes
1,164

can i do it manually by just checking EKET-MENGER < = EKET-GLMNG

are there any other tables involved

Read only

0 Likes
1,164

Yes i believe so