Trigger point of function module EXIT_SAPMV45A_002
Who can tell me the trigger point of function module EXIT_SAPMV45A_002?
It is the one of user exits of T-CODE VA01.But it didn't be executed all the time during I executed the T-CODE: VA01 as well as finished the sales document.
HI,
Go to transaction CMOD.
Enter project name and select the button Create
we want to create a project to enahance trasnaction VA01 .
- Create a project called ZVA01
- Choose the Enhancement assign radio button and press the Change button
In the first column enter V45A0002 Predefine sold-to party in sales document.
Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
Press Save Press Components. You can now see that enhancement uses user exit EXIT_SAPMV45A_002. Double click on the exit.
Now the function module is displayed. Double click on include ZXVVAU04 in the function module
Insert the following code into the include: E_KUNNR = '1000'.
Activate the include program. Go back to CMOD and activate the project.
Goto transaction VA01 and craete a salesorder.
Note that Sold-to-party now automatically is "1000"
Reward points pls.
Regards,
Govind.
Similar Messages
-
Enhancement points option: Function modules or BADI
Hi, I am on ECC 6.0 and I need to validate and set some requirement in customer sales area data when user input the document output message in Documents tab strip screen 7003 of sapmf02d in transaction XD01 or XD02.
I found that there is function module EXIT_SAPMF02D_001 that I probably can use to create an implicit enhancement point to validate table T_KNVD or I can use BADI customer_add_data. Can someone suggest which way is better and why? I am new to this so could someone show me screen by screen on how to create and implement BADI.
I am confusing about should I create a ZBADI or using existing BADI customer_add_data. If I use existing BADI how can I add my own method with my own code.
Thanks.Thanks. Could you explain to me how does the custom BADI get call to execute my code? Say
I have a customer document screen 7326 (Customer Master Subscreen SD Documents in program SAPMF02D). What I want is when user click save, I want to do some validation on the output message that they enter and issue some warning or error messages.
I am on ECC 6.0 so I can create a BADI from Enhancement spot not from SE18. SAP has a BADI called CUSTOMER_ADD_DATA with class CL_EX_CUSTOMER_ADD_DATA and interface IF_EX_CUSTOMER_ADD_DATA.
When I create a ZBADI_CUST, which interface class I put in the IF_EX_CUSTOMER_ADD_DATA
or a ZIF_EX_XX so that I can create my own method? How does the BADI get called when I am in transaction XD02 and click the save button? Could you kindly show me step by step the procedure.
Thanks. -
How to trigger inbound custom function module?
Hello Experts,
Could someone help me with my dilemma?
I have created a custom process code which is linked to a custom function module for processing inbound IDocs. I have tested the function module successfully and I have set up the partner profile accordingly. The IDocs are coming in but get stuck at status "64". My function module never gets triggered even though in the partner profile it is set up to be triggered immediately. Any idea what I am missing?
Thanks,
MarlinHi marlin ,
just go for these checks and let us know the status ..
1.Check here .
Bd51 assignment of Inbound function module. Present or not
Check here .
2.Bd67 assignment of process code to inbound function module /present or not.
3.
Check here.
In the object for the message type u need to give the BUS object as the application object.
like bus2032
4.
Now place a break-point in ur function module and run it in debugging mode ..
Now check whether this one is getting into ur function module , next check the status record of the document number .
regards,
vijay.
take an idoc , populate it from we19 and then there call the function module in debugging mode in back ground ..
we'll see if this is actually picking the Fm or not.
Message was edited by: Vijay -
Problem to trigger breakpoint in function module of idoc
Hi,
We have requirement to write the additional code in function module in IDOC to fulfill the one of business requirement. To write the code in the function module we put the breakpoint in function module but the function module is not triggering the breakpoint after saving the billing document.
IDOC we are using is INVOIC02
Function Module we are using is IDOC_OUTPUT_INVOIC
i found the relevant for answer for my question in above link -
[[http://blog.csdn.net/xyfchris/archive/2007/10/04/1811389.aspx]e]
I process the same way as explained in the above link, but still the function module is not triggering the breakpoint and showing the information message as -
0 number of outputs were processed in total and zero are successfully, zero are incorrectly
Please help in this
Regards
Goutham
Edited by: goutham p on Dec 30, 2008 8:00 AMHi,
Please ask the ABAPer to just use P0105-PERNR within Z-report.
It should work.
Please refer to the following WIKI page for reference:
http://wiki.sdn.sap.com/wiki/display/ERPHCM/HowtoCreateaDynamic+action
Regards,
Dilek -
Enhancement-point in function module CO_FW_AFFW_POST
Hi there,
In SAP Standard FM CO_FW_AFFW_POST
I need to change the following code:
prot_upd_is_active = yx.
prot_del_is_active = yx.
* >>> To activate the writing of a protocol entry for <<<
* >>> deleted AFFW entries delete the following line <<<
CLEAR prot_del_is_active. "<<< DELETE FOR ACTIVATING PROTOCOL
* >>> To activate the writing of a protocol entry for <<<
* >>> modified AFFW entries delete the following line <<<
CLEAR prot_upd_is_active. "<<< DELETE FOR ACTIVATING PROTOCOL
I need to set the values (prot_upd_is_active,prot_del_is_active ) back to their original value (u201Cyxu201D, before CLEAR statements happens)
I do not want to modify SAP standard code.
IMPLICIT enhancement is no good to me, as the Points it allows are in all the wrong placesu2026
Iu2019m thinking I can create EXPLICIT enhancement using u201CEnhancement-Pointu201D.
Can this only be done at an existing u201CEnhancement-Pointu201D statement in the program?
(or can I put it directly after the last CLEAR statement)
Can you have more than one ACTIVE enhancement per ENHANCEMENT-POINT? (forums suggest you can u2013 I know you can only have 1 active u201CEnhancement Sectionu201D )
Any help/suggestions appreciated!
Thanks,
DavidHi Roy,
thanks for the quick response - will give that a shot and see how it goes.Will award forum points .
I'm presuming that my new enhancement spot will not have any effect on the code that currently exists at that enhancement-point?
Thanks,
David. -
Function modules calling Application server
I am working on a SAP Migration for windows to unix. Right now I am patching up all custom programs which call the Application server using physical filenames and paths (platform specific) and replacing them with logical paths and names (platform independent). I need help from you guys to identify more function modules which uses file names that are platform specific. I have taken care of open dataset and FTP commands. Any help pointing out function modules is highly appreciated. Points will be rewarded. Thanks in advance.
RohitHi ,
Check the following function groups for file related operations.
GRAP - Frontend related.
SVRZ - System related.
SFTP - FTP related.
SFIL - Logical file name related.
As per my understanding, we are not using any function modules to read data from application server.
Best of luck.
Thanks
Viswa
(Assign points for helpful answers) -
How to debug outbound Idoc function module for invoice
I have to debug the outbound IDOC function module and UserExit for invoice message type INVOIC, process code SD09, function module is IDOC_OUTPUT_INVOIC and user exit for the function module LVEDF001.
I tried putting the break point in function module IDOC_OUTPUT_INVOIC and recreate the IDOC using WE19 but it creates the idoc but does not stop at the break point. I have also tried generation of idoc through VF02. It again creates the idoc but does not stop at the function module.
Please let me know if I am missing any thing and not doing it right.
Appreciate your help.
RohitHi Ali,
I faced the same problem. Thing is the break point is not getting triggered when i ran tha IDOC through WE19.
What i have done is i created a project for my exit in CMOD and kept some junk code in the exit and executed it through BD21. Then the Break point got triggered. See if it works.
Regards,
Uday S. -
Functional Module to refresh Material Master at different Stage in SD Cycle
In Material Master we maintain Profit Centre. The requirement is such that the client requires to change profit center very often & the requirement is such that the latest Profit Center is captured at different stages, i.e Sales Order, Delivery & Billing.
It is already assumed that we will require an enhancement for this & the logic will be that at each stage the enhamcement checks the Material Master & updates the latest update in Material Master.
It seems that there is a Functional Module, which refreshes the details of Material Master, when it is triggered. I am not aware that which is the Functional Module, which refreshes the Material Master details, when triggered & would like to know the name of functional module?
Regards,
Rajesh BankaDear Ashish,
As an enhancement, we have already considered using User Exit & also the logic to arrive at it. But I was informed that if we trigger one particular Functional Module, it refreshes Material master data at transaction level, but do not know, which functional module it is.
Thanks for your prompt response.
Regards,
Rajesh Banka -
Function module ''ADDR_GET"
Hello,
I am working on a program which uses the function module 'ADDR_GET' which imports 'SADR' ( Company Data ).
The structure SADR contains a field SPRAS (Lnaguage key) which is no where in the whole function module gets filled up.
Just because SPRAS not getting filled up I am having further issues in the program which is using this function module.
not sure why there isnt any code in ADDR_GET to fill SADR-SPRAS. Anyone had the same issue before or anyone with ideas please help..Hi Ramesh,
Did you try passing manually the language key and test your scenario even if you dont get the spars
field. When i check there are conversion routines for that but i dont think conversion routine is an issue here but.
I would suggest to put a break point in Function module and debug and see whats heppening.
Thanks,
Pradeep. -
Create/Copy New Inbound Function Module
I have created a new process code MBGM pointing to function module IDOC_INPUT_MBGMCR.
Currently I do not have function module IDOC_INUT_MBGMCR.
Can I easily copy from an existing function module to create my own new function module?Hi Janice,
Open se37, enter the FM name, now on the toolbar , there is a double-square ICON, click on this..and rest is easy.
In detail,
First of all you must know to which function group(FG) your r copying the FM, that is in which FG your z-fm will be residing.
now se37-> enter the FM (original one) -> click on the copy icon (a square on another square, third from left)->now you will have a pop up-> "from" input box(leave it as it is)
and "to" input box : here you write your z FM name,
in Function group box: you enter the FG name where your z-FM should belong.
click on copy..thats it.
cheers,
Prashanth
P.S : Please mark helpful answers -
How to write the custom Function Module to trigger the Alert.
Hi all,
I have developed a custom alert category in Tx - alrtcatdef. Now i want to trigger it from my custom function module. what should i do or what is the procedure to trigger the alert from my custom function module.
Arul Jothihi arul,
try this program.
RSALERTTEST.
check out this link...
<a href="/people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts:///people/ginger.gatling/blog/2005/12/02/innovative-ways-to-use-alerts
regs,
jaga -
Function Modules for creation of characteristics and Measurement Points
Hello everybody
I'm new in ABAP (trainee) and especially the use of characteristics. I'd be very happy if somebody could help me :).
Can anybody out there with some experience in creating characteristics and measurement points tell me how to create them with function-modules or by changing database tables?
I'm happy about every hint and ready to give some reward points.
Best Regards,
SteffenFM and TABLES
http://72.14.235.104/search?q=cache:71IXBMWcX_8J:reflexcontracts.co.uk/SAP_R3_QUICK_REF.xlsupdatetable+tse05&hl=en&ct=clnk&cd=1&gl=in
FUNCTION MODULES
http://www.erpgenie.com/abap/functions.htm
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/index.htm
http://www.geocities.com/victorav15/sapr3/abapfun.html
Rewards if useful..........................
Minal -
What is the function module which is used to trigger email
Hi ALL,
can u send me the function module which has to trigger email when sales order was saved.
kindly send me the inputs
thanks & regards
naveen
Moderator Message: Basic Question. Thread locked.
Edited by: kishan P on Nov 11, 2010 10:56 AMHi,
This needs to coded in the Save User Exit of the Sales Order Include MV45AFZZ (USEREXIT_SAVE_DOCUMENT) and use the Function Module "SO_DOCUMENT_SEND_API1" to trigger a mail.
Please try this and let me know if any.
Regards,
Srinivas
Moderator Message: Do not answer Basic Question.
Edited by: kishan P on Nov 11, 2010 10:58 AM -
Function Module to get usage by supplying measuring point and equipment no
Hi,
I want to know what is the function module to get the usage on giving the measuring point,equipment number and month.Thanks in advance.
Regards,
SGRTry this Function Module : ALM_ME_EQUIPMENT_GETDETAIL
-
Function module to get the decimal point and leading zeros.
Hi
I have a requirement, where I need to add zeros at the end and beginning of the field along with decimal point.
For Eg:
input = 123
output = 0123.00
depends upon the requiremnt,number of decimals will vary
If anyone knows function module for this requiremnt or how to proceed with this, Please give me reply
Thanks&Regards
Rama.Mekalahi
use this Fm
'conversion_exit_alpha_input'
PP_CATT_CONVERT_DECIMAL_POINT
for decimal points
Cheers
Snehi
Edited by: snehi chouhan on Jun 23, 2008 9:28 AM
Maybe you are looking for
-
How do i find out the model of my g6 because i need to purchase a cooling fan
im just not sure where to start because the product key is {Private Information Removed} from the bottom of the laptop. i ned to fix this as soon as possible because i am in need of my computer every day for appoinments and reminders
-
External hard drive formatting
I have a WD external hard drive that I've been using with my PC. I've just purchased a macbook. I have 2 questions: 1) do I need to reformat? I can actually open all the files from the hard drive. The hard drive is operating on a FAT32 system. I do n
-
Deploy Petstore in Exploded Directory(Weblogic 7.0)
I can deploy and run the Petstore in .ear format under Weblogic 7.0. How do I run it in the Exploded format? Do I need to remove all the .ear, .jar, .war entries/tags in my config.xml and application.xml files. I did un-jar all the petstor.ear file a
-
Will Final Cut allow for Time Lapse Photography for days?
I have a new MacBook and am unable to use my old editing software from my powerbook so am needing to find a program that will allow me to hook up my video camera and let it record for possibly a full 24 hours, will FC let me do this? I used to use th
-
Updates to CS5, which is installed on my Mac (OS 10.9.5) won't install. After updates are downloaded, get message "The following updates were unable to install ... there was an error downloading the update wot & try again. After second update atte