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

Function module testing

Former Member
0 Likes
393

Hi friends

I want to test the function module PRICING, so I go into se37 and click on test and enter all the basic fields but still dont get any output.

I'd like to know the mandatory fields i need to enter to get an output, how do I find out which fields are mandatory ?

regrds,

Pavan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
339

Hi

see the below Std programs where this function module is used.

LMEPRF0V

LMEPRF1Y

LMLSPF4V

LMLSPF9S

LTAX1F02

LTAX1U02

LTAX1U04

LTAX1U13

LTAX1U15

LTAX1U18

LV60AA60

LV60AA70

LV60AF0P

LV60AF0R

LV60FF0F

LV60FF0X

LV61AU18

LVFRRF0C

LVIMPF0F

LVIMPF0P

MM06EFKO_PREISFINDUNG

MM06EFMP

MV13AF0K

have a look at these programs and pass the parameters

You have to pass the structures KOMK and KOMP and take the values to TKOMV

data: preis_art LIKE komv-ksteu,

DATA: BEGIN OF tkomv OCCURS 50.

INCLUDE STRUCTURE komv.

DATA: END OF tkomv.

CALL FUNCTION 'PRICING'

EXPORTING

calculation_type = preis_art

comm_head_i = komk

comm_item_i = komp

IMPORTING

comm_head_e = komk

comm_item_e = komp

TABLES

tkomv = tkomv.

  • Kopfdaten übernehmen

MOVE komk TO tkomk.

  • und in Tabelle einstellen

MODIFY tkomk INDEX komp-ix_komk.

Reward points if useful

Regards

Anji

1 REPLY 1
Read only

Former Member
0 Likes
340

Hi

see the below Std programs where this function module is used.

LMEPRF0V

LMEPRF1Y

LMLSPF4V

LMLSPF9S

LTAX1F02

LTAX1U02

LTAX1U04

LTAX1U13

LTAX1U15

LTAX1U18

LV60AA60

LV60AA70

LV60AF0P

LV60AF0R

LV60FF0F

LV60FF0X

LV61AU18

LVFRRF0C

LVIMPF0F

LVIMPF0P

MM06EFKO_PREISFINDUNG

MM06EFMP

MV13AF0K

have a look at these programs and pass the parameters

You have to pass the structures KOMK and KOMP and take the values to TKOMV

data: preis_art LIKE komv-ksteu,

DATA: BEGIN OF tkomv OCCURS 50.

INCLUDE STRUCTURE komv.

DATA: END OF tkomv.

CALL FUNCTION 'PRICING'

EXPORTING

calculation_type = preis_art

comm_head_i = komk

comm_item_i = komp

IMPORTING

comm_head_e = komk

comm_item_e = komp

TABLES

tkomv = tkomv.

  • Kopfdaten übernehmen

MOVE komk TO tkomk.

  • und in Tabelle einstellen

MODIFY tkomk INDEX komp-ix_komk.

Reward points if useful

Regards

Anji