Requirement :
Client ,Industry Sector , Material Type , Material Group.
Transparent Table.
Procedure :-
Step 1. Go To trans code SE24 & Provide class name CL_EXITHANDLER.
Step 2 . In this class you will get method GET_INSTANCE Double Click on it.
Step 3. we will find out static method GET_CLASS_NAME_BY_INTERFACE .Put
Debugger on this.
Step 4. NOW Go to Transcode MM01 to find out BADI. Create Material & Save .
After saving you will see It Will Redirect To Debugger & It is Stopped at
Method. .Double Click Exit_name.
Step 5 . Now Debug .During Debug Number of BADI will come or appear .Note
Down all of them .
Select Industry Sector and Material Type. Hit Enter. It Will Auto Go to Debug
Page . Debug Again and Note Down all Value
Click Select View and Select View From List and Enter. It Will Go To again On
Debug Page. Debug again and Note Value.
After Debug Complete .Create Material Screen Appear.
Step 6. After Debug Process Completed . Remove Debugger. From
GET_CLASS_NAME_BY_INTERFACE . Go To Transaction Code SE18.
Provide BADI name .Click Display. Try Every Noted Value At The
Time Of Debugger. And . Read Document of BADI . See If it is Suitable
to requirement or not . Check import & Export Paramters as well For
Requirement.
For BADI_MATERIAL_OD , Check Documentation. Double Click On IF_EX_BADI_MATERIAL_OD. Check It Has Parameter Suitable For Requirement or Not.
It Seems Like There Is No Material Parameters Here So Skip it. Check Another BADI.
For BADI_MATERIAL_REF. It Has Required Parameter. Double Click On MARU and Check Whether Required Fields are available or not.
Step 7. After Checking All BADI_Material_REF is Suitable For Our Requirement.
Now Implement BADI in it.
Now Implement BADI in it.
Go To Display Definition Screen . In Menu Bar, Implementation →Create
Implementation Name. and Press Enter.
Implementation Name. and Press Enter.
Step 8. In Change Implementation , Double Click on Implementation Class.
Step 9. Double Click on Method.
Step 10. Implement Code For BADI. Save , Activate . Go Back To Change
Implementation Screen Save and Activate BADI.
Implementation Screen Save and Activate BADI.
Step 11. Go to transaction code SE19 and See implemented BADI.
Enter Implementation Name. & click Display.
0 comments:
Post a Comment