Use of comm. str. MCEKKNB in user exit EXIT_SAPLEINS_001

Business Warehouse

Moderators: Snowy, thx4allthefish

Post Reply
mannie

Use of comm. str. MCEKKNB in user exit EXIT_SAPLEINS_001

Post by mannie » Fri Nov 01, 2002 1:48 pm

Hi Folks,

I'm using the enhancement LEINS001 to populate soME ACCOUNT assignment fields in my comm structure MCEKPO. In my code I'm using the strcuture mcekknb to provide me the values. What I'm noticing is that the Contracts are not staged in this comm structure whereas I can see them in EKKN if they have account assigment. All the other types of POs can be read from MCEKKNB.

Has anyone seen this behaviour of MCEKKNB before. Any inputs on this.

Thanks: Mannie.

mannie

Post by mannie » Mon Nov 04, 2002 4:45 pm

HI Guys,

I think I know the answer for this now. MCEKKNB gets filled in only for those events that are related to schedule line entries. i.e. PO Creation, Schedule agreement creation. In the case of contracts ( Event ME ) , there are no schedule lines, that's why this event doesn't trigger the filling of MCEKKNB. This is not a bug. Just the way Standard SAP works.

Also, MCEKKN was not available before 4.0b.

Mannie

Post Reply