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 Condition in SMARTFORMS

Former Member
0 Likes
646

Hi All,

I am working on smartforms.I have given select query for codition records like following.

SELECT SINGLE KBETR FROM KONV INTO TOTAL WHERE KNUMV = VBDKA-KNUMV AND KPOSN = VBDPA-POSNR AND KSCHL = 'PR00'.

Its displaying error that VBDKA is not maintained in DICTIONARY.

I need to check condition from VBDKA(not a header table).

How to get condition from the table VBDKA AND VBDPA?

I want to do it smartform only.

Thanks,

Murthy

2 REPLIES 2
Read only

Former Member
0 Likes
500

if you do the select in the smartform then you should also add the tables

tables: VBDKA

in the header coding

kind regards

arthur

Read only

Former Member
0 Likes
500

Hi

Try like this

select kbetr kwert kschl from konv INTO CORRESPONDING FIELDS OF table it_konv

for all entries in IT_VBRK where KNUMV = IT_VBrK-KNUMV and kschl eq 'ZRPR'

AND KPOSN = IT_VBRK-KNUMV.

Ranga