cancel
Showing results for 
Search instead for 
Did you mean: 

DGE5 - Not able to update Dangerous Goods material master

former_member355940
Participant

Hello Community,

Need help!

we update ou real sub-specification and then through DGE5 we fill our dangerous goods material master.

Now when we do DGE5, we are getting an error message - Material XXXX is assigned to several real substances

In the system, the material is assigned to only one real substance.

When we investigated, the material is assigned to Packaging specifications as well. During our testing, if we delete the link between the material and packaging specifications, we are able to update the dangerous goods material master.

1. Can you please explain why the system is picking the packaging specifications

2. How the standard system behaves in the above-mentioned scenario.

3.We cannot delete the link between the material and packaging specifications and then update the dangerous goods material master and revert our changes for packaging side . This cannot be considered as a resolution by the business.

Regards

Avitej

Mark-Pfister
Active Contributor
0 Kudos

Hello Avitej,

Welcome back!
Please close your open question or follow up if the problem is not resolved yet:

https://answers.sap.com/questions/104557/index.html

Thanks

Mark

former_member355940
Participant

Hi Mark,

Thank you for your reply on my other query. I will test in the system and will definitely provide my inputs.

Apologies for keeping the thread open for long.

Regards

Avitej

Accepted Solutions (1)

Accepted Solutions (1)

former_member355940
Participant

BAdI: Filter Specifications for Filling

Use

A number of specifications can be assigned to a multiple component material. This multiple assignment leads to a filling error in the standard system.

This BAdI allows you to filter out from a group of specifications those that you need for filling. When you activate the BAdI, the system checks which of the specifications is relevant for filling. Only this specification is then filled.

So that a number of specifications can be assigned to a multiple component material and filling can be run without errors, the NAM-ZDG_FILL identifier must be specified in Customizing. Assign this identifier to the specification for which filling is to be taken into account.

The BAdI is called in the function module DG07N_FIND_CLASS_AND_SUBID in the function group LDG07NU09 after the specifications belonging to a material were read from the assignment table ESTMJ.

The BAdI is not active in the standard system. Sample coding is shipped.

The BAdI has the method DG_MAT_ASSIGN_FILTER. It checks the specifications and filters out those specifications that are relevant for filling with the aid of the identifier NAM_ZDG_FILL.

Answers (1)

Answers (1)

christoph_bergemann
Active Contributor
0 Kudos

Hello

the hint of Avitej is very important. This "issue" can come up e.g. as well in;:

SVT, GLM, Report distribution etc.

This unique "material - specification (REAL_SUB)" link is the "crucial" / "Critical" success factor for a living EHS system. If you have no good concept here: any project etc. is a "disaster"

C.B.