Application Development 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: 

Additinal Tab in ME21N using MM06E005

Former Member
0 Kudos
618

Hi,

I have to add an aditional tab at the header level to the already existing 9 tabs with text as 'Vendor Acceptance' and the subscreen should contain a Check box with 'Vendor Acceptance' as text. I went through many threads in SDN of which some

suggested Badi others User Exit MM06E005. Please let me know the steps using User Exit MM06E005.

In User Exit MM06E005

I added one field in CI_EKKODB.

In Screen Areas

When I am double clicking on 0111 ,it asked for Access Key and its just showing a message 'Function Group XM06 Changed' after taking the access key. Its also giving message 'User SAP does not exist'.

SAPMM06E 0101 CUSTSCR1 SAPLXM06 0101

SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111

SAPMM06E 0201 CUSTSCR1 SAPLXM06 0201

Through SE51 , when i check for SAPMM06E 0111 , its graphical layout didnt contain screen containing tabs.

Through SE51 , when i check for SAPLXM06 0111, its saying progam and screen doesnt exist.

Please let me know in which screen i have to add additonal tab and for this i have to take access key or not?

Thanks

K Srinivas

1 ACCEPTED SOLUTION

Former Member
0 Kudos
210

Hi,

You need to create those sub screens: SAPLXM06 0101

go to function group XM06 and create screen 0101..thats your tab.

for line tiems go to XM06 and create screen 0111 thats your customer screen area.

Regards,

Himanshu

11 REPLIES 11

former_member554978
Active Contributor
0 Kudos
210

Hi Srinivas....

For including additional fileds you have to use the append structure CI_EKKODB in EKKO table.

for adding the tab you should not use the userexit , because the mentioned userexit is for me21 and not me21n.

for ME21N(Enjoy transaction) you have to use the 2 badi's me_process_po_cust and me_gui_po_cust.

Thanks and regards,

Swaminathan

0 Kudos
210

Thanks for the reply. I went through both the Badis and still not clear how to implement it so i thought of going for the User Exit.

I implemented ME_PROCESS_PO_CUST for some other requirement. Do i need to implement again for this requirement. In ME_GUI_PO_CUST What details i should provide in 'SUBSCRIBE' method. I mean i should provide Standard program name and its screen name or ZScreen and ZProgram details and what structure name i should give? Please guide.

Thanks

K Srinivas

Former Member
0 Kudos
211

Hi,

You need to create those sub screens: SAPLXM06 0101

go to function group XM06 and create screen 0101..thats your tab.

for line tiems go to XM06 and create screen 0111 thats your customer screen area.

Regards,

Himanshu

0 Kudos
210

Thanks for the reply. You mean to say that MM06E005 will work for Me21n. I will follow your suggestions and let you know if there are issues.

0 Kudos
210

How to create screen 101 in XM06 function group. In SE80 i displayed XM06 function group but i didnt find any screens under it.

Thanks

K Srinivas

0 Kudos
210

hi,

please right click on the function group click create and then choose screen thenassign the right screen number to it.

Regards,

Himanshu

0 Kudos
210

Thanks for the reply. I created the screen 101 . should i create it as Normal or Subscreen? In graphical layout do i need to create Tab strip? Please guide.

Regards

K Srinivas

0 Kudos
210

Hi Sriinivas...

Screen has to be created in XM06 as a subscreen and it has to be attached in the BADI which i said.

Thanks and Regards,

Swaminathan

0 Kudos
210

Thanks for the reply. If i go to change mode of ME_GUI_PO_CUST, under Subscreens tab there are Call Program,Scr.No,Subscreen Area,Description. Do i need to give subscreen No 101 here and save it or do i need to provide details in 'Subscribe' by copying the definition into Z******** and then implement. When i copy into Z******* , the subscreen tab is not there. Please guide.

Regards

K Srinivas

0 Kudos
210

Hi,

When you create the screen as subscreen and activate the same and create a project in CMOD and assign the enhancment to it and activate the project are you getting the tab or not....Please search SCN you will find a lot of threads on the whole procedure also google would be a good option.

Hope it helps

Regards,

Himanshu

0 Kudos
210

I am not getting the tab . Thank you very much for the replies.

Regards

K Srinivas