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

Contract Created Using ME31K

Former Member
0 Likes
1,403

Hi All,

I have created a contract using ME31K transaction. Once the contract is created based on this contract i create a Purchase Order and the system generates a random number for the same. Iam unable to differentiate the EBELN value stored in EKKO table. Is there any other table where this contract number get stored So that i could query for the PO created for this contract number.

Any ideas would be of gr8 help.

Thanks

Bhanu

Hi All,

I have created a contract using ME31K transaction. Once the contract is created based on this contract i create a Purchase Order and the system generates a random number for the same. Iam unable to differentiate the EBELN value stored in EKKO table. Is there any other table where this contract number get stored So that i could query for the PO created for this contract number.

Any ideas would be of gr8 help.

Thanks

Bhanu

3 REPLIES 3
Read only

Former Member
0 Likes
863

Hi,

In MM contrats are in EKKO table

enter BSTYP = K and see the results

where as in SD,

Contracts are stored in VEDA and VEDAPO tables

check in them for the new contract numbers.

reward if useful

regards,

ANJI

Message was edited by:

Anji Reddy Vangala

Read only

Former Member
0 Likes
863

Hi Bhanu,

In EKKO table there is a field BSTYP(Purchasing document category)

if this field value is A then all documents related 'Request for quotations'

if it is 'F' then documents related to Purchase order,

<b>if it is 'k' then documents related to Contracts,</b>

if it is 'L' then documents related to scheduling agreements

I thinks it may help you,

thanks,

Venkat

Read only

Former Member
0 Likes
863

Hi Banu,

Check the table A016. This table for Contract and The Field name is EVRTN.

Note : Reward If Helpful.

Thanks.