Exits in VA01
Hi all,
Is there any exit by which i can populate the manufacturere part number into the line item customer part number in VA01.
please let me know if any one have worked on this
HI
following are the exits for va01. You would have to check the appropriate one from the following
Transaction Code - VA01 Create Sales Order
Exit Name Description
SDAPO001 Activating Sourcing Subitem Quantity Propagation
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
regards
dinesh
Similar Messages
-
Hi All,
I need to validate VA01 transaction with the following things.
In the second screen of VA01after entering the feilds sold-to-party, Sold-to par and Purch.order no then press enter then the feild Incoterms will fill automatically. But what i required is if sold-to-party = 'aaa' , Sold-to par = 'bbb' and Purch.order no = '1234' then i need hardcode the incoterms = 'INC'. How it is posible? i found exit MV45AFZZ. so please advise what to do in this....if u have any code please update me.. and tell me how to debug that..Hi,
refer
want to find the screen exits in VA01 and VA02
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)
45P0001 SD customer function for cross-company code sales
45S0001 Update sales document from configuration
45S0003 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
Hope this solves your purpose.
Award points if it helps.
-Gaurang -
Menu exit for VA01/02/03
How to find the menu exit for VA01/02/03 transactions?
Thanks
Tharanihi do like this....use this program and execurte it give the tcode and execute it will give the exits list click on the exit and it will takes to the exit and choose test it gives whether it is a manu exit or function exit..
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP User Exits exists.
*& Tables
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
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
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.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] 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 jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
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.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
regards,
venkat. -
as this is a urgent req. pls can any one suggest what r the diff. screen exits in va01 tcode and how ton find them.
thanx and regardshi
you can check the same with this report program. execute it, enter your transaction for which you require enhancement then press f8. It would display all the available exits...
*& Report ZFINDUSEREXIT
REPORT ZFINDUSEREXIT.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
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.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] 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 jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
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.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
please reward if useful...
regards
dinesh -
Hi Friends,
I am currently working on exit for va01 and i got the include name ie MV45AFZZ where the exit is written.
but my main requirement is i want to capture if user changes the ship to address of a perticular sales order i want to block the SO and also if user changes the price of any material i want to capture the change in price of that material and block the sales order.
Its urgent can one help me.
Regards,
DVNS.Hi,
In MV45AFZZ
we can write code and check VBAK table for the field
in ( form userexit_save_document. or FORM USEREXIT_MOVE_FIELD_TO_VBAK)
The logic depends ..eg: you can do a select on the VBAK field by passing the sales number and fetch the KUNNR(ship to) field and compare if the user has changed it.
or you can check if any code can be read when the field is changed...
If so throw an eror message .....
for pricing you can use the exit for reading header/item
form userexit_pricing_prepare_tkomp.
form userexit_pricing_prepare_tkomk.
Blocking usually can be done by throwing an error message...main task will be to identify the correct location in MV45AFZZ and see it it triggers when and where we need
Pls check and reward if it helps
Regards
Byju -
Is there any Menu exit for VA01?
hi,
Is there any Menu exit for VA01?Hi,
Refer
https://forums.sdn.sap.com/click.jspa?searchID=11272994&messageID=5107158
Regards
Kiran SURE -
Menu exit for va01/va02/va03
Hi All,
can anyone gives menu-exit for va01/va02/va03. Please give me screen-shots how to implement menu exit for va01/va02.
Thanks,
DineshHi Dinesh
Sales order exit is MV45AFZZ. Depending on the data that you will manipulate, consider the exit area related (i.e changes to VBKD should be considered at USER_EXIT_MOVE_FIELD_TO_VBKD).
Regards
Gabriel -
User-exit in VA01/VA02 to add order item and condition price
Hi experts,
I have an urgent requirement to add an order item and pricing for VA01/VA02 when certain logic are met. Do you know a user-exit in VA01/VA02 to add sales order item and condition price for an order?
I am currently using user-exit USEREXIT_SAVE_DOCUMENT_PREPARE but I can only add the required order item to xvbap but I also need to add a condition code and condition price for the added item (in xkomv). Your response are very much appreciated.
Thanks in advance!Hi Leo,
Check out few more exits:
Exit Name Description
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
SDAPO001 Activating Sourcing Subitem Quantity Propagation
Reward points if this helps.
Manish -
User exit in VA01 for changing the status profile
Hi Experts,
I want a user-exit in VA01 wherein i can change the status profile (Screen field name = JOSTD-STSMA ) based on some logic.
Thanks in Advance:-
SantoshHi, Santhosh,
You can use function module "STATUS_PROFILE_CHANGE"
see the code,
CALL FUNCTION 'STATUS_PROFILE_CHANGE'
EXPORTING
OBJNR = XVBAK-OBJNR
STSMA = G_STATUS
NO_CHECK =
EXCEPTIONS
OBJECT_NOT_FOUND = 1
NO_STSMA_CHANGE_POSSIBLE = 2
STSMA_NOT_FOUND = 3
OTHERS = 4
where G_STATUS is your new status profile. It will update in your screen also.
Hope this will help u. -
Hi,
I got a problem in the user-exit of VA01. when we are copying data from request with quotation then the items all are copied and in edit mode.
but in the item list we have to get item category in display mode how to make display mode of the table control. i know the logic to make table control field to display in general. but i dont in userexit how to call screen and all can any one know of the userexit for the screen and i have to configure this user-exit in spro "opy control routine".You would have to test, but I think you can do it with user exit MV45AFZZ.
In the form USEREXIT_FIELD_MODIFICATION, you could add something like...
if sy-tcode = 'VA01' and " order create
vbak-vgtyp = 'B'. " quotation preceding
if screen-name = 'VBAP-PSTYV'.
screen-input = 0.
endif.
endif.
You might also want to check <b>if not vbak-vgbel is initial</b>. I believe this is the reference document. -
Hi experts,
while preparing order in va01 user wronly enter value for zvat in condition , for eg : zvat is 12% but user given 4.5% and save order, i won t allow to save this type of order. kindly give any solution for this.
Regards
G.Vendhanhi
you can have a look at all the user exits available on this thread
Re: User Exit for va01
hope it helps
regards
Aakash Banga -
User exit for va01 (schedule line )
hi all,
Pls tell me how to use user exit in va01.when user add material and select schedule line for that material he has to add CP/CN .but when user put CP it will give message that CN is default pls enter CN.like these msg i have to give.pls give me solution.
Thanks,
NitinHi Nitin
Try userexit_move_field_to_vbep in MV45AFZZ
or userexit_check_vbep in MV45ZAFZB.
check vbep-ettyp for the schedule line category and write the logic.
Kuntal -
User exit for va01 on save event
Hi
Can you tell me with user exit is there for save event in VA01.
cheers
AJHi,
USER EXITS for VA01
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
Regards,
Prashant -
User Exit for VA01 - Delivery Block
Dear Friends
I wanted to do a User Exit for VA01 which should set the Delivery Block = Credit Memo as default for a particular user.
Can anyone give me the solution.
REg
S.K.RajHi Kamaraj,
First of all u have to find out the perticular exit for make the changes, after that take one field TBTKZ which is flag for decit /credit memo. Based on the condition that flag set as 'X'. If that flag set as 'X' then populate the data.
Here it ishow to find out the user exit.
execute the following report and enter the t-code VA01 it will display all the exits. then search them by seeing coments..
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
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.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] 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 jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
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.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
Hope this helps you..
Regards,
Kumar. -
User Exit for Va01[ Return Order ]
I Have Written User Exit for Va01[ Return Order ] in MV45AFZZ,
I'm Making tax field VBAK-TAXK1 as 0 when making this field as 0 Pricing Condition Tax calculation should not be exit and tax value must be 0.
How to do this process...plz give me a solution.Hi
For price calculations or modifications, you may have to write the code in SD routines. Check this T.code VOFM.
Reward if it helps!
Krishna
Maybe you are looking for
-
I phone activation problem!!! PLEASE ASSIST
I have an Iphone 5s that i bought from US with NO PLAN from Best buy. The mobile was working with my Greek sim card (cause im from Greece). i had an accident and the phone took water so i went to apple store in Germany and i paid 250euro for the repl
-
Hi, where to check the due date for particular gage for caibration and also for certain gages that are due in the present month?
-
Ipod touch: doesn't come on when clicked?
I am having difficulty with the activation clicker. Sometimes it takes 10-15 clicks before it responds when turning on or moving to a new screen.
-
Hello I am having a 2D array in polar grid. I want to mapp this to rectangular grid . Using Re/Im function is not what i need. DO anyone have an idea? Thanks Nghtcwrlr ********************Kudos are alwayzz Welcome !! ******************
-
Why can't I view my photos on my iphone 4s
When I take pictures with my iphone 4s they do not show up under photos. When I try and open photos it just shuts down. When I click the tab on the bottom left of the Camera application that shows the picture I just took, It takes me to photos, but