Git Product home page Git Product logo

Comments (7)

bsrdjan avatar bsrdjan commented on August 16, 2024

could you please post the ZHHDEMO_BASESCALARS parameters' signature, showing the ABAP DDIC type of the IM_SCALAR_C parameter ?

response = connection.call('ZHHDEMO_BASESCALARS', IM_SCALAR_C=u'\U0001F4AA')

After pyrfc recompile, do you uninstall the old pyrfc wheel and install the new one?

from pyrfc.

Pentusha avatar Pentusha commented on August 16, 2024

I tried with different virtual environments, so recompile and uninstall is unnecessary.
selection_046
selection_047

FUNCTION ZHHDEMO_BASESCALARS.
*"----------------------------------------------------------------------
*"  IMPORTING
*"     VALUE(IM_SCALAR_C) TYPE  ZHHE_SCALAR_C OPTIONAL
*"     ...
*"  EXPORTING
*"     VALUE(EX_ZHHT_MERGE) TYPE  ZHHTT_MERGE
*"----------------------------------------------------------------------

  DATA: ls_merge TYPE zhhs_merge.

  "IF IM_SCALAR_C IS NOT INITIAL.
    CLEAR ls_merge.
    ls_merge-PARAM_NAME = 'IM_SCALAR_C'.
    ls_merge-COL_C      = IM_SCALAR_C.
    APPEND ls_merge TO EX_ZHHT_MERGE.
  "ENDIF.

  ...

ENDFUNCTION.

from pyrfc.

bsrdjan avatar bsrdjan commented on August 16, 2024

The name of the DDIC element is missing on 1st screenshot. Is it ZHHE_SCALAR_C type of CHAR255 ?

The structure ZHHS_MERGE is not used in the python call, does it have anything to do with this issue?

from pyrfc.

Pentusha avatar Pentusha commented on August 16, 2024

I do not know what is DDIC and where to see it.
selection_050
selection_049

from pyrfc.

bsrdjan avatar bsrdjan commented on August 16, 2024

yes, it is new bug, regarding 8 bytes unicodes handling. Thanks for helping reproduce it. DDIC stands for SAP Data Dictionary.

The fix is available in dev branch, just pushed. Could you please try if works for you ?

from pyrfc.

Pentusha avatar Pentusha commented on August 16, 2024

It's works for me. Thanks.

from pyrfc.

bsrdjan avatar bsrdjan commented on August 16, 2024

Glad it helps :)

from pyrfc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.