cancel
Showing results for 
Search instead for 
Did you mean: 

BAdI: Determine Target Object in BE System IT_ITEM to CT_ITEM mapping

Former Member
0 Kudos

Hi everyone,

We are doing an upgrade to SRM 5.0 from EBP 3.5. For the BAdI stated in the topic, we need some information to adapt an old BAdI for the new version.

The post by Nicholas and answered by Christophe has been most helpful indeed. But I have one more query on some of the mappings.

For the same BAdI, in the IT_ITEM, we have:

AGREEMENT - KONNR CHAR 10 Number of principal purchase agreement

AGMT_ITEM - KTPNR NUMC 5 Item number of principal purchase agreement

In the new implementation, the signature has changed to CT_ITEM and there does not seem to be a direct corresponding field for these items. Can anyone please tell me what are the corresponding CT_ITEM fields that can be used in place of the original fields?

Is it any of these:

CTR_GUID

CTR_ITEM_NUMBER

CTR_HDR_NUMBER

CTR_HDR_GUID

Thank you!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ban,

I already pointed those new contract fields in the previous post.

So yes, screen those fields instead of old ones.

Contract GUID fields will be populated only for local contracts (SRM contract GUID). Contract ID field is populated for SRM and R/3 contracts as well.

Rgds

Christophe

PS: please reward points for helpfull answers