Skip to Content
0
Former Member
Nov 18, 2008 at 06:25 PM

Where am I missing in calling this FM

26 Views

I calling a std FM in smartform and below is my logic:

DATA: i_komv TYPE STANDARD TABLE OF komv,

i_komvd TYPE STANDARD TABLE OF komvd,

wa_komk TYPE komk,

wa_komv LIKE LINE OF i_komv,

wa_komvd LIKE LINE OF i_komvd.

break dasarikb.

MOVE zvbdka-knumv TO wa_komk-knumv.

CALL FUNCTION 'RV_PRICE_PRINT_HEAD'

EXPORTING

comm_head_i = wa_komk

language = sy-langu

TABLES

tkomv = i_komv

tkomvd = i_komvd.

I can see value getting populated into wa_komk-knumv.But the problem is am not able to see any records in i_komv & i_komvd.

If I execute this FM in se37 and pass KNUMV as i/p in the structure, tables i_komv & i_komvd are getting populated.

This is strange.

Am I missing any thing?

Thanks

Kiran