Help in user exit...urgent
hi friends,
i have to find user exit for the following purpose in FI module....
While making the Down payment to vendor via T.code F-48, we have to validate the field BKPF- XBLNR. The entry in this field should be either PO number or Service entry sheet. rest should no enter...by validating....
regards
veera
Hello to all,
You can have this control by using substitution through obbh. First you need to copy the substition user exit program to a Z* program. Go to GCX2 to customize the program name that is used in substitution. Then copy(SE38) the program name for "Val/sub:Exits for substitution" to a Z program then maintain this customizing table with newly created Z* prog. (ZGGBS*****) .
Then you have chance to change the userexit source codes in substituion. After you copy program and maintain this customizing table , please go to OBBH to maintain the substitution. Create a subs. or create a step for existing subs. When you create a step, a pop up appears and asks you to select the subs. field, select only exit. Then assign U100 or U900. for exit.
After that maintain the subs condition for example BKPF-TCODE = 'F-48' and then the program enters to your user exit which is a part of your copied program in the beginning steps above. Then you can control any data with database tables , because most of the fields of bseg and bkpf structures are filled before this exit. then you can compere your XBLNR field with PO tables. You need an ABAPer to do it if you are not familier with abap .
Regards,
Baris Cekic.
Similar Messages
-
Need help for user exit mereq001
Hi,
I need help for user exit mereq001. I think I messed up with include table CI_EBANDB and CI_EBANMEM. And When I tried to check the syntax . It gives me error like : <b>Class IF_PURCHASE_REQUISITION. Inconsistency in the dictionary for the structure mereq_item_s_cust_data.</b> Anyone had experience for this exit? I just need to extract costcenter information of the each item from the requisition and block the requisiton if the costcenter are differents from each other before the requisition is saved. Any one has idea about it?
Thanks.biao,
Have you checked this struture consistency from SE11. Also check the activation log.
If there are any errors and you are not able to rectify the same use RSDDCHECK program, give your table name and run the report.
This will list down the error structures releated this table and also prompts for you to activate it.
Regds
Manohar -
Urgent Help in User-Exit for MM!
Hi,
1. I am writing code in the Exit "EXIT_SAPLMGMU_001".
2. I have to pop-up error/warning messages for incorrect data entered in various fields/screens/views of MM01/MM02 transaction.
3. The Exit gets triggered when i press "SAVE" after modification.
4. When I create the Classification View, i enter the class type as "001" for material class.
5. Then i need to enter a value "Z_Product" in the class column(on the screen in classification view). This class is the "Product Class" (description).
My problem is to find this value that i enter on screen before "Save" i.e. when i am creating material for the first time in MM01, i dont want the error message to pop-up if i am entering any value in the class column and also entering values in the internal characteristics for that class.
Basically i want to read the values (before "SAVe") entered in the class column as well as want to know the values for the internal characteristics of the class.
For Class, the std. field is "RMCLF-Class" , but i have no buffer field available in my exit that contains the value for the Class. I have also tried using "Get parameter ID", but it doesnt work.
For Internal Characteristic values (of the class) that are entered in the tab(that appears on pressing "Enter" after filling the Class value) below the Class tab, i am fetching data from std. table AUSP to check for corresponding entries for that particular material number....but this table will get updated only after "SAVE" and so i would be able to read the values only in MM02.
Please help me in finding out a way for reading the class values & Characteristic values in my user-exit.
Thanks & Regards,
TejasHi Ronak.
You can try with <b>'EXIT_SAPLCLFM_002' (CLFM0002)</b>. This is the exit for the classification view. You can get this for the transaction CL22N / CL24N.
This is also called in MM01 for classification values. This classification details are cross application components. So This is also called from other transaction.
Regards
Rusidar. -
Ugrent help. User exit- Read data from BW BPS layout and write to ODS
Hi,
I am new to BW BPS and have a req. where i need to read data from BPS layout (EXCEL) and write it to ODS.
Is there any function module or user exit which read data from excel layout and upload it to ODS. Or can any one help me out how can i write a code for this.
It is urgent and i need your help.
Appreciate any kind of input.
Thanks
MamathaDear Mamatha,
read following documents. i hope it will work for you.
[http://www.geocities.com/cynarad/reference_for_bps_programming.pdf]
[Accessing BW Master Data in BPS Functions using ABAP ( Exit Function )|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d3dcc423-0b01-0010-4382-aa3e0784b61e]
Regards,
Malik
Give me points if its helpful for you. -
VT02n : User Exit (Urgent)
Hi all,
I have a requirement where in i need to incorporate some logic when the user presses the Exit and Cancel Button in VT02N based on the function code for eg.
for Exit FC (MM_BEEN) and For Cancel (MM_ABBR).Can anyone tell me the user exit which gets triggered so that i can incoporate my logic according to Function code like ( if sy-ucomm = 'MM_BEEN' . do something) .
Many Thanks in Advnace
Cheers
AhmedTransaction Code - VT02 Old: Change Shipment
Exit Name Description
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
V56FSTAT Shipment processing: Activities when setting a status
V56L0001 Status of Shipments for a Delivery
V56LDELI Read Delivery Data for Shipment Processing
V56LOCID Shipment Processing: Determine Location Identification
V56MVT04 Extensions for Collective Processing of Shipments
V56SLDET Shipment processing: Leg determination
V56TDLIF Filter Delivery Items for Shipment
V56UCHCH Shipment processing: Check whether changes were made
V56UCHCO Check shipments are complete
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UNUMB Shipment number allocation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
MV56AINI Initialization of transaction control for transportation
No of Exits: 22
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
Help on User Exits with example needed
Hello Experts,
Need help/material on:
1)Understanding Advanced Customization (VOFM, User Exits)
2)Calculating Freight Charges
3)Integrating Credit and Payment Cards
4)Interfacing with Other Modules (MRP, AR)
5)Using Batch Delivery Processing
Regards
InnovaHi,
There are a number of techniques SAP have used over the years to implement user-exits.
The most recent exits will be found in CMOD. Using CMOD (or SMOD), you can list all the enhancements available, that use this technique. As usual in the SAP world, the later the version of SAP you are using, the more exits are available.
Other exits do not use the enhancement technique. For example, in Sales Order Processing (SAPMV45A), SAP have provided empty forms, such as USEREXIT_SAVE_DOCUMENT_PREPARE that can be used to provide customer functionality. With one client, this was used to set the blocking indicator on a sales order, if a manual change had been made to pricing. The requiredscript is written in between form and end form.
Another technique is the use of validation and substitution rules in the financial modules.
The best way to find the user exits available is through the IMG. The relevant nodes will take you to where the customisation can be performed. Usually, the associated IMG note details the use of each exit, though there are gaps.
Award points if helpful.
Message edited by
Mohan -
ABAP help in user exit variables
Hi,
In the selection screen of a query, I have an optional variable CalenderMonth (SOMONTH). I have to calculate another user exit variable (CALMONTH) in ZXRSRU01 by using this SOMONTH. This is how. If the value SOMONTH is entered, then I need to assign SOMONTH to CALMONTH. If SOMONTH is not entered, then I need to set CLAMONTH to current calender month from system date.
For that, I need to check if SOMONTH is entered or not in the program ZXRSRU01. This is what I am trying to do, and is not working.
WHEN 'CALMONTH'.
If I_step = 2.
Loop at I_T_VAR_RANGE into LOC_VAR_RANGE
Where VNAM = 'SO_MONTH'.
IF LOC_VAR_RANGE-LOW IS INITIAL.
ELSE
ENDIF.
<b>PROBLEM:</b> The statement "IF LOC_VAR_RANGE-LOW IS INITIAL." is not working. When I try to debug the code, program aborts at that line. By this line of code, I mean to check if SOMONTH is initial or not.
Any suggestions or ideas very much appreciated.
Thanks alot
JohnHi
When I have tried something similar to this (in BW v3.1), and the (optional) variable I am reading from is not populated by the user; in STEP 2 table I_T_VAR_RANGE does not contain a record for it. Hence, the logic I would use is:
CASE I_VAM.
WHEN 'CALMONTH'.
IF I_STEP = 2.
READ TABLE i_t_var_range INTO loc_var_range
WITH KEY vnam = 'SOMONTH'.
IF SY-SUBRC = 0.
loc_range-low = loc_var_range-low.
ELSE.
loc_range-low = sy-datum+4(2).
ENDIF.
loc_range-sign = 'I'.
loc_range-opt = 'EQ'.
APPEND loc_range TO e_t_range.
ENDIF.
Hope this helps. -
Help needed: user exit for CO02
I have a problem with user exit. I need to display an error message when the quantity of a specific component of a material is changed in CO02 and user hits save button.
I inserted my code in include program ZXCO1U01. Based on the material type if the user changes the quantity I will display a message. But the problem is the documentation shows that we cant insert a error message in this exit. Its giving a dump if I do that.
I am calling a new screen to display a message but if I try to execute CO02 again for the same order its displaying error messages as that component will remain locked.
Please help me regarding this.
ThanksHi Bobby,
We had similar issue and we have added a code to send an e-mail message to the user is any error occurs.
You can't insert an error meesage in this user exit.
Lanka -
Help in user exit and enhancement
hi expects,
can any body help me by providing me the enhancement and user-exist material.please help meHi Santosh
User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
The naming standard of function modules for functionmodule exits is:
EXIT_<3 digit suffix>
The call to a functionmodule exit is implemented as:
CALL CUSTOMER.-FUNCTION <3 digit suffix>
Example:
The program for transaction VA01 Create salesorder is SAPMV45A
If you search for CALL CUSTOMER-FUNCTION i program
SAPMV45A you will find ( Among other user exits):
User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a functionmodule. The code for the function module is writeen by the developer. You are not writing the code directly in the function module, but in the include that is implemented in the function module.
The naming standard of function modules for functionmodule exits is:
EXIT_<3 digit suffix>
The call to a functionmodule exit is implemented as:
CALL CUSTOMER.-FUNCTION <3 digit suffix>
Example:
The program for transaction VA01 Create salesorder is SAPMV45A
If you search for CALL CUSTOMER-FUNCTION i program
SAPMV45A you will find ( Among other user exits):
CALL CUSTOMER-FUNCTION '003'
exporting
xvbak = vbak
xvbuk = vbuk
xkomk = tkomk
importing
lvf_subrc = lvf_subrc
tables
xvbfa = xvbfa
xvbap = xvbap
xvbup = xvbup.
The exit calls function module EXIT_SAPMV45A_003.
*2. How to find user exits *
Display the program where you are searching for and exit and search for CALL CUSTOMER-EXIT
If you know the Exit name, go to transaction CMOD.
Choose menu Utillities->SAP Enhancements. Enter the exit name and press enter.
You will now come to a screen that shows the function module exits for the exit.
*3. Using Project management of SAP Enhancements *
We want to create a project to enahance trasnaction VA01
- Go to transaction CMOD
- 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 i 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 = '2155'.
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 "2155"
for more information.
try out with this links:
[http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm]
Hope answered your question.
Reward if helpful
Thanks
abdul -
Hi
i use transaction vl10g - to create delivery
i want when the delivery create to update table vbuk
i didn't find any user-exit on create or save
Can you help me
Thanks
have a nice dayHi Yossi,
Check out the following if works:
V50Q0001
V50PSTAT
Ashven -
Require help on User Exit for t-code VA31
Hi All,
I have a requirement of updating one of the fields in the Customer Master for selected Sold-to-party while creating or modifying a scheduling agreement.
Is there an user exit available for doing this?
Please help on this as early as possible.
Thanks,
HemaExits for the tcode VA31 are
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly
V45L0001 SD component supplier processing (customer enhancements
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing
Regards
- Gopi -
Help on user exit (credit limit blocking)
Hi,
Currently, my user exit checks the order value in va01, va02 against the remaining credit and puts a credit block on the customer/order if the order value is higher than the credit limit.
However, it should only take confirmed order values. For example, if the user entered 10 qty, but only 1 qty exists, then only 1 of the values should be considered when it against the credit limit.
Please help.
Thanks,
JohnHello John,
Use MV45AFZF Include
here look at documentation top of the form routine
FORM USEREXIT_AVAIL_CHECK_CREDIT USING US_VBAK STRUCTURE VBAK
US_VBUK STRUCTURE VBUKVB
US_VBAP STRUCTURE VBAPVB
US_RELEASE
US_RECHECK
CHANGING CH_CHECK.
DATA: CON_CHECK_STANDARD LIKE SY-SUBRC VALUE 4,
CON_CHECK_NO LIKE SY-SUBRC VALUE 8,
CON_CHECK_YES LIKE SY-SUBRC VALUE 0.
CH_CHECK = CON_CHECK_STANDARD.
CH_CHECK = CON_CHECK_NO.
CH_CHECK = CON_CHECK_YES.
ENDFORM.
Thanks
Seshu -
Hi,
Please help me to do coding inside this..new to user exit.
Guide me step by step
EXIT_SAPLRSAP_001 for Transactional DATA.
EXIT_SAPLRSAP_002 for Masterdata Attributes.
EXIT_SAPLRSAP_004 for Masterdata Hierarchies.
EXIT_SAPLRSAP_003 for Master data Texts.Hi,
Specification-requiremnt.
Right now i have only a brief idea about it.
I need to get the information regarding the coding side.
Thaks and regards -
Hello,
I am and include within a user exit and what i am trying to do is:
populating a field that shows up in a screen popup. transaction is iw32 for which the program name is different than that of the screenvalue that im trying to populate. in iw32, in components tab, i add a component and then i get a popup to populate the purchasing group field and this is the field that i am trying to put a default value into so that I do not get prompted. Please help.
Thanks.Hey Jasmeet
You can definitely get the values of RESBD in this exit. Please use the code below to get the resbd-ingrp value from the screen:
DATA:l_field(60) TYPE C VALUE '(SAPLCOMK)RESBD',
ls_resbd TYPE resbd.
FIELD-SYMBOLS: <fs_resbd> TYPE ANY.
*Fetching the Component Item from the Screen. This is for read-only
*purpose and content should not be changed.
ASSIGN (l_field) to <fs_resbd>.
if sy-subrc eq 0.
ls_resbd = <fs_resbd>.
UNASSIGN <fs_resbd>.
endif.
Now you have all the values in the structure ls_resbd and you can easily set the value for ingrp according to your conditions.
Hope this helps. Let me know if this is what you want.
cheers
shivika -
Need help in user exit !!!!!
I have two requirements like
1.When the SAP Sales Order is shipped a SAP iDoc DESADV will be triggered. Note This idoc already exists.
2. On the generation of a Shiping Document Reversal (Trans code VL09) and Idoc will be created
I want to get the user exits for both the cases.Hi Deb,
What are U trying to achieve, are you sending a notitification to the customer of the shipment. If so you may not have to go through a user exit but will have to setup idoc processing for the same by the customer. Same will be true for credit memo. Look at WE20,SALE or under sap menu-> Tools->ALE.
Thanks
Deep
Maybe you are looking for
-
Hey can anybody help me get the code for my hp laptop for my administrator password or power on password? They gave me these numbers 945 55406 for system disabled This question was solved. View Solution.
-
Mail did not migrate using migration assistant
I just used migration assistant to transfer all data ans settings from my old MBA to my new MBP Retina. Everything seemed to have transferred well except for Mail. I have no accounts in Mail and need to set up every mailbox all over again. Did some
-
Midi Will Not Recognize My iPad For New Session
I have a Mac Mini and it's running OSX. I got a new app for my iPad2 called Ac-7 Core. I can get into the MIDI setup network and I even see my iPad listed up there. However it will not allow to me to create a new session or even connect to my ipad. I
-
Muse update installation issues
I have a monthly subscription to Muse and everytime I try to install the latest updates Ihave issues. When I try to install directly from MUSE it tells me to check my network connection - which is always fine. I have tried pausing my virus protection
-
Hi i want to install an mail Id on Ipad Mini other than yahoo an google but it is showing an error message about SSL could not connect. Please give me the solution on this.