Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

pricing routine for sd module

Former Member
0 Likes
537

hi experts.

i are writing a pricing routine for sd module (tcode vofm>formula>condition value

the routine number is 601

When a field XKOMV-KSCHL is used in the routine, system gives a syntax error 'field KSCHL unknown; a similiar component XKSCHL exists'.

However the same field XKOMV - KSCHL has value during runtime and this is exactly what we need to use in our routine.

Can someone suggest how to avoid syntax error.

advace tanxs

Murali Papana

3 REPLIES 3
Read only

Former Member
0 Likes
479

Check if you have used kschl in place of xkomv-kschl somewhere in you code.

Read only

Former Member
0 Likes
479

it seems to be component name mispelled

Read only

kyusufzai
Participant
0 Likes
479

You should use XKSCHL instead of XKOMV-KSCHL it will give you the desired result.

Because the pricing routine will be called only for specific condition types.

Please try using XKSCHL instead of XKOMV-KSCHL.