This website is not affiliated with, sponsored by, or approved by SAP AG.

Kit Availability

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: thx4allthefish, Snowy, Gothmog, YuriT

Kit Availability

Postby dreemweaver » Tue Jun 26, 2012 4:21 am

Hi,

I've tried searching for this but I may have been searching for the wrong terms.

Does anyone know of a reliable way to check the availability of kit items based on a header material?

Basically, if a header item has 3 materials to make up that items, i.e. it needs 1 of Material A, 2 of Material B and 3 of Material C, and the stock of Mat-A = 2, Mat-B = 4 and Mat-C = 9 then the available quantity of the header item would be 2.

I am trying to do this check in VB.NET and I could iterate through the Items and call a BAPI on each one but this is very slow. I am hoping there is a way to do it within SAP in a single BAPI call.

Please help.

Thank you.

dreemweaver
 
Posts: 3
Joined: Tue May 08, 2012 10:28 am

Re: Kit Availability

Postby Sharpshooter » Tue Jun 26, 2012 6:53 am

I don't know of a standard BAPI for this. Perhaps write your own?
Good luck!
Sharpshooter
 
Posts: 934
Joined: Wed Mar 17, 2010 12:01 pm
Location: In the dark

Re: Kit Availability

Postby VLozano » Tue Jun 26, 2012 7:15 am

Perhaps asking in the proper forum?

Anyways, you are talking about an RFC, I guess.
Tuly Idiots
Because we know we are part of the problem
VLozano
 
Posts: 4987
Joined: Mon Sep 13, 2004 8:17 am
Location: Idioci-ty

Re: Kit Availability

Postby dreemweaver » Tue Jun 26, 2012 7:33 am

Sorry if this is not the correct forum... I am very new to SAP and i'm not sure of all the terminology.

Yes it is for an RFC... I have a .NET web site that connects to SAP using ERP Connect... I can get a list of all the child items for a component header, but calling the BAPI_MATERIAL_AVAILABILITY for each of these would be extremely slow... it also needs to return the Confirmed Quantity...

Which forum should this have been posted in out of interest?

Also, I am unable to create custom BAPI's unfortunately and if I could, I'm not sure I have enough knowledge to do so yet.
dreemweaver
 
Posts: 3
Joined: Tue May 08, 2012 10:28 am


Return to ABAP

Who is online

Users browsing this forum: Google [Bot] and 20 guests




This website is not affiliated with, sponsored by, or approved by SAP AG.