cancel
Showing results for 
Search instead for 
Did you mean: 

CRM_UI incident creation, restriction on field "SAP Component", table DSWP_CSNCOMP

Former Member
0 Kudos

Hello,

we have Solution Manager 7.1 SP 10 and we use CRM_UI for Incident managment.

We defined additional component in table DSWP_CSNCOMP.  Per each customer we have one additional node ( see bellow ). Now we want to make restriction on that field "SAP component" to allow customer to see only some nodes in the list and not everything.

For example, we wont to restrict component only for  "IPKO*" ,see bellow.

Is it possible? How?

Regards,

Renato



Accepted Solutions (0)

Answers (1)

Answers (1)

Lluis
Active Contributor
0 Kudos

Hello Renato,

It's not possible to do that using the standard functionality.

To get that you can custom code the stadard funcion "DSWP_READ_CSN_COMPS" and load your own selection from Z table where you can map your custom component by BP.

inside that function you have to load new data from your Z table to internal tables et_dswp_csncomp and et_dswp_csncompt.

Hope that can help you, we do that for SMaMS

Regards,

Lluis

Former Member
0 Kudos

Thank you Lluis, this is out of standard, so I need ABAP developer here..DO you have some code to share as example? Thank's in advance!

Regards,

Renato

Lluis
Active Contributor
0 Kudos

Hello Renato, sorry but I can't put that code here.

But think that it's really easy to implement by a Developer, only follow that steps.

  1. Create a ZDSWP_CSNCOMP table that is copy of DSWP_CSNCOMP.
  2. Add a new field to inform the Busines Partner that represents the customer (sold-to-party).
  3. Go to se37 and select DSWP_READ_CSN_COMPS function module.
  4. look into the code where function load the component table into et_dswp_csncomp and et_dswp_csncompt.
  5. add a piece of customer code to search the sold-to-party under the relations of the current logged user. ( tables but000 and but050 ).
  6. select * from ZDSWP_CSNCOMP where BP EQ before result into et_dswp_csncomp.

Hope that can help you a little.

Best regards,

Luis

Former Member
0 Kudos

Thank you Luis, it is helpful.

Regards,

Renato