2011 Jul 21 7:13 AM
Hi,
i am getting an unicode conversion error .I found a oss note but couldnt apply to my source code.[OSS note 509898|https://service.sap.com/sap/support/notes/509898]
in bapi_te_mara i have netpr value which domain is curr(Problem occurs from here).
What is the souliton for conversion curr?
My code is;
DATA: gs_bapi_te_mara TYPE bapi_te_mara,
gs_bapi_te_marax TYPE bapi_te_marax,
gs_headdata TYPE bapimathead,
gt_extension TYPE TABLE OF bapiparex WITH HEADER LINE,
gt_extensionx TYPE TABLE OF bapiparexx WITH HEADER LINE,
gt_return TYPE TABLE OF bapi_matreturn2 WITH HEADER LINE.
gs_bapi_te_mara-material = material.
gs_bapi_te_mara-zznetpr = zznetpr.
gt_extension-structure = 'BAPI_TE_MARA'.
gt_extension-valuepart1 = gs_bapi_te_mara. "prroblem here!
APPEND gt_extension.
gs_bapi_te_marax-material = lt_price-matnr.
gs_bapi_te_marax-zznetpr = 'X'.
gt_extensionx-structure = 'BAPI_TE_MARAX'.
gt_extensionx-valuepart1 = gs_bapi_te_marax.
APPEND gt_extensionx.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = gs_headdata
TABLES
returnmessages = gt_return
extensionin = gt_extension[]
extensioninx = gt_extensionx[].thanks in advance.
Hi,
if I know right, only character field types are supported in unicode for EXTENSIONIN, e.g. types CHAR, NUMC, DATS.
All other field types may cause unicode conversion errors.
Regards,
Klaus
2011 Jul 21 7:31 AM
Hi,
if I know right, only character field types are supported in unicode for EXTENSIONIN, e.g. types CHAR, NUMC, DATS.
All other field types may cause unicode conversion errors.
Regards,
Klaus
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |