CRM Web IC (5.0)-Updation of alternate portion field while creating movein
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:
IF cucomio IS BOUND.
IF cucomio->check_prdoc( ) = abap_true.
IF cucomio->save_prdoc( ) = abap_true.
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,