cancel
Showing results for 
Search instead for 
Did you mean: 

IW21 - How to populate Functional Location/Equipment by default for specific Notification type ?

former_member193947
Participant
0 Kudos

Hello Guru's,

We have a custom Notification type. Our requirement is to populate an default Functional Location and/or Equipment, when user enters Notification type in the initial screen and navigates to detail screen on transaction IW21.

I am not able to find an appropriate user exit for this.

If someone know how to achieve this, can you please guide ?

Appreciate your help.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

jogeswararao_kavala
Active Contributor
0 Kudos

Hello SAP Seeker,

I have tried again. Somehow Equipment/FLocn/Assembly are not being defaulted to Notification through QQMA0025.  You try by putting the following code in include ZXWOCU21.

IF I_VIQMEL-QMART = 'BR'.
   E_VIQMEL-EQUNR = '50000123'.
ENDIF.

Obviously, you replace 'BR' with your Notification type and '50000123' with your Equipment. In case this does not work (as experienced in my system) for you too, then probably some Note, like 504626 might needed to be applied. Also you may post issue (about user-exit not functioning for Reference object) to OSS. Alternatively you can explore Enhancement spot in program SAPLIQS0.

Good luck

KJogeswaraRao

former_member193947
Participant
0 Kudos

Thanks for your input Jogeswara Rao.

I tried what you mentioned. Unfortunately, it doesn't work. There are 3 fields for Functional Location in E_VIQMEL, but none of them reflect in the front.

E_VIQMEL-SHN_FUNCT_LOC

E_VIQMEL-BTPLN

E_VIQMEL-TPLNR

Almost no exits (QQMA*) is satisfying this requirement.

As a workaround, I tried to modify the code on Event Save exit and it skips the mandatory check for Functional Location and it seems to be satisfying our requirement.

We will try to raise it to SAP through OSS or apply any note, if available. Due to our standards, enhancement is not an suitable option.

0 Kudos

Hello SAP Seeker,

Can you please let us know, what is the bsuiness need to populating default equi/floc in notification type?

Regards

Hemant

former_member193947
Participant
0 Kudos

Hi Hemant,

The requirement is to use the Notification only for adding it to an custom requirement w.r.t Work Order's only for saving comment's. Once the Notification is created without Equipment/FuncLoc, then in the future, they can be added based on requirement.

Best Regards.

jogeswararao_kavala
Active Contributor
0 Kudos

Hello,

Though there exists a clear user-exit for this purpose i.e., QQMA0025, somehow, I find this is not working for Equipment field. You may also try.

KJogeswaraRao

sunil_mundhe3
Contributor
0 Kudos

Hi,

Try Menu Option in IW21,

Extra=>Settings=>Control/Default Values=>

Tab = Ref. Object here you can make Technical Object default and save it.

Rgds

Sunil

jogeswararao_kavala
Active Contributor
0 Kudos

Sunil Mundhe

He asked for default values for a Notification type.? Are you sure you replied to that only?

sunil_mundhe3
Contributor
0 Kudos

Hi,

JRK - One Notification Type and default Tech. Object can be acheived by above setting.

Another setting available for making Notification default at start of transaction -

SPRO- "Define Transaction Start Values "

Not sure whether "SAP seeker" wants dynamic or not & also it is User Specific.

Rgds

Sunil

jogeswararao_kavala
Active Contributor
0 Kudos

Obviously he wants default values for a specific Notification Type. He clearly mentioned that. Depending upon the specific Notification type entered in the initial screen of IW21, he wants an Equipment number to be defaulted (Not for all Notification types). Now test whether your suggested settings satisfy that and give feed back.

former_member193947
Participant
0 Kudos

Thanks for your input Sunil.

But, it doesn't work for only one specific Notification type.