You are on page 1of 15

  

Home › Community › Archives › Discussions Archive › ABAP Switching, Enhancing, and Adapting Standard Programs Ask a Question Write a Blog Post Login / Sign-up

Archived discussions are read-only. Learn more about SAP Q&A

Add new tab in QM01


Dear Experts,

I have requirement to add new tab in QM01.In other forum,they specify how to add sub-tab. Former Member
But i want to add new tab with new logic. November 14, 2013 at 22:17 PM
0 Likes
I know there is XQQM Function Group through which we done coding...

Please give me full steps how to add...

Regards,

Jyoti

Helpful Answer by Vijay Venkataraman , Former Member

Not what you were looking for? View more on this topic or Ask a question

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
7 replies

Abhijit Mandal replied February 04, 2013 at 13:56 PM

Hello,

update your custom field in the structure viqmel of EXIT_SAPMIWO0_008 function module. Create one screen 0090 inside the
function group XQQM. Please refer to below screen shots.

Under PAI module of the screen display the custom fields value.

In Addition please check http://scn.sap.com/thread/2070963.

Thanks,

Abhijit

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
0

likes
Former Member replied February 05, 2013 at 05:10 AM

Hello abhijet,

Thanks for reply.

But requirement is creating new tab and after how attach the new screen to tab

For eg ,i created new tab tab1 and new screen 90.but how this screen no 90 attach to tab1.

The link which u refer i know .......

regards,

Jyoti

0
likes
Abhijit Mandal replied February 05, 2013 at 07:56 AM

Hello Jyoti,

Please check the link I have mentioned to find your answer.


"Custom fields can be added through configuration in SPRO

SPRO-->Quality manangement-->

Overview of notification types--> Select the notification & 90 give the customer specific screen area

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Assign the values for the screen as below :

Screen Type header - H500

Screen type object - 0500

Custom screen area - 090 "

Thanks,

Abhijit

likes
Former Member replied February 05, 2013 at 08:04 AM

Here 90 is notification type and my notification type is different...

I am aware about this detail which u gave...

Thanks

Jyoti

0
likes
 Helpful Answer

Vijay Venkataraman replied February 05, 2013 at 13:57 PM

HI

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Refer to the link http://sample-code-abap.blogspot.com/2011/12/adding-custom-fields-to-quality.html

hope this solves your problem. Good luck.

BR,

Vijay V

likes
 Helpful Answer

Former Member replied February 05, 2013 at 14:50 PM

Hi Jyoti Gupta,

Follow the below steps:

To Add Tab in QM01

a) Go to TCode SPRO --> SAP Reference IMG--> Quality Management--. quality

Notifications -->Notification creations -->notification type-->define screen templates

-->Select define Screen Areas and Tabs-->select Notification type F1-->copy the new

Tab From existing tab.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
b) It will display one pop.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
c) Select ‘Define Screen Areas and Tabs’
and enter.

d) Select notification type ‘F1’ and Extended View: Tabstrips and Screen Areas.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
e) Select any tab and click copy (F6).

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
f) It shows new screen as follows.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
g) Enter the tab name and tab header.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
h) Now to assign screen no’s (created by ours i.e. custom screens) and screen area give the screen area1 ‘091’ and then enter
then you observe screen 1 to screen 5 are in editable .give the custom screen no’s.

i) Save.

j) Now go to QM 01 or QM 02 and execute you can observe ‘custom tab’.

To Add Custom fields: (impliment the user exit QQMA0001 )

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
a). go to SMOD --> create project --> enter the exit name what above mentioned .--> and activate the project.

b) Double click on screen,copy the screen 100 to 104.

c) double click on thescreen 104 and add the custom fileds which you want.

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
d). write the following code in the 104 screen.

PBO.

module getdata.

Module get_display.

PAI.

module update_viqmel.

Note: while double clicking the modules it will ask new includes.so go ahead automatically it will propose.

*----------------------------------------------------------------------*
***INCLUDE ZXQQMO05 .
*----------------------------------------------------------------------*
*&---------------------------------------------------------------------*
*& Module GET_DISPLAY OUTPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
MODULE get_display OUTPUT.
IF sy-tcode = 'QM03'.
LOOP AT SCREEN.
IF sy-ucomm = '10\TAB19'.
screen-input = 0.
* screen-invisible = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.

ENDMODULE. " GET_DISPLAY OUTPUT

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
*----------------------------------------------------------------------*
***INCLUDE ZXQQMI05 .
*----------------------------------------------------------------------*
*&---------------------------------------------------------------------*
*& Module UPDATE_VIQMEL INPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
MODULE update_viqmel INPUT.
IF sy-tcode EQ 'QM02'.

viqmel-zfiled1 = screenfiled-zfiled1.
ENDMODULE. " UPDATE_VIQMEL INPUT

Note : Go to se11 and add the fileds for these (qmel,rqmel,viqmel).add the fields to final structure.

Rewards if it will helpful.

Regards,

Gurunath Kumar

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
1

likes
Former Member replied November 14, 2013 at 22:17 PM

Are there any BAdIs for adding new tabs to QM01? Would prefer using BAdIs instead of customer exits if possible.

0
likes
Share & Follow

Privacy Terms of Use Legal Disclosure Copyright Trademark Cookie Preferences Sitemap Newsletter

Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD

You might also like