cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

On click of cancel, created entries should be revoked - SAP C4C

0 Kudos
386

Hi All,

I have a requirement in SAP C4C,in an embedded component where, on entering a certain value,entries should get created on a table and be visible in an advance list pane which i achieved using event handler( bo action and save after execution).

(On entry of a line type, specific process steps get autocreated)

Now the issue is, when i click on overall cancel button, the created entries should not persist.

since they are already saved in database,the way i know is delete them on click of cancel.

Is there any other way to achieve this?

if i do not perform a save automatically after the entries are created, these entries will be visible only after i manually perform a save.However, I also want it to be visible on screen immediately after i provide a value in line type.

Thanks,

Shalini

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Ravi,

Thanks for your reply.

List modification form does not suit the requirement since I do not want any quick create sort of screen.

Also,on entering a value in the previous table, entries should appear immediately in the line item table.

I tried your second approach, but it does not work.It works only after I click on save.

Thanks,

Shalini

hettenahalli
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Shalini,

Please use List modification form to achieve your requirement, below is the link to follow

https://blogs.sap.com/2013/12/12/how-to-create-a-list-modification-form/

else with current approach, try calling refresh event instead of save, if the entries are in buffer it should show-up ideally.

Thanks,

Ravi