Skip to Content
avatar image
Former Member

EHS: BAPI_BUS1077_GETDETAIL field PROP_DATA-DESCR_CVAL issue

Hi,

Before SP9 upgrade, this field PROP_DATA-DESCR_CVAL is displaying phrase texts for phrase based characteristics, but after SP9 upgrade, this field is showing phrase keys/IDs instead.

Does anyone encounter this issue?

Note: I am using this field to display the characteristic values (texts) on report, now it's showing as phrase keys.

Thanks,

David

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 08, 2012 at 02:49 AM

    Hi,

    This is the side effect of OSS note 1433872 which was done by SAP for performance reasons. One way to bypass this & get the old behavior is, (ie) to get the characteristic value texts back, use the below function module and set the global flag X_FLG_ALE before calling the BAPI BAPI_BUS1077_GETDETAIL. Something like this.

    DATA:l_flag TYPE char1 VALUE 'X'.

    CALL FUNCTION 'C1F2_ALE_SET_GET'

    EXPORTING

    i_flg_set = 'X'

    CHANGING

    x_flg_ale = l_flag.

    Now it will give you the text value and not the IDs.

    Regards,

    Gokul

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi Gokul,

      thanks for sharing this. Really you saved us a lot of time.

      that worked like a charm.

      thank you so much.

      hope to see you around.