cancel
Showing results for 
Search instead for 
Did you mean: 

Currency / quantity reference field not found in sap crm webui

Former Member
0 Kudos

I was using RFC Function module to get data from ZTable in ECC to be displayed in webui.I was able to get the data in to a ztable in crm  .while i was trying to display quantity field in table in webui it was showing values as currency/quantity field not found in webui.

how to resolve it.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ravi krishna,

Go to your Quantity Field Get method uncomment below code  try to implement please below code

and check the standard field for example bsp component BT120H_CPL item list view go to context node BTADMINI there u will get the Quantity field and get method code try to implement same

*please implement here some BO specific handler coding

  *     conversion of currency/quantity field failed caused by missing

   *    unit relation

*       Coding sample:

*       provide currency, decimals, and reference type

       value = cl_bsp_ut ility=>make _string(

                          value = <l_data>

                          reference_value = c_currency    "here u need pass the

                          num_decimals = decimals

                          referen ce_type = reference_type

                          ).

Any Queries please let me know.

Thanks,

vishwa

Former Member
0 Kudos

Hi Vishwa,

 

Thanks for u help my problem resolved.I just made following changes in my quantity get_method.

Thanks;

Ravij.

Answers (1)

Answers (1)

dharmakasi
Active Contributor
0 Kudos

Hi Ravi,

Do you have quantity field in your table data? check in table view of the your custom table Quantity field Get method. Put a break point in get method of the quantity attribute and check where it is going wrong.

Check whether your table is getting quantity value from ECC system.

Br Dharmakasi.