| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Contact Us | ||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Working with User-ExitsMy Analysis : Every Function Module for Enhancement supplies some Import
and Export Parameters. Through which we get some values. FUNCTION
EXIT_SAPFV45S_001. If
we observe the Importing parameters
So,
this user exit is not useful. V45A0002 - By Description we understand that we can predefine sold-to party in the sales document. (i.e., it is used to populate the field sold-to party through user-exit while entering the data. ) But our requirement comes after entering the data in the screen and save button is pressed. FUNCTION
EXIT_SAPMV45A_002. And
even the importing parameters are not useful for us. V45A0004
- Copy packing proposal Into Out bound delivery. This description implies
that whenever we create a Delivery Order from Sales Order it copies the
packing proposal Based on the already created Sales order. So, there is no
chance for us to save the data while we create or change a Sales order.
V45A0003
- Collector for customer function module pool MV45A - This description
some what looks good . But description there is no functionality mentioned. So,
let us drill down. We
have 2
exits.
Function
module
Short
Text
EXIT_SAPMV45A_003
Rev.Rec.: Copy Requirements An Header EXIT_SAPMV45A_004 Rev.Rec.: Field Modification Sales FUNCTION
EXIT_SAPMV45A_004. From Exit 004 Description and Importing parameters we can
clearly see that this exit is used for Field modifications. EXIT_SAPMV45A_003 - From the Description and Importing parameters we get the header data that can be used for our requirement. FUNCTION
EXIT_SAPMV45A_003. The purpose of SMOD is to find User Exits.
click on Create. Now in the next screen (see below), click on Save and then on
“Enhancement assignments)
Now enter your enhancement name, click on Save and then on
“Components”
Now double click on the required function exit
data:
gt_exit type zexit,
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' if
gs_inr > '1000'.
gt_exit-vbeln = xvbak-vbeln. insert
into zexit values gt_exit.
|
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||