10-18-2008 9:43 AM
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
10-24-2008 6:13 AM