Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

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

Former Member
Not what you were looking for? View more on this topic or Ask a question