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: 

CLFMAS IDoc - Issue in Data Record Population

Former Member
0 Kudos
375

Hi Experts,

My SAP systems are configured in such a way where CLFMAS Idoc is triggered based on Change Pointers.

The field 'Class Type' (KLART) is filled in the IDoc as '022' whereas the actual value is '023'.

I debugged through the function module generating the IDoc. I see that the value being passed to 'MASTER_IDOC_DISTRIBUTE' is correct, but once IDoc gets generated, the value seen in transaction WE02 is wrong.

Where might the value possibly be getting changed?

Kindly help me here.

Thank you.

Regards,

Keerthi

1 ACCEPTED SOLUTION

soumya_jose3
Active Contributor
0 Kudos
227

Hi Keerthi,

Check if any conversion rule is assigned to the message type 'CLFMAS' to change the KLART value from '023' to '022'.

Regards,

Soumya.

5 REPLIES 5

vinod_vemuru2
Active Contributor
0 Kudos
227

Hi,

Check if there are any user exits implemented. This is the only possibility I can think off. You can check the exit by searching with CALL CUSTOMER-FUNCTION in the IDOC processing FM.

Thanks,

Vinod.

0 Kudos
227

Hi,

I understand your point.

But wont such Customer Functions be called before the function module MASTER_IDOC_DISTRIBUTE gets called?

I see that the values in EDIDD are consistent till they are passed to MASTER_IDOC_DISTRIBUTE. Its only when the IDoc is actually created that I see the values are changed.

Thanks & Regards,

Keerthi

0 Kudos
227

Is this in development system? Did you try the system/update debugging to see if you could drill where the values are getting modified?

soumya_jose3
Active Contributor
0 Kudos
228

Hi Keerthi,

Check if any conversion rule is assigned to the message type 'CLFMAS' to change the KLART value from '023' to '022'.

Regards,

Soumya.

0 Kudos
227

Thank you Soumya !!