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 BADI_MAT_CUST_SCR

Former Member
0 Likes
3,123

Hello Experts,

I need to add custom tab at material component level in CJ20N, for which I need to create enhancement implementation of standard BADI_MAT_CUST_SCR, Can anyone please guide me how to go about it?? Or is there any other BADI or exits available for same? Kindly guide.

Regards,

deven

12 REPLIES 12
Read only

madhu_vadlamani
Active Contributor
0 Likes
2,507

Hi Deven,

1) Go to se11 and in the PROJ table ci_proj include , Add the required custom fields.

2) SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose

3) write any logic before the screen is displayed do it in PBO.

4) exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic

move-corresponding sap_proj_imp to proj.

5) EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic

move-corresponding proj to cnci_proj_exp.

Check this.

Regards,

Madhu.

Read only

0 Likes
2,507

Dear Madhu,

Thanks for reply, but The procedure u told is for creating cust enhancement tab at project definition level. What i need is to create a enhancement tab at material component level.

Any inputs are welcome.

Thanks,

Deven

Read only

Former Member
0 Likes
2,507

Created Implementation of BADI_MAT_CUST_SCR.

Custom screen appeared , created fields and screen.

Issue resolved..

Read only

0 Likes
2,507

HI Deven,

Good . If issue resolved please close the thread.

Regards,

Madhu.

Read only

0 Likes
2,507

Hi Deven,

I'm trying to implement BADI_MAT_CUST_SCR but the customer tab doesn't appear in CJ20N when I view a material component. I've been unable to find any specific documentation on the web about how to implement this BAdI and was wondering if you recall what steps you followed.

I have...

1. Created an enhancement spot implementation for ES_BADI_MAT_CUST_SCR_PS and activated it.

2. Created a BAdI implementation for BADI_MAT_CUST_SCR and activated it.

3. Created an implementation class for the BAdI and activated it.

4. Added the customer field to include structure CI_RSADD (used by if_mat_customer_scr~get_cust_feilds).

5. Created a subscreen in a customer function group to hold the contents of the new tab.

The customer tab still doesn't appear in CJ20N when I view a material component. I figure I must be missing some step.

Cheers.

Amy

Read only

Former Member
0 Likes
2,507

Issue resolved

Read only

0 Likes
2,507

Hi Deven and Amy,

I've also problem with this BADI_MAT_CUST_SCR BAdI.

How could I implement this BAdI?

Even implemented that, I cannot see enhanced screen.

I've done with same step as Amy does.

Thanks in advanced,

Jason

Read only

0 Likes
2,507

I've solved by myself.

All I have done is login with 'EN' and Activated again.

Read only

Former Member
0 Likes
2,507

Hi,

It's been a long time since the creation of this thread, but it's one of the few that has a solution for this issue.

I need to create a custom tab in CJ20N at material level.

I have followed the steps as listed by Amy King, but it doesn't work.


Does anyone keep in mind what I have to do to make this work?

Thank you.

Read only

0 Likes
2,507

Hey Caio,

Did you find out how to get the custom tab?

If yes, can you briefly tell me how did you go about it?

Regards,

Sid.

Read only

0 Likes
2,507

Siddarth,

following the steps listed by Amy King worked in another SAP environment, instead of that one that I was initially trying.

We believe that this happened because the SAP Release was different from one to another, but unfortunately the solution doesn't appear for that Company.

Read only

0 Likes
2,507

Hi ,

I have added the Custom tab using the Badi: BADI_MAT_CUST_SCR.

I had implemented the BADI_MAT_CUST_SCR. By following the steps listed in SCN.

1. I created a screen 0900 for saplxcn1 and called that screen in the method get_Screen.

2 .I also created the CI_RSADD with the zcustom fields.

Now in the BADI_GET_CUST_FIELDS , i see that the import parameter is IM_CI_RSADD and my  custom fields are available in it.

However , i am not finding the exits to update and display custom field values .

How am I supposed to pass it to this method?.


Thanks,

Ramesh