cancel
Showing results for 
Search instead for 
Did you mean: 

EHS : Find Pure Substance From Real Substance

0 Kudos
1,266

Dear All,


Could you please help me find Pure substance from given real substance in EHS ?

Any BAPI ? or Any Direct Table ?

Best Regards,

Dhairya

Accepted Solutions (0)

Answers (2)

Answers (2)

christoph_bergemann
Active Contributor
0 Kudos

Hello

your demand is not "specific" enough. Data model is as:

YOu have REAL_SUB; and REAL_SUB can have components of type "PURE_SUB" in compositions and specification listing and as a "reference" or used in "inheritance".

What do we have? We have the standard functions (what we call "where used list" in CG02). This function uses a PURE_SUB and you can invest in which REAL_SUB this pure_sub is used (in which VAT more precisely).

The other way around is partially supported by an outputvariant (e.g. output variant EXCEL). But here you can control only 50 VAts in one run and you have no "control" of the component is of type "PURe_SUB" or other type

What exactly is your need/demand?

C.B.

Jobin1989
Discoverer
0 Kudos

Hi,

I think there is a BAPI but I was not able to track it down. However, I was able to get the pure substance from a real substance by following below.

Step 1: Pass the real substance to the ESTRH-subidand take the RECNROOT/RECN.

Step 2: Pass the RECNROOT/RECN to the ESTVH-recnroot and the required characteristics to ESTVH-estcat.

Step 3: The recn value from step 2 is to be passed to ESTVA-recntvh and take the recn value.

Step 4: Pass the recn value to ESTVP-recntva and get the recncmp value.

Step 5: finally, pass the recncmp to ESTRH-recnroot & subcat = ´PURE_SUB´ to get the pure substance.