Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

How to prevent similar conditions in Sales order?

$
0
0

Good day,

Please can anyone give a solution for requirement.

The following condition types are grouped as follows and are the only ones that should be reflected in the Sales order

Freight

ZFS1

ZFS2

ZFS3

ZFS4

Insurance

ZIS1

ZIS2

Here if it have ZFS1 it should not allow to include other freights(ZFS2/ZFS3/ZFS4) in the same sales order.

And I want to throw a error msg to user that "you con't charge more freight in same sales order".

Please advise me how I can do this with ABAP code and where I can use the logic?

Thank you,

Sudheer


Viewing all articles
Browse latest Browse all 8332

Trending Articles