User exit for item level plant checking for va01
Hi ,
I have got many user exits for va01 .I have to check the plant at item level in va01 . Kindly give name of user exit for this task as im not able to find the right one.
Thanks .
Hi,
Please check through path
S&D>>>System modification>>>Userexits.
here you will find various user exits available for SD module.
Regards
kapil
Similar Messages
-
User exit at item level for billing block field default for VA41 or VA42
Hi All,
I want user exit at item level for contract (VA41or VA42) for the field Billing Block in the Billing document tab
which has to populate with some default value.
Which user exit i need to check.
Regards
JaiHi,
Use subroutine USEREXIT_FIELD_MODIFICATION in Include MV45AFZZ.
Make sure this is for only tcodes VA41 and VA42 because this wil trigger for sales order also.
Regards,
Ashok. -
Sales Order - user exit at item level
I am new in writing user-exits. Pls do share your exp !
When creating a sales order I encounter error, system says "Enter batch number".
We basically create batch when doing GoodsReceive for Production Orders. At this time the Material Revision is copied as Batch into MCHB table.
For example:
Material ABC has the below,
Rev Batch
A A
B B
C blank
If I create a SO for part ABC for Rev C, it does not allow me becos batch does not exists. But my SO should be allowed to be copy C into the batch field in VBAP.
Pls let me know if we must create custom user-exit rather than modifying std.SAP user-exit for Sales Order processing (MV45AFZZ).
Is there any contraints using the batch field in SO? As I came to know that the problem is when creating a Purchase Order it allows to enter free text in batch field but SO doesnt allow. Is't?
Is there any standard way to config the system such that SO will bypass the existence checking of the batch
Pls share !
PriHi, but inplace of Batch we only enter the Revision of the material. Becos rev-batch relationship is 1-1, meaning is rev is A, the batch will be A too.
We just use the batch field to represent the revision
Rev Batch
A A
B B
C blank
I can enter A in SO item batch field because system check that batch A exists
I can enter B in SO item batch field because system check that batch B exists
But I cant enter C in SO item batch field because system check that batch C doesnt exist
Wondering how the system might know the batch is actually my revision. Not sure if I use User EXIT to move C into VBAP-CHARG, will it give me error message because it will find out that there is no C batch
Your views ! -
ME31L/ME32L, ME31K/ME32K badi/user exits at item level
hi all,
i need to check tax jurisdiction code per item of scheduling agreement and contract.
coz i need to prompt an error message "tax jurisidation code at line XX is blank" if no tax jurisdiction code is specified.
can you help me what badi or userexit to use?
tnx!Hi. I'm not aware of any specific user exits or BADI's for contracts, there are lots for purchase orders, and 1 for creating release POs from a contract, but I can't see any spefically for checking contract items.
However, you could try the custom field exit MM06E005. This would be a bit of a cheat, but it does get called by all purchasing documents including contracts, and all fields are available to check against so you could try and use it just to check the standard fields.
You can definitly issue errors into the contact from this exit.
Regards,
Dave. -
Enable change logs for item level of Sales Document
Hi,
On transaction VA02, additional screen field (Booking Date) is added (& consequently 2 appends with date field in the tables VBAK & VBAP).
When this date is changed in the header, the corresponding dates are changed in the item level as well.
However, the change documents are created only for table VBAK (though item data is updated in VBAP also).
When the date is changed at the item level, the change logs are created for the corresponding field in table VBAP.
The data element has 'Change Document' checked.
How can I activate the change to be logged for the item level (VBAP), when the date is changed at header level (VBAK)?Hi Nidhi,
Maybe set a breakpoint in include MV45AF0C_CHANGE_DOCUMENT_CREAT
Then check in UPDATE debug mode the value of upd_vbap and the contents of xvbap which are passed on to function VERKBELEG_WRITE_DOCUMENT .
This function creates the change documents based on the data changes.
I would have thought that since the date values are changed at item level as well when you only change it at the header, they should get a change document created automatically, since the dates must be in the XVBAP table (as their value is changed at the DB).
So I would compare the various internal tables for both scenarios (header change, item change) to determine their differences.
After this use one of the user-exits to populate the internal tables for the header scenario based on the values of the item scenario. I would feel this to be a last resort though, since something appears not to be working correctly (I think).
Hope this makes sense,
Robert -
Tax classification screen for item level not appearing in sale order under Billing Doc tab
Hi Expert
while creating sale order Tax classification screen is not appearing for item level under Billing document tab.
Tax classification for customer and Material has already maintained. Tax classification screen is not appearing for USER but same time from our USER ID we can able to see that screen.
please help in above issue. is this related to Authorization issue or other thing need to check.
Regards
Pash@SDHi,
As per standard in Sales Order Document you will be able to see the Tax Classification fields in Billing Tab at Header level (for Customer Tax Classification) and at Item level for (Material tax Classification). The values from Customer M<aster is not populated at Header level as per standard but you can populate the value by using the Exit. Material tax classification populated from material master as you can see that at item level.
If for one User you are able to see and for other you are not able to see, kindly check first whether both are using same customer and material, and if yes, then check the User Exit.
Thanks and regards,
Amitesh Anand -
Item level physical inventory for warehouse in SAP IS retail
Hi, Can you pls let me know whether its possible to do item level physical inventory for warehouse in SAP Retail, without implementing extended warehouse management. I could understand that SAP is allowing to do bin level physical inventory only in warehouse.
Thanks,
RajeshI am not working in retail, but the docu found in the initial screen clearly says it is without special stock.
however, it says as well, if you need functions that are not provided, then you shall use MI31 instead.
first I would open a call at SAP and tell them that WV31 does include consignment despite of different info in the docu.
if it is a bug, then SAP will fix it.
If it is design, then you have to use MI31, and SAP may change the docu in future releases. -
User status in item level in Interaction center
I confirgue the sales function in Interaction center. I want to set user status in Item level. But I don't find the user status field in item level in UI. Could you tell me how find user status field?
Hi Prem:
Yes, I have already confirgued status management and assigned to item category. I can see the status appear in back office UI but not in Interaction center. So it is strange. -
User exit for item level in PO
Hi:
Once we create a PO based on PR. I should not be able to change the net price. I need to through a ERROR MESSAGE.
The price of PR and PO Shuold be same. Used should not change the net price, If he tries to change it, A error msg should be thrown.
Please let me know the Correct User Exit for this.
Thanks
SenthilHi,
Please check sample program to find user exits available for a given transaction code.
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.
or
Enhancement
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
Business Add-in
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Custome
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_PURCHDOC_POSTED Purchasing Document Posted
SMOD_MRFLB001 Control Items for Contract Release Order
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
Reward if helpful.
Regards,
Harini.S -
BADI/User exit for ME18 to specifically check for Approval Level...
Hi all,
I hope this is not a repost. I have found none so far in SDN forum. However if do, please point it to me. I will gladly close this thread.
Ok, i need a userexit/badi, whichever will do, to check for user approval levels in ME18.
So far I couldn't find a user exit/Badi that is suitable in my SAP system using SMOD and the program that find user exit by TCODE.
I hope SAP do provide a user exit that can actually check for user Approval Level in ME18.
Can anyone share this info on this issue?
Thanks,
William WilstrothThere are few enhancement points available for ME18. Please check them once.
Thanks,
Srinivas -
User exit/BADI to have a validation in MIRO for item level
Hi Experts,
My requirement is to do a validation in MIRO (Invoice Verification) transaction, when the user enters the PO details ( T.code - MIRO ) and if the material group in the line item belongs to specific set of material groups, then I want to show a popup stating to choose a different GL account.I am searching for a suitable User exit to implement the above change which I have mentioned. So Could you please suggest me any User exit or BADI Which can be used to incorporate my changes.
Thanks in advance.
Regards,
SrinivasHi,
check this thread:
BADI IN MIRO
Best regards. -
VA01 user exit to manually insert condition record for sales order
Hello Experts,
I have a req. to find a user exit through which I can insert a new condition record for a sales order everytime a sales order is created.
Whenever a sales order is created I should check whether condition types X and Y are being generated for the particular sales order.If yes I have to insert a new condition record with type Z for that sales order after some calculations.
Does anybody have an idea which user exit should be used so that my new condition comes up in the CONDITIONS tab for the sales order item.
Thanks in anticipation.
VipulHi,
What I suggest is suppose you want condition type say 'XXX' to appear with some calculated value only when condition type 'X' & 'Y' are present, then let the consultant define that condition type in pricing procedure, with 'Manual Entry not allowd flag on, so that nobody can overwrite the value calculated by your routine in condition type 'XXX' & let him 'attach; a routine say 901 to it. Now via VOFM in routine 901 you can put your logic. In routine 901 you can loop at xkomv & check if both condition types viz. 'X' & 'Y' are present. IF yes then calculate the value of condition type 'XXX' as per the logic required & pass it on to SAP by xkomv-kwert = w_amount, where w_amount is the value calculated by you as per the logic required.
I hope this helps,
Regards
Raju Chitale -
Report at line item level but also for document total for once only
Dear all,
seek for your help for the following issue
There is a A/R invoice with 3 items
There is a report for retrieving the line item level data from inv1, user would also like to add a column to display the Document total , but the problem is, each line item will also display the Document total, any method to only display the corresponding Document total for once only?
Example, for AR invoice number 1234567:
Currently:
No. ItemCode Price Qty LineItemTotal DocumentTotal
1234567 Item-A 10 1 10 100
1234567 Item-B 50 1 50 100
1234567 Item-B 20 2 40 100
Requested to be presented as:
No. ItemCode Price Qty LineItemTotal DocumentTotal
1234567 Item-A 10 1 10 100
1234567 Item-B 50 1 50
1234567 Item-B 20 2 40
Thank you very much!!!Hi,
Try This.....
select T0.DocNum ,T1.ItemCode ,T1.Price ,T1.Quantity ,T1.LineNum ,case when T1.LineNum ='0' then T0.DocTotal else 0 end from oinv T0 inner join INV1 T1 on T0.DocEntry =T1.DocEntry where T0.DocNum=[%0]
Thanks
Shafi
Edited by: shafi_sunshine on Oct 19, 2011 12:50 PM -
Hello SAP Guru,
We are having the challenging in performing posting to multiple G/L accounts per shipment. This is required, for example, if customer, interplant, and/or inbound orders are combined onto one shipment.
We found this BADI that allows system to work the way we want; however, BADI is not support in 4.5B.
This BADI is linked to enhancement LMR1M002 and function module MR_ACCOUNT_ASSIGMENT. Please refer to note 64204.
Please advise, I am looking something similar that work in SAP 4.5B.
Regards,
SongHi,
Please try this:
Enhancement LMR1M002 Account grouping for GR/IR account maintenance
Enhancement MRMH0001 Logistics Invoice Verification: ERS procedure
Enhancement LMR1M001 User exits in Logistics Invoice Verification
Enhancement LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
Enhancement LMR1M004 Logistics Invoice Verification: item text for follow-on docs
I hope this may helpfull and let me know wht exactly the business needs so I can give you some more exits.
Thank you,
Thanks,
AMS -
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.
Maybe you are looking for
-
I am new to MAC. I have spent the last month entering 1037 contacts into my address book. Now I cannot print it. The software itself does not respond. I have had to force quit it everytime. I tried to do smaller segments, but I actually cannot even p
-
[JS CS3] can windows be stacked?
Hello, I have a script that calls up a window, let's name it Master. The master in turn has many buttons to run many scripts. The scripts that take a long time to run also call up a window that states "Wait a sec, I'm working." It closes once the scr
-
SC creation using oops concept
Hi we are writing code in SRM7.o using oops concept, based on FM BBP_SC_APP_EVENT_DISPATCHER events which triggers while creating SC from portal. am using the class /SAPSRM/CL_PDO_BO_SC_ADV and using the methods of following class which suitable for
-
How to create PMCO table entries for few PM Order
Hi Experts By a lack of Customizing we have used for few day a PM order type without the flelds AFKO-KLVARP and AFKO-KLVARI set. For this missing setting no entris had been created during Creation and Confirmation in PMCO and PMCOQT tables. Now I've
-
Hi there, since we implemented Adobe Reader X in our testing invironment, we habe a printing issue with some of our printers. In our main network we use Adobe Reader 9.3.4 and with that version therer are no problems with any printer. Even if a docum