cancel
Showing results for 
Search instead for 
Did you mean: 

Component validation while creating support desk message

Former Member
0 Kudos

Hi all,

While creating support message through Help -> Create Support Message , the component field must be made mandatory.

By default it is allowing to create with wrong component also.

How to do validadion for this field.

In the BADI DNO_EVENT_SAVE this particular component field is not visible.

pls give me your valuable Suggestions.

Regard's

Jean

Edited by: jean liker on Feb 2, 2009 6:54 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello Jean,

Lokks like there is no customizing here for this. You will need to add a small repair

What do we have now is SAP standard ?

The component field pop-up coming when the component is empty is managed in the PAI module of the screen BCOSI01 in functionpool SAPLBCOS.

You have 3 solutions

1. repair the PAI (like SAP does for the pop-up)

after line message i016.

insert

elseif g_compon eq space.

message Ixxx

2 repair in the PBO

module status_0100 output.

....

LOOP AT SCREEN.

IF screen-name EQ u2018G_COMPONu2019..

screen-required = u2018Xu2019.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

3 repair the screen SAPLBCOS 0100

G_COMPON should be required in the program tab of the element attribute

Note : if you change the field "not changeable" people won't be able to create support message outside an application.

Up to you to decide what you prefer

best regards Xavier

Answers (1)

Answers (1)

Former Member
0 Kudos

Any other possible solutions apart from repairing the standard.

Suggestions pls.

Regard's

Jean.

Former Member
0 Kudos

hi Jean,

on the satellite side I see only one badi SBCOS001 for preparing the pop-up.

on SOLMAN side you have the badi CRM_ORDER_FIELDCHECK might help you because it is generic

IS_FIELDCHECK_COM Importing Communication Structure for Field Selection

IV_OBJECT_NAME Importin Business Transaction - Subobject

CT_INPUT_FIELD_NAMES Changing Table with Names of Fields to be Changed

Note : on solman side the badi BADI_IBASE_IBCO looks like is checking the IB component and it might helps also but I am not sure (CHECK_INSTALL and CHECK_DELETE method )

I understand that you want to validate during the entry of the message in the pop-up, thus only the first badi can help, the other badi are "too late" in the process I guess.

I hope it helps

br Xavier