Skip to Content
avatar image
Former Member

A FM to read a record from the KONV-Condition table?

HI Experts,

I hv VBAK-VBELN - sales document # with me, so , i need to get some data from KONV table, so,

Is there any good FM to read the record from KONV, by importing VBAK-VBELN #?

instead of writing SQLs, i wanna to use a FM.

thanq

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Oct 03, 2008 at 08:19 PM

    This is the FM:

    CALL FUNCTION 'PRICING_SUBSCREEN_SET_DATA'

    EXPORTING

    COMM_HEAD_I = COMM_HEAD_I

    COMM_ITEM_I = COMM_ITEM_I

    TRTYP_I = 'A'

    DISPLAY_ONLY = 'X'

    • CTRL_NO_DISPLAY = 'X'

    • CTRL_GREY = 'X'

    TABLES

    • SVBAP =

    TKOMV = TKOMV

    YKOMV = XKOMV

    • CHANGING

    • C_VFKOMV = XKOMV

    EXCEPTIONS

    ERROR = 1

    OTHERS = 2.

    Add comment
    10|10000 characters needed characters exceeded