Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: Regarding- Making Sold to Party fields uneditable.

$
0
0

Hi Atul,

 

If you are not on the technical side, then you have to ask your abap consultant to implement the same.

 

GET_I method is the method that is implemented for each attribute under the context node. If it is not already implemented, you have to redefine/implement it.

 

sample code:

method GET_I_SOLDTOPARTY.

    DATA: current TYPE REF TO if_bol_bo_property_access.

    rv_disabled = 'TRUE'.
    if iterator is bound.
      current = iterator->get_current( ).
    else.
      current = collection_wrapper->get_current( ).
    endif.

    TRY.
        IF current->is_property_readonly(
                      'SOLDTOPARTY' )  IS INITIAL

          rv_disabled = 'FALSE'.
        ENDIF.
      CATCH cx_sy_ref_is_initial.
    ENDTRY.

endmethod.

 

Thanks & Best Regards,

Leon


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>