Skip to Content
avatar image
Former Member

how to compare old and changed run time object data on Web UI,.leyer

Hi Team,

There is a requirement where I need to add a functionality in case somebody wanted to change "Responsible party " parther function " then he should be asked through a pop up that either he wanted to copy the same change (Only to BP) to rest of the line item of the transaction too or not. Check below attachment pls

I am going to use this FM to in CRM Web UI "CALL FUNCTION 'POPUP_TO_CONFIRM'" as pop ups can not be used in Order_Save badi..

my doubt : Where I should use this FM in do_prepare output or DO_validate_input method of the controller class or EH_SAVE method

Secondly how will be able to compare the exiting BP data with changed ? code please... I am new in CRM Web UI related coding ?

I wanted to implement below simple logic

If New != Old -> false

raise pop up

IF anser "Y"

copy Old = new object data --- I guess with pointer it can be done in one line.

end if.

capture.png

capture.png (114.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 04 at 05:09 AM

    it is solved

    Add comment
    10|10000 characters needed characters exceeded