VA21 and VA22 User Exits
Hi
I have built a user exit for VA21 and VA22 in RV61AFZB as an include
I need to modify the way conditions tab is displayed...
Its a very simple requirement where I need to sumup the records of XKOMV which have the same KSCHL (say VA000) into one record...
KSCHL KWERT KMPRS
VA00 5
VA00 10
Now I need to show it as
KSCHL KWERT KMPRS
VA00 5
VA00 10
VA00 15 X
I have done the above successfully for the table XKOMV but the problem is the above summation runs in a kind of loop and the summation gets appended everytime because of some other standard SAP code
Has anyone faced the problem above... I have tried appending the values only for the last loop but it has other complications
Hi,
Here is my suggestion..
In the pricing procedure add a line after the condition type VA00...
Then assign a new formula for that line...
In the new condition value formula (VOFM)...sum up the value based on the entries in XKOMV and assign the value XKWERT...
It will display the value as per your requirement...
Hope this what you are looking for...
Thanks,
Naren
Similar Messages
-
Addition of new fields in VA21 and VA22 Transaction
Hi All
I want to add a new field (custom) in VA21 and Va22. This field would then need to calculate values at run time. Has any one achieved this before? The field to be added is a multiplier. Its a kind of discount field.
Which screen exits and user exits are available for it.
Also pls tell if this is possible through SPRO, like if SAP has provided any unused fields which can be used.
Regards,
JayantHi Hoffmann,
Thks for responding. I will make you clear the procedure tht i have followed
1) Copied the MGD1 function group to ZMGD1.
2) Copied MARA table into ZMARA.
3) Followed the procedure given in website - http://www.****************/Tutorials/ExitsBADIs/MM/MM01.htm
4) Added two fields in screen 0001 pattno patttype.
4) Successed in creation of screen and it is even showing when i am opening MM01 screen basic data1 the two fields that i have added.
5) Issue is when i am giving the data it is not gettong stored in ZMARA table, as i have not given the coding in USER exit EXIT_SAPLMGMU_001 my new fields data will not be saved but the material number has to be saved thts my doubt.
Hope it is pretty clear.!!! -
Va21 and va22 need to display messages based on item condition
pls provide me the exit name or enhancement spot name where i can display the messages in tcode va21 and va22 with respect to line items.
there are komp-kzwi6 one field is there in this structure with respect to this field condition i need to populate the warning message.
pls provide me as soon as possible.
in MV45AFZZ i have tried. but for this exact field condition i am not getting
Edited by: Shantha Sheela on Apr 2, 2009 12:08 PMcould u pls explain more abt this since its holding only the below parameters.
not the komp structure.
IMPORTING
*" VALUE(I_VCSD_UPDATE_NEW) LIKE VCSD_UPDATE
*" STRUCTURE VCSD_UPDATE
*" VALUE(I_VCSD_UPDATE_OLD) LIKE VCSD_UPDATE
*" STRUCTURE VCSD_UPDATE
*" VALUE(I_VCSDPOS) LIKE VCSDPOS STRUCTURE VCSDPOS
*" VALUE(I_VBAP) LIKE VBAP STRUCTURE VBAP
*" VALUE(I_VBKD) LIKE VBKD STRUCTURE VBKD
*" VALUE(I_VBAK) LIKE VBAK STRUCTURE VBAK
*" EXPORTING
*" VALUE(E_VBAP) LIKE VBAP STRUCTURE VBAP
*" VALUE(E_VCSDPOS) LIKE VCSDPOS STRUCTURE VCSDPOS
*" VALUE(E_VALUES_CHANGED) -
No change document and no user exit is found for CK11N tcode
Dear All,
After execution of the transaction CK11N in CDHDR table i dint find any entry for change document.
But there is a business object for this transaction :BUS2044 which has no event .
As there is no event in the business object and there is no change document also so how i will trigger this business object for CK11 transaction.
I serached for user exits also but i dint find any.
So can any body pls tell me how to trigger the business object for the transaction CK11.
Thanks
sharmistha
Message was edited by:
sarmistha dasIf there is no event it is difficult to trigger an event. So in any case you have to create your own subtype of BUS2044 and define the event you want to create.
If there are no user exits (I assume you have also looked for user-exits of type BTE and BAdI, even substitutions) you are perhaps out of luck? Being out of luck in this context means you will have to resort to a modification. -
Currency Conversion for billing doc and after user exits in COPA
Hello Friends,
Need your view on this issue:
1. Company codes currency and Operating currency is different., Costing Based CO-PA.
2. Value filed "Gross Sales" get posted via Billing doc. In case of correction billing or re-posting (after reversal of original one) of billing doc value
field "Gross sales" get posted based on exchange rate of original (very first) posted document because system is updating "Translation date"
in table BKPF from very first document posted and not taking current date as a translation date. SAP standard program is reading "Translation date" from BKPF to chose exchange rate and valuating "Gross Sales" on that ex.rate.
3. Some user exits in COPA valuation to populate some values for other value field (Example - Gross Sales value should populate in value field
"Sales ASP"). After valuation in exits, SAP standard program is re-valuating value fields value (program statement is : perform currency conversion for fields that were changed in exit ) and for this valuation system is taking posting date for exchange rate.
Due to above logic company code currency value is different in Gross Sales and Sales ASP.
Requirement is : Sales ASP value should be same as Gross Sales.
Can you please share your thought to find the solution.
Thanks
RaviCheck if the currency key and the unit of measurement are filled in (these will be the reference fields specified in the field definition of the structure at the database level).
-
Calling a Tcode IW51 and restrict user exit
Hi ,
A new validations are placed in IW51 tcode and it is woking fine.
When i am calling the IW51 by using call transaction method the previous User is calling .
If this TCODE IW51 is calling by using call trancaction method I should not exicute the user Exit.
Regards,
EshIf there is no event it is difficult to trigger an event. So in any case you have to create your own subtype of BUS2044 and define the event you want to create.
If there are no user exits (I assume you have also looked for user-exits of type BTE and BAdI, even substitutions) you are perhaps out of luck? Being out of luck in this context means you will have to resort to a modification. -
Hi strong functional and technical, user exit, oss note
HI
Transaction codes are J1INCHLN and J1INCERT.
for this TC, there is no user exit, but i have to use one of the fields as cheque no field i.e. in short i have to use one unused field for my purpose.
there is OSS note for this TC and in that user exit is there.
i want to know the OSS note for this TC.
what is the solution.
thanx
rockyHi,
General Notes
You can execute the following commands in the transaction code (tcode) field with Enter. You will find some useful transaction codes below to work in tandem with the following commands:
To call a transaction - In the same session (window) Enter: /nxxxx (xxxx = transaction code). - In an additional session, Enter: /oxxxx (xxxx = transaction code).
If you enter this function before any of the tcodes below, you are able to break out of your current screen/business and begin a completely new session. Otherwise, the current business process has to be terminated, and return to the initial user screen (the main menu) has to be initiated before entering tcode spro). /o tcode saves you the effort of having to do this.
To end the current transaction Enter: /n. Caution: Unsaved changes are lost without warning
To delete the current session. Enter: /i.
To generate a session list Enter: /o.
To log off from the system Enter: /nend.
From John O'Meara
OSS Note 0026171 has additional information on OKCodes in SAP, and is a very useful read
Thanks,
Shankar -
Hi all,
we are on R/3 4.6C. We need to insert a custom authority-check in ME54 and/or ME55.
This because we need that each user can release only PR created by him.
With user-exit MEREQ001 we were able to reach our goal in ME52N and ME53N. Unfortunately MEREQ001 is not working for old (not enjoy) tcodes (ME52 and ME53).
Since ME54 is an old tcode, probably it works as ME52 and ME53: MEREQ001 is not relevant for them. In 4.6C ME54N does not exist.
Any idea for insert an authority-check in ME54 anr/or ME55 ?
Thanks in advance
Andrea CavalleriHey,
Did you find any solution to the problem? I am facing a similar situation in 4.6C and cannot find a user exit/BADi that gets triggered for ME54. -
VA02 and VF02 User Exit - entering transaction
Hi all,
I am trying to find a user exit that will be called when the user opens a document.
For example the user types in VA02 and enters the sales order number. When they press enter, the user exit is called.
Can someone tell me which user exit can be used for VA02 and VF02 (or how to find it)?
Thanks,Following are the BADI's called while opening a sales document in VA02.
<BADI farm removed by moderator>
Following are the user exits called while opening a sales document in VA02
<exit farm removed by moderator>
Moderator message: please reply with specific information only, not a long list of technical objects that might or might not help.
Edited by: Thomas Zloch on May 20, 2011 9:28 AM -
Finding and Implementing User Exits in SAP CRM 2007 Web Gui
I will appreciate any information about this topic.
Thanx in advanced.What I need to know is the following...
Through the WEB GUI I modified a BP Mktg Attributes and two BDOCs are triggered: CHARVAL_MSG
and MKTPROF_MSG. But if no changes are made to the BP principal data BUPA_MAIN is not triggered so what I need to know is how can I Enhance BP Web GUI TX(Screen) to always modify a field... this way BUPA_MAIN will always be triggered.
I have already Enhanced CRM XIF BUPA IDOC to send MKTG Attributes.
Thanx in advanced. -
Difference between bex user exit and macros in functionality?
Hi all,
I need to create a report on material master data. I created an infoset on 0material and 0mat_plant. In the requirem
ent, I have a report containing different material numbers followed by attributes in each row. the final column in each
row should be calculated using logic. the logic involves comparing different row values and arrive at final conclusion.
the logic comprises of large number of if conditions. so should i use bex user exit or excel macros?
what is the difference between user exit and macros in funcitonalilty?
is there an issue transporting the macro to Prod for end users to use?
any performance criteria?
Any how to documents ..will be of a lot of help
plz send them to [email protected]
Message was edited by:
ravi aHi,
Macros offer a powerful and flexible way to extend the features of MS Excel. You can either create a macro using VB code or Record a macro. Use Alt+F11 for creating macro using VB code.
You can refer to Microsoft help site or this link for more details:
http://www.taltech.com/support/sw_tricks/exmacros.htm
User-exits are empty subroutines that SAP Developers have provided for you.You can fill them with your own source code.Technically this is a modification.Customer exits are nothing but a include in customer name space will be provided in the function module which starts with CALL CUSTOMER.You can fill them with your own source code.Technically this is an enhancement.
look into following links for procedure to find and use user-exits transaction for finding user-exits is 'SMOD'
http://www.sapbrain.com/TUTORIALS/TECHNICAL/user_exits_tutorial.html
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm -
Hi i want to become storng in user exit and bapi
hi experts.,
i want to become strong in the area of user exits and badi's .
please send me the documents for it ,
Thanks in advance.
Regards,
HituHi Hitu,
Check these links..
<u><b>Badi</b></u>http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
/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
http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
<u><b>User-Exits</b></u>
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/ab038.htm
http://www.planetsap.com/userexit_main_page.htm
http://www.sap-basis-abap.com/sapab013.htm
http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
These links will help you to learn more on user exits.
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
http://www.planetsap.com/userexit_main_page.htm
http://www.allsaplinks.com/user_exit.html
www.sap-img.com/abap/what-is-user-exits.htm
Also please check these threads for more details about user exits.
Re: Screen exit
user exit and customer exit
user exit
1. Document on UserExits in FI/CO
http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
2. Finding User Exits...
http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
3. List of all User Exits...
http://www.planetsap.com/userexit_main_page.htm
Regards,
Younus
<b>Reward Helpful Answers:-)</b> -
I am looking for a document that suggests coding practices and rules that should be followed in User Exits and VOFMs in SAP R/3. Like value the variable XKWERT with the desired value in Pricing Condition Formula VOFMs, or never read an SAP defined internal table into the header line. Things like that. Does any one know of such a document?
Hi, this may help you.
User exits (Function module exits) are exits developed by SAP. The exit is implementerd as a call to a function module. The code for the function module is written 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_<program name><3 digit suffix>
The call to a functionmodule exit is implemented as:
CALL CUSTOMER.-FUNCTION <3 digit suffix>
To find a Exit.
Goto Transaction -- Find The Package
SMOD >f4>Use the Package here to Find the Exits In the Package.
Else if you Want to search by Application Area wise ,
There is one more tab to find the Exits in the Respective Application Area.
Implementing the Exit-- CMOD Create ProjectsAssgn your Component .
Now Run ur Transaction to Check if it Triggers.
Thats it..
Suppose you need to find out all the user exits related to a tcode.
1. Execute the Tcode.
2. Open the SAP program.
3. Get the Development Class.
4. Execute Tcode SE84.
5. Open the Node 'Envir. -> Exit Techniques -> 'Customer Exits -> Enhancements'
6. Enter the Development class and execute.
Check out this thread..
The specified item was not found.
1. Type the transaction : system->status-> <PROG. NAME>
2 open SE37 , type EXIT<PROG NAME> and press F4 to get the list of function exits available.
3. Open CMOD utilities->SAP enhancements
EDIT->All selections
4.type the function module name obtained in step 2, in fields 'component name' in 'additional selections' block. and execute.
5. The displayed list contains the enhancements names for the transaction You were looking for.
6. Create a project in CMOD and the code in default include->activate.
http://www.erpgenie.com/sap/abap/code/abap26.htm
which gives the list of exits for a tcode
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
For information on Exits, check these links
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.planetsap.com/userexit_main_page.htm
User-Exits
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/ab038.htm
http://www.planetsap.com/userexit_main_page.htm
http://www.sap-basis-abap.com/sapab013.htm
http://sap.ittoolbox.com/documents/popular-q-and-a/user-exits-for-the-transaction-code-migo-3283
These links will help you to learn more on user exits.
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/frameset.htm
http://www.planetsap.com/userexit_main_page.htm
http://www.allsaplinks.com/user_exit.html
www.sap-img.com/abap/what-is-user-exits.htm
Also please check these threads for more details about user exits.
Re: Screen exit
user exit and customer exit
user exit
1. Document on UserExits in FI/CO
http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
2. Finding User Exits...
http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html#Finding_User_Exits
3. List of all User Exits...
http://www.planetsap.com/userexit_main_page.htm
VOFM is the transaction where you can maintain Requirement routines, which are assigned through cusomization.
To create a routine you need access key & routine no. starts with "9".for ex. 901,902 etc.
one important thing to note that even if you have some syntax errors inside your routine, it will get activated without errors. So, you need to do Main Program check before activation.
Refer to SAP Note no : 327220,381348,156230.
goto VOFM tcode for wrting the Routines
from menu Requirements-> pricing
You can create the pricing related routines here
Use the Number from 900 only
take the acess key and try to copy the existing routine and change the code to your requirement and keep a break point and see
Activate it before execution
Reward If Helpfull.
Regards Madhu. -
User exit / BADI in MSC1N and MSC2N
Hi all,
I would like to make some automatic changes to MCH1-LWEDT in the course of batch posting (MSC1N and MSC2N). I found the definition BATCH_MASTER and some user exits, but none of them looks if I could make changes to the recorded batch data.
Does anyone of you have an idea how to resolve the problem?
Thanks in advance
ReinerHi Abbu,
I opened a new OSS message. SAP told me that the mentioned user exit is not available in MSC1N and MSC2N. It's not a fault - it's intended not to process this exit in online transactions.
Now I'm none the wiser. Does anyone has an idea how to adapt MCH1 / MCHA data during the posting in the course of online usage of transaction MSC1N MSC2N?
And forget about BADI BATCH_MASTER. In this BADI no change of HSDAT LWEDT is possible.
Thanks and best regards,
Reiner -
Badi and user exit active at the same time ?
Hi All,
Please let me know whether
1> I can have a BADI and a user exit both active at the same time for the same enhancement?
2> I can have a BADI and a user exit both active at the same time but they are for different purpose.
eg: BADI -- > to change statistical date of po item line on ME21N screen
User Exit -- > to change the exchange rate on PO header on me21n screen
Please response to the second point... as this is what I am working on.
Regards,
ShitalHello,
Thanks for your response.This is my code.
WSA_header = IM_HEADER->GET_DATA( ).
wsa_header-wkurs = '0.6668'.
CALL METHOD im_header->set_data
EXPORTING
im_data = wsa_header.
Kind Regards,
Shital
Maybe you are looking for
-
Need help connecting to internet with wireless card
I am currently able to connect 4 Mac laptops and 1 G5 desktop to my Airport Extreme without any problems. I have a Dell Inspiron 8600 with a Dell Truemobile 1400 Dual Band WLAN Mini-PCI card that recognizes my AE and connects to it, but I can't get i
-
Guys, before you ask me to search the forums etc, believe me I've exhausted every possible avenue to try and find out where the hell my password keeper has gone to! So here we are, this is the situation; 1. Have an old Pearl 8110 2. Bought a new Pear
-
HOW TO INSERT DATA INTO SQL SERVER FROM MS ACCESS TABLE??
NEED TO INSERT DATA INTO SQL SERVER FROM MS ACCESS TABLE.
-
OS X with AirPort Express with Bose Companion 5...problems?
I recently upgraded my printer to a wireless one and that has freed up my AirPort Express for other matters. Based on that I purchased the Bose Companion 5 computer speaker system and I plan to use them (with the Airport) on the other side of the roo
-
The lag time we are experiencing when we attempt to open up and access iPhoto is unbearable. I fought tooth and nail to get an iMac into our house (my wife is a PC person) and now I look like a fool. Can anyone help explain why iPhoto is so slow?