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: 

ABAP Contract and contract type fields

Former Member
0 Kudos

Hi gurus,

my customer would like to see the contract nr. and the contract type populated in PO and possibly RFQ.

What fields (and tables) can I use, any clues or suggestions?

Thx

RM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Contract number is sotred in the table EKKO with the filed EBELN .

contract type is EBTYP = "K' ( for contracts...)

select EBELN
         FROM EKKO,
         WHERE EBTYP = 'K'  " contracts

hope it helps you.

Thanks!

3 REPLIES 3

GauthamV
Active Contributor
0 Kudos

EKKO-EBTYP = 'K'. --> Contracts.

EKKO-BSTYP = 'A' --> RFQ

Former Member
0 Kudos

Hi,

Contract number is sotred in the table EKKO with the filed EBELN .

contract type is EBTYP = "K' ( for contracts...)

select EBELN
         FROM EKKO,
         WHERE EBTYP = 'K'  " contracts

hope it helps you.

Thanks!

former_member156446
Active Contributor
0 Kudos

for Service Contracts: VBAK , AUART (order type) check what order types they want to display and query on VBAK for those Order types.

AUART:  "likely to change..
AC   Quotation f.Contra
CD   Contract Handling
CE   Quantity Contract
GQ   Master Contract