SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

CRM Web IC (5.0)-Updation of alternate portion field while creating movein

Former Member
0 Kudos

Hi,

I have a requirement to update the alternate portion field while creating the move-in from the CRM system (Web Client).

For this I have created a context node 'ALTPORTION' in the view CiMrDetailsMi.

This view is for move-in.

The option for updating the alternation portion which i have determined is to code the same in the event handler EH_ONSUBMIT.

The code which gets executed in the event handler is as follows:

METHOD eh_onsubmit.

  • check data

IF cucomio IS BOUND.

IF cucomio->check_prdoc( ) = abap_true.

op_checkmovein( ).

ELSE.

IF cucomio->save_prdoc( ) = abap_true.

op_submitmovein( ).

ENDIF.

ENDIF.

ENDIF.

ENDMETHOD.

After this code and before endmethod i will be calling my RFC to update the alternate portion field in the table EVER.

My problem is I am unable to determine the contract number which is getting created.

I just need to get the variable name which stores the move-in doc number created.

Please suggest where could i find this when I am in the above specified event.

If there are any other suggested method to find/update the alternate portion field, i will be more than happy to implement.

Thanks and Regards,

Himansu Roy

1 REPLY 1

Former Member
0 Kudos

Got the resolution....