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: 

Setting Filters at Distribution Model - BD64

Former Member
0 Kudos

Hi ,

I have an extension idoc ZMATMAS04 with a Z-segment .

The issue is when i set filters at BD64 for a specific plant. There is an error "Segment Z1MARAM is not defined in message Type MATMAS" AND THE IDOC DOESNOT GET CREATED.

When I remove the filter it works fine.

Why so?

Regards,

Sugopa

10 REPLIES 10

Former Member
0 Kudos

hi,

this is really simple.

You have to fill the extension name in your FM.

There is a Changing Parameter like: changing p_cimtype.

I do not know if it is an bug or a feature but later in the processing the filter table will be selected with this cimtyp and it is not supplied.

Just fill this parameter and it should work.

Regards,

Gordon

0 Kudos

umm...i an using a user exit for filling up this segment..u mean the I have to include this parameter in the paratmers of this user-exit fm?

can you help?

0 Kudos

hi,

i think this user exit should have this changing parameter already ?

Which FM you are using ?

0 Kudos

Hi Gordon

Now i get what you mean...the exit that I am using is "EXIT_SAPLMV01_002".

I have to populate the IDOC_CIMTYPE with the new Z-segment name.

Thanks heaps for the same...

Cheers to You!!!...

0 Kudos

Now i get what you mean...the exit that I am using is "EXIT_SAPLMV01_002".

I have to populate the IDOC_CIMTYPE with the new Z-basic type name i.e. ZMATMAS04.

Doesnot solve my problem though.

0 Kudos

Where is the error appearing, in the BD10 or BD64 ?

0 Kudos

my mistake...the error is eliminated now...

Thanks again...

0 Kudos

please give us the information to solve this. I think this is needed for next issues.

Thx,

Gordon

0 Kudos

As you suggested Gordon...

I simply added the following statement to the code of ZXMGVU03:

IDOC_CIMTYPE = 'ZMATMAS04'.

This solved the problem...

0 Kudos

Points Awarded to Gordon...:) ..thanks a LOT!!