Application Development and Automation 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: 
Read only

EHS: AUSP search

Former Member
0 Likes
1,271

Hello.

I need to get the Work Center having the Characteristic.

In other words (As I´ve found):

I need to get the field ATWRT from the AUSP but I only have the ATINN and RECN of the work area and the characteristic... But not the OBJEK key.

How do I get the OBJEK?? How do I construct it with the data I have??

Thank you in advance.

Hello.

I need to get the Work Center having the Characteristic.

In other words (As I´ve found):

I need to get the field ATWRT from the AUSP but I only have the ATINN and RECN of the work area and the characteristic... But not the OBJEK key.

How do I get the OBJEK?? How do I construct it with the data I have??

Thank you in advance.

5 REPLIES 5
Read only

Former Member
0 Likes
936

Hi

Try using this FM

CLAF_CLASSIFICATION_OF_OBJECTS.

this is to search for classifications and if you want to create object

BAPI_OBJCL_CHANGE.

incase if this is what you are looking,then i will send the code.

Thanks

Read only

Former Member
0 Likes
936

Hi,

there is a way if u know the characteristic of the material.

give characteristic in AUSP-ATINN field in AUSP table.

collect all OBJEK's for that characteristics.

then go to table INOB, select objek from inob into itab where cuobj = ausp-objek.

INOB-OBJEK gives u a combination of material number and batch number for that material number. ( there might be different batches for one material).

so collect inob-objek and split into matnr and batch.

there u get all materials according to ur characteristic

and also collect those objeks where ur matnr is there.

and regarding to that matnr and batch in MSEG table u can do rest of the stuff....

reward if it helps

Regards,

Bhaskar

Read only

Former Member
0 Likes
936

Dear Bhaskar.

We are not talking about materials... My trouble is about EHS, but maybe the way is something like this... The problem is I have no MATNR and the INOB table is empty. Do you have any idea??

Dear R K.

I see something but (Excuse my ignorance) I don´t know what I´m seeing Can you explain me why and how is this usefull for me?? How I link the info I have with the info this FM gives to me??

Thank you both for your knowledge and your fast replies.

Read only

0 Likes
936

Closed: Obsolete...

Read only

Former Member
0 Likes
936

Hi,

I am sure you already found the Online Help:

http://help.sap.com/saphelp_47x200/helpdata/en/a5/3add5a43be11d188fe0000e8322f96/content.htm

There are training classes for EH&S:

http://www.technidata-america.com/education/Education_Environmental_Suite.htm

For a general understanding of EH&S and the specification database the EH102 “Basic Data and Tools” is crucial. Then it depends on what you want to do with EH&S.

Hope it helps,

Regards,

Bhaskar