User exit for route determination in Stock trasnport order
Hi All,
Can somebody help me with a user exit that I can use for route determination in the Stock transport order.
Kind Regards
Chakradhar
Exit to be used is EXIT_SAPLEBND_002. Enhancement M06E0004.
DATA it_ekpo TYPE LINE OF mmpur_bekpo .
To have controls in system for Standard Cost Estimation under two conditions if SCE is not run then,
1) System will not allow creating Process Order (COR1).
2) System will not allow Post Goods Issue (VL02N).
Till date we do not have any control of SCE while creating Stock Transport Order.
Now we have another control for SCE, that is
3) Henceforth system will not allow creating STO (ME21N).
IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N'.
IF i_cekko-bsart = 'UB'.
LOOP AT it_bekpo INTO it_ekpo.
SELECT SINGLE mtart FROM mara INTO mara-mtart WHERE matnr = it_ekpo-matnr .
IF mara-mtart = 'IFIG' OR mara-mtart = 'ISFG'.
SELECT SINGLE * FROM mbew WHERE matnr EQ it_ekpo-matnr
AND bwkey EQ it_ekpo-werks.
IF mbew-vprsv = 'S'.
SELECT SINGLE * FROM mbew WHERE matnr EQ it_ekpo-matnr
AND bwkey EQ it_ekpo-werks.
IF mbew-stprs > '0.00'.
CONTINUE.
ELSE.
MESSAGE e004(zpp) WITH it_ekpo-matnr it_ekpo-werks.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
Regards,
Mallick
Similar Messages
-
User exits for route determination in Sales order & Deliver creation
Hi Gurus,
I need to do some change in the route determination for both sales order & Delivery creation.
Can anyone suggest me which user exit I have to use.
Appropriate answers will be awarded.Hi,
You can use the following exit for route determination - EXIT_SAPL0VRF_001.
The FM documentation is below. Check the functionality:
"The customer exit can be used for customer-specific route determination or to modify the inbound data for the company's own route determination.
The following data is transferred to support customer-specific route determination:
I_VBAK current order header (for route determination in sales order)
I_VBKD order business data (for route determination in sales order)
I_VBAP current order item (for route determination in sales order)
I_VBPA current sales partner
I_LIKP current delivery header (for route determination in delivery)
The following data can be modified and transferred back to the standard route determination or used for a specific route determination:
C_ALAND Country of departure
C_AZONE Departure zone
C_LLAND Destination country
C_LZONE Receiving zone
C_VSBED Shipping condition
C_TRAGR Transportation group
C_GRULG Weight group
C_FLAG_GEN_VT Flag: Route determination with generic shipping
requirements/transportation group.
C_FLAG_INCR_GRULG Flag: Increase weight group if no route
If you want to use a standard route determination with different parameters, trigger the exception 'CONTINUE_WITH_STANDARD'.
In the log table C_PROT, the log data from the customer-specific route determination can be transferred back. In this case, the log entries always refer to customer-specific messages. To add a message to the log table, the function module SD_ROUTE_DET_LOG can be used (see below).
If a route is determined in the customer-specific route-determination, it can be transferred back in the E_ROUTE field. If no route was found, the exception 'NO_ROUTE_FOUND' is to be triggered."
Thanks. -
User exit for route determination in VA01
Dear friends,
I need a userexit for route determination whenever required delivery date is changed at the time of sales order creation VA01.
Please reply ASAP.
Thanks,
--SonalHi,
MV45AFZZ should solve the issue.
Check the subroutines userexit_move_field_to_vbap and userexit_save_document_prepare.
Place a break point in all the subroutines and run VA01 and change the date. You can find the exact place where you can code.
Thanks,
Vinod. -
User exit for partner determination in delivery document
Hi,
Can some one suggest an user exit for partner determination in delivery document.
We have a scenario of excluding certain plants for few of the partner determinations in delivery document..
Please suggest
Regards
RavikumarHello Ravikumar,
Please ceck if these userexits help
Normally there are 2 userexits available in function kopierte_partner_pruefen:
- EXIT_SAPLV09A_003
- EXIT_SAPLV09A_004
Regards,
Raghavendra YN -
Billing user exit for partner determination/substitution
Hi ,
For my SAP ERP , I need a Billing user exit for partner determination/substitution .
If somebody has the info .
Thank'sHi,
User Exits For Billing:
- USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
The internal number range used in the standard system is specified
in the billing type table and can be changed in this user exit. This
user exit is only called when the billing documents is created.
- USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
In this user exit additional fields for account determination that
are not provided in the standard system are copied into
communication structure KOMKCV (header fields).
- USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
In this user exit additional fields for account determination that
are not provided in the standard system are copied into
communication structure KOMPCV (item fields).
- USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
Depending on the number range, table TVFKD is used to set the
billing date (country-specific requirments in Italy).
USEREXIT_NUMBER_RANGE is automatically deactivated when this user
exit is being applied.
- USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
This user exit is only called when the billing document is created.
It is used to provide the header and the item of the new billing
document with deviating or additional data.
- USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
Printing the item line of a billing document can be supplemented or changed.
- USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
Printing the header line of a billing document can be supplemented or changed.
- User exits in program RV60AFZD
Short descriptions of the user exits are contained in the program:
- USEREXIT_RELI_XVBPAK_AVBPAK
- USEREXIT_NEWROLE_XVBPAK_AVBPAK
- USEREXIT_NEWROLE_XVBPAP_AVBPAK
The following user exits are available in report SAPLV60B for transfer to accounting (function group V60B):
- EXIT_SAPLV60B_001: Change the header data in the structure acchd
You can use this exit to influence the header information of the accounting document. For example, you can change the business transaction, "created on" date and time, the name of the person who created it or the transaction with which the document was created.
- EXIT_SAPLV60B_002: Change the customer line ACCIT
You can use this exit to change the customer line in the accounting document. This exit is processed once the ACCIT structure is filled in with data from document header VBRK.
- EXIT_SAPLV60B_003: Change the customer line in costing
The customer line is filled in differently for costing. You can use exit 003 to influence the ACCIT structure.
- EXIT_SAPLV60B_004: Change a GL account item ACCIT You can add information to a GL account item (such as quantity specifications) with this exit.
- EXIT_SAPLV60B_005: User exit for accruals
Once all relevant data for accruals was entered in the GL account item, you can add to this data with this exit.
- EXIT_SAPLV60B_006: Change the control line ACCIT
You can use exit 006 to add information to the control line.
- EXIT_SAPLV60B_007: Change the installment plan
You can use exit 007 to add information to the installment plan parameters in the GL account item.
- EXIT_SAPLV60B_008: Change the transfer structure ACCCR, ACCIT and ACCHD After the accounting document is filled in with data, you can use exit 008 to change the document once again.
- EXIT_SAPLV60B_010: Item table for customer lines
You can use exit 10 to influence the contents of customer lines before they are created.
- EXIT_SAPLV60B_0011: Change the parameter for cash account determination or reconciliation account determination
You can use this exit to change inbound parameters in order to influence account determination.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
NEED VL02N VL09 USER-EXIT FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER
I NEED VL02N VL09 USER-EXITS FOR DELIVERY COMPLETE INDICATOR IN PURCHASE ORDER POSITIONS.
F.X: IF POST QUANTITY 10, BUT PURCHASE ORDER POSITION QUANTITY 30, I NEED AT ANY CASE TO SET DELIVERY COMPLETE INDICATOR FOR RELEVANT OUTBOUND DELIVERY AN P. ORDER POSITIONS.
THANKS/Hi Malka,
It's possible set the system to mark automatically the delivery completed indicator.
First you need to set the under delivery and over delivery tolerances.You do this in customizing:
Materials Management under Purchasing -> Material Master -> Define Purchasing Value Keys.
Once you set this, you can insert this value keys on Material Master Record for the materials.
When you create the PO with a material with this value keys set the system will check the under delivery and over delivery set on customizing.
In customizing you also have the option to let the system mark automatically the delivery indicator based on delivery tolerances set.
In Customizing for Inventory Management and Physical Inventory under Goods Receipt -> Set Delivery Completed Indicator, you can determine for each plant whether the system automatically sets the delivery completed indicator for delivery quantities within the underdelivery and overdelivery tolerances.
You can test setting the under delivery for 0 (with a warning message) and see if the system will only mark delivery complete only for over delivery.
You can also work with the following Badi: MB_GOODSMOVEMENT_DCI. This Badi also allows custom logic for setting the delivery completed indicator in a PO item.
Message: M7 433 (The "delivery completed" indicator is set for the purchase order item)
Regards,
Rodrigo -
User Exit for Tax Determination
Hi Friends,
I am working on Purchase Order(PO) creation process and my client requirement is, if the vendor is based in UK and even delievery is going to abroad, system should call normal tax code instead of SAP standard (which is; sap considers it as export and apply customs duty).
Anybody know about the User Exit in the Tax Code (Tax) determination process where I can change the Tax Code during runtime?
Regards,
ShabbarThese are the user exits for the purchase order.
V02V0001-Salesarea determination for stock transport order
V02V0002-User exit for storage location determination
V02V0003-User exit for gate + matl staging area determination (headr)
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)
Award poits if this was helpful.
Thanks and regards. -
User Exit for Partner Determination in VA01, VA02 transaction ( Sales order
Dear All,
I have an issue in which i need to determine partner for every change in ship to party both at header and item level during sales order creation or change.
Can you please suggest an appropriate user exit for the same.
I have tried
EXIT_SAPLV09A_003
EXIT_SAPLV09A_004
but they get triggered only when we enter into VA01 transaction and not when the ship to party is manually changed.
If possible i want to avoid MV45 exits as there are chances of regression due to too many different functionalities already present in my system.
In worst case scenario please specify the place wherein i need to code in MV45 exits and what are the fields i need to change.
Most probably i filtered out on "USEREXIT_MOVE_FIELD_TO_VBAP" but i am not 100 percent sure on this, please suggest.
Thanks in advance
RonakHi,
please use User exit function: EXIT_SAPMV45A_003
Put your coding in include: ZXVVAU05 (create it by double clicking, if not already created) and activate.
Regards,
Sanjay Gogikar -
Hi,
For route scheduling, please provide the list of user exits available.
ThanksHi Ranjit,
If you need to find user exits in SD. Go to transaction SE81. Click on SD, then click u201Ceditu201D on the menu bar and choose select subtree. Click on u201Cinformation system,u201D Open Environment node, customer exits, and enhancements. Press F8 to get all the user exits for that module. In brief: SE81->SD->Select subtree->Information System->Envir->Exit Techniques->Customers exits->enhancements->Execute.
Pls look at the link ,,,,,,
http://abaplovers.blogspot.com/2008/02/user-exits-in-sap-sd.html
Regards,
Viveks -
User Exit for Enter / post invoice against the order without goods receipt
Hi,
My requirement is to enter or post the invoice against the Purchase order without goods receipt.
Need to an User Exit for this.
Thanks in Advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!User exits available are:
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
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)
user exit when PGI is done
Reward if useful. -
User exits for delivery picking confirmation and transfer order creation
Hi
We have a scenario for which we need help.
This is to do with replenishment from plant to plant.
We have sales sets.
The sales sets needs to be replenished from one plant to another. We want the componenets of the sales sets to picked from the issuing plant. For this we need a transfer order. this needs tobe confirmed and then the goods issue should take place from the issuing plant. Its a two step process.
we are doing Sales sets in STO. The explosion takes place in STO. However when we create deliveries for this. Only the sales set header item without its components are flowing into the delivery.
The Tranfer order does not contain the components either.
However post the goods issue we can create a TO with reference to the TR. This is is not acceptable because we want the picking and confirmation to occur before PGI from the issuing plant.
Could anybody help: We want the TO to be created with the components even though in the delivery only the Sales set header appears. Can u suggest a user exit in which when we create the TR from the delivery the components of the set.
After confirmation of the TO then we want the picking status to be put as C.
SupreethHi,
Check the following users exits.
MWMRFSSG user exit for sorting TOs in RF system-guided transaction
MWMRFUP Customer defined general purpose pushbutton called from scr.
MWMRP001 Cust. Exit for Fixed Bin Replenish.: Delivery Item Selection
MWMRP002 Cust. Exit for Fixed Bin Replenishment: TR Quantity Distr.
MWMRP003 Customer Exit for Replenishment using RLLNACH1
MWMRP004 User Exit for Replenishment using RLLNACH4
MWMTO001 Enhancements for end of transfer order generation
MWMTO010 Exit: Calculation of Total Planned TO Processing Time
MWMTO011 Correction of Planned Processing Time for TO Item
MWMTO012 Correction of Sorting and Split Transfer Order
MWMTO013 Stock Removal for Sev. Storage Types as in Stringent FIFO
MWMTOAU3 Separate selection of posting changes for autom.TO creation
MWMTR001 Exits at the end of transfer rqmnt creation (IM,PP interf.)
MWMD0001 Transfer order print via RLVSDR40
MWMD0002 Transfer order print as multiple process with RLKOMM40
MWMIDI07 Enhancement for Output WMPIHU (Create Pick-HU) Inbound
MWMIDO11 Enhancement for message WMTORD: TO with several items
MWMIDO12 Enhancement for Output WMPIHU (Pick-HUs) Outbound
MWMIDO13 Extension for WMMBXY (subsequent tasks after goods movement)
MWMPP001 Enhancement WM/PP Interface (automatic TR generation)
Regards,
Murali -
Need a user exit for Export Control check in Sales Order fro VA01/VA02
Hi ,
I need a user exit for Export Legal Control process in Sales Order.since Ship-to country in the Sales Order is not always the ultimate destination country User Exit needs to be built in with following logic
1. Check to see if ultimate destination country field is maintained in Sales Order
2. If a value is maintained then for the Export control checks use ultimate destination country instead of the Ship-To country (step 1)
3. If no value is maintained then use Ship-To country as default
The user exit is called when the user creates or changes a Sales Order.
Can anybody help ?
ThanksHi,
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
<b>Reward points</b>
Regarsd -
User exit for updating delivery block of Sales order before Delivery
Hi Folks,
Need to have an user exit for updating Delivery Block indicator for a Sales order Before creating its delivery
I have got an exit in Program SAPMV45A
MV50AFZ1
FORM USEREXIT_REFRESH_DOCUMENT.
that hits before processing the delivery block fro delivery (Correct me if i m wrong with this )
Now i want now how to change the Delivery Block indicator of Sales order in that exit
any FM available ?
Thanks n regards
Sonal...Hi ,
How did you solved this issue?
I am having similar scenario in which while pressing the save button delivery block should update if multiple schedule line exist.
Tried by two different approaches in various user exit without any success.
AFAIK we have two ways to achieve this functionality.
1) Count the no of rows in vbep. If greater than 1 then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
This is not correct. If there are two line items both with single schedule line . This case total no lines in vbep will 2 and above condition will true which is incorrect.
2) There is a indicator for multiple schedule line (VBAPD-EPMEH , xvbap-epmeh ) if it is check then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
If I write code in USEREXIT_SAVE_DOCUMENT_PREPARE.
Multiple schedule line indicator is not populate so can not use 2nd approach.
If I write code in USEREXIT_SAVE_DOCUMENT it of no use as vbak is updated before reaching this user exit.
If I write code in USEREXIT_MOVE_FIELD_TO_VBAK as this user exit is also called while pressing the enter key for this I have use
the condition of fcode but it also fails in some condition.
If fcode eq 'SICH'.
Read table xvbap with key epmeh = 'X'.
IF SY-SUBRC = 0.
VBAK-LIFSK = '03'.
Else.
VBAK-LIFSK = ' '.
Endif.
Endif.
Please help me to get the desired functionality working for all cases.
1) One line item with multiple schedule line
2) Two line item with multiple schedule line
3) One line item having one schedule line and second one having multiple
4)Two line item both with single schedule line. -
User exit for contract start date in sales order change mode.
24.10.2008
Hi Gurus,
I need to disable the 'contract start date' (VEDA-VBEGDAT) field in Contract data tab at header and item level. Can someone suggest a user exit for the same ???
Regards,
UdaynathDear Udyanath,
Please check these User exits with the help of ABAPer
User exits in the program MV45AFZZ
The user exits which you can use for modifications in sales document
processing are listed below.
USEREXIT_FIELD_MODIFICATION
This user exit can be used to modify the attributes of the screen
fields.
To do this, the screen fields are allocated to so-called
modification groups 1 - 4 and can be edited together during a
modification in ABAP. If a field has no field name, it cannot be
allocated to a group.
The usage of the field groups (modification group 1-4) is as
follows:
- Modification group 1: Automatic modification with transaction
MFAW
- Modification group 2: It contains 'LOO' for step loop fields
- Modification group 3: For modifications which depend on check tables or on other fixed information.
USEREXIT_MOVE_FIELD_TO_VBAK
Use this user exit to assign values to new fields at sales document
header level. It is described in the section "Transfer of the
customer master fields into the sales document".
The user exit is called up at the end of the FORM routine
VBAK_FUELLEN.
USEREXIT_MOVE_FIELD_TO_VBAP
Use this user exit to assign values to new fields at sales document
item level. It is described in the section "Copy customer master
fields into the sales document".
The user exit is called up at the end of the FORM routine
VBAP_FUELLEN.
USEREXIT_MOVE_FIELD_TO_VBEP
Use this user exit to assign values to new fields at the level of
the sales document schedule lines.
The user exit is called up at the end of the FORM routine
VBEP_FUELLEN.
USEREXIT_MOVE_FIELD_TO_VBKD
Use this user exit to assign values to new fields for business data of the sales document. It is described in the section "Copy customer
master fields into sales document".
The user exit is called up at the end of the FORM routine
VBKD_FUELLEN.
I hope this will help you,
Regards,
Murali. -
User exit for setting tax indicator in Sale order
Hi All,
I want to know if there is a way (user exit) that could look at the Sales Order Type , particular Item Pricing Condition and Ship-to party State and set the materialu2019s tax classification (VBAP/TAXM1) to u201C0u201D (Exempt) ?
Thanks in Advance!
Sonali.Hi Ramesh,
I have put the code in the user exit, and I am able to set the tax classification indicator but I have a problem... Before setting the indicator I need to check for the Usage code of the line item (This code I am using instead of checking the Pricing condition) . I am able to read all the values of line item in VBAP structure in the user exit except for the first time this user exit is hit as soon as a line item is entered it is not picking up the Usage code. That field is blank.
But if add another line item and go into the user exit I can see the previous line item Usage code in XVBPA table.
Do you have any idea why usage code is missing in VBAP structure in the user exit or is there any other table or structure where I can get the usage code?
Thanks in Advance!
Sonali.
Maybe you are looking for
-
MAJOR Zen Vision: M 30GB PROBLE
First, when trying to recover my computer after some problems, the software no longer worked with my ZEN. I didn't want to install another Service Pack and potentially lose everything else I had, so I just started using Windows Media Player to add mu
-
My Windows 7 met some virus!!!!
Hello, I am Zhaoguang Chang. At Canadian Boxing day in 2011, I bought Acer laptop. The operation syatem is windows 7. I like it very much. But recently my computer met some problems with virus. The internet explorer run very slowly. Now it can not ru
-
How can i figure out the beats per minute of all the songs on my itunes list?
I am a runner and would like to know the beats per minute of each song on my playlist. Is there any app that is compatible with itunes so that I could get this information and easily upload it?
-
Multiple items not getting transfered from Punch out
Hi, I need your help in fixing an issue with punch out. When we select more than one item in the punch out and when it is getting transferred to SRM shopping cart, we could see only one item in the shopping cart. We are facing this issue with only on
-
Menu Selection-Not properly comming
My Dear., Am created BR,and this BR used in Menu type(*BR 1._ADD Account_,BR 2._Remove Account_*). When Running BR1.ADD Account*,Am Selecting Account,Sub Account,Analysis and Future(Global Variable and Called in BR). In this BR Select :Sub Account,An