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: 

BADI LE_SHP_DELIVERY_PROC~Delivery_Final_check

Former Member
0 Kudos

In BADI LE_SHP_DELIVERY_PROC~Delivery_Final_check, I am writing my final delivery validations. My Delivery can fail many validations and I have to cumulatively show the error message in delivery log. In this method of BADI, If I populate, CT_FINCHDEL, only the last message is coming at the bottom of the screen.


If I do my validations in Save_document_prepare, I am not able to stop delivery from getting saved. Please suggest on how to populate log messages to delivery log and at the same time not allow the delivery to be saved.


Regards,

Annusha

2 REPLIES 2

former_member756887
Participant
0 Kudos

Hi,

use SAVE_DOCUMENT_PREPARE method and fill the CT_LOG parameter.

Hope it will help..

0 Kudos

The Save_document_prepare method is still saving delivery and coming back to first screen of vl02n and all log messages of ct_log are gone. How to avoid this?