cancel
Showing results for 
Search instead for 
Did you mean: 

Ignore default IDoc values when updating customer master data

former_member610150
Participant
0 Kudos

We use IDoc message type DEBMAS06 for sending customer master date to a decentralized system. When sending an IDoc for a new customer we use default values for mandatory fields. When the IDoc is sent for updating a customer these default values must be ignored. We tried to use EXIT_SAPLVV02_001, include ZXVSVU02 but this doesn't seem to work.

Is there another option to handle this problem?

Regards, Jan

Edited by: J. Borgerink on Aug 31, 2009 5:48 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jan,

yes you are right, that exit will not help you as it is designed to process fields of custom segments.

Look at BAdI CUSTOMER_ADD_DATA_BI.

Method MODIFY_BI_STRUCT_FROM_STD_SEG should help you to modify the content of the standard idoc segments.

Hopes this helped

Best regards

Alain

former_member610150
Participant
0 Kudos

Hi Alain,

We tried this kind of solutions but none of them helped because the customer master data is already written before these methods are executed. Now we have set the fields optional and created a user exit for transaction XD01 which checks whether the specified fields are filled.

Regards, Jan