RE:[sap-log-sd] Warning vs. Error Message in In-completion Procedure

Posted by Typewriter
on Nov 2 at 1:36 PM
SAP_OTC,

Thank you for your posts! They are clear and informative. I have marked your last post as helpful.

Could you consider the possibility of changing the code so that even if the user adds the Order reason just before saving the sales order (i.e. at a "later" stage, not when he/she is at the initial page) the Z Table shall STILL be accessed?

I think this would be a better and long-term way (if other changes are done in the sales order, later on). Then NOT saving an incomplete order would be a standard (without coding) way to solve this issue.

---------------Original Message---------------
From: SAP_OTC
Sent: Tuesday, November 01, 2011 11:26 AM
Subject: Warning vs. Error Message in In-completion Procedure

Hi Typewriter, the Order Reason identifies why the User is creating a Product Request, which is basically sending the Customer goods free of charge.

That reason determines whether that Product Request should be Taxable (Material Tax Classification) or not, it also determines what Schedule Line Category to be proposed.

By default, Tax Classification defaults to "1", depending on the Order Reason we change that to a "0" or a "4". By default Schedule Line Category will be "CP", depending on the Order Reason we change that to one of three possible values. Each one of those Schedule Line Categories point to a specific Movement Type which in turn go to a specific G/L Account for Inventory Postings.

I did set up the Order Reason in the Incompletion Procedure to send a Warning; but in some cases I think the User is typing to fast that they just press Enter to pass the Warning and keep entering what they have to enter in the document and SAP will tell them again before saving that they haven't entered the Order Reason and they will; but at that point in time, the enhancement doesn't go back to the Z Table to determine what Tax Classification and Schedule Line Category it should propose for the Items.

No, the User doesn't go back to manually update the values right then and there. They eventually will once they run into issues when trying to PGI, as they get FI Postings errors.

So, like you suggested, I could turn on the indicator not to save the Document if something is incomplete; but that's really not the problem.

Either I find a way to issue an error, so they enter the Order Reason either before entering the Items or at least before moving away from that initial screen or I would need to double check via a User-Exit before actually saving if the Items were correctly updated.

If you have any other idea please let me know.

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
Typewriter
SAP Logistics Sales and Distribution Helper

Posted helpful replies on 50 threads in a group to earn a Silver Achievement
Popular White Papers

In the Spotlight
SAP BusinessObjects: Dashboards and Analytics. Learn more about this Toobox.com Marketplace online course.

_.____.__