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

Implementing Note 0000896461

yasser_salah2
Explorer
0 Likes
480

Dear Experts

I tried to implement this note to use in  the alternative valuation run (transaction CKMLCPAVR) in order to change material value in the parallel valuation view of the material ledger and i did all required changes in tables.

actions done:-

1- created new implementation to the BADI CKMLAVR_SIM as the default implementation is not working. (as note required )

problems

1- no code in the new implementation ( the note does not refer to any code)

2- the new created implementation appeared in CKMLCPAVR but no effect for it

3- tried to make a break point in the new implementation but when running the program no effect for it

my issue is

1- what is the code we need to write in the new implementation for this BADI

2- how to run method before calling the program

1 REPLY 1
Read only

Gleisson
Explorer
0 Likes
393

Hi  Yasser,

First of all you need to disable the dummy implementation that alread exist for this BAdI by going to:

1- t-code: se18;

2- in the field: "name BAdI" put the name of the BAdI CKMLAVR_SIM and modify

3- in the menu bar go to "Implementation" -> modify

3- select the implamentation: "CKMLAVR_SIM" and diactive this implementation.

If you don't disable the dummy implementation, you'll can't active you implementatio, because it's impossible to have two implementation actived to the same BAdI.

After this, you must to code the method " simulate_material" and activ it.

I hope it was helpfull!

Best regards.