User Exit - Include for delivery document?
Can anyone please tell me the user exit / include details that control creation / mofiication of outbound delivery document
I need to figure out a solution to create a split delivery if the country of origin of material is different in the stock
Say, if the SD order line item requires 76 units, and the stock has 50 units from one country and 26 from another, then it should result in split deliveries - each with line item of a unique country of origin
SM,
If the origin country is different (say US for line item 1 for Qty 75, and GB for line item 2, qty 25 wouldn't you have different plants & shipping points for each line item?
Scenario: At the time the sales order is created, there are 100 on a single line all for the same country (because as you say, it is not known during Order create). Then, when it comes time to create the delivery, you know that 75 come from US and 25 from GB. So, reduce qty on line item to 75 (US plant & Shipping Point), and create a new line item for 25 (GB Plant & shipping point). Then, your copy routines from Sales Order to Delivery would force you to split between different deliveries.
A sales order can have different shipping points - one for each line, but the delivery holds the shipping point at the header, so you cannot mix them.
Similar Messages
-
User exit/BADI for delivery creation in VL10B
Hi,
Is there any exits available for restricting the document type while the deliveries are selected/processed using VL10B/VL10G - delivery creation in background.
Scenario is when deliveries are created for STO's,thedelivery is to be created for a selected document types(EKKO - BSART).Other types of document types have to be ignored when the delivery is created in background.
Regards
DeepakCheck this exit.
BADI LE_SHP_DELIVERY_PROC
Method IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_FINAL_CHECK -
User exit & badi for delivery block
Hello All,
Based on some criteria i want to block the sales order when creating a sales order via abap program. Can anybody can tell me the user exit name or badi name?
Thanks in advance! point will be award.
regards,
Alex MHi Sanjay,
I have a similar requirement. My Sales Order will be generated in SAP
CRM and it flows back to ECC through CRM Middleware.
Once Order Flows to ECC, I have to set a Delivey Block for the
whole order if the order is for a particular company code
and if the order has a Varinat Configurable Material.
So should I be using the same logic suggested by you?
go to the main program(sapmv45a(for va01)) -> include MV45AFZZ ->userexit_move_field_to_vbak
depending on ur conditions ...
form userexit_move_field_to_vbak
if .....
set flag vbak-lifsk = '02' (depending on ur conditons ..so here i check for Sales OR, Material...)
endif.
endform userexit_move_field_to_vbak
Please help me and let me know if i am missing some thing.
I will be waiting for ur reply.
Regards,
Jessica Sam -
Exit/Badi for Accounting Document
Dear Friends
Is there any user exit/BADI for accounting document. My requirement is quite simple which you would also faced in many implimentation. Client wants number ranges business area/plantwise. I was just thinking as plant/business area is a line item field it may be little difficult to have different number range controll at that level, so I thought we could use user id as the import parameter. But these is possible once I get any user exit/badi for number range change. We dont want to create so many document type also.
Thanks and Regards
Pankaj GuptaHi Marta,
Check these notes
SAP Note 1259505 - FAQ: New cancellation procedure in SD,
SAP Note 400000 - FAQ: Transaction VF11: Cancellation of SD billing documents
See with attention note 1259505 question 4. It says
Most of the userexits in the SD-FI interface (see note 301077) will not be
performed.
So, try to do it with BTE's
Sorry, try with USEREXIT_PRICING_COPY in program RV61AFZA.
I hope this helps you
Regards
Eduardo
Edited by: E_Hinojosa on Nov 21, 2011 9:15 AM -
To find out appropriate user exit/ badi for transaction VT01n
Hi,
I have the following requirement.
Cass shipment type (VTTK-ADD03) field needs to be required and should be automatically populated upon creation of the shipment document. The rules for populating the value (SO, ST, PO and RA) are as follows:
If any of the orders on the shipment are customer order types, then the CASS shipment type should be a SO,
If all of the orders are STO orders, then the Cass shipment type should be "ST",
If all of the orders are PO orders, then the Cass shipment type should be "PO" , and
If all of the orders are customer return orders, then the Cass shipment type should be "RA".
I have to find out proper user exit / badi to do this.I have tried with many userexit but it won't work.
Thanking in advance to give your suggestion in order to resolve it.
With regards,
Ajit.Hi this code will enable you to find the user exit for any transaction . Just give the transaction as input
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.
*---End of Program
Just for your information the User exits available for VT01n are
MV56AINI Initialization of transaction control for transportation
V56AFCCH Shipment processing: Check function code allowed
V56AGTAR User Exit for Filtering Shipping Unit Calculation
V56ARCHV Customer-spec. checks for archiving shipments
V56ATKTX Change the number of lines for text input in shipment
V56BMOD Transportation processing: Field modification
V56DISTZ Shipment Processing: Determine Distance
V56FCOPY Shipment processing: Copy delivery data
V56FSTAT Shipment processing: Activities when setting a status
V56L0001 Status of Shipments for a Delivery
V56LDELI Read Delivery Data for Shipment Processing
V56LOCID Shipment Processing: Determine Location Identification
V56MVT04 Extensions for Collective Processing of Shipments
V56SLDET Shipment processing: Leg determination
V56TDLIF Filter Delivery Items for Shipment
V56UCHCH Shipment processing: Check whether changes were made
V56UCHCO Check shipments are complete
V56UDLUP Obsolete as of 4.6C: Delivery Update on Delivery Routines
V56UNUMB Shipment number allocation
V56USTAT User-individual definition of transportation planning status
V56USVDO Update new objects for transport
V56USVDP Preparation for updating new objects for transport?
Award points if helpful..
Thanks -
Can anyone give me user exit name for create/update purchase order partners
Hello guys
Can anyone gives me user exit name for create/update purchase order partners?
Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N) by using user exit.hi,
check these exits.
Transaction Code - ME21N Create Purchase Order
Enhancement/ Business Add-in Description
Enhancement
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
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
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
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
M06B0003 Number range and document number -
User exit/BADI for Deleting the Empty Handling unit
Hi All,
Can anyone give me the suitable User exit/BADI for the below scenario.
While creating the TO (Transfer order) for a delivery using the transaction code LT12, the system will automatically generate HU (Handling unit) number. If the materials are not found in the storage bin for the selected HU, we have to delete the Handling Unit from the delivery document.
Thanks in advance.
Thanks
Ramesh.Find below couple of User Exits for Transfer Order.
MWMTO001 - EXIT_SAPLL03T_001 (Enhancements for end of transfer order generation)
MWMTO002 - EXIT_SAPLL03T_002 (User Exit at End of TO Confirmation (in Update Task))
The Exits gives you access to LTAK and LTAP.....
Hope this is helpful to you.
Vinodh Balakrishnan -
MEREQ001 User Exit Problem for ALV Columns.
Hello,
I am using this user exit to make changes to the Purchase requisition enjoy transaction. There is an ALV used for item details and if you use the customer CI_EBANDB include in EBAN table you can see those fields available in the alv and you can add them up using change layout.
To make these fields editable as they remain in display always inspite of the fact that you use ME51n or ME52n.
MM --> Purchasing --> Purchase Req -->Define Scree Layout at document level.
is the configuration required as per a previous mail thread in the forum. However when i go to spro i am not able to see those new fields which i have added for KEY FIELD selection. Am i missing something or has anybody before done this... Could anybody guide me with the step by step process.
Regards,
Shekhar KulkarniHello,
In 46C, I checked and found no user exits / BADIs for your requirement. If you are very keen of this feature, may be that you have to modify the SAP standard. Not a good option.
Regards, Murugesh AS -
ATC not checking code in user exit includes
Dear Friends,
I'm not sure if you have faced this issue, but I have not found anyone or any post or any document or any OSS note talking about it.
I've recently have realized than when using ATC for checking the custom code of an Z include it was finding cero errors when it was actually full of them.
In fact using code inspector, the errors where found. It was not an issue of using a different variant, this was checked, CI and ATC are using the same,
The issue itself was clear: When the ATC checks a parent object its checks the code of its includes. If you try to check an include directly with ATC, it is ignored with message "No checks are available for the objects types", giving the chance to "add master program" so it will be checked when the master program is checked with all its includes. Last, ATC neither Code Inspector checks custom code.
The end result is that when trying to check the code in a user exit include with ATC it does not find any error.
I can think about encapsulating the code found in a user exits but this is a titanic task.
The main problem is that the jobs for getting in CCLM the quality required massive ATC runs that will not catch the errors in these kind of objects.
Have you face this issue? do you have any recommendation?
I would like your opinion before raising this as customer message, as from my point of this this may require a SAP correction.
Thanks
AubinHello Aubin,
to be perfectely honest I have not started with the indeep analysis yet. One reason is that the behaviour regarding exit techniques has got improoved recently so it is important to do the analysis on a SP level close / identical to yours.
If I am not mistaken CMOD function exits yield into 2 TADIR keys:
- 'R3TR' 'FUGX' .... - referring to the definition of the function group - typically provided by SAP - residing in a SAP package
- 'R3TR' 'FUGS' .... - referring to the implementation - typically custom code - residing in a Z-Package
My initial assumpution was that mapping partobjects always return FUGX but shall return FUGS. And also I was assuming the custom package shall contain the 'FUGS' implementation which shall enable checking out of the box.
But it seems these assumptions are not valid. I am not sure wether I would be able to analyse this issue this week. In any case I will update this thread as soon as the analysis has been done.
Best Regards
Klaus -
User exit IPRM0002 for preventive maintenance
user exit IPRM0002 for preventive maintenance
has anyone used this user exit? or BADI: BAdI: IPRM_MCP_SCHE_CHANGE ?
I seem to have some difficulty in knowing how to use these....
I need to basically be able to influence a calling date for next PMorder to be opened but documentation is not explanatory and, even if I do know what these exit/badi are used for, i do not understand how to use the parameters provided.
can anyone help?Hi,
I dont think you would be able to test the exit if you dont implement them for the user exits simply passing the parameters wont help,actually there is a process of implementing a USER-EXIT i suppose u would already be familiar to it, I order to activate the exit you have to create a project in CMOD transaction and assign the enhancement to that and then also create the include that is avaliable inside the FM and there you would be able to put your code.
For the BAPIs ,yes the control should go inside the BADI once you put a breakd point inside the right method but there to you need to implement the BADI and then you can put your code in the method for the effects to take place and you can test.
The detail process of implementation are already avaliable on SCN, It seems that you dont have developer authorizations so i would suggest to take help from some one who has, Best of Luck:).
Regards,
Himanshu -
Request for info. on USER EXIT/BADI for FB60
Hi,
This is with reference to FB60 user exit/badi for with holding tax.I want to use the customized table for withholding tax.
]Please guide some alternative solution rather than user exit and badi.
I dont think the following user exit and badi are used for withholding tax.
I done some analysies.I didnt find any user exit/badi related to withholding tax.I found the following
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
Badi
FQST_CALC_COUNTRY,FQST_CIN_WITHITEM are related with withholding tax and they are for country specific such as India.
Every expert answer will be rewarded.
Thanks in advance
CraTry Business Transaction Events. Transaction code BERP.
Regards,
Zoltá -
User Exit & BADI for controling the END user in co06
Hi
I HAVE SOME 2 DOUBTS
1. I need a user exit / BADI for controlling the user to edit a specific document type in co06 (BACKORDER PROCESSING) .
the control should be actve for specfic order type for specfic users
2 DEPENDS ON ORDER TYPE I NEED TO CONTROL THE ALLOCATION , AND HOW TO CHECK THE SAFETY STOCKAnswer cannot be Provided properly , so has to Post more questions . i am jus closing my ques??
-
User-Exit to Modify Accounting Document of Incoming Invoice
Hello,
My requirement is to add two new Line Items (One Debit One Credit - with net value 0) in the Accounting Document of the Incoming Invoice.
Is there any User-Exit available for modification of the Accounting Document?
P.S. - The Incoming Invoice is being Posted using BAPI - BAPI_INCOMINGINVOICE_CREATE
Thanks & Regards,
AbhishekHi Abhishek,
Try this exits. You go through the flow and put a break point on the selected exits, and check it whether it triggering or not?
I too not aware of this invoice flow, so I am listing all the relevant exits. I think this may help you.
Enhancement
LMR1M001 User exits in Logistics Invoice Verification
LMR1M002 Account grouping for GR/IR account maintenance
LMR1M003 Number assignment in Logistics Invoice Verification
LMR1M004 Logistics Invoice Verification: item text for follow-on docs
LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
LMR1M006 Logistics Invoice Verification: Process XML Invoice
MRMH0001 Logistics Invoice Verification: ERS procedure
MRMH0002 Logistics Invoice Verification: EDI inbound
MRMH0003 Logistics Invoice Verification: Revaluation/RAP
MRMN0001 Message output and creation: Logistics Invoice Verification
Business Add-in
INVOICE_UPDATE Business Add-In: Logistics Invoice Verification
Reward points if it helps you.
Cheers,
Swamy Kunche -
User exit screen for LM51--- urgt.
Hi gurus ,
I am trying to define new User exit screen for LM51. I have developed new screen assigned as,
logical == 9151 variant=9 actual screen = 2151
assighned in lrfmd with variant = 9
Even In Lm51 its not calling the subscreen 9151.i am not getting reson,
kindly help meIt is difficult to understand your requirement,but I suggest you please refer document on mobile data entry screen. Also to develop screen you have to use standard RF screen. Please consult with technical person who has worked on development of RFscreen.
Regards,
PRashant -
Hi
when i double click on user-exit include following message is coming but not able to go inside the include
message "Program names ZX... are reserved for includes of exit function groups"
thanks,
AnjiThe idea is, in the FM, when you double-click on the include....
if it exists, it will directly navigate into the include.
If the include doesnt exist, it throws up the warning-message you mentioned, and then proceeds to ask if you want to create the include.
Maybe you are looking for
-
How to deal with dynamic selection screen elements when macros are used?
Hello experts, This is regarding the dynamic selection screen elements. Actually the requirement is to modify the existing standard report program RFUMSV00 by copying it into a Z report, adding a few selection screen elements and new fields in the ou
-
Java 7u45 gives spurious warning about missing Permissions attribute
The security dialog in 7u45 gives a yellow warning about missing Permissions attribute. Does anyone know how to get rid of it? Same as the yellow box in the screenshots (#2 and #3) documented here (although none of them discuss the Permissions attr
-
BOD on WinXP SP2 after installing iTunes7.2
Hello out there, after I upgraded to iTunes 7.2, I received a Blue Screen of Death on my WinXP SP2 System. Before upgrading everything went fine, I almost had forgotten how a BOD looked alike. The worst has been: I even couldn't start WinXP in protec
-
Smart form driver program for VF23
hi any one can tell me is there a standard driver program for a smartform to run transaction VF23. There is a Standard SAP script program named RVADIL01 . Is there a similar driver program for Smartform for the same Invoice List Transaction .
-
I have already read Bas' post about the common problems but still, my own problem can't be solved. I hope you guys could help me. Here's the problem: Specs: KT3 Ultra2 BR/2 x Kingmax 256 MB DDR333 RAM/AthlonXP 2000+ I know that the default fsb is 100