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: 

DEBMAS Insert/Update

Former Member
0 Kudos

Hi everyone,

I'm currently trying to insert/update customer master data from an external LS. Since I only have the KNA1 Data in the external system R/3 tells me I'd have to insert a bank country for the customer when it receives the IDoc. I already tried to set the MSGFN for E1KNBKM to 018 and 023 so the segment would be ignored but it doesn't seem to have any effect. I still can't insert the IDoc.

I would appreciate any suggestions on what might be worth to try.

Kind Regards,

Julian

1 ACCEPTED SOLUTION

Former Member
0 Kudos

use Tcode BD53 to Reduce a message type.

for example, I would call tcode BD53

enter ZDEBMAS as the Reduced message type and click CREATE

A popup box will appear.

DEBMAS would be my reference message type,

enter a description and click enter.

You will be taken to a screen where you will see all the segments contained in your message type. You can include only the segments you need from here.

Don't forget to select the child segments, too, that you want to include.

3 REPLIES 3

Former Member
0 Kudos

You should be able to reduce that Idoc to contain only the segments you want to populate.

If the Bank info is REQUIRED through config, maybe you can get your functional people to set that to optional - otherwise, in your Idoc inbound function module, there will be a user exit where you can populate the info in the required segment.

0 Kudos

Hi Robert,

Since I'am relatively new to ABAP Development I don't really get the idea of reducing a messagetype.. could you perhaps point me to a good resource concerning this topic or give a little example what i should do?

Kind Regards,

Julian

Former Member
0 Kudos

use Tcode BD53 to Reduce a message type.

for example, I would call tcode BD53

enter ZDEBMAS as the Reduced message type and click CREATE

A popup box will appear.

DEBMAS would be my reference message type,

enter a description and click enter.

You will be taken to a screen where you will see all the segments contained in your message type. You can include only the segments you need from here.

Don't forget to select the child segments, too, that you want to include.