cancel
Showing results for 
Search instead for 
Did you mean: 

MDK - Update Action

CRVMANISH
Contributor
0 Kudos

Hi Experts,

I am calling update action to update personal number but the update is not reflecting.

I am calling this rule on button click , any idea why update is not working?

I have rule on Updatelinks as well.

export default function ChangeAssignment(context) {
let Pernr = context.getPageProxy().evaluateTargetPath('#Control:AssignTo/#SelectedValue') libCom.setStateVariable(context, 'UPDPernr',Pernr); // alert(Pernr);
let readlink = libCom.getStateVariable(context, 'SplitDetRead'); context.executeAction("/XBSYSY/Actions/WorkOrders/Operations/NavToAssignList/AsignListUpdate.action");

Please suggest.

bill.froelich

Regards

Manish

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

manish.meshram

Were you able to resolve your issue? If any of the below responses helped you, then please mark the helpful answer by accepting it OR post an answer so others might benefit from your findings and then close this discussion.

Regards,
Jitendra (SAP Community Moderator)

Accepted Solutions (0)

Answers (1)

Answers (1)

robert_hunger
Participant
0 Kudos

Hi Manish,

you are sure that you trigger this action. Maybe there is a errors in javascript before calling. Did you see your update call in the backend system or on Mobil Cockpit- Protocol ( mobile connectivity ) .

is posible to debugg your your coding ?

CRVMANISH
Contributor
0 Kudos

Hi Robert,

Thanks for reply.

There is no issue or error in javascript.

This is offline app, in backend the request is not going, i am not able to debug this part.

Regards

Manish

robert_hunger
Participant
0 Kudos

ok,

Did you allredey set up idempotent services in your backend ?

Defining Settings

this sound simlar

synchronizing the data to the backend

CRVMANISH
Contributor
0 Kudos

I don't think its that issue, request is not getting updated in offline store itself in MDK

Regards

Manish