02-02-2010 3:57 PM
Hi Experts
I am trying to add new TAB to Shipment overview screen i.e. VT01N but could find user exit/ BADI for it..
I have tried checking for them custom program to find user exits and BADI
I have found the following BADIs but could not insert additional tab-screen for shipment transactions.
LE_SHPMNT_EXTENSION
BADI_HU_MAIN
BADI_HU_PACKING_ALWD
BADI_HU_PACKING_QTY
BADI_HU_SAVE
BADI_HU_AUTOPACK
GOS_SRV_SELECT
EHS_DG_001
please advice.
02-02-2010 7:56 PM
Hello Sarath
here is the list of Exits,which one is applicable, tell me I will try to help you
Exit Name Description
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?
02-02-2010 7:56 PM
Hello Sarath
here is the list of Exits,which one is applicable, tell me I will try to help you
Exit Name Description
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?
02-03-2010 6:07 AM
I need to add a tab at header level. (along with processing/identification/shipment cost/control/administration) to added custom fields. so i need to create sub-screen and add a new tab there.
02-03-2010 6:52 AM
Hi,
See these notes regarding VT01N screen enhancements.
Note 399075 - Layout of planning screen for the shipment
Note 400368 - Expand planning screen for shipment
Regards
Ahsan
09-13-2011 12:24 PM
Hi Sarath,
I have the same task. Did you manage to do this ?
Thanks a lot.
10-28-2014 10:52 AM
Hi Ahsan,
I also got same requirement to add 2 custom fields at vt01n header level.
Please explain in details about the notes how can i achive.
Note 399075 - Layout of planning screen for the shipment
Note 400368 - Expand planning screen for shipment
Regards,
Maruthi S
10-30-2014 6:54 AM
11-19-2014 2:15 PM
Hi Folks,
This is for VT01N - Creating shipment document , not an delivery.
This is very strange that there is no proper document to enhance VT01N enhancement (Tried with 400368 note also but it does not work). If any one knows kindly share it.
Regards,
Shaiksha Vali.
11-21-2014 1:55 PM
Hi Floks,
Hi, I Try to add 2 new fields in vt01n transaction but i am not able to do that.
So, I dicided to use already existed standard fieds to populate my values in those fields wich are not using in business.
For that also i am not getting any Exit or Badi.
If any Exit or BADI is there please provide me.
Regards,
Maruthi S
11-24-2014 5:50 AM
11-27-2014 7:57 AM
Hi Guys,
1. If you want to make field EXTI1 as non-edit mode then follow the below steps.
Go to CMOD-->Create a project to assign the enhancement V56BMOD-->You can find component as EXIT_SAPLV56B_001 exit --> Double click on this exit --> You can find
include zxv56u34--> double click and click on enter then you will get the option to create--> Click on create and write the code as below. Do not forget to active the project.
Example : Field EXTI1 as non-edit mode
if c_screen-name = 'VTTK-EXTI1'.
c_screen-input = '0'.
e_screen_modified = 'X'.
endif.
2. If you want to change the field 'VTTK-EXTI1' in run time then follow the below steps.
Go to SE38--> Include MV56AF99N_TA_CNTL--> Click on spiral symbol in the application tool bar--> Right click and select Enhancement Operations->Show Implicit Enhancement Options,find the form header_change, next line of this Right click and select Enhancement Operations->Create Implementations--> Give Custom name, save and activate it. Write the code as below.
Example : If you want the field VTTK-EXTI1' default values in RUN TIME
If sy-tcode = 'VT01N' OR sy-tcode = 'VT02N'.
data lv_vttk type vttkvb.
read table xvttk into lv_vttk index 1.
if sy-subrc = 0.
lv_vttk-exti1 = '999'.
modify xvttk from lv_vttk index 1.
endif.
Endif.
3. If you want to add some validation at the time of save then follow the below steps.
Go to SE19--> Enter BADI details as per below
Enter custom name ZBADI_LE_SHIPMENT and provide the description, save,activate the badi-->In method AT_SAVE add your custom code as below.
Example : Validation at the time of SAVE
data lv_vttk type vttkvb.
read table cha_shipments_at_save-new_vttk into lv_vttk index 1.
if sy-subrc = 0.
if lv_vttk-exti1 = '100'.
message 'Error test' type 'E'.
endif.
endif.
Example : Change data at the time of SAVE
data lv_vttk type vttkvb.
read table cha_shipments_at_save-new_vttk into lv_vttk index 1.
if sy-subrc = 0.
lv_vttk-exti1 = '200'.
modify cha_shipments_at_save-new_vttk from lv_vttk index 1.
endif.
Thanks & Regards,
Shaiksha Vali.
12-15-2014 10:53 AM
Hi Vali,
Thank you for your replay , It is working fine.
Regards,
Maruthi S