Skip to Content

By default both Workbench request and customizing requests are selected when a transport request is created in ChaRM. This documents explains the steps to change the defaults.

Background: In ChaRM when the status of a Change Document  is “In Development” and  a transport request is required to be created.

Image1.jpg

 

Both Workbench Request and Customizing Request are checked by default.

Image2.jpg

Requirement: Neither should be checked by default.

 

In some cases you we might want the user to choose what type of transport they want to create.  We know that CHARM can create both transport
types and then remove the empty request when moved to test – however it consumes another transport number and potentially skews reporting on the number of open real changes in Development.  We performed this enhancement by request for several customers on Solution Manager 7.1 SP08; will update SCN if we also perform on SP10.

Solution:

Press F2 on the Workbench Request to get the Technical Details of UI component and view to be enhanced.

Image3.jpg

Transaction: SM34

Image4.jpg

Image5.jpg

Transaction: SM30

Image6.jpg

Image7.jpg

Transaction: BSP_WD_CMPWB

Application: ZAIC_CM_TRANSCR

Enhance Component and View AIC_CM_TRANS_CR/TransportReqPage1

Image8.jpgImage9.jpg

Redefine method
do_prepare_output of class ZL_AIC_CM_T_TRANSPORTREQP_IMPL to change the
values of fields
‘CUSTOMIZING_REQ’ & ‘TRFUNCTION’.

CALL METHOD super->do_prepare_output.

  Data: lr_prop_cust type ref to if_bol_bo_property_access,

        lr_prop_trans type ref to if_bol_bo_property_access.

  constants: c_cust type name_komp value ‘CUSTOMIZING_REQ’,

             c_trans type name_komp value ‘TRFUNCTION’.

  lr_prop_cust ?= me->typed_context->BTAICREQTYPE->collection_wrapper->get_current( ).

  if lr_prop_cust is bound.

    lr_prop_cust->set_property( iv_attr_name = c_cust

                                iv_value = ‘ ‘ ).

  endif.

  lr_prop_trans ?= me->typed_context->BTTRANSREQ->collection_wrapper->get_current( ).

  if lr_prop_trans is bound.

    lr_prop_trans->set_property( iv_attr_name = c_trans

                                 iv_value = ‘ ‘ ).

  endif.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply