cancel
Showing results for 
Search instead for 
Did you mean: 

How to write data to database

Former Member
0 Kudos

Hello!

In a special condition on our form is the value of the field not ident to the value in SAP database. Now I want to update the database with the actually field value.

How to do that? thx for any idea!

Best greetings,

Gregor Brandstätter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can do this after the form is submitted in the save step.

Thanks,

Aravind

Former Member
0 Kudos

Hi!

Thanks for your answer.

The problem is, that the value on the SAP database will be only updated when you select the drop-down list and set the value again.

We want to simulate that with JavaSricpt or Formcalc, but we didn't find a solution for that problem.

Best greetings,

Gregor

Former Member
0 Kudos

Can you trigger a user event to do the same.

Thanks,

Aravind

Former Member
0 Kudos

Hi!

Thx for your answer - can you please explan that more detail or with an example.

I tried the Javascript function xfa.sourceSet.dataconnection.update() on the form, but doesn't work.

Best greetings and thank you,

Gregor

Former Member
Former Member
0 Kudos

Do I need also a generic function called "USER_EVENT_CHECK" in the ERP System.

If yes, i have to write with this generic function the formdata to the database.

Thanks,

Best greetings!

Answers (0)