Va01 userexit
hi gurus,
i want to populate some value to some field in va01 when i am creating the sales order. is there any user exit for this.
Open this in se38 MV45AFZZ .
And enter in display mode .
now press button display object list(ctrlshiftf5)
will pop up a list of includes check ur exit based on function .
ur requirement will be to find a exit as USEREXIT_MOVE_FIELD_TO_*
regards,
vijay
Similar Messages
-
VA01 userexit for PO duplication check
Hi Experts,
I have an urgent requirement regarding PO duplication check and I need to know if there is a userexit for VA01 where I can perform PO duplication check. This PO duplication check will consists of fields VBAK-KUNNR, VBAK-BSTKD and VBAK-BNAME.
Points will be awarded. Thanks in advance.
Regards,
Leohi,
check the include MV45AFZZ...It has number of userexits....put a breakpoint and check..
Regards,
Nagaraj -
VA01. userexit for contract create
Hi all,
I have a requirement in which while creating contract thru va01i have to show a popup after the credit limit exceeded message so that user can edit the values and save it.my problem is i have coded a popup in the userexit_save_document to show apopup to confirm such that if user selects NO the contract is not saved.But my problem is after the user presses NO the item details entered is lost. how can i solve it .please help.
Thanks ,
Mahesh.hi,
check the include MV45AFZZ...It has number of userexits....put a breakpoint and check..
Regards,
Nagaraj -
Disable message in VA01 USEREXIT
I am working in <b>userexit_move_fields_to_vbkd</b>. I want to disable a message which appears before calling this usexexit. What can I do?
The message is "PO date lies in future Pls check". In such case i have already set the date to system date as per requirements.ok
-
Email Triggered for blocked Licenses...
Hi All,
We are working on some development .
There is requirement as :-
1.To trigger a mail ,if order has been block due to invalid license
2. If master data related to license (MAEX-ALNUM and MAEX-EMGBR ) is maintained in the materail master then the license should be determined.
3. If license is not determined then the email should be triggered while saving the order.
any inputs or best possible way to solve this scenario.
thanks in advance
-Saurabh goelHi Saurabh ,
Same kind of requirement was solved in the below Link. you can slightly modify the same to make it work in your case.
Please check.
[send email after save VA01;
UserExit / BADI ,
Please surf over Google / SDN for getting the Exit or BADI details.
For your reference.
[VA01 & VA02 Userexit help;
All the very best.
Edited by: Prasath Arivazhagan on May 24, 2010 5:13 PM -
Hi,
I am looking for a userexit which is triggered on the header screen of VA01/02.
Basically my requirement is to add one more partner function on a condition.
Please help me
RajivHi Rajiv,
I think this is a Customizing and VOFM step. In SPRO, SD -> Basic Functions -> Partner Determination, make sure that ZE is setup to default. Then, in VOFM, if you want a ZE partner number to default, write up a routine to determine this.
If I am not wrong, a copy of Routine 1 should help. You can add a line to CVBPA.
If this helps, please remember to award the points and close the post.
Cheers,
Bhanu -
Badi/userexit for va01,when save button is clicked
hi friends,
i want badi/userexit which triggers when save button is clicked in va01 tcode.
Thanks,
GauravHello,
You can debug the standard code ( /h before pressing save button) searching for user-exits or badis.
Set breakpoints in statements. For example if you are looking for call customer-fuction, click on:
Breakpoint --> Breakpoint at --> Breakpoint at Statement
and then here write: CALL CUSTOMER-FUNCTION
Then pressing F8 it will go directly to the next breakpoint (user exit for this transaction).
I hope it will help you. -
Hi all,
I have a requirement that, whenever we create salesorder with reference (Debit memo/Credit Memo) and if save that data it has to do some processing (to update external non-sap system). Is there any user exit for this???
Thanks,
Srilatha.HI SRILATHA
USE THIS PROGRAM YOU , WHEN EVER YOU WANT USEREXIT FOR ANY TRANSACTION YOU WILL GET
REWARD IF USEFULL
Finding the user-exits of a SAP transaction code
Enter the transaction code in which you are looking for the user-exit
and it will list you the list of user-exits in the transaction code.
Also a drill down is possible which will help you to branch to SMOD.
TABLES DECLARATION
TABLES : TSTC, "SAP Transaction Codes.
TADIR, "Directory of Repository Objects.
MODSAPT, "SAP Enhancements - Short Texts.
MODACT, "Modifications.
TRDIR, "System table TRDIR.
TFDIR, "Function Module.
ENLFDIR, "Additional Attributes for Function Modules
TSTCT. "Transaction Code Texts
INTERNAL TABLE DECLARATIONS
DATA : ITAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA DECLARATIONS
DATA : V_FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
INPUT SCREEN DECLARATIONS
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
START OF SELECTION EVENT
START-OF-SELECTION.
*--Read SAP Transaction Code from the given input.
SELECT SINGLE *
FROM TSTC
WHERE TCODE EQ P_TCODE.
IF SY-SUBRC EQ 0.
*--Get the Directory of Repository Objects for the
*---selected program name.
SELECT SINGLE *
FROM TADIR
WHERE PGMID = 'R3TR' AND
OBJECT = 'PROG' AND
OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
*--Read System table TRDIR for the selected program name.
SELECT SINGLE *
FROM TRDIR
WHERE NAME = TSTC-PGMNA.
*--Get the function module name for the selected program name.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE *
FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
*--Get the function group for the selected program name.
SELECT SINGLE *
FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
*--Read the development class for the corresponding function group.
SELECT SINGLE *
FROM TADIR
WHERE PGMID = 'R3TR' AND
OBJECT = 'FUGR' AND
OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
*--Read all the entries into the internal table itab.
SELECT *
FROM TADIR
INTO TABLE ITAB
WHERE PGMID = 'R3TR' AND
OBJECT = 'SMOD' AND
DEVCLASS = V_DEVCLASS.
*--Read Transaction code information from the table tstct.
SELECT SINGLE *
FROM TSTCT
WHERE SPRSL EQ SY-LANGU AND
TCODE EQ P_TCODE.
*-- Column Headings
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT ITAB[] IS INITIAL.
WRITE:/(95) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Exit Name',
21 SY-VLINE ,
22 'Description',
95 SY-VLINE.
WRITE:/(95) SY-ULINE.
LOOP AT ITAB.
*--Read SAP Enhancements short texts information.
SELECT SINGLE *
FROM MODSAPT
WHERE SPRSL = SY-LANGU AND
NAME = ITAB-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 SY-VLINE,
2 ITAB-OBJ_NAME HOTSPOT ON,
21 SY-VLINE ,
22 MODSAPT-MODTEXT,
95 SY-VLINE.
ENDLOOP.
WRITE:/(95) SY-ULINE.
DESCRIBE TABLE ITAB.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , SY-TFILL.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
AT LINE-SELECTION EVENT
AT LINE-SELECTION.
GET CURSOR FIELD V_FIELD1.
CHECK V_FIELD1(4) EQ 'ITAB'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
*-- call transation SMOD : Sap Enhancement.
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
*---End of Program
REGARDS
NARESH -
Regarding UserExit in sales Order creation(VA01), change(VA02)
*Hi Gurus,*
we are having one requirement that we have to change User status at item level in sales Order creation(VA01), change(VA02) according to certain condition( condition is if user status at item level is 'SGUC' then we need to get item category and with this item category we have to find new user status from our custom table).
*So is there any FM or user-exits to set the User Status of the Sales Order Line Item at the time of Order Creation(VA01) or Change sales order(VA02) but before saving.*
*looking for your inputs.*Check,
In include MV45AFZZ
Routine USEREXIT_SAVE_DOCUMENT_PREPARE
In include RV45PFZA
Check with USEREXIT_SET_STATUS_VBUK , USEREXIT_SET_STATUS_VBUP -
Hi Friends,
I have to code user exit for Tr VA01, i have got the exit name but my requirement is in sales order creation if user enters a material, here i want to check whether it is a BOM, if it is a bom i want to make its items in display mode. can any one suggest where i want to write the code and how to make that item in grey.
its urgent
Regards,
DVNS.check the following exits,
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 plan
and lso the following user exits,
Check the programs MV45AFZZ,MV45ATZZ, MV45AOZZ,MV45AIZZ
reward if helpful,
thanks
krishna -
When I create a sales order in VA01, when I enter less than 3 different brand( material in line item), The system should first generate message, after that I should be able to block that order with giving proper reason and then I should be able to save that sales order.
so that the higher authority can check it for further processing.
This is the scenario.
Can anybody suggest me the exact user exit name with simple coding.
nareshHi,
I think u should use
USEREXIT_MOVE_FIELD TOVBAP
Regards
Sandipan -
Userexit/BADI for VA01/VA02 on save
Hello ,
Can any body provide the avaialble Uesr exits or BADIs which will trigger ON SAVE of sales order creation or change .
I tried with some BADI but all they are for Internal use only .
Please provide me the externla BADI s which can be implemented .
or
userexits
very very urgent
Points will be given
thanksEnhancement
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
V46H0001 SD Customer functions for resource-related billing
V45W0001 SD Service Management: Forward Contract Data to Item
V45S0004 Effectivity type in sales order
V45S0003 MRP-relevance for incomplete configuration
V45S0001 Update sales document from configuration
V45P0001 SD customer function for cross-company code sales
V45L0001 SD component supplier processing (customer enhancements)
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45E0001 Update the purchase order from the sales order
V45A0004 Copy packing proposal
V45A0003 Collector for customer function modulpool MV45A
V45A0002 Predefine sold-to party in sales document
V45A0001 Determine alternative materials for product selection
SDTRM001 Reschedule schedule lines without a new ATP check
SDAPO001 Activating Sourcing Subitem Quantity Propagation
Business Add-in
BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073
BADI_SD_V46H0001 SD Customer functions for resource-related billing
Regards,
Shib -
How to get the contract number selected on VA01.
Hello Experts,
While creating a sales order a contract number is selected.
ie to which contract this SO is being created.
We get a ALV list with list of contract number and we select one.
But no where this contract number is displayed.
I have a placed a input/output box on additional tab header leve of VA01.
I need to display the contract number selected by the user for that sales order on to that box.
and this should happened the moment the user copies the contract number from the ALV list
any functon exit or badi's which could be used to get the value.
right now iam using the include MV45AFZZ
I know the table getting used.
Thanks in advance.
Regards,
RanjithYou can put your code into the MOVE_FIELD_TO_VBAP userexit in include MV45AFZZ. The contract information is stored on item level (VBAP) in fields WKTNR (contract number) and WKTPS (contract item). If you can have more than one contract in a sales order you should display that information on item level rather than header level, if you always reference one contract only per sales order header should be fine.
Hope that helps,
Michael -
Insert new line item in va01&va02 - urgent
Hi frndz,
At the time of creation standard sales order using va01.
When user enters the sold to party in header and then
material & quantity in line item reocrds. After user enters the details in first line. I have some checks to be executed and on the basis of that customer will get the free material that should come on second line item.
I am getting the details which i will be inserting on new line item but the problem is that in which exit i should write the code for the same.
So frndz could you please let me know, in which userexit I should insert this new line item. There can be more than one free material.
If anyone has done this already, please let me know.
I know one exit i.e.MV45AFZB but in that there are many forms. so exactly which form i should where i will write the code to insert new line item???
Points will be awarded surely.
Regards,
PrashantHI Stephen,
I have the same prolem. I modified the 5 global tables, but I don't see the new line in the screen.
Can you help me with some details?
Thx!
Mihaela -
Express Document Update was Terminated in VA01 Transaction
Hi to All,
I am facing problem when Sales Order is creating in VA01 Trasaction when document get created but after going to Va02 it is throwing error 'Update Terminated' I studied the Dump analysis and Update Analysis in ST22 and SM13 it is due to GETWA_NOT_ADSSIGNED. I cant understand what may be the problem. Can any one help me, Its urgent
Please help> > check short dump in ST22 it will show more info on
> > which variable/table is causing this error.
> > one of the posisble reasons - WRONG vlaue in UPDKZ
> > field.
> > to check - set breakpoint to
> > USEREXIT_SAVE_DOCUMENT_PREPARE and at the end of
> this
> > userexit check the value of UPDKZ field in XVBAP,
> > XVBEP,... tables.
> > It should NOT have 'U' in VA01
>
> Thanks,
> Yes what u told is correct, after the
> userexit_save_document_prepare the updkz is becoming
> 'U' n how can we overcome this, i have to harcoded
> with 'I' when that is 'U'.
When i change XVBAP-updkz with 'I' then its not getting error but another error is coming of update termination. Error is 'sapsql_insert_duprec' but i check there are not Duplicate sales order and i also check the number intervals they are fine. Whay may the problem????
Can any one help. plzzzzzzzz.
Maybe you are looking for
-
Hi Guys, I have created a DSO with just MATNR and one of its bespoke attributes(Catalogue number) and extracted from 0Mat_Sales_Attr.(MVKE). When I load the 0Mat_Sales_Attr in DEV & QA, the data loads OK. Now in Regression, the load only adds 1 recor
-
Hi all I have a problem with Particle Playground in AE 9.0.2.42. The particles shown on full screen resolution are different from the ones on other (half/quarter) resolutions. For example i use a boundary wall to constrain the (custom mapped) particl
-
Can we set default value to dynamic parameter?
<font size="3"><font face="Times New Roman">Hi,</font></font><font size="3"><font face="Times New Roman"><span> </span>I am using BO XI and CR XI.</font></font><font size="3"><font face="Times New Roman"><span> </span>I want to set default value for
-
Help... can't remove red padlock icon on security option
I have a red padlock icon on the security option on my blackberry 8310... i can't disable the password option. Anyone can help me to solve this problem?
-
TS1538 iTunes (since update to 10) no longer recognises any of my Apple devices.
I've followed all the troubleshooting and reached the point where I've discovered the AMD USB Driver is not located in "USB Controllers" but when I open "Imaging Devices" it's listed there, not showing Apple iPhone as a device anywhere. What should