User Exit For Tagging Delivery To A Manual Shipment
Hi All,
We have a process in which we are creating a shipment manually and then we are trying to tag a delivery manually to that shipment. The requirement is that it should give an error for a particular type of delivery.
Please let me know if there are any exits for that.
Thanks,
Sharadendu
You should try to control it while transaction VA02 then. I think the user exit should be MV45AFZZ, u plz check in the list of user exits - SPRO-IMG- Sales and Distribution- System Modifications- User Exits and you will have all specific user exits used during various SD processes there.
And then u might want to issue a hard error when some one changes or tries to change the Delivery date- can use a message number according to the application(for ex if its sales then Message class is V1). And then get that message number and code included in the particular user exit.
Else u can have a screen variant defined for a specific users profile which will not allow any changes to the particular field. creta evariant using SHDO- select ur specific needs- assign this screen variant to the tarnsaction code may be VA02.
Regards
Sai
Similar Messages
-
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 VA01 - Delivery Block
Dear Friends
I wanted to do a User Exit for VA01 which should set the Delivery Block = Credit Memo as default for a particular user.
Can anyone give me the solution.
REg
S.K.RajHi Kamaraj,
First of all u have to find out the perticular exit for make the changes, after that take one field TBTKZ which is flag for decit /credit memo. Based on the condition that flag set as 'X'. If that flag set as 'X' then populate the data.
Here it ishow to find out the user exit.
execute the following report and enter the t-code VA01 it will display all the exits. then search them by seeing coments..
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
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 eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
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.
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.
Hope this helps you..
Regards,
Kumar. -
User Exit for Tagging a Delivery manually to a manual shipment
Hi All,
We have a process in which we are creating a shipment manually and then we are trying to tag a delivery manually to that shipment. The requirement is that it should give an error for a particular type of delivery.
Please let me know if there are any exits for that.
Thanks,
SharadenduDear,
In main program SAPMV50A of transaction VL01N you would find an include MV50AFZ1. This include is supplied by SAP for customers to do specific checks etc.
FORM USEREXIT_MOVE_FIELD_TO_LIKP.
Move the required values to KNA1
Hope this helps.
Regards,
R.Brahmankar -
User Exit for Updating Delivery Plant at Item Level in Sales Order
Hello Experts
There is a requirement to determine the delivery plant for each item level and than update the items with newly determined plant. There is a user exit MV45AFZZ routine FORM USEREXIT_MOVE_FIELD_TO_VBAP. to update the item level entries in Sales Order in VA01 or VA02. Is this the right place to do this?, if yes , do i need to perform any other standard logic (like re determine Shipping points , schedule lines ) for newly determined plant? If not , can you please suggest any other place , BADI or user exit to change the delivery plant of sales order.
Thanks a lot....
-HarkamalBest place is MV45AFZZ-USEREXIT_SAVE_DOCUMENT_PREPARE. Populates the values just before saving the document. You can have your own deriving logic. Make sure that peice of code is trigger only for Sales Order create or change (VA01/VA02).
Are you kidding??? You do realize that this is AFTER all validations against configuration, ATP, pricing, etc. have been performed??!!! Never, ever change a critical value like plant in the SAVE user exits... -
User Exit for Requested Delivery Date in Sales Order
Hi
Which user exit can be used to change Requested Delivery Date in Sales Order.
Scenario: Sales Document Type: OR has Lead Time: 7 days. System always proposes delivery date after 7 days. We need to change this Lead Time based on plant.
Thanks in advance for your support.
Regards
UmaHello,
try with USEREXIT_MOVE_FIELD_TO_VBEP or USEREXIT_SAVE_DOCUMENT_PREPARE, of program MV45AFZZ.
Hope to be useful.
Best regards,
Andrea -
User exit for requested delivery date at SO header
Hi Experts,
Trying to find a user exit which can be used to calculate the default requested delivery date in the order header based on the current date and the lead-time in the route.
By default, In SO header, requested delivery date is system date.
On based some conditions, i need to add lead time in current date and finally this date should be populated instead of current date in requested delivery date field .
The RDD( requested delivery date ) determination should happen only for some order types and for some sales organization & Distribution Channel.
Thanks,
satendra pateriaHi Ravi,
Thanks for input.
I neee one more favour on enhancement for automatically batch determination.
In SO item level, when one item is given and press Enter automatically Batch getting popualted.
I need to check Batch Expiry date and if it got expired then need to display a error message.
As of now i got one user exit EXIT_SAPMM07M_010.
And Batch validation should be happened only for some order types and some Sale Org + Distribution
channel.
Thanks,
satendra -
User exit for create delivery order
hi! expert.
i have a scenario when user B create delivery order (VL01N) then get DO No. I want to send this DO No. to user A 's mail.
when i look for user exit with this [program|http://wiki.sdn.sap.com/wiki/display/ABAP/FindEXITandBADIfroagivenTransactionCode] . i don't know which one I should use. please suggest me.
V02V0001
V02V0002
V02V0003
V02V0004
V50PSTAT
V50Q0001
V50R0001
V50R0002
V50R0004
V50S0001
V53C0001
V53C0002
V53W0001
VMDE0001
VMDE0002
VMDE0003
VMDE0004
my SAP version is 4.6
best regards,
KiitisakHi,
Any userexit asks the access key for first time.(Not the case with customer exits). So no probelm. Get the access key from your BASIS team and implement the exit. I wonder that MV50AFZ1 is not implemented yet in your system. Is your SAP system new?
This is the most busy exit (Locked by some one at any time) in most of the systems:)
Thanks,
Vinod. -
User Exits for posting delivery related FI/CO docs in another system
My company is currently running two SAP systems. System A takes sales orders and creates delivery documents. System B is the corporate financial system.
When delivery and goods issues are created in System A, we want to generate the associated FI and CO documents in System B real-time.
What is the best approach to implement this scenario? Should we call the Post Accounting Docs BAPIs in system B using some user exits in System A? Or should we expose those BAPIs as web services and make web service calls?Hi Simon,
I think the best way is to create an IDoc in system A when the document is created (via User exit or something), and send it to system B.
There are some IDocs to receive this information, but you have to code the send of the IDoc (Create the IDoc and call FM MASTER_IDOC_DISTRIBUTE).
The IDocs to do that are:
ACC_GL_POSTING
ACC_BILLING
ACC_INVOICE_RECEIPT
Regards
PabloX -
Need User Exits for Creation of Delivery and for Posting Goods Issue
Hi,
I need User Exits for
Creation of Delivery
Posting Goods Issue
I need to make some checks regarding customer license expiration and if checks fail, I need to stop Creation of Delivery and Posting Goods Issue.
Thanks in advance,
Will reward,
MindaugasIn the delivery you can use userexit USEREXIT_SAVE_DOCUMENT_PREPARE to make your checks and send an error message to the user in case they fail.
You can find this user exit (form routine) in include MV50AFZ1.
Hope that helps,
Michael -
BADI/User Exit for custom table update from Delivery
Hi
Our requirement is to update a custom table with the delivery number and other related details when the picking status is changed to "C". Kindly suggest BADI/User exit for this requirement .
Thanks in Advance for your immediate help .Hi Joseph,
See SAP Note 415716 - User exits in delivery processing. It says when you have the document number available, what is permitted, what not, ....
I hope this helps you
Regards
Eduardo -
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 -
User exit for Exchange rate in PO (ME22n) of Delivery/invoice Tab
Hi SDN,
We are using 4.6c. I wanna make the FIELD "Exchange rate" in Purchase Order (Tx: ME22n) of Delivery/invoice Tab into display mode. So can any one tell the USER EXIT i have to use to make SCREEN-INPUT = 0 for this screen field, MEPO1226-WKURS.
Thanks in Advance.
Regards
BashaTransaction Code - ME22N Change Purchase Order
Exit Name Description
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
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
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
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
No of Exits: 35
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
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 -
Generate VICS BOL Number in User Exit For Delivery
Hello,
I have been asked to automatically generate a BOL for a delivery based the Voluntary Interindustry Commerce Solutions (VICS) Association specifications. However, I am having a difficult time finding the correct user exit in the delivery process.
Can any of you SD gurus point me in the right direction?
Regards, Dean.I think I found the exit I needed EXIT_SAPLV56U_004. I was wrong about needing the exit for delivery, the requirement is the shipment.
With that said, I think I am on the right path but I was hoping that there was someone who has implemented the VICS Bill of Lading in SAP. I found that the Handling Units -> External Identification seems to have all of the foundation for generating the BOL per the VICS specification. However, there has been concern that if that was done, that something could cause an issue with Handling Units. Which we are using to generate labels for shipments.
So, has anyone used the Handling Units->External Identification for VICS Bill Of Lading generation? If so, anything I should be concerned about?
Regards, Dean.
Maybe you are looking for
-
Error in report while migartion.
Hi, I have a problem in one report while migration. we are migrating forms and reports from 6i to 11g (11.1.2) and database from 9i to 11g release 2. In our old system we have one report that takes nearly 30 minutes for running. Same report I am runn
-
HOW CAN I DO A RESET TO THE IPAD2 ?, HOW CAN I DO A RESET TO THE IPAD2 ?
I was deleting mails from my mail box when the sistem down. Since there i try to shutdown the ipad but the screen apears black with a thinking icone in the middle and doesn´t swich off. What can i do? Someone a similar problem? Thanks
-
ITunes crashed everytime ipod touch is connected
Have brand new ipod touch 3rd generation and running iTunes 9.1.1 (ie latest) on a 15" macbook pro with system 10.5.8. Every time I attach the ipod touch the iTunes freezes with the whirling pointer. I have to use finder to force quit iTunes. I can r
-
Best approach to synchronize data between two oracle database remotely
Hi All, We have requirement to synchronize data between custom application database and EBS database. Thw two database is on different location connected by 128 kbps connection. The synchronization will do the following task : - Download customer tab
-
I'm Backing up some things to DVD on my 15" PowerBook via Create Image from Folder (from Disk Utilities) then burning the Image to DVD. It seems to have burned it OK, but on the Verify it ejected the disc about half way through and gave some sort of