User exit to control the sales order creation
Hi All,
I have a business scenario, where a specific account group customers Business doesn't want to sell the goods .SAP should not allow you to create a sales order.
Which user exit will solve my requirement?
could you please help me..
Regards,
SK
Hi Prakash,
Thanks for the reply. Actually these customers are created as a Agents and we are using these customers in Commission rebates. So at the time of Rebate partial credit memo, then these agents should be active otherwise system will give the error.
So what i am thinking is, Standard sales order creation needs to be restricted so that users can not able to create standard order.
So can you suggest is there any user exit can be used to prevent creation of standard order for these account group and order type xxx?
Regards,
SK
Similar Messages
-
How can we identify what are all user exits are there for sales orders,deli
Dear All,
How can we identify what are all user exits are there for sales orders,deliverys and invoices
thanks
nitchel vHi Nitchel
There are many ways to find out the user exits..
For example for VA01.
Goto Transaction ie VA01:
goto System-- Status
doubleclick on the program name ie SAPMV45A
SE38 -> Enter the program name and in the program( SAPMV45A) goto -- attributes
get the package name from here ie VA
note the package(VA) and get back to main screen
goto SMOD tcode and click on find button in the package spec giv the package name ie VA and execute it
you will find list of exits available
check out the exit that suits ur requirement
goto cmod and create a new project and implement in that user exit.
You will get the following exits in SMOD..
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
For Delivery you will get .. here the package name will be VL.
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (h
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
For Billing VF01..Package is VF..
SDVFX007 User exit: Billing plan during transfer to Accounting
SDVFX008 User exit: Processing of transfer structures SD-FI
SDVFX009 Billing doc. processing KIDONO (payment reference numbe
SDVFX010 User exit item table for the customer lines
SDVFX011 Userexit for the komkcv- and kompcv-structures
V05I0001 User exits for billing index
V05N0001 User Exits for Printing Billing Docs. using POR Procedu
V60A0001 Customer functions in the billing document
V60P0001 Data provision for additional fields for display in lis
V61A0001 Customer enhancement: Pricing
Or another way is ..
- Get the program name for that T-Code
- Go to that program
- In that program, search for word 'EXIT' or 'CUSTOMER-FUNCTION' by using where-used list which will give u the list of user exits for that program
And also you can check in the tables in SE16 for user exits..
MODSAP - Stores SAP Enhancements
MODSAPT - Stores SAP Enhancements - Short Texts
MODACT - Stores Modifications
And there are other ways as well , pls check the forum for this ,
Regards,
Vvieks
Note : If you have any specific requirement then pls let us know , we will guide you -
User exit for saving a sales order
hi
wats the user exit when saving a sales order?Hi,
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
tables : modsap
tcode : cmod,smod
Reward if usefull -
User Exit and BADI for Sales Order
Dear Experts,
please give me available user exits and BADI for sales order .i want to take the data from sales order at the time of sales order posting .Hi,
In debugging you can find some Enhancement Spots where you can implement your code. This lets you ignore the need for access key, but its a time consuming process spotting out the exact enhancement point.
Regards
Karthik D -
User Exit/ Enahancement/BADI in the sales order creation process
Hi,
We have an EDI process for creating a sales order, we want to change one of the partners on some of the lines according to the document type,
We know how to do it using the MV45AFZZ user exits but we want to do it using a BADI or an Enhancement,
Can anyone help us find a User Exit/ Enahancement/BADI ?
Thanks,
MickeyHi,
Thanks for the quick answer,
i created an implementation for this BADI and put a break point there but it didnt stop there,
i also tried a break point on FM "SXV_GET_CLIF_BY_NAME" to see if this BADI is on the list but i didnt find it,
i tried creating the sales order via VA01 and via the IDOC process,
Thanks,
Mickey -
Rounding : User flexibility to edit the Sales Order quantity.
Hello Gurus,
We are on 6.0 and have the following requirements.
1st requirement: To round the Sales Order Quantity to the Alt Unit of Measure (higher or lower). As a solution we could use the Rounding Profile.
The problem is with 2nd requirement below.
2nd business requirement: When the system rounds the Sales Order quantity to higher or lower, the user should have the flexibility to edit the Sales Order quantity and decide whether to permit rounding or not, as suggested by the system.
Currently, with standard config, the system gives the message V1720 saying it has rounded the quantity with a reason. After the rounded quantity is suggested by the system, even if the user edits the Sales Order quantity, the system puts it back to the previously rounded quantity.
SYSTEM REQUIREMENT : We would like to have the Rounding but we want the user to be able to edit the rounded quantity.
REASON : Since the products are high value, we want the customer to feel comfortable with the rounded quantity.
The users do not want to impose the rounded quantity compulsorily on the customer. If the customer is not comfortable with the rounded quantity, the customer should be givne the choice of a non-rounded quantity.
IMPACT : In these difficult times, every Order is important. If we don't not give this choice to the customer, the customer might decide not to order at all. We do not want to lose the Order just because of the higher rounded quantity. But, at the same time, we would like to give the choice to the customer of the rounded quantity and his non-rounded quantity.
PLEASE NOTE : In this situation, the Rounded quantity is slightly different from Minimum Order quantity. The Minimum Order quantity is not the solution.
QUESTION : Is there any standard setting or is User Exit, BADI the only method ?
Thanks in advance
SrinivasHi Prakash,
Thanks for the reply. Actually these customers are created as a Agents and we are using these customers in Commission rebates. So at the time of Rebate partial credit memo, then these agents should be active otherwise system will give the error.
So what i am thinking is, Standard sales order creation needs to be restricted so that users can not able to create standard order.
So can you suggest is there any user exit can be used to prevent creation of standard order for these account group and order type xxx?
Regards,
SK -
User exit after saving a sales order
Dear SAP-community,
I am looking for an user-exit that runs after the creation of a sales order. I need the created VBELN of the sales order and want start some additional functionality which should be triggered directly afetr saving?
Does anyone know such a exit?
Thanks
Kind regards
MarkusPlz SEARCH in SCN before posting.
User exit after saving sales order
user exit for saving a sales order -
Free Goods Problem and User Exit if needed in Sales Order
Hello All,
The problem is related to Free Goods in Sales Order which is given with an example -
We have maintained Free Goods ( T Code - VBN1) in inclusive scenario which is as follows -
For 210 PAC (Pack) of Material A 18 PAC Free.
Where 1 PAC = 20 BT (Bottle) and 20 PAC = 1 CV (Case Pack)
In the material master of Material A the Base Unit Of Measurement (UOM) = PAC and Sales UOM = Blank so that we can use any conversion factor maintained for the material.
The conversion factors maintained for Material A are as follows -
1 BT = 1BT
1 PAC = 20 BT
1 CV = 20 PAC
Now when we are raising sales order for 11 CV the free goods are not generated in the Sale Order.
Again if we maintain the Sales UOM in CV and raise the sales order it is showing :
10 CV as main item and 1 CV as Free which is wrong because in the conversion factor we have already maintained 1CV = 20 PAC , Whereas in the inclusive scenario it is given 11CV = 210 PAC and 210 PAC = 18 PAC is free.So in any case it is taking into account 2 more PACs.
Please suggest what need to be done in this case in respect of User Exit or Source Code in ABAP if needed.
Thanks & Regards
Priyanka MitraHello Priyanka Mitra,
We are facing a problem same as you.
How did you solve this problem?
We are very glad if you teach it concretely.
Please advise your solution to us.
Thanks. -
User exit for pricing in Sales Order
Hi Gurus,
I have a requirement while changing Sales Order and an Inquiry.Below is the requirement.
I have a custom filed at the Sales Order Item level as VBAP-XXXXX. When the user changes this value to a value (say abc) then the NET value in the Conditions tab of the line item should become zero and also the grid of the conditions tab should be displayed as zero.
I have custom item categories for which the Pricing (TVAP-PRSFD) is blank (No pricing). For this type of Item categories I can make the NET price s ZERO by implementing some custom logic in the user exit userexit_new_pricing_vbap. Since this item category is not relavant for pricing then when I carry out new pricing the net value is set to ZERO.
But for other item categories, this field (TVAP-PRSFD) is set to X (Pricing standard). For this item categories I cant make the NET value as zero.
So Can you please let me know the possibility of implementing the above mentioned logic?
Are they any user exit to update the pricing table KOMP?
Are they any user exit to change the TVAP-PRSFD value based on my requirements?
Is there any other way of implementing this logic irrespective of item categories?Hi Vinod,
I am sending you my code please check it,
if TKOMK-SPART = 10.
if XKOMV is not INITIAL.
clear v_JEXP.
READ TABLE XKOMV with key kschl = 'JEXP'.
if sy-subrc = 0.
check XKOMV-kwert = 0.
message i003(ZT) with 'Value should not be 0 for conditioin type JEXP'.
v_JEXP = 'X'.
else.
message i003(ZT) with 'Maintain the mandatory Conditioin type JEXP'.
v_JEXP = 'X'.
endif.
if v_JEXP = 'X'.
XVBUV-MANDT = sy-mandt.
XVBUV-POSNR = '000010'.
XVBUV-TBNAM = 'VBAP'.
XVBUV-FDNAM = 'PRSOK'.
XVBUV-FEHGR = 20.
XVBUV-STATG = '06'.
XVBUV-FCODE = 'PKON'.
XVBUV-SORTF = 9999.
XVBUV-LFDNR = 0000.
XVBUV-UPDKZ = 'I'.
append XVBUV.
endif.
endif.
endif.
Please suggest something to solve this.
Thanks and Regards,
Vicky. -
When a new sales order created at that time based on perticular order type (ZRE) i need to check the vale of
Screen field: KNVV-KZAZU (combine delivery) needs to deactivated.
Program Name: SAPMF02D
Please suggest the active user exit or routine that will trigger at the time save the sales order.
Thanks & regards,
Vinayak More.If you want to deactivate the field then you need to check this form..
FORM USEREXIT_FIELD_MODIFICATION.
* CASE SCREEN-NAME.
* WHEN 'VBAK-VBELN'.
* SCREEN-ACTIVE = 0.
* ENDCASE.
ENDFORM. -
User exit for partners in sales order
Hi all,
In creating/changing sales order, the sales employee partner (PE) is always defaulted from sold-to in Customer Master. However, the new requirement is this: We have one customer A (sold-to) with 20 ship-to. When creating sales order, only for this specific customer A, we want to default sales employee from Ship-To, NOT sold-to in customer master. The rest of the customers will continue to default from Sold-To. I looked thru user-exit:
Exit_saplv09a_004 and Exit_saplv09a_003.
I think exit saplv09a004 is more appropriate. But how would i get the sales document number ? I want to get the sold-to number to change the ship-to for this customer. Have anyone come across this ? I have looked thru other threads.
Do anyone has some coding samples in using the parameters ?
Thanks
JoyceCheck whether the sale order number is available in stack, then you can get it in the exit using field symbols.
Check this retrieving internal table info. during runtime from callstack.
In the same manner apply as required. -
How the availiblity check is carried out during the sales order creation
Hi All,
I have maintained planned delivery time, GRProcesing time and replenishment lead time in days in material master. I am not understand ing how the system is calculating the availability date of the material during sales order creation.
Please do needful regarding this.
Regards
PhaniHi,
Using the Scheduling data from Delivery & Transportation Scheduling, the system does the backward calculation from the Requested Delivery Date. This is used to arrive at Material Availability Date.
On the Material Availability Date, system checks the Available Qty, as seen in CO09 in column ***. ATP Qty. If the Available Qty is > than Required Qty, Requested Delivery Date is confirmed. Otherwise,
System moves into the future till it finds the required Available Qty. The new date is then the new Material Availability Date.
On getting the confirmed Material Availability Date, system does the Forward Scheduling to arrive at a Confirmed Delivery date.
Regards -
One time Discount Coupon to be used during the Sales Order Creation
I need help to configure a one time coupon to be used during a Sales Order creation. During 2009 our customers that have purchased more than certain amount we are going to give them a discount Coupon with a code that they can use just one time during his next purchase. I need help to configure this request.
ThanksHi Gilberto
Go VK11.
After maintaining the material & price, please go to -->Additional data.
You will be displayed with Validity, Assignments, Assignments for retail promotion, Limits for Pricing, Payments.
In the 'Limits for Pricing' you have three options - Max. condition value, Max number of orders & Max condition base value.
In the Max number of Orders - enter 1 to avail this special price only for first order.
Importent Note: to activate the ' Limit of Pricing' -- you need to tick 'Condition update' for the particular contion type, in condition type customising.
FOr eg. condition type - ZR00 - you need to have special price for this condition type & want to limit only for first order order.
In the customising for ZR00 - 'condition update' need to be ticked, then only you can get the above option.
i hope it is clear to you
thank you
Anirudh -
User Exit/BADI to Lock Sales order for any changes in VA02 (Excluding Prici
Hi All,
I am looking for an User Exit or BADI which disallows any kind of changes in Sales Order on a particular condition.
This can't b controlled through Authorization, so have to look for an exit. Please suggest.
If possible, please provide the example.
ThanksHi,
Check the user exit MV45AFZZ in this exit u will be finding the Lot of stages where we can control the VA01 or VA02 . Please find the exit with the name SAVE before. Try to check any changes For sales order in CDHDR and CDPOS and give some error message .
Thanks and Regards,
Srinivas. -
Does MV45AFZZ user exit trigger when CRM sales order is replicated into ECC
Hi All,
When a Sales order is created in CRM, it is replicated automatically using BDOCS from CRM into ECC.
I have requirement to code the logic during the process, when sales order is replicated into ECC.
So I need to know the BAPI which is actually triggered to create sales order in ECC, while replication takes place.
If I could atleast know, if USEREXITS in MV45AFZZ would trigger or not, when CRM order is replicated into ECC, then I could determine, If I could code my logic in those user exits.
Please help me on this.please check this link
keremgomi=wordpress=com
Rgds
Raj
Maybe you are looking for
-
Setting Up a WRT54GS Inside a Firewalled Network
Hi hi! Aaargh!! I hate these little things sometimes. I'm the IT Director for a small refining company. I'm running a Windows 2000 network workgroup. We're behind a Watchguard Firebox, so I use static IPs to access the outside world. A standard hard
-
The only way I can carry on a search, is to click on Google, and that takes me to another screen, with a panel to type into, and that works fine.
-
Oracle Export and Import of XE application
I am trying to do an Oracle Export of an EX application and an Import to another PC. Can it be done? I have encountered several problems. Either it brought over the application, but no Pages or I cannot access the Login page. My reason for this is to
-
Indesign doesn't launch.
Hi, I just intalled In Design program in my computer, but when I launch it, it doesn't start, and a message appears: "Indesign is not working anymore. Close the program", and I'm not able to start. I did instalation properly and I have other Adobe pr
-
Hi All, In the vendor repository, i have fields like Phone No, Fax Number, Email addresss which should hold multiple values. i.e One vendor may have have multiple phone no's or email address. How should this be managed. Is it by the Qualifier