User exit to give a PO change error
Hi guys,
I have a requirement where on a PO if there is a inbound delivery exist then the PO should not be allowed to change.
can anyone help me on telling which and where is the best place to do this.
Thanks
Nafran
Hi,
Use method "OPEN" in BADI "ME_PROCESS_PO_CUST".
Read method documentation regarding important parameters
IM_TRTYP - Transaction type
The following instances are possible:
'A' Display document
'V' Change document
'H' Add document
CH_DISPLAY_ONLY - Process in display mode only
The data constellation does not allow the document to be changed.
If this indicator is set to 'X', document processing is carried out in display mode.
Regards
Vinod
Similar Messages
-
User exit or other enhancements to change the status of the kanban.
The requested to trigger the movement when the kanban status changed from empty to full.
if itu2019s possible to use user exit or other enhancements to change the status of the kanban.
can you please guide me iam new for enhancements.I think you're seeing standard SAP behavior. However, a discussion with your SD/LE functional team member might be beneficial. Personally, I don't think SAP supplies a way to "add back" to that quote. However, you might develop something that changes the quantity on the quote (essentially adds to the original quantity), based on the fact that a SO line got rejected.
-
User exit or BADI for standard change Log ?
Is there user exit or BADI for standard change log update ?
I want to update a customer fields into standard change log table.
Could someone tell me about it?Could anbody tell me ?
-
User Exit/BADI name required for changing schedule lines (VA01 and VA02)
Hi all,
Please tell me an exit or badi for modifying VBEP date i.e. VBEP-EDATU which triggers for a change in any of the following fields:
1. VBAK-KUNNR; 2. VBAK-VDATU and 3. VBAP-WERKS
Currently I tried using USEREXIT_MOVE_FIELD_TO_VBEP and FORM USEREXIT_CHECK_VBEP but nothing is giving me the results as desired.
Pls help, points will b awarded for helpful ans.
thanks
SangharshHave a look at below link which gives details related to user exits in VA01/VA02.
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
User-exit that triggers everytime I change a line item and change condition
Hello Experts,
We are encountering an error wherein when we create a return order with reference
to an invoice and we create multiple line items with the same material, the succeeding
line items points to the wrong conditions in the reference invoice. Below is an example:
Original Sales Invoice 3010002390
Line Item No. SKU Quantity Total Rebate Discount Per Unit Rebate Discount
10 100315 10 128.07 12.81
20 106666 10 128.07 12.81
30 100338 10 243.86 24.39
Return Order 1120000402 (repeatedly created with reference to the same sales invoice number)
20 106666 1 12.81 12.81
30 106666 1 24.39 24.39
For Return Order line 30, it should have picked the price 12.81 instead it picked 24.39,
which is the same line item with the original sales invoice.
I am using user-exit 'USEREXIT_NEW_PRICING_VBAP' and it triggers everytime I change the quantity of a line item.
But I tried to change the values in XKOMV and put 'U' in UPDKZ but it doesnt reflect when I view it.
Hope you can help me guys. Thank you and take care!Thanks anyways...
-
User exit for sale order qty change
Hi all,
In our industry we are creating Sale Order for MTO Scenario by using T.Code VA01 . Most of the time after taking the MRP run and raising PO for BOM components, Users are changing the qty in the sale order . eg. and due to that it is becoming difficult to make necessary change in production programe. .Now please give me solution/ userexit so that anybody cannot change the sale order qty and it must be check the authorised userid to do necessary change in sale order.
I am waiting for your valuable suggestion.
Thanks & RegardsHi LIMAYE,
You can use user exit include 'MV45AFZZ'.
Make necessary changes in FORM USEREXIT_MOVE_FIELD_TO_VBAP.
XVBAP will contain the old values before making the changes. You can comapare the quantity wtih VBAP field. -
User exit for SO creation while changing the net price for item
Hi folks,
Is there any user exit or BADI to change the net price in the item label of Sales order??
My req. is that--- i need to change the net price of sales item if the cond type is 'ZUR1 ?
how can i achive this?
Regards
pabiHi
The user exits and badis for va01 tcode:
Enhancement/ Business Add-in Description
Enhancement
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 articles for product selection
SDTRM001
Reschedule schedule lines without a new ATP check
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
RP-relevance for incomplete configuration
V45S0001
Update sales document from configuration
V45P0001
SD customer function for cross-company code sales
Business Add-in
BADI_SD_SCH_GETWAGFZ
Scheduling Agreement: Read WAGFZ from S073
BADI_SD_V46H0001
SD Customer functions for resource-related billing
If it is helpful rewards points
Regards
Pratap.M -
User exit for Purchase order to change RESB-SOBKZ
Hai,
The requirment is to change the purchase order's RESB-SOBKZ.
The purchase orders will be created in r/3 from APO & the same PO would be published back to APO.
I have to change the above metioned field at the time of PO save in R/3.
The RESB-SOBKZ actually changes the purchase orders Individual & collective indicator based on its value.
Can any one know what is the user exit for this?
I have checked 'EXIT_SAPLCPUR_001' but it dosn't have the RESB related structure.
Thanks,
BhaskarHi,
I know this is very late reply to your query but i think this is the correct answer for which you are looking for.
you were searching in a right direction...just try to see the User Exit EXIT_SAPLMEPI_006 on R/3 side in which you will find the RESB-SOBKZ field in CP_POSITION parameter in Changing Tab,Assoicated Type = MEPI_PO in which SOBKZ field is there on 16th position.
Regards,
Saurabh -
User Exit For PR Create and Change
Hi,
Please help me for finding User Exit while creating Purchase Requisiton(Me51/Me51n) and aslo changing Purchase Requisiton(Me52/Me52n).
Mainly i want to exit for validating Plant and material code while creating and changing PR.
Thanks,
Sunil sahooHi,
Use the exists
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
Regards,
Nandha -
User Exit for PO (Purchase Order) Change
Hi,
I want to know the SAP Standard User Exit that is triggered ONLY during changing / modification of PO(Purchase Order).
Thanks in Advance.
RKME_PROCESS_PO_CUST
use above BADI for ME22N/ME21N,often we use method PROCESS_HEADER
PROCESS_ITEM our most of the requirement meet by these methods only,check once if your requirement does meets with these two methods?
if not than you may implement some more method which are in ME_PROCESS_PO_CUST, for more help you may read documentation,there is well enough documentation already there for each method.
and for ME22/ME21 you may use
ME_PURCHDOC_POSTED
and method POSTED. -
User-exit or BADI required for changing Plant-sp.matl status in MM02
Hi Folks,
Our user requirement is when standard price is 0, we should assign value 'Z4' to Plant-sp.matl status(in MRP1 and Costing1 tabsin MM02) . Could any one suggest me a user-exit name or a BADI name to change Plant-sp.matl status in MM02. <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
Regards,
Ramineni.
Edited by: Alvaro Tejada Galindo on Aug 22, 2008 5:59 PMhi,
u can use it.
u can use this exit also.
MGA00001
EXIT_SAPLMGMU_001
i hav done this coding in this exit and it is working.
not same of ur requirement but try somthing like this.
tables : mara,makt.
data : it_mara type mara occurs 0 with header line,
it_makt type makt occurs 0 with header line,
it_marc type marc occurs 0 with header line,
it_mbew type mbew occurs 0 with header line.
select * from mara into table it_mara .
if it_mara[] is not initial.
select * from makt into table it_makt for all entries
in it_mara where matnr = it_mara-matnr.
endif.
loop at it_makt.
if stext-maktx = it_makt-maktx.
if it_makt[] is not initial.
select * from marc into table it_marc for all entries
in it_makt where matnr = it_makt-matnr.
select * from mbew into table it_mbew for all entries
in it_makt where matnr = it_makt-matnr.
endif.
read table it_marc with key matnr = it_makt-matnr.
if wmarc-werks = it_marc-werks.
read table it_mbew with key matnr = it_makt-matnr.
if wmbew-bwtar = it_mbew-bwtar. " 'VAL_OPEX' or wmbew-bwtar = 'VAL_CAPEX'.
message e001(zgm_msg).
endif.
endif.
endif.
clear it_makt.
clear it_marc.
clear it_mbew.
endloop. -
Need the user exit/BADI name to display the error msg in PO for net price
Hi
I have the below requirement.
While creating the PO(Purchase Order) with reference to PR(Purchase Requisition),if the net price value
is 0.01 USD then the system will display a pop up a error message that 'This is a free price for PR'.
Can anybody suggest me the User Exit or BADI name so that I can implement my code.
Thanks
PILOTME_CHECK_ALL_ITEMS
ME_CCP_ACTIVE_CHECK
MD_EXT_SUP
ME_DEFINE_CALCTYPE
MD_STOCK_TRANSFER
ME_PROCESS_PO_CUST
These are the BADIs gettting triggered while dragging the PR's to PO creation.
You can check any of these as per your requirement.
Check if the BADI 'ME_PROCESS_PO_CUST' is useful. -
User exit for the purpose of changing invoice quantity
hi all,
In Tcode vf01, when i input the delivery number and press Enter, program will goto the next screen. There's a subscreen, which number is 104 in program SAPMV60A. These screen reflects the data of each item, and the fields of this subscreen is uneditable.
For the invoice quantity column, my function wanna convert the current value to a new value which is the multiple of 100 automatically after a invoice is created.
For example, 789450 should be converted to 789400, 999999 should be converted to 999900,etc.
Although I got a solution to converted the value, but i don't know where i can add my code, cause i can't find the corresponding user exit.
could anyone tell me the corresponding user exit, please?
Thanks in advance.
Desmond.Hello Desmond
I know that partail invoicing can be carried if you choose the field value "K in item category customizing
for field relevance for billing.This will open up the quantity field and allow you to change the quantity lower than the delivery quantity.
Thanks
Vikas -
To find user exit whever moving average price changed
Hi Experts,
I need to write my code whenever moving average price (MBEW-VERPR) get changed, few scenarios are:
- MBEW-VERPR can be updated from MR21 transaction
- Create Purchase Order then create delivery then transfer order, on confirmation of transfer order MBEW-VERPR can be changed
- It can be changed from MIGO transaction on Goods Receipt and Reversal.
-It can be changed from VL09 transaction on reversal of goods.
My requirement is to make my code as transaction independent, so I need to find out user exit( or enhancement spots) to write my code to update a z-table.
Can anyone help me to find out the correct place to write code?
Regards,
Piyush YadavChanging average price also creates an accounting document, whatever the origin of the change. So you could try BTE 00001025 of Publish&Subs (P/S). From BKPF header information you should be able to find the original documents (marterial receipt, average price change, etc.)
Regards,
Raymond -
User exit to open field for change / ready for input in delivery
Hi !
We need to open a field for change / ready for input in the header level of a delivery after it has been goods issued. Is there a BADi / User exit that can open a field for change / ready for input in the delivery after the delivery has been goods issued ?
Regards,
Ashok.Hi,
As per the SAP Process it is not recommendable to edit the closed delivery. In order edit the devlivery you have to cancel the post goods issue and then update the same.
So there is a option like in PBO user-exits, we can force the status fields values and open up the delivery fields. But this would lead to inconsitency.
If you are updating just any information, you can always use the Text fields in header or items to update at any time of delivery processing.
Regards,
Sivparatap
Maybe you are looking for
-
Questions on a newly purchased K8T Master2 Far m/b
Hi, I just purchased a K8T Master2 Far m/b at a local computer store for $89.99. They had two of them sitting on their markdown table. They where in turned inside out Asus K8N-DL m/b boxes. In other words, the box labels where on the inside. They cou
-
DSL and wireless ~ love/hate relationship
Well, I'm back. Starting a new post but adding the old so those interested in this little soap opera love/hate relationship between my DSL and wireless WRT54G router can follow along without commercials..... http://homecommunity.cisco.com/t5/Wireles
-
The software update collection topic
Software updates is a hot topic and this collection thread covers how it works. All phone models receive a software update every now and then and we always try to optimize the phone performance and features in every one of them. But the most common
-
How to dynamically form the base URL for a region?
For Application Express 2.2.1, I've created a URL region for a static html page: e.g. http://xxxx-dev.website.com/html/page1.html The problem is that when I promote this application to production (using export/import), this URL still refers to the de
-
i bought macbook air from my friend and he dont have the apple id which he used when he bought it so my window crashed and i tried to reinstall the window but i dont have the apple id what should i doo please help