Application Development 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: 

Validation for Attatchments (Services for Object) in ME51N

Former Member
0 Kudos

Hi Experts,

Actually i will attatch any documents in Service for Objects when i create ME51n, Before it creates i need to throw error message if i didnt attatch any documents(*service for objects*) .I am unable to find this , kindly suggest any Badi or Enhancement spot for it.

Regards

Deepak Gonuru

Edited by: deepakg on Dec 31, 2011 9:59 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

you need to search for BADI/EHN SPOT from where you can get class instance of cl_gos_manager ...

in ME51N program...search for GOS_MANAGER....

regards

Prabhu

3 REPLIES 3

madhu_vadlamani
Active Contributor
0 Kudos

Hi Deepak,

Happy New year.Check with badi ME_REQ_POSTED.You write the code and check.Is it your company policy to keep your company name.

Regards,

Madhu.

Former Member
0 Kudos

Hi Madhu,

Thank you and wish you the same.

There are three structures in that badi IM_EBAN,IM_EBKN,IM_PREXTwhen i run ME51N with break-point there is data in only

IM_EBAN. I am not able to get in which structure does the details of ATTATCHMENT have in order to validate.

Regards

Deepak Gonuru

Former Member
0 Kudos

Hi ,

you need to search for BADI/EHN SPOT from where you can get class instance of cl_gos_manager ...

in ME51N program...search for GOS_MANAGER....

regards

Prabhu