cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple materials in MATMAS03 - occurrence of E1MARAM element

Former Member
0 Kudos

Hello,

Looking in the MATMAS03 IDOC the element E1MARAM has the occurrence 1..9999. It then seems possible to send several materials within the same IDOC. However when sending materials with the program RBDSEMAT it always create an individual IDOC for each material.

Has anyone found a solution to sending multiple E1MARAM segments within the same IDOC? This would then mean that XI will only receive one IDOC message, which is the solution I'm looking for.

Regards,

Per

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

did you have a look at my article?

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6062fba1-5a83-2b10-229f-d35d4ab0...

if so try: MATERIAL_EXTRACT

Regards,

Michal Krawczyk

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello,

That was a very interesting article. I am glad I am now aware of this functionality. However I have some additional requirements that might be difficult to use with this.

I need to extend the IDOC with some extra own developed fields, which I think will not be a problem with this method. However changes to these extra fields should also trigger that the material should be sent in the next run so change pointers will not work so well for me. With BD10 it was possible to select which materials to be sent during runtime. It does not seem possible here to change selection field values during runtime.

If you want to send only materials belonging to a special plant (E1MARCM-WERKS) then that was not possible since changing that field to a selection parameter caused the job to cancel.

But overall I would say this is a very good new concept.

Thanks,

Per

Former Member
0 Kudos

Hi,

You should post this question in the ABAP forum.

As far as XI is concerned, XI is capable of handling multiple segments in an IDOC.

Thanks,

Pooja Pandey