07-29-2011 3:27 AM
Hi to all..
i have created a function module that will popup a screen and ask for a data and will update a custom table that i created.
i want to put the FM in VF01 t-code.
my function module will get also the billing docs and save it to ztable.
could someone guide me on this.
thanx
07-29-2011 4:34 AM
Hi,
Try with this exit EXIT_SAPLV60B_008. This will trigger while saving sales invoice.
Regards,
Madhu.
07-29-2011 4:34 AM
Hi,
Try with this exit EXIT_SAPLV60B_008. This will trigger while saving sales invoice.
Regards,
Madhu.
07-29-2011 8:55 AM
- To use [EXIT_SAPLV60B_001|http://www.sdn.sap.com/irj/scn/advancedsearch?query=exit_saplv60b_001] - display via transaction SMOD SDVFX001 - Create a project via transaction CMOD, then attach Enhancement, and double-click on include ZXWFU08 in exit function module to create, then activate project)
- You could also use BAdI [BADI_SD_ACCOUNTING|http://www.sdn.sap.com/irj/scn/advancedsearch?query=http://www.sdn.sap.com/irj/scn/advancedsearch?query=exit_saplv60b_001] Method [ACCOUNTING_DOC_HEADER|http://www.sdn.sap.com/irj/scn/advancedsearch?query=badi_sd_accounting+accounting_doc_header] (call at same level, use SE19 to implementation and activation).
- You could also try [BTE 00501010|http://www.sdn.sap.com/irj/scn/advancedsearch?query=bte+00501010] Invoice- save data (use transaction FINF to display sample FM to be copied to a Z_FM and activated via transaction FIBF)
Read also some documentation at [Changing the SAP Standard (BC)|http://help.sap.com/saphelp_nw04s/helpdata/en/eb/3e7cf1940e11d295df0000e82de14a/frameset.htm] or [sdn Wiki|http://www.sdn.sap.com/irj/scn/advancedsearch?query=userCustomerexitBAdIBTE#sdn_content_category_value_wiki]
Regards,
Raymond
07-29-2011 8:14 AM
07-29-2011 8:18 AM
Hi Jhay,
Just in that exit call your fm and write your code what you want to do.
Regards,
madhu.
07-29-2011 8:19 AM
I want my custom function module to popup when the user save on VF01.
my function module will ask for external invoice no which the user will fill up.
and it will save both the external invoice no and system invoice no to the ztables.
07-29-2011 8:23 AM
Hi,
This exit will trigger while saving invoice time only. You write a code to create entry in ztable.
Regards,
Madhu.
07-29-2011 8:25 AM
07-29-2011 8:44 AM
could you guide what tcode should i use so ill be able to modify the user exit you gave. thanx
07-29-2011 8:46 AM
Hi,
Here no need to modify the exit. Just double click on that and keep your code in that.
Regards,
Madhu.
07-29-2011 8:52 AM
im sorry for this im new at user exit's
how will i access the user exit..
thanx
07-29-2011 9:24 AM
Thanks mond.
right now im having problem with using the user exit. when i try to change it ask for a access key to insert my custom function.
will my custom function modules popup when the user press on save button in VF01.with the badi and bte you mentioned
07-29-2011 10:41 AM
Use transaction CMOD to manage customer-exits.
- First create a project (starting with Z, Y or one of you customer namespace, attach to one of your packages)
- Attach the Enhancement (found via SMOD)
- then double-click on the FM starting with exit, you must be in display mode here
- then double-click on the include starting with Z, ignore any warning (click "ok" then press "Enter"), and create the include in one of your packages.
- develop and activate the include (insert your call in the exit)
- activate the project (else the exit FM will not execute)
- test...
Don't update the exit FM itself, use the include whose name starts with Z in it for your coding. Access key are required to update SAP standard objects.
The BAdI is called a the same time that this exit (perform some where-used search) , the BTE is called before the commit during invoice save (read the documentation via transaction FINF)
And then test, test, and test.
Regards,
Raymond
07-30-2011 1:29 AM
i recieve an error when i double click the include in EXIT_SAPLV60B_001.
it says "! Program names ZX.... are reserved for includes of exit function groups."
07-30-2011 5:00 AM
Hi,
This is simple question.
1) Go to cmod create a project.ez zprj
2) In enhnacement assignment part SDVFX001.
3) Now double click on the exit that will open another window .Click on components and double click on EXIT_SAPLV60B_001.
4) It will open a Fm there you can see an include INCLUDE ZXVVFU01 double click on this and write your code.
[Create Project and Assign|http://wiki.sdn.sap.com/wiki/display/ABAP/USEREXITCREATE]
Regards,
Madhu.
07-30-2011 6:01 AM
"! Program names ZX.... are reserved for includes of exit function groups."
I recieve this error when i double click on the INCLUDE ZXVVFU01.
07-30-2011 6:05 AM
Hi,
It is a just warning. Just double click one more time and go a head.When you are doing first time this is the message you will get.
Regards,
Madhu.
07-30-2011 7:13 AM
08-10-2011 4:58 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:58 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:58 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:58 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:59 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:59 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:59 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:59 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:59 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:59 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:59 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 4:59 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
%
08-10-2011 5:27 AM
For those who wants to know my solutions.
i followed Raymond's guide. with help from madhura.
thanx guys...
Since i wasnt able to edit the zincludes in the EXIT_SAPLV60B_001.
i opened the function modules in the SE80
from there create the includes then insert my custom Include program..
cheers..
than again guys...
03-21-2013 5:07 PM