User exit for save_document in delivery
hello!
What is the include for the user exit of save document in a delivery?
Thx
hi
try method
SAVE_DOCUMENT_PREPARE
or
include mv50afzz.
include mv50afz1.
include mv50afz2.
include mv50afz3. "Userexit neu zu Release 3.0A
include mv50afzk. "Userexit 4.6A (KOMKG/KOMPG)include mv50afzl. "Userexit 4.6A Liefergruppen
"n_693000
include mv50afzp. "Userexit for pricing screen input
regards
ravish
<b>plz dont forget to reward points if helpful</b>
Message was edited by:
ravish goyal
Similar Messages
-
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 -
User exit for PGI via delivery (Vl02N)
Hi Folks
Can you suggest me appropriate user exit which can be used during PGI for delivery in Vl02N. This should get triggered when POST PGI tab is hit in VL02N.
Via USer exit I want to change the GL account in the accounting document for PGI ( GL account for Tr price difference which is posted via key AUM (Expense/revenue from stock transfer).
Please reply ASAP.
Thanks
VipinHi Vipin
I did a small check in our internal system.
In VL02n choosing the PGI TAB it hits user exit MV50AFZ1 -> FORM USEREXIT_SAVE_DOCUMENT_PREPARE
This is the call:
Main Program SAPMV50A
Source code of FV50XF0B_BELEG_SICHERN
form BELEG_SICHERN_DET_CHECK
* Userexit
PERFORM userexit_save_document_prepare(sapmv50a).
So you are good to go with MV50AFZ1 just use
form USEREXIT_SAVE_DOCUMENT_PREPARE
Kind regards
Brian -
User exit for XD01 with delivery priority
Hi ,
I am using a user exit EXIT_SAPMF02D_001 for customer master.Below is the piece of code .I am just displaying message based on delivery priority field in the customer master .
But the probleam is when user only change the value in delivery priority field then only my message should come .But now my logic executes when ever no changes in the delivery priority field also and any touch other than this field also getting the message.
Means the value in the delivery priority field not refreshed in the customer master screen .Thats why the message is coming any time when not touching the field also.
so can somebody suggest what to do?My logic should work only when delivery priority field only changed.
TABLES:tpakd.
DATA:l_lprio TYPE lprio,
l_kztlf TYPE kztlf,
l_antlf TYPE antlf.
DATA:l_lp(2) TYPE c VALUE '03',
l_kz(1) TYPE c VALUE 'B',
l_an(1) TYPE c VALUE '1'.
SELECT SINGLE * FROM tpakd
INTO tpakd
WHERE parvw = 'WE'
AND ktokd = i_kna1-ktokd.
IF sy-subrc = 0 .
MOVE i_knvv-lprio TO l_lprio.
MOVE i_knvv-kztlf TO l_kztlf.
MOVE i_knvv-antlf TO l_antlf.
IF l_lprio = l_lp AND ( l_kztlf NE l_kz OR l_antlf NE l_an ) .
MESSAGE w534(zm).
ELSEIF l_lprio IS NOT INITIAL
AND ( l_kztlf IS NOT INITIAL
OR l_antlf IS NOT INITIAL
OR l_antlf NE '0'
OR l_antlf NE '9' ).
MESSAGE w534(zm) .
ENDIF.
ELSE.
EXIT.
ENDIF.HI
I think something doesn't sound good in this control
ELSEIF l_lprio IS NOT INITIAL
AND ( l_kztlf IS NOT INITIAL
OR l_antlf IS NOT INITIAL "<-------
OR l_antlf NE '0'
OR l_antlf NE '9' ).
MESSAGE w534(zm) .
ENDIF.
The control for L_ANTIF seems to be always valid, probably you should use AND insted of OR
ELSEIF l_lprio IS NOT INITIAL
AND ( l_kztlf IS NOT INITIAL
OR ( l_antlf IS NOT INITIAL "<-------
AND l_antlf NE '0'
AND l_antlf NE '9' ) ).
MESSAGE w534(zm) .
ENDIF.
Max
Max -
User exit for copying planned delivery time
Hi
My requirement is to copy the value in field Planned delivery time from contract to planned delivery time field in MRP2 view in material master. Please let me know which user exit or enhancement may be used for the purpose.
TIA.Hi
Check BADI_MATERIAL_CHECK
Regards
Sanil -
Hello every one,
This is regarding vl03n transaction. The requirement is to have some checks before PGI is done. If that checks are not satisfied PGI should not be happened and the delivery document should not be saved. The user exit we have used is SAVE_DOCUMENT_PREPARE. But the problem if we save the document without doing PGI then also the checks are carrying out and if those are not satisfied delivery is not saving. The requirement is to bypass the PGI when we save the document in case when we doesn't do PGI.hi prabhu,
Thanks for your reply. Seems it may work, but i have another idea and that is we can use IF fcode = 'WABU' then only PGI checks will be carried out.If we save directly instead of doing PGI the fcode is different and checks will not be carried out. Hope it will work. If you have any further ideas please post it.
thank you. -
User exit for copying Inbound delivery data to Batch
Hi, my client wanted copy the field 'country of origin' of Inbound delivery to batch when we create a new batch in inbound delivery.
Can anyone tell me which User Exit I can use? Thanks.Removed, for new thread
Edited by: Carol D'Sa on Dec 7, 2009 12:56 PM -
User exit for return from delivery - 651 movemment type in WM
Hi Guru,
We are going to implement a customize program to control the putaway storage location when the HU returning from delivery in WM environment.
The process is as below:
1. Create the return order with reference to the original billing document;
2. Create the return delivery (original storage location is 0001).
3. Manually attached the HU we want to return to the delivery ;
<<<< 4.LT03 to create the TO for this delivery. >>>>>
- then it will automatically PGR (material document with 651 movement type)
- A TO will automatically created and from 904 to another destination storage type 101 (setup in the 651 movement type).
The requirement is: we need to change the storage location when the TO (904 to 101) is confirmed according to some logic.
We found that we can not use the user exit "EXIT_SAPLL03T_001 - User Exit at End of TO Creation (in Update Task)" or 'EXIT_SAPLL03T_002 - User Exit at End of TO Confirmation (in Update Task)". We set the break point, but it didn't stop there.
Any one can help us where we can put our code in?
Thank you very much,Hello!
The user exit MWMTO001 (FM EXIT_SAPLL03T_001) runs usually in Update
Task. That means that you have to switch on the update debugging in
order to let the debugger stop in this exit. In most cases update
debugging isn´t switch on when the debugger doesn´t stop in the exit. -
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... -
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 -
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.
Maybe you are looking for
-
New G/L configuration document
Hi Gurus' Please send any one New G/L accounts configuration doucument to [email protected] Its very urgent. Thanks in Advance Regards Krishna
-
Account management for a J2SE application
Hi, I am looking for an open source package that allows creating and managing user accounts in a J2SE application. It should directly support log in/log out actions and does not have to be very sophisticated. Thank you for your suggestions. Regards,
-
How to compare date values in XQuery
begin select sysdate into x_date from dual; select xmlquery( '<A> { [b]for $a in ora:view("TableA") let $id = $a/ROW/ID/text() where $a/ROW/TRANS_DATE >= x_date return .. </A>' returning content} into temp from dual; end; This gives me invalid variab
-
TS1591 My iPad is not showing up on my iTunes on my computer
My IPad does not show up on my iTunes
-
Has Anyone had the -VMCpuCoreMHz variable in New-OrgVDC work?
It seems like the variable -VMCpuCoreMHz is broken when you try to use it when creating a new OrgVDC. The following error is thrown when you attempt to use it: New-OrgVdc : Parameter set cannot be resolved using the specified named parameters. At C:\