on 04-10-2008 6:33 AM
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 !!!
Hi.
Thanks for your reply,
But what are the input parameters for this function module?
Can you please clarify.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi,
Use this FM:Regards,
RV_INVOICE_PRICE
Regards,
If helpful reward with points(Don't forget).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.