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

in contract layout

Former Member
0 Likes
598

iam designing contract layout(script).

in this layout i want to fetch the conditions for the item

available .

how to capture the conditions for the item and the tax conditions.

in EKKO table they are not maintained the KNUMV field for the contract number.

then how to capture the conditions ..

( the conditional amount will available KONP-KBETR)

how to make relation between KONP table and item of the contract..

iam designing contract layout(script).

in this layout i want to fetch the conditions for the item

available .

how to capture the conditions for the item and the tax conditions.

in EKKO table they are not maintained the KNUMV field for the contract number.

then how to capture the conditions ..

( the conditional amount will available KONP-KBETR)

how to make relation between KONP table and item of the contract..

4 REPLIES 4
Read only

Former Member
0 Likes
562

Hi

Checkout this FM

CALL FUNCTION 'RV_PRICE_PRINT_ITEM'

EXPORTING

COMM_HEAD_I = KOMK

COMM_ITEM_I = KOMP

LANGUAGE = NAST-SPRAS

IMPORTING

COMM_HEAD_E = KOMK

COMM_ITEM_E = KOMP

TABLES

TKOMV = TKOMV

TKOMVD = TKOMVD.

Refer program <b>RVADOR01</b>

Regards,

Raj

Read only

Former Member
0 Likes
562

thannk raj

but the thing is in this function module in header details

we have to pass the KNUMV value thats wat iam mentioning

in ekko table they have not maintained KNUMV field for the order.

Read only

Former Member
0 Likes
562

Hi

Check what value is populated in VBDKA-KNUMV in prg RVADOR01 in debug mode.

CALL FUNCTION 'RV_DOCUMENT_PRINT_VIEW'

EXPORTING

COMWA = VBCO3

IMPORTING

KOPF = VBDKA

TABLES

POS = TVBDPA

MESS = DA_MESS

EXCEPTIONS

FEHLER_BEI_DATENBESCHAFFUNG = 1.

Regards,

Raj

Read only

Former Member
0 Likes
562

VBDKA ALL THIS RELATED TO SALES I WANNA CONDITIONS OF PURCHASING IN CONTRACT.