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

Stop delivery creation using VL10B

Former Member
0 Likes
827

Hi,

I have a requirement to stop delivery creation when the STO created against the delivery is blocked in GTS system.

At present we are getting the status of the STO and if blocked, displaying an error message in data transfer routine we have created.

However throwing a hard error (control out of the code) doesnt result in the error getting transferred in delivery log or the log which indicates why delivery creation failed.

  • message id 'YGWGTSMESSAGE'

  • type 'I'

  • number '001'.

  • raising error.

Is there any particular format by which the error message should be sent or some config that capture this error.

Thanks & Regards,

Naresh Makhijani.

Hi,

I have a requirement to stop delivery creation when the STO created against the delivery is blocked in GTS system.

At present we are getting the status of the STO and if blocked, displaying an error message in data transfer routine we have created.

However throwing a hard error (control out of the code) doesnt result in the error getting transferred in delivery log or the log which indicates why delivery creation failed.

  • message id 'YGWGTSMESSAGE'

  • type 'I'

  • number '001'.

  • raising error.

Is there any particular format by which the error message should be sent or some config that capture this error.

Thanks & Regards,

Naresh Makhijani.

1 REPLY 1
Read only

JackGraus
Active Contributor
0 Likes
608

You can prevent delivery creation in copy requirement for delivery. How to handle messages have a look at one of the standard routines like FV50B001. Can also create customer routines.

Regards Jack Graus