cancel
Showing results for 
Search instead for 
Did you mean: 

using of RV_PRICE_PRINT_ITEM in smartforms

Former Member
0 Kudos

what are the mandatory fields in this FM which had to be filled with data.What are the structures needed to be used here.Is there any standard smartform which is using this FM.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi gosh,

this FM will be use to read the condtion values of the Invoice item detatails. i have used the sam FM when i worked on the Inovice to get the Condition values.

if you pass only the

COMM_HEAD_I -->in this if you pass only KNUMV(condition document) then you will get all the conditions

COMM_HEAD_I-BELNR = billing doc number,

COMM_HEAD_I-KNUMV= condition document number

you will get all the conditions at item level of the biling document in the talbe TKOMV.

If you want to get the conditonvalue at header level you have to use the

RV_PRICE_PRINT_HEAD.

but remember one thing.. if call this FM(header or ITEM) in SMARTFORM lay out u will face some problems. to avoid this before callin the RV_PRICE_PRINT_ITEM u have to call the FM

 CALL FUNCTION 'RV_PRICE_PRINT_REFRESH'
      TABLES
        TKOMV = FP_IT_KOMV.

Answers (0)