cancel
Showing results for 
Search instead for 
Did you mean: 

[Fiori] Order From Requisition App : Short dump CALL FUNCTION 'CURRENCY_CODE_SAP_TO_ISO'

Farid
Active Participant
0 Kudos

Hello,

We are testing the Fiori Aplication : Order From Requisition

The application is capable of retrieving the list of Approved PR Items , but then an error  occurs "A problem occurred while looking for assigned purchase requisitions"

That errors corresponds to the occurence of an ABAP short Dump in the ERP BAckend :

ABAP Short dump on ECC6 EHP5 wit hlatest SP of for IW_BEP   ( 200    0009    SAPK-20009INIWBEP    Backend Event Provider)

Information on where terminated

    Termination occurred in the ABAP program "CL_GDT_CONVERSION=============CP" -

     in "CURRENCY_CODE_OUTBOUND".

    The main program was "SAPMSSY1 ".

    In the source code you have the termination point in line 19

    of the (Include) program "CL_GDT_CONVERSION=============CM00D".

    The termination is caused because exception "CX_GDT_CONVERSION" occurred in

    procedure "GET_CURRENCY_UNIT_CODES" "(METHOD)", but it was neither handled

     locally nor declared

    in the RAISING clause of its signature.

    The procedure is in program "/IWBEP/CL_MGW_DATA_HELPER=====CP "; its source

     code begins in line

    1 of the (Include program "/IWBEP/CL_MGW_DATA_HELPER=====CM00E ".

Line  SourceCde

    1 METHOD currency_code_outbound .

    2

    3   DATA: strvalue    TYPE string,

    4         not_allowed TYPE flag,

    5         return      TYPE bapiret2.

    6

    7   CALL FUNCTION 'CURRENCY_CODE_SAP_TO_ISO'

    8     EXPORTING

    9       sap_code    = im_value

   10     IMPORTING

   11       iso_code    = ex_value

   12       not_allowed = not_allowed

   13     EXCEPTIONS

   14       not_found   = 1

   15       OTHERS      = 2.

   16   CHECK sy-subrc <> 0. "not_allowed not relevant, note 1515912

   17   strvalue = im_value.

   18   return = cl_gdt_conversion=>fill_return_message( ).

>>>>>   RAISE EXCEPTION TYPE cx_gdt_conversion

   20      EXPORTING

   21        message   = return

   22        gdt_name  = c_currency_code

   23        gdt_value = strvalue.

   24

   25 ENDMETHOD.



I could not find any sap note that would adress this issue when running Fiori scenarios.


Do you have any ideas ?


Thanks and Regards

Tags edited by: Michael Appleby

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Raoul,

Please search again. You should get some hits.

Search team - CX_GDT_CONVERSION. 891 hits.

Search term - CURRENCY_CODE_OUTBOUND. 54 hits.

Search term - CL_GDT_CONVERSION. 44 hits

Search term - GET_CURRENCY_UNIT_CODES. 1 hits.

Regards, Masa

SAP Customer Experience Group - CEG

Farid
Active Participant
0 Kudos

Thanks Masa,

I completely missed it ...

There was indeed an OData related note which solved the short dumps :

2028544 - Request termination if currency or unit code is empty

Thank you again !

Former Member
0 Kudos

Dear Raoul,

Thanks for sharing the note with us .

We also had the same issue with empty currency and was able to solve after applying this note.

Even though our IW_BEP version is 200 SP10 still this code corrections in the SAP note was not there.

Regards,

Shanaka.

Answers (0)