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

user for iw21 ?

Former Member
0 Likes
1,466

hello experts,

i want to make an user exit in iw21.when user will create the notification in iw21 than user put that notification in Process(pushing the green flag in iw21) that time i dont want complete flag(white flag in iw21) on iw21.please help me.

give me idea for this user exit apaers.

lots of thanks

abhishek sharma

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,258

Hi ,

You can remove the completion flag for IW21 Tcode using Transaction variant SHD0..

1. Enter SHD0 Tcode and enter IW21 in transaction code and ZIW21 for Transaction Variant .

2. Click create and this takes u to IW21 initial screen and give notification type , press enter and this gives you screen variant of IW21 Initial screen .

3.. Click continue button and this takes you to IW21 Inside screen here enter values wherever required and press enter and this gives you screen variants , so go pressing continue and this gives you screen variants continously and on pressing enter gives you screen variant which will have menu fuctions in one of the option and in that click menu functions -->Maintenance Notification -->Functions -->Select ARCH Field Complete and select deactivate option at the bottom and save it a separate package which you can create in SE80 .. you can also test it if required.

4. You need to activate the transaction variant in SHD0 -->Standard variants tab -->activate , you can assign this to user group also ..

plz check the above process ..

regrds

pushpa

6 REPLIES 6
Read only

Former Member
0 Likes
1,258

Hi Abhishek,

Below are the available user exits, go to CMOD & check which one will suit your requirement:

IWO10026 User check on setting status 'Do not perform'

IWO10027 User exit: Generate user-defined settlement rule

IWOC0001 Create PM/SM notification: Determine reference object

IWOC0002 PM/SM notification: Check whether status change is allowed

IWOC0003 PM/SM authorization check of ref. object and planner group

IWOC0004 Change single-level list editing PM/QM/SM ALV settings

Regards

Abhii

Read only

0 Likes
1,258

hello abhi,

i had checked everyexit but it is not come to breakpoint.

please give me other solution and please tell me how can i will track that user has been clicked on green flag and now white flag is present on screen.

thank you

Read only

0 Likes
1,258

Hi Abhishek,

It means that none of the user exit is getting called when IW21 is processed, I suggest you better go for creating a Transaction Variant by using SHD0 transaction as suggested above by Pushpa.

If you are not aware of SHD0, then search on SCN.

Regards

Abhii

Read only

0 Likes
1,258

hi experts, pushpa and abhi,

i had been created screen varient and that completion flag has been disappered but i have a condition that notification type

is M2 only.if M2 type notification is there that time only the flag has been disappeared otherwise it will be present.

thank you

Read only

0 Likes
1,258

Hi Abhiishek,

Then in that case SHD0 thing will not work, if you have to make it specific for Notification type M2 then you will have to use LOOP AT SCREEN logic in a suitable user exit.

Regards

Abhii

Read only

Former Member
0 Likes
1,259

Hi ,

You can remove the completion flag for IW21 Tcode using Transaction variant SHD0..

1. Enter SHD0 Tcode and enter IW21 in transaction code and ZIW21 for Transaction Variant .

2. Click create and this takes u to IW21 initial screen and give notification type , press enter and this gives you screen variant of IW21 Initial screen .

3.. Click continue button and this takes you to IW21 Inside screen here enter values wherever required and press enter and this gives you screen variants , so go pressing continue and this gives you screen variants continously and on pressing enter gives you screen variant which will have menu fuctions in one of the option and in that click menu functions -->Maintenance Notification -->Functions -->Select ARCH Field Complete and select deactivate option at the bottom and save it a separate package which you can create in SE80 .. you can also test it if required.

4. You need to activate the transaction variant in SHD0 -->Standard variants tab -->activate , you can assign this to user group also ..

plz check the above process ..

regrds

pushpa