Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

For VT01N tcode

Former Member
0 Likes
1,210

Hi experts,

Can anyone please tell me the userexit or BADI whihc is getting triggered for VT01N transaction after saving the shipping document.

It's very urgent . Please help me on this.

Regards,

Krithika

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
793

Hi Krithika,

In VT01N u have 2 BADIs: BADI_LE_SHIPMENT (which is probably the most usable - contains methods like 'at_save' etc.) and also LE_SHPMNT_EXTENSION.

Other than that u might also try EXIT_SAPLV56U_001, EXIT_SAPLV56U_002, ...., EXIT_SAPLV56U_005 which r userexits for check changes, save document etc, but r connected to the transaction screens (use them if u want to check stuff the user enters/changes in comparison to what's in the database).

Good luck

Award points if helps

Igal

5 REPLIES 5
Read only

Former Member
0 Likes
794

Hi Krithika,

In VT01N u have 2 BADIs: BADI_LE_SHIPMENT (which is probably the most usable - contains methods like 'at_save' etc.) and also LE_SHPMNT_EXTENSION.

Other than that u might also try EXIT_SAPLV56U_001, EXIT_SAPLV56U_002, ...., EXIT_SAPLV56U_005 which r userexits for check changes, save document etc, but r connected to the transaction screens (use them if u want to check stuff the user enters/changes in comparison to what's in the database).

Good luck

Award points if helps

Igal

Read only

0 Likes
793

Hi,

Thanks for your reply. I will try the second LE_SHPMNT_EXTENSION badi which you gave and let you know the result. also is there any method to find badi's like this whihc is not listed when we run a standard program to find badi's and exit's for tcode.

Please help me if you have any idea.

Thanks and Regards,

Krithika

Read only

0 Likes
793

To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.

Double click on method GET_INSTANCE, put a break point on case statement.

Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.

Reward if it is useful.

Thanks,

Srinivas

Read only

Former Member
0 Likes
793

Transaction Code - VT01N Create Shipment

Exit Name Description

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 statu

V56USVDO Update new objects for transport

V56USVDP Preparation for updating new objects for transport?

MV56AINI Initialization of transaction control for transportation

No of Exits: 22

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

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

Read only

Former Member
0 Likes
793

Hi,

Thanks for your reply. I will try the second LE_SHPMNT_EXTENSION badi which you gave and let you know the result. also is there any method to find badi's like this whihc is not listed when we run a standard program to find badi's and exit's for tcode.

Please help me if you have any idea.

Thanks and Regards,

Krithika