on 04-06-2009 7:26 AM
Dear Experts,
I want to add some extra fields in QM01 .
Is there is any BADI or userexit available for QM01(Quality Notification).
Please give me some solution.
Regards,
Sanket.
Hi,
SPRO-->Quality management >Notification> Overview of notification types-->Select the notification & 90 give the customer specific screen area
this is the process where we will add the screen...
Go to Function group is XQQM in SE80....create the screen which you have added in config...example 0090 ....
No wgo to includes tab you will see one z*TOP include there you declare the fields you want on this custom screen ....
example : dist type char3.
In the PBO and PAI validations you can make for the added fields as we do in normal Module pool.
In the PAI event create a module and pass the values to the structure VIQMEL.
for example if your added field is dist.
Pass as
VIQMEL-dist = dist.
Go to cmod create a project ,give the enhacement QQMA0001.
In the exit EXIT_SAPMIWO0_009
Pass those values to the req structure which needs to be populated.
example :
i_viqmel-dist = dist.
move-corresponding i_viqmel to e_viqmel.
--> Go to standard table where the values need to be updated(qmel) add one append structure with the req fields
Thanks,
Shailaja Ainala.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Shailaja,
v.v. thanks for your helpfull answer.
I was trying whatever solution u have given
but still i m not able to see the customer specific screen.(As per procedure given by u --> Function grp in that i made screen number is 0201..... after that 3 fileds i taken in that screen and declare in the z*top include aslo and activated. After that User exit QQMA0001 for this project i made in that but in that screen 100 to 170 screen number is avilable...so i created on more 101 with same fileds )
SPRO-->Quality management >Notification> Overview of notification types-->Select the notification
Notidication type---> 90 Master Data Change General Notification
---> Q1 Customer Complaint Quality Notification
here is have given customer specific screen aslo which is available in that user exit say 101.
But still i m not able to see that screen,
Plesae help me more so that i can solve this.
Regards,
Sanket.
Hi,
See for the same our functional consultant has added screen number 0090 in spro link which i have given.....ok
next i created the screen number 0090 only not 101 0r 100 ......it will be visible as small subscreen in your tabs .....according to your config....scroll down in all the tabs and check .....dont worry about 100 or 101 screen in your exit......
also chck the screen number is same in SPRO and in ur function group ...............keep breakpoints and check .....you will definelty see the screen ...it will be a smal part of screen in the tabs plz scroll down and check
Thanks,
Shailaja Ainala.
very very thanks Shailaja.
Now i m able to see that screen.
Now i m going to save that screen data in Ztable with the reference of Notification number.
But am not able to map this I can save the data in ztable but how i can control on it
means if user is entring QM02 then it should pick the data from that z table for specific notification number and have to show in that fileds and same when QM03.
very very thanks once again.
Regards,
Sanket.
Hi,
Rt now i dont have the code......do one thing go to PBO od the screen in function group display and ....
create a module in that and try tho check out the system field SY-TCODE ...if it is QM02 keep them to be editable and if it is QM03 keep then to be in display mode using ...
loop at screen .
if screen ...
endif.
endloop.
concept as we doo in Module pool it will work.....and in initial display fetch the reord from z table for the entered notification number there only in the moduels created(POB or PAI)
Thanks,
Shailaja Ainala.
Use the PBO and PAI FM to do this (e.g. EXIT_SAPMIWO0_008 is PBO and EXIT_SAPMIWO0_009 is PAI)
Do the Database read in PBO FM and update at commit (e.g. PERFORM AT COMMIT or SUBMIT FUNCTION IN UPDATE TASK) in PAI FM
To determine the mode (display, change, insert) keep the field value of I_AKTYP parameter in PBO FM (values from domain AKTTYP, from german language, H-create, V-change, A-display)
Regards
Hi,
Thanks Shailaja...for your support...
I have given points to u...
But on thing Again i want to ask u that in user exit from 100 to 170 screen numbers are thre that is why
the control is not going to to PBO of 201 screen which i have made .
What to do can u just give me some logic.
Regards,
Sanket.
Hi,
Create one module in PBO of the screen through se80 ....
in that write the code as...
IF SY-TCODE = 'QM03'.
LOOP AT SCREEN.
IF SY-UCOMM = '10\TAB02'.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
IN PAI .....create a module...write case as..
CASE SY-UCOMM.
WHEN '10\TAB02'.
VIQMEL-<UR FIELD> = <SCREEN FIELD>(declared in top)
ENDCASE.
Thanks,
Shailaja Ainala.
hi,
Thanks for your logic..
This have return in PBO and PAI.
But problem is when i m goin to screen Subject that userexit first will call after that i have take that control to the screen it is not going to PBO and PAI of that screen.
I dont know why it is not going even i have return break-point in PBO and PAI aslo .
But i can control that screen fields in User exit include.
Regards,
Sanket.
HI Sailijha,
I am following the steps given by you to add new subscreen in Quality notifcation header in transaction QM02, but still there is no subscreen to show up and it's not going to the exits mentioned by you. I am doing this custiomization for Notificaiton type F3, but i am not sure about the Screen type header and Screen Type Object (Although i have given the value as Scren Type Headr: H500 , Screen type Object: 0520 and Cust Scrn AreA 0090). Can you please help me out?
Hi,
in EXIT_SAPMIWO0_008
code like this...
if sy-tcode = 'QM03'.
loop at screen.
if screen-group1 = '020'.
screen-input = 1.
endif.
endloop.
select record from ur ztable...
pass the values from selected record ...
i_viqmel-dist = < >.
pass also to declared screen field ...(ztop)
like dist = < >.
if sy-tcode = 'QM02'
select the record from ztable...where qmnum = i_viqmel-qmnum.
pass values to screen fields..
dist = < >.
Thanks,
Shailaja Ainala.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Sorry to disturb u again.
when i writing code like this it is not going inside in the loop of screen.
And one more question when we are creating the notification that time Notification number is coming
like '..000000001' after saving only that number will generating . Then how can save that number in my table.
That number is key of my table.
Regards,
Sanket.
Hi,
Use the following user exits.
QQMA0001 QM/PM/SM: User Subscreen for Notification Header
QQMA0008 QM/PM/SM: User Subscreen for Additional Data on Notif.
QQMA0010 QM/PM/SM: User Subscreen for Additional Data on Cause
QQMA0011 QM/PM/SM: User Subscreen for Additional Data on Task
QQMA0012 QM/PM/SM: User Subscreen for Additional Data on Activit
Use the screen exit according your requirements.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
QQMA0001 QM/PM/SM: User Subscreen for Notification Header
QQMA0003 QM: "User data" Function in "Goto" Menu
QQMA0004 QM: "User data" Function in "Goto > Item" Menu
QQMA0008 QM/PM/SM: User Subscreen for Additional Data on Notif. ItemQQMA0010 QM/PM/SM: User Subscreen for Additional Data on Cause
QQMA0011 QM/PM/SM: User Subscreen for Additional Data on Task
QQMA0012 QM/PM/SM: User Subscreen for Additional Data on Activity
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try with this below BADI
IWO1_SUBSCREEN_0170 Display Additional Data on Object Screen 0170 PhysicalSample
Regards
Bala Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.