Skip to Content
0
Former Member
Jul 11, 2016 at 03:23 PM

Field routine

139 Views

Hello mates,

I am new to coding and have written a simple field routine to populate mat pricing group from 0mat_sales master table with the following where condition. But I am not able populate the field.

SELECT SINGLE MAT_KONDM FROM /BI0/PMAT_SALES INTO RESULT

WHERE /BI0/PMAT_SALES-SALESORG = SOURCE_FIELDS-VKORG AND

/BI0/PMAT_SALES-MAT_SALES = SOURCE_FIELDS-MATNR AND

/BI0/PMAT_SALES-MAT_KONDM IS NOT INITIAL.


Its showing error stating that

E:Unknown column name "/BI0/PMAT_SALES-SALESORG" until runtime, you

cannot specify a field list.

Thanks In Advance,

Kaval Solanki