Lockbox User Exit Selection Fields and Matching Open Items in CustomerAccts
Dear SAP Gurus,
I have an issue with lockbox process. The problem is selecting the customer open item for clearing. Our Client uses standard SAP USER EXIT (FEBLB001).
Our billing document number does not equal to the financial accounting document number all the time. We store our billing document number in the Assignment field some times, and so this is the number the customer will reference when remitting payment. I have not been able to find a way to make the SAP system to use the customer's reference number (e.g. Assignment field) to clear the open item.
I m not sure how to resolve this issue. As far as my knowledge, we have to add selection field ZUONR to USER EXIT apart from XBLNR, BELNR. Please help me with this problem by providing me some basic knowledge. I would greatly appreciate for help.
Thanks
Please Anybody,
I m waiting for anybody to give their expertize.
Thanks
Similar Messages
-
User exits-- also ---synchronous and asynchronous struc..
dear all
pls. let me know the basics of user exits. i have gone thro williams iam unable to follow. does it require abap knowledge. i sincerely request one and all (experts) to let me know about user exits. it seems very imp as per interviews.
also what is synchronous and asynchronous structures whats the difference. can anybody share knowledge on this.
thanks in advance
regardsDear Sekhar,
Please find the info regarding User-Exit's in the following links:
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
Re: doubt on user exits
user exits and Badis
User exits is the enhancements provided by SAP
You can use them in transactions. Each transaction will have user exits.
If you want to use your own requirements by making your coding while the transaction is run you can use user exits.
For example if you want to run the MRP in MD02 specific to MRP controller you can user exit.
Please also refer the document below.
USEREXIT
Userxits allow us to add our own functionality to SAP standard program
without modifying it . These are implemented in the form of subroutines and hence are also known as FORM EXITs. The userexits are generally collected in includes and attached to the standard program by the SAP.
All Userexits start with the word USEREXIT_...
FORM USEREXIT_..
z..
ENDFORM.
The problem lies in finding the correct userexit and how to find it if one exists for the purpose. Once the correct userexit is found the necessary customer code is inserted in the customer include starting with the z.. in the form routine.
e.g. USEREXIT_SAVE_DOCUMENT_PREPARE
Certain application like SD still provide this form of enhancement using userexit but this practice is no longer being followed for newer extensions instead they are using EXITs which come bundeled in enhancement packages . Neverthiless existing USEREXITS will be supported by SAP an all the newer versions of SAP.
HOW TO FIND USEREXITS
Userexits can be found in number of ways:
1) To find userexits in SD module , goto object navigator(SE80) and select
development class from the list and enter VMOD in it. All of the userexits in SD are contained in the development class VMOD. Press enter and you will find all the includes which contain userexits in SD for different functions like PRICING, ORDER PROCESSING etc. Select the userexit according to the requirement and read the comment inserted in it and start coding .
Some examples of userexits in SD(SALES & DISTRIBUTION ) are:
1)ADDING OF NEW FIELDS IN PRICING
In Pricing in SD the fields on the basis of which pricing is done are derived from the FIELD CATALOG which is a structure KOMG .This structure is used to transfer transaction data to the pricing procedure in SD and is also known as communication structure.This structure KOMG consists of two tables KOMK for Header related fields and KOMP for item related fields. The fields which are not in either of the two tables KOMK and KOMP cannot be used in pricing .Sometimes a need arises when the pricing is to be based on some other criteria which is not present in the form of fields in either of the two tables. This problem can be solved by using USEREXITS which are provided for pricing in SD. Pricing takes place both when the SALES ORDER ( Transaction VA01) is created as well as when INVOICING ( Transaction VF01) is done.Hence SAP provides 2 userexits ,one for sales order processing which is
USEREXIT_PRICING_PREPARE_TKOMP or
USEREXIT_PRICING_PREPARE_TKOMK
Depending upon which table (KOMK or KOMP) the new fields were inserted we use either of the above two userexits.These userexits are found in include MV45AFZZ of the standard SAP sales order creation program SAPMV45A.
In the case of userexit which will be called when invoicing is done ,these
are provided in the include RY60AFZZ which is in the standard SAP program SAPMV45A. The name of the userexits are same. i.e
USEREXIT_PRICING_PREPARE_TKOMP or
USEREXIT_PRICING_PREPARE_TKOMK
These userexits are used for passing the data from the communication structure to the pricing procedure, for this we have to fill the newely created field in the communication structure KOMG for this we fill the code in the above userexit using the MOVE statement after the data that has to be passed is taken from the database table by using the SELECT statement. The actual structure which is visible in these userexits and which is to be filled for that particular field is TKOMP or TKOMK.
Before the coding for these userexits is done ,it is necessary to create a new field in either of the two tables KOMK or KOMP .For this purpose includes are provided in each of them .
To create the field in header data(KOMK) the include provided is KOMKAZ
and to create the field in item data(KOMP) the include provided is KOMPAZ.
One possible example for the need of creating new fields can be e.g. Frieght to be based upon transportation zone ,for this no field is available in field catalog and hence it can be created in KOMK and then above userexits can be used to fill the transportation data to it.
2)The other method of finding userexit is to find the word USEREXIT in the
associated program of the transaction for which we want to determine userexit using SE38.
3)The other method of finding userexits is to find the include in case of SD/MM applications where the userexits are located ,this can be found in the SAP reference IMG generally in the subfolder under SYSTEM MODIFICATION.
Some other examples of userexits in SD are:
USEREXIT_NUMBER_RANGE
This userexit is used to assign a different internal document number to the
sales order(VA01) when it is created depending on some criteria like a different SALES ORGANIZAION(VKORG) .
USEREXIT_SAVE_DOCUMENT_PREPARE
This userexit is used to insert the ABAP code which will be called when
the document (sales order VA01) is just about to be saved.This userexit is used generally for custom checks on different fields , to display some information before the order will be saved or for making changes to certain fields before the sales order will be saved.
Exits & Enhancements
There are mainly six types of EXITs in sap which have been collected in the form of enhancement packages and attached to standard code in SAP.
These are different from USEREXIT in the way that they are implemented
in the form of FUNCTIONs while in USEREXITS we use form routines for their implementation. These are also sometimes known as function exits .
These start from the word EXIT_ followed by the program name and then followed by a three digit number.
e.g. EXIT_SAPMV45A_002
This exit is found in SD in enhancement V45A0002.
TYPES OF EXITS
1)MENU EXITS
2)FUNCTION EXITS
3)TABLE EXITS
4)SCREEN EXITS
5)KEYWORD EXITS
6)FIELD EXITS
We use SAP transactions CMOD and SMOD to manage exits. Before implementing an exit , it is required to create the project by using CMOD
selecting the enhancement e.g. V45A0002 and selecting the component
(one which fulfills our need) i.e the exit which will be implemented in SMOD and after coding has been done the project has to be activated.
An exit can be coded only once.
FUNCTION EXITS
These are used to add functionality through ABAP code . These start from the word EXIT_programname_NNN ending in a 3 digit number. No access code is required to implement any tupe of exit including function exits.
The function exits are called from the standard SAP program in the form
of ABAP statement
CALL CUSTOMER-FUNCTION 'NNN'
This is in contrast to USEREXITs where PERFORM statement is used to call
the required userexit.
To implement the FUNCTION EXITs first of all the project is created and a suitable enhancement package is selected and from its compnents the function exit to be implemented is selected and on double clicking it the exit code will appear in ABAP EDITOR(se38) where a Z include will be found and the customer code should be entered in this include.
e.g.
ADDING A DEFAULT SOLD-TO-PARTY in Sales Order Creation
To show a default sold-to-party in this field when the user creates a sales order (VA01) we can use a function exit .This function exit is located in enhancement no V45A0002 . Before we can choose the exit we have to create a project in CMOD after that enter V45A0002 in the enhancement field and click on the components . In the components you will see the exit EXIT_SAPMV45A_002 . This exit is used for our purpose.
Double clicking on this exit will takes us to function builder (SE37) . This
function exit has one exporting parameters and two importing parameters, we are interested in exporting parameter which is E_KUNNR of type KNA1-KUNNR i.e if we move the desired customer name to this structure(E_KUNNR) it will be shown in the field as the default value when we create the sales order. This function also contains a customer include ZXVVA04 . This include will be used to write our custom code .
Double clicking on this include and it will prompt us that this include does not exists do you want to create this object ,select yes and the include will be created .In this include we can write our own code that will fill the field E_KUNNR.
e.g. E_KUNNR = 301.
Activate the include and Activate the project. Now when ever the SALES ORDER will be created , sold-to-party field will come up with a predefined customer .
FIELD EXITS
The field exits are managed,created,activated through program RSMODPRF. The field exit is associated with a data element existing in ABAP dictionary and hence to the screen field using that data element.
The format of field exit is :
FIELD_EXIT_dataelement_A-Z or 0-9
If a particular screen and program name is not specified than the field exit will effect all the screens containing that data element.
The function module associated with field exit shows two parameters
INPUT and OUTPUT. Input parameter contains the data passed to the field exit when the field exit was invoked by the R/3 , We can write our own code to change the output parameter depending upon our requirements.
Before the field exit can have any effect the system profile parameter
ABAP/FIELDEXIT in all the application servers should be set to YES
ABAP/FIELDEXIT = YES.
Regards
Naveen. -
Dear Experts,
Can you tell me the user-exit of KS01 and KE51, when user create new cost center and profit center, i want to pass the information to another database. so I need user-exit.
Best Regards,
MerryHi Merry,
These r exits for KS01
COCCA001 Customer enhancement to cost center authorization checks
COCCA002 Customer Functions for Organizational Authorization Checks
COOMEP01 CO-OM: Information system -> line item reports
COOMKA01 Customer Fields for Cost Element Master Data
COOMKS01 Customer Fields for Cost Center Master Data
COOMKS02 Cost Center: Checks When Saving
COOMKS03 Cost Center: BAPI Enhancements
COOMLA01 Customer Fields for Activity Type Master Data
and for KE51
PCA00001 EC-PCA: Document changes for data transfer
PCA00002 Profit Center Accounting: derivation of representative mat.
PCA00003 Derive Partner Profit Center for External Deliveries
PCA00004 Check valuation for invoice verification with transfer price
PCA00005 Check valuation for invoice verification with transfer price
PCASELEK EC-PCA: Selection criteria for data transfer
Regards,
Tarun
Edited by: Devalla T Kumar on Dec 29, 2009 10:14 AM -
User-exit/BADI to change Purchase Contract item field ??
Hello,
I need to update the Order acknowledgement field(EKPO-KZABS) for the Purchase contract via transaction ME32K.
I need to know if there is any user exit or BADI for the Purchase contracts (Outline agreement), so that this field KZABS can be updated while saving. I did not find any user exit so far in which line item is a export parameter. There is one BADI definition ME_PROCESS_PO_CUST but it is called only in case of Purchase Orders and not in the contracts. Please let me know if you have some idea how to do this.check these exits....
EXIT_SAPMM06E_012
<b>EXIT_SAPMM06E_013</b>
EXIT_SAPMM06E_014
EXIT_SAPMM06E_006
EXIT_SAPMM06E_007
EXIT_SAPMM06E_018
EXIT_SAPMM06E_016
EXIT_SAPMM06E_017
vijay -
I have installed adobe reader onto my Mac but when I open up an adobe pdf it tells me that i need to accept the end user license agreement, quite, and then open up a new browser but i have never seen the end user license agreement. What should I do in order to accept the end user license agreement even though it never pops up when i install adobe reader?
Make sure Readr is closed. Go to the Applications form, look for the Adobe Reader icon, double click on it, and follow the lead. Restart Reader when finished.
-
Select field and hide field at data source ganaration for LO extrction
Hi GURU,S
Could any one tell me what is differce between select field and hide field at data source ganation in LO at r3 side.what happend if u select field and hide field.
Regards.
hariHi Hari,
If you choose Select fields, you'll be able to filter this IO in Selection tab of infopackage (set IO's value(s) to be loaded).
In case of hide field you'll not have it in the transfer structure at all.
Best regards,
Eugene -
Badi's, user exits, function modules and reports
Hi all,
Can anybody tell me the exact diff among Badi's, user exits, function modules and reports? I mean what are their functions?
thanksHi,
This is a beginners question,but still you can check the below links.
BAdis:
Regarding Enhancements/User-Exits in ABAP
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ee/a1d548892b11d295d60000e82de14a/content.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/779183#
FM:
http://help.sap.com/saphelp_nw70/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
Reports:
http://it.toolbox.com/wiki/index.php/How_many_types_of_reports_are_there_in_ABAP_and_what_is_the_difference_between_them%3F
Regards,
saurabh -
Re: User Exits on Updating and Integrating
Carl,
I sent this out to the list some time ago. But in case
you missed it here it is again.
Below is a zip file (UUencoded) containing instructions
on integrating Forte with Microsoft SourceSafe. It may
contain enough information for you to figure out how to
tap the repository callouts that happen on integrations.
-Fred
[email protected]
>
I was reading an old Forte v3.0 presentation on whats new in Forte v3.0.
One of the proposed features was a set of primitives for defining user exits
on updates and integrations.
I haven't seen any facility for this in Forte v3.0g though. Has this in fact been
done ? Does anyone have any information on this.
Thanks,
-Carl
Carl Schei
Technical Forte Consultant
South Africa
+27 31 3641765 (w)
email : [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>------------------------------------------------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of
Reuters Ltd.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Although not a direct answer to your question, this blog series will help you to understand the difference better :
/people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners
/people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
/people/thomas.weiss/blog/2006/05/03/source-code-enhancements--part-5-of-the-series-on-the-new-enhancement-framework -
Developing custom IDOC , USER Exit , BADI , BAPI and RFC
Hi,
I want basic information on developing custom IDOC , USER exit , BADI ,BAPI and RFC.
Thanks in advanceNeha,
>custom IDOC ,
http://www.geocities.com/xplosion78/customised_ALE_IDOC_BY_SACHIN_DABHADE.zip
>USER exit
USER EXIT
> BADI
BADI Development Contents
> BAPI and RFC
Re: BAPI Development
Cheers
Agasthuri Doss -
User Exits on Updating and Integrating
I was reading an old Forte v3.0 presentation on whats new in Forte v3.0.
One of the proposed features was a set of primitives for defining user exits
on updates and integrations.
I haven't seen any facility for this in Forte v3.0g though. Has this in fact been
done ? Does anyone have any information on this.
Thanks,
-Carl
Carl Schei
Technical Forte Consultant
South Africa
+27 31 3641765 (w)
email : [email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>You can use the BADI:MB_MIGO_BADI. In this badi you could check the header by using the method status and header.
Hope this solves your problem.
Regards,
Narayani -
User Exit transaction VI01 and VI02 for checkup.
Hi all, I need one user Exit transaction VI01 and VI02 for checkup.
How to realize a checkup on having modified expenses of transport VIO1 and VI02?
I need name user exit please for checkup on having modified expenses .Hi Rubén,
Check the follows BADIS, they could be helpful:
BADI_SCD_ACCTG
BADI_SCD_CREATE
BADI_SCD_CREATE_CHCK
BADI_SCD_PROCESS_CHK
BADI_SCD_SAVE
BADI_SCD_TRANSFER
regards,
Alejandro. -
LSMW-Vendor master data and Vendor Open items Upload
Dear Experts,
I need help on the following
Do you have any docs with you where I can familiarize myself with the AP upload programs in LSMW?
sample template for me to test the upload via LSMW? sample template and the programs used to upload the vendor master and Vendor open items.how to use the program for example like some instruction docs step by step doc etc.
Thanks n Regards
Rena.hi
there are 14 steps u have to go through while uploading...
first u create Project and Sub Projects...
1 Maintain Object Attributes
select Batch Input Recording.
click on Overview.
enter Recording
Then it wil ask for the Transaction code there u enter XK01 for creation
u enter all The details Which are Given to u in Excel by ur CTM Members.
note: Dont use Mouse while Entering the data.Use Only Key Board.
After Entering all the required details click on Save...
select Default All
System-> List -> Save -> Local File
Convert Excel to Text File(Text Tab Limited)
2 Maintain Source Structures
Create Source Structure.
3 Maintain Source Fields
click on Copy Fields
Select From Data File
Select Max Len
save + back
4 Maintain Structure Relations
save+back
5 Maintain Field Mapping and Conversion Rules
Extras -> Auto Field Mapping
select Edit All Target Fields
save + Back
7 Specify Files
Click on Execute Button or press F8.Select u201CSPECIFY FILESu201D click on Execute or press ctrl+F8.
then double click on the u201CLEGACY DATA FILEu201D and select the text file to be uploaded
Then select u201CTABULATORu201D and u201CFIELDS NAMES AT START OF FILEu201D
8 Assign Files
SAVE AND CLICK ON BACK
9 Read Data
Execute + back
10 Display Read Data
Back
11 Convert Data
Execute + back
12 Display Converted Data
back
13 Create Batch Input Session
Select u201CKeep Batch Input Folderu201D click on Execute.
14 Run Batch Input Session
Select Processing mode
1) Process in Foreground: Executes Each Step.
2) Display Errors Only: Displays only the Errors.
3) Background: Skips The Errors.
Select Extended Log and Click on Process as shown in Screen Shot.
Edited by: Smitha KB on Feb 24, 2009 10:32 AM -
Do F-32 Clear Customer and Process Open Items just do BKPF/BSEG adds/chgs ?
!uestion 1:
When a user executes F-32 in "clear customer" and "process open items" modalities, are BKPF and BSEG the only tables that actually get changed via adds or updates?
Or are there other tables affected as well?
Question 2:
If BKPF and BSEG are the only affected tables, can I safely emulate the effect of the F-32 Clear Customer and Process Open Items Modalities by:
1) examining the BKPF/BSEG records added or changed;
2) using the appropriate BAPI(s) to accomplish these adds/changes (like BAPI_ACC_DOCUMENT_POST)
Question 3:
If BKPF and BSEG are NOT the only tables affected by F-32 Clear Customer and Process Open Items, can I emulate these modalities of F-32 thru an appropriate combinaton of BAPIs ?
Note:
The reason Im asking these questions the way I am is because a search of SDN turns up no really good answer to the question of whether the Clear Customer and Process Open Items modlaities of F-32 can be emulated by one BAPI or a combination of BAPI's.
So by formulating questions (1-3) the way I have, I'm hoping that someone will provide SDN with a clear and definitive answer to the "F-32 BAPI Emulation" question.
Thanks for any expert advice anyone can provide.
Best
djhActually, the "right" answer in this case is to call CLEAR_DOCUMENTS and model the call after the call in PRELIMINARY_POSTING_ZANF_CLEAR
-
Transfer of customer and vendor open items available? (like asset transfer)
Hello,
May I ask you about your opinion.
In SAP we have functionality to transfer assets from burks"A" to bukrs "B".
Do we also have this functionality for customer and vendor open items?
Thank you for your opinion and expertise.
all the best ErwinHi,
Please check following links
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f33e12-aeac-2a10-2186-ed8301f778ba?overridelayout=t…
Cross company-code invoice posting and configuration - ERP Financials - SCN Wiki
Regards,
Tejas -
Customer and vendor open items
Hi All,
What is customer and vendor open items.Hello Shailesh,
When you procure some goods from a Vendor you create a "Vendor Invoice" for it & similarly when you sell goods to a customer you create a "Customer Invoice".
So in simple accounting terms you need to pay money to a vendor & get money from a customer (i am not getting into complicated cases).
The vendor invoices for which you have not paid money are called "Vendor Open Items". Similarly the customer invoices for which you have not received money are called "Customer Open Items".
The SAP tables for this are:
BSIK --> Vendor Open Items
BSID --> Customer Open Items.
Hope this helps.
BR,
Suhas
Maybe you are looking for
-
Made a website in iWeb '08, and would like to work on it in iWeb '09 too!?!
We originally had iWeb '08 on our G5 iMac on which I made my website. Recently we bought a new Intel based iMac which has '09 on it. We are still using both computers in the house on a wireless network. I would like to primarily continue to work on t
-
In my web application , we are capturing arabic name and storing it in oracle database // while saving this.arabicDesc=new String(paymentTransactionTypeDetailVO.getArabicDesc().getBytes("ISO8859_1"),"UTF8") ; // while retrieving from database payment
-
USB adapter for Toshiba MK6034GSX
Does anybody know where to get a USB adapter to fit this hard drive. It has blade type connectors not pins? The laptop will not boot and I'm trying to extract the info if at all possible before I try a format. Solved! Go to Solution.
-
How we can populate the form data from 2D barcode
Hi All, Can anyone tell me how we can populate the form data from 2D barcode, will this can be done through script(javascript)?. Thanks & Regards, Faisal Afzal
-
One computer, two different ipods, one shared library?
Is there a way to setup two different ipods on one computer. I currently have my ipod library setup on an external drive. I setup a separate user profile for my husband. I pointed the library to my external drive, but no music files show up on his ac