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

BADI

Former Member
0 Likes
850

Hi,

i need to populate the production versions of the material from MRP4 view in Material master ( production versions), whenever an entry is made or changed to a Ztable.

i'm trying to use BADI_MATERIAL_OD for this.please let me know what should be the approach, which method i need to use etc.

Thanks,

venu.

5 REPLIES 5
Read only

nablan_umar
Product and Topic Expert
Product and Topic Expert
0 Likes
818

Hi Venu,

Look at the parameter fields of each of the methods. If the fields is EXPORTING or CHANGING or TABLES type, then you may be able to change the production version if it is in the structure of the fields.

Another hint is to activate the Badi and put a break point. Then execute transaction MRP4 to see whether it stop at that Badi.

Read only

Former Member
0 Likes
818

Hi Venu,

when u create implementation of badi "BADI_MATERIAL_OD "

in SE19,please check the appropriate METHOD,and

then go in that method give the break-point.

Activate the BAdi.

Run ur Tcode .

it will take u to the Break-point,this means the badi is called.

In actual program u have to just write code to update the Ztable instead of Break-point.This will make entry in ur Ztable.

Regards,

Ranjit Thakur.

Please Mark The Helpful Answer.

Read only

Former Member
0 Likes
818

Hi,

appreciate your replies. what i'm trying to find is the prod. version of the material and the text as displayed when the 'prodversions' button is selected.

Thanks,

venu.

Read only

nablan_umar
Product and Topic Expert
Product and Topic Expert
0 Likes
818

What is the transaction code you run?

Read only

Former Member
0 Likes
818

material master(mm01 or mm02)-> mrp4 view (prod.versions)