Application Development 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: 

VA45.Contract List - Function Module

Former Member
0 Kudos
593

Hi,

Could you please point me in the right direction: I need to find Function Module or BAPI that reports a list of contracts (Transaction VA45). I need to call this from non SAP system (as a web service or RFC).

Thanks a lot

Julia

1 ACCEPTED SOLUTION

Former Member
0 Kudos
140

You can use BAPI_SALESORDER_GETLIST to get the list of contracts.

Use the transaction group as 4.

Regards,

Sudhir Atluru.

Rewards points for helpfull answers

6 REPLIES 6

Former Member
0 Kudos
141

You can use BAPI_SALESORDER_GETLIST to get the list of contracts.

Use the transaction group as 4.

Regards,

Sudhir Atluru.

Rewards points for helpfull answers

0 Kudos
140

This BAPI give me list of sales orders for a customer. I need a list of contracts for the customer.

0 Kudos
140

Did you change the transaction_group parameter value to 4.

That will give you contracts only.

Regards,

Sudhir Atluru

Rewards points for helpfull answers

0 Kudos
140

I just wanted to clarify one detail:

If a customer has 1 contract and he did not placed any orders yet - will I get a list of contracts with one entry as a result of calling this BAPI (transaction code is set to 4)?

Julia

0 Kudos
140

Yes the contract alone will be returned in the list.

Regards,

Sudhir Atluru.

Reward points for helpfull answers

Former Member
0 Kudos
140

Thanks a lot.

Julia