Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Field symbol Assign/unassign issue

Hi Experts,

I am facing an issue. I get dump BDC_OVERFLOW dump. I understand it because I am inserting a 11+2(dec) value into 9+(2) variable.

ASSIGN COMPONENT 'PREIS' OF STRUCTURE <fs_gwa_tab> to <lw_amnt13>.


      if <lw_amnt13> IS ASSIGNED.

        CLEAR lw_value.

      lw_value = <lw_amnt13>.

            CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_DISPLAY'

       EXPORTING

         CURRENCY              = 'KRW'

         AMOUNT_INTERNAL       = lw_value                                                   " =12146092.15

      IMPORTING                                                                                         "this FM multiplies value. 100 in this case.

        AMOUNT_DISPLAY         = lw_value.                                                  " = 1214609200.15

      <lw_amnt13> = lw_value.                                " Dump here

Endif.

How do I over come.

I tried, after above code.

UNASSIGN <lw_amnt>.

ASSIGN lw_int to <lw_amnt> .             " where lw_int is 11+2.

But this unassign doesnt modify value in STRUCTURE <fs_gwa_tab>.


Please help me with this issue.

Thanks,

Anil

Former Member
Not what you were looking for? View more on this topic or Ask a question