cancel
Showing results for 
Search instead for 
Did you mean: 

EH&S Status

Former Member
0 Kudos

Hello,

We are working in the customizing of EH&S Basic and we have built a status network. The problem is that every time we want to enter the status of a spec. in the status tab page we need to enter: Rating, Region, REG_WORLD. Does anyone now a way to enter this values by defualt when entering the status?

Thanks for your help,

Alberto

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey Alberto,

This is done by using a combination of two things:

<u>Step 1:</u>

You create code using a standard function - On first save after create, you use the BAPI_BUS1077_GETDETAIL to read the status of the specification. Obviously since this is first create, there is no status. The code should then execute BAPI_BUS1077_CREATE to insert the default status of Reg_World into the specification.

The specific method available to do this is IF_EX_EHSS_SPEC_CHECKS~AT_SAVE_CHECK.

<u>Step 2:</u>

You can use a standard customer exit C10Y0001 to execute the code from above for during any 'Save' action on the specification.

Hope that helps.

Regards,

Subit

Former Member
0 Kudos

Thanks for the information!

It is always good to now the alternatives

Regards,

Alberto

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Alberto,

I have not worked on EH&S but as this post was unanswered since morning i tried it in net and found something related to it in the below mentioned link.

I think it is through BAPI, this document gives you the complete idea, which may be helpful to you.

<u>http://help.sap.com/printdocu/core/Print46c/en/data/pdf/EHSSAF/CAGTFADM-EHS.pdf</u>

Regards

Rehman

Reward Your Points If Useful