Skip to Content
author's profile photo Former Member
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 (114.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 04, 2018 at 05:09 AM

    it is solved

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.