cancel
Showing results for 
Search instead for 
Did you mean: 

Function moduel for finding open offers

Former Member
0 Kudos

Hello togehter,

I search a "standard" function module to find all open offers for a customer and a article.

This means:

During order creation with BAPI I have to find out if a open offer exists for a customer and article of position.

Open means valid date and quantity which is not blocked or already delivered.

Do anybody know a function module where can deliver this informations?

I have debugged the VA01 but I found only some subroutines which select the offers and contracts.

I am not sure if I am the first one with the need of this functionallity.

Regards

Christian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello

You would have to insert one more bapi in your current one to get the requried information.

the BAPI "BAPI_SALESORDER_GETLIST" would deliver the data that is required by you

it has all the fields start date , end date, status etc

hope this helps

Thanks

akasha

Answers (3)

Answers (3)

Former Member
0 Kudos

The very important information which is really difficult to find out is the open quantity of an offer.

To find open offers I can check status in VBUP for all offers and article.

But I don't find the open quantity what can be still delivered or reference to a new order.

I have seen there is an structure VBAPD for standard screen with a field ORFMNG which is calculated during runtime. But I don't know exactly how and where.

0 Kudos

You can use the table VBBE to check for all open orders and use this table in your logic to find open sales orders.

Hope this piece of information heps

Former Member
0 Kudos

Thank you for the help.

But this is not exactly what I want to see.

With this BAPI I get only a list of all offers.

It depends not if the offer is still valid and I can also not see what is the open quantity.

This are the important informations which I need.

Regards

Christian