User exit in a delete sale order
hi people,
I would like to trigger a process when I delete manually and phisically a sale order (va02->delete). Do you know the user exit where i can write my code?
thx in advance
Include <b>MV45AFZZ</b> - FORM USEREXIT_DELETE_DOCUMENT.
Similar Messages
-
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 -
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 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 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 -
User Exit for Cancel in Sales Order
Hi ,
Can anybody tell me which user exit is fired when a sales order is cancelled?
I want to clear all the entries made in the additional data B tab which updates a custom table.
Thanks in advance.Hi Andrea,
That userexit is fired when we delete a sales document. But I want an exit which will be triggered when we cancel a Sales order while creating.
When I create a sales order through VA01 and give data in additional data B, and press the cancel button, the values in the tab are not getting cleared for the next sales order.
So I want an exit which triggers when pressing cancel button though VA01.
Thanks. -
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. -
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 -
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,
SKHi 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 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. -
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. -
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. -
User should not delete Sales orders in CRM before May 2014.
Hi,
We have requirement in CRM i.e. user cannot delete Sales orders before may 2014 in SAP CRM.
Recently we have implemented Credit Check management in ECC (Cash n Carry Process especially for some customers)
Normally we do create orders in CRM it should be replicated to ECC, based on FD32 credit value in ECC, CRM order should give credit check massage.
go through the below notes n help us where to change BADI in CRM, plz.
We like to add a scenario where prior to April’14 period, user can not cancel/delete any order in CRM, so that the order cancellation data will not flow to SAP and below problem can be resolved.
While checking the credit Exposure of the INDL Customers, we found in some cases, user has deleted few old orders in CRM which creates a open sales order value as Negative in SAP System. Due to this for a customer, if there is ZERO credit limit, ZERO outstanding, ZERO liability, Credit Exposure is become Negative as open order value is there. In CRM order is being raised and credit block is not appearing if the order amount is below the Credit exposure.
Request you pls maintain the open Sales order value as ZERO for the INC customers (as per attachment list) for those who have a NEGATIVE open sales order value.
For the open Sales order Value which are POSITIVE, keep these as same as these are customer’s actual & current open orders.
NOTE: If user delete before may 2014 sales orders, all the deleted order values will be added to FD32 (Credit exposure -Negative),then user can able to raise sales orders for that value also.(It cannot be happened)
Regards,
JKHello JK,
I guess you can play around with the standard. You need to create a separate PFCG Role which only contains sales order related authorization object. Basically removing sales order related authorization object from the main primary PFCG role. And then controlling the secondary PFCG Role which only have sales order object. Controlling sales order PFCG role with validity period. Below is the screen shot of the PFCG role where you can maintain the validity period of the PFCG role for the specific user assigned to it.
I hope this solution was helpful for you!
Regards,
Neha Gupta -
View Deleted Sales Order by material
I need to know in that sales order has been a material because when we run MRP, system creates purchase requisition for requeriments of sales order, ok?
But, after if user deletes sales order, the purchase requisition created is incorrect but purchase department can be that it purchase requisition is studied yet. Customer would like know what sales order deleted causes this purchase requisition in this case.Hi Daniel,
If the sales order has been deleted then you should delete the corresponding PR as well. Inorder to achieve this you need to write the logic in the Sales order user exit, to cancel the corresponding PR.
We cancel the PR if the release strategy is implemented in the PR. We have implemented this logic and it worked fine for us.
Thanks,
Mahesh. -
View Deleted sales orders by material
Hi gurus,
how I can see deleted sales order by a specific material. My requeriment is that know all deleted sales order or items deleted in existing orders filtering by material.
It's possible?
Table CDPOS doesn't contain field material...
Thank you!!!
I will reward points all answers!!Hi,
In this case, when you call MD04 for this material, the system displays an exception for the pruchase requisition.
20 : cancel process.
Then, you must to be deleted this purchase requisition.
But, i have a proposition to follow sales orders which have deletes (quick approach).
You can create en infostructure with LIS with keys : sales order nb, item, material, customer + key figures : quantity (or other).
With an update rule appropriate.
When you create sales order, this LIS table (infostructure) is update with different informations.
If you delete item or sales order, system updates this table and displays "0" in quantity or price ...
This is the simple test to know if sales order was deleted.
But, you can used another information during the update in LIS user exit (MCS10001) with this condition XVBAP-UPDKZ = UPDKZ_DELETE (see in MV45AFZZ, doc_prepare).
Why not ??
That's all folks !!!
Regards,
Lionel
Maybe you are looking for
-
Problems deploying a Web Service to Tomcat 5.5
I am creating a J2EE 1.4 WebService using JDeveloper 10.1.3. Everything works fine while testing in the embedded OC4J server. When deploy the WAR file to Tomcat 5.5 everything goes haywire. I get the following error message: =========================
-
Parent/child accounts in bc
Hey Forum Wondering if its possible to setup a parent/child relationship with customer accounts. For example, Let's say I have company A that is a dealer. That dealer may submit forms and such and I would like to associate three accounts under that d
-
when running programs like sketchup, I right click on logo in the dock. I choose a recently opened file, but it does not open. Anybody know why? How to remedy this?
-
Sync Windows-Calendar with BB 9900 on Win 7
Hello forum, as the topic says I'm searching for a way to sync my BB 9900 via BB Desktop Manager with the Windows-Calendar (known from Windows Vista) on Windows 7. The article http://www.blackberry.com/btsc/KB12268 says that the BB Desktop Manager 6.
-
Specific warning messages per compensation plan
Hello, We ahve recently installed EHP5. We are now re-implementing Enterprise Compensation Management (ECM) with the new WebDynpro ABAP MSS iViews. The warning messages are displayed on the top of the compensation planing iViews. Even our own message