Application Development 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: 

validation in delivery

Former Member
0 Kudos

Hi All,

I want to write some validations on storage location(LGORT) in delivery screen(VL01n). Is there any user exit or BADI's for this.

Pls help me.

Regards,

Ashwin

3 REPLIES 3

Former Member
0 Kudos

hi

good

user exits for VL01n

V02V0001 Sales area determination for stock transport order

V02V0002 User exit for storage location determination

V02V0003 User exit for gate + matl staging area determination (headr)

V02V0004 User Exit for Staging Area Determination (Item)

V50PSTAT Delivery: Item Status Calculation

V50Q0001 Delivery Monitor: User Exits for Filling Display Fields

V50R0001 Collective processing for delivery creation

V50R0002 Collective processing for delivery creation

V50S0001 User Exits for Delivery Processing

V53C0001 Rough workload calculation in time per item

V53C0002 W&S: RWE enhancement - shipping material type/time slot

V53W0001 User exits for creating picking waves

VMDE0001 Shipping Interface: Error Handling - Inbound IDoc

VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)

VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)

VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)

V50R0004 Calculation of stock for POs for shipping due date list

thanks

mrutyun^

Former Member
0 Kudos

there r following exits for VL01N

Exit Name Description

V50Q0001 Delivery Monitor: User Exits for Filling Display Fields

V50R0001 Collective processing for delivery creation

V50R0002 Collective processing for delivery creation

V50R0004 Calculation of Stock for POs for Shipping Due Date List

V50S0001 User Exits for Delivery Processing

V53C0001 Rough workload calculation in time per item

V53C0002 W&S: RWE enhancement - shipping material type/time slot

V53W0001 User exits for creating picking waves

VMDE0001 Shipping Interface: Error Handling - Inbound IDoc

VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)

VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)

VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)

V02V0001 Sales area determination for stock transport order

V02V0002 User exit for storage location determination

V02V0003 User exit for gate + matl staging area determination (headr)

V02V0004 User Exit for Staging Area Determination (Item)

V50PSTAT Delivery: Item Status Calculation

Sameer

Former Member
0 Kudos

Hello Ashwin,

<b>There are 17 user exits available for VL01N

**************************************************</b>

their names and description are as follows

Exit Name Description

V50Q0001 Delivery Monitor: User Exits for Filling Display Fields

V50R0001 Collective processing for delivery creation

V50R0002 Collective processing for delivery creation

V50R0004 Calculation of Stock for POs for Shipping Due Date List

V50S0001 User Exits for Delivery Processing

V53C0001 Rough workload calculation in time per item

V53C0002 W&S: RWE enhancement - shipping material type/time slot

V53W0001 User exits for creating picking waves

VMDE0001 Shipping Interface: Error Handling - Inbound IDoc

VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)

VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)

VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)

V02V0001 Sales area determination for stock transport order

V02V0002 User exit for storage location determination

V02V0003 User exit for gate + matl staging area determination (headr)

V02V0004 User Exit for Staging Area Determination (Item)

V50PSTAT Delivery: Item Status Calculation

Pls check the description to see if it matches your requirement,then confirm by checking the import-export-tables tab for the exit function module

if you are making validation such as making it mandatory please do Field Exit

To create a field Exit

1)For field exits in R/3 4.6C, execute transaction CMOD. Then type PRFB in the command field.

2)on the top menu...click on Field exit-> create ->enter the name of data element

3)enter the data element required for screen field to be mandatory and Execute

4)another screen comes with a function module name FIELD_EXIT_name of data element

5)Click create and save it to corresponding function group

6)you will get a function module with

import parameter as : INPUT

export parameter as : OUTPUT

7) in the source code write the code :

if input is initial.

message 'SALES FIELD MADATORY' type 'E'.

endif.

8)again to activate execute transaction CMOD. Then type PRFB in the command field. on the top menu...click on Field exit->Activate

now wherever data element is used the mandatory check will come but you need it only for your program ,so in the same screen click on Assign prog./screen tab and write the name of the program and screen number where you want the particular check

I believe field exit are not possible if structure field is on the screen...please do the above and check..you can also run the report RSMODPRF to create a field exit

<b>The following BADIs are also available for VL01N

************************************************************</b>

Please check which one suits your requirement

LE_SHP_DELIVERY_PROC

LE_SHP_PRICING

BADI_SD_COM_COUNTRY

Hope the suggestions proved useful.

Reward points if it was of any help

Regards

Byju