ERPConnect для SAP R/3 RFCs - хорошо работает это?

<template>
  <div class = "fraction">

    <input
      @change = "changeFraction"
      name = "numerator"
      type = "number"
      v-model.number = "fraction.numerator" 
      />

    <input
      @change = "changeFraction"
      name = "denominator"
      type = "number"
      v-model.number = "fraction.denominator" 
    />

  </div>
</template>

<script>
  export default {
    name: 'FractionItem',
    data() {
      return {
        fraction: {
          numerator: '',
          denominator: '',
        },
      };
    },
    methods: {
      changeFraction(e) {
        const el = e.target;
        //need add plus before value, because writting letter in input change data value to string type
        if (!/[0-9]/g.test(+this.fraction[el.name])) {
          e.preventDefault();
        }

        this.$parent.changeFractionInput({
          id: this.id,
          [el.name]: +this.fraction[el.name],
          key: el.name,
        });
      },
    },
  }; 
</script>


<style lang = "scss" scoped></style>

5
задан John Slegers 4 April 2016 в 09:09
поделиться

1 ответ

I have not tried ERPConnector. I have, however, used SAP .NET Connector 2.0, provided by SAP (at no cost) to talk RFC with SAP.

In the project, I used it to:

  • send IDOCs to SAP
  • set up a server to receive IDOCs from SAP

This was straightforward using the SAP .NET Connector 2.0 software.

4
ответ дан 15 December 2019 в 01:10
поделиться
Другие вопросы по тегам:

Похожие вопросы: