cancel
Showing results for 
Search instead for 
Did you mean: 

Item Level Pricing Details In Smartforms

Former Member
0 Kudos

Helo All,

I am printing Invoice using smartforms,

I need to get item pricing details.

What are the function modules to get these details?

Points are assured !!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi.

Thanks for your reply,

But what are the input parameters for this function module?

Can you please clarify.

Regards

Former Member
0 Kudos

Hi,

Input parameters Are

CALCULATION_TYPE

COMM_TEXT

T185F_I

T185V_I

T185_I

VBRK_I

VBRP_I

Refer this code:--



FORM FCODE_PKON USING H185F STRUCTURE T185F H185  STRUCTURE T185
                                            H185V STRUCTURE T185V.

  IF VBRP-POSAR = CHARB.
    H185F-FCODE = 'BACK'.
    EXIT.
  ENDIF.
  DATA: XXTRTYP LIKE T185F-TRTYP.
  T185 = H185.
  T185F = H185F.
  T185V = H185V.
  XXTRTYP = T185F-TRTYP.
  IF VBRK-RFBSK CA 'CJE' OR VBUK-RELIK EQ 'C'
                          OR NOT VBRK-SFAKN IS INITIAL.
    T185F-TRTYP = 'A'.
  ENDIF.

  CALL FUNCTION 'RV_INVOICE_PRICE'
       EXPORTING
            VBRK_I    = VBRK
            VBRP_I    = VBRP
            T185_I    = T185
            T185F_I   = T185F
            T185V_I   = T185V
            COMM_TEXT = TITLETEXT
       IMPORTING
            VBRK_E    = VBRK
            VBRP_E    = VBRP
            T185_E    = T185
            T185F_E   = T185F
       TABLES
            XKOMFK    = XKOMFK
            XKOMV     = XKOMV
            XVBFS     = XVBFS
            XVBRK     = XVBRK
            XVBRP     = XVBRP
            XVBPA     = XVBPA.

  PERFORM VBRK_BEARBEITEN.

  T185F-TRTYP = XXTRTYP.

  H185  = T185.
  H185F = T185F.
  H185V = T185V.
  FCODE = T185F-FCODE.

ENDFORM.

Regards

Sandipan

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Use this FM:Regards,

RV_INVOICE_PRICE

Regards,

If helpful reward with points(Don't forget).