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

Condition Update- Warning Message

Former Member
0 Likes
684

Hi - We have a pricing condition type - Discount ($) Value- ZHMB. Condition Update Indicator-

Condition Record: Unit Value 100 USD, Set. Max condition Base Value 10 EA.

SO1 # Created for 8 Qty. Discount Applied 800 USD.

SO2# Created for 10 Qty, but due to condition update Discount applied is only for 2 EA i.e 200 USD.

Now we wan't to populate a warning message in the order entry based on the qty limit to user saying he already used 8 and eligible for discount only for 2 qty. I doubt MV45AFZZ TKOMP exit may not used for this??? S071 Table is used to store this info.

Logic could be-system should check the S071 condition Base value based on order condition record number and check the qty left with order qty and populate the warning message. I don't know how to write code for this and which user exit to be used?

We also have an BAPI which creates orders, we also wanted to populate the same warning message in the other system while using BAPI.

Pl share your ideas.

Reg

Siva

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
570

Hi Siva.

If you don't have the knowledge of writing codes, you should turn this over to an ABAP'er. He or she should be able to help you.

I haven't worked that much in this module but there should be a User Exit that can be used, where the ABAP'er can add an IF-statement and create a message for you.

In which transaction are you working? I have a program I can run to find out if there exist a User Exit for your transaction.

Regards // Peter B

2 REPLIES 2
Read only

Former Member
0 Likes
571

Hi Siva.

If you don't have the knowledge of writing codes, you should turn this over to an ABAP'er. He or she should be able to help you.

I haven't worked that much in this module but there should be a User Exit that can be used, where the ABAP'er can add an IF-statement and create a message for you.

In which transaction are you working? I have a program I can run to find out if there exist a User Exit for your transaction.

Regards // Peter B

Read only

0 Likes
570

Hi Peter- I am using VA01 Tcode to create orders. Before proceeding with my developer I am trying to find the exit. Pl help.

Reg

Siva