Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction ................................................................................................................................................... 2
Add “Cancellation Date” to the Incompletion Procedure ......................................................................... 4
Add field to the sales order header – Sales tab as an screen enhancement ............................................ 5
Test results after adding this field to the sales order header screen .................................................... 7
ABAP Coding required ............................................................................................................................... 9
Introduction
It’s often requested by business users to make the sales order header “Cancellation Date” as mandatory
field in the sales order. Incompletion procedure is the standard SAP way of making any sales order field
mandatory.
“Cancellation Date” field is located in the “Item Overview” tab of the sales order.
Though standard SAP delivered sales order incompletion procedure has “Cancellation Date” as a field
available, there is no screen available for the “Item Overview” screen.
You can validate this by checking all screens available in the standard incompletion procedure, under
IMG Path – Sales and Distribution / Basic Functions / Log of Incomplete Items / Define Incompleteness
Procedure.
Select your incompletion procedure assigned to the order type and go to the “Fields” node.
First add the sales order “Cancellation Date” field to your incompletion procedure. Assign screen
“KKAU” (Sales order Header – Sales) as the screen against it.
Add field to the sales order header – Sales tab as an screen enhancement
You need to add the “FSH_CANDATE” to sales order header / header tab. This will be a screen
enhancement.
Test results after adding this field to the sales order header screen
For some reason, addition of “FSH_CANDATE” field to the sales header is not enough. If I try to create a
sales order now, I am getting the incompletion popup for the “Cancellation Date”.
I also can navigate to the sales order header / sales tab to maintain it now using Edit button.
Once maintained, that value automatically get passed to the “Item overview” tab “Cancellation Date”
field as well. However, when I try to save my sales order, system again popup the incompletion
procedure stating “Cancellation Date” is missing.
Therefore we need to edit the respective program to clear the incompletion procedure if this field is
populated. In order to do that, we need to edit the ABAP coding associated in the screen program -
SAPMV45A
Once above coding is written, system will not give the incompletion popup.
Author: Anupa Wijesinghe
Website: www.learnsaptips.com
Follow me on Twitter
Disclaimer
This article is done based on my research and readings, unless otherwise stated. The views expressed
are my own and not of anyone else.
Author accepts no liability for the content of the articles in this website or for the consequences of any
actions taken on the basis of the information provided. Using this information is at the users own
discretion and responsibility.