cancel
Showing results for 
Search instead for 
Did you mean: 

Forwarding agent should not hold empty value

Former Member
0 Kudos

Hi all,

In Vt02n transaction while doing shipment completion i need to check if the forwarding agent field is empty or not .

If it is so i need to raise a error message. After that the forwarding agent field should be opened for input.

In the include ZXV56U16 (in the exit EXIT_SAPLV56F_011) i wrote a logic for this field check and raised a error message.

When i tested it the error message was dipalyed but the field is not opeing for inout again.

Can anyone pls help me on resolving this issue.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Instead of writing abap code in user exit, you can create an activity profile for the shipment type and status where the validation is required.

SPRO-Logistics Execution-Transportation-Shipments-Define and Assign Activity Profiles

In the profile you choose to display a popup window and mark the forwarding agent (VTTK-TDLNR) as mandatory field. As a result, when updating the status in the shipment document the system will ask for a forwarding agent.

Hope this helps