2008 Mar 24 5:53 PM
Hi Experts
i am using RV_INVOICE_CREATE fm to create billing document i am just passing my delivery number and some values like this
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
VBSK_I = VBSK_I
WITH_POSTING = WITH_POSTING
TABLES
XKOMFK = P_XKOMFK.
and its working fine and is creating billind document.
But my problem is this that i have delivery number of which i have to create a billing document plus i have to assign a pricing condition type to table XKOMV for a particular item number.
again its creating a billing document but its not adding the condition type to that particular item.
IS THERE ANYWAY YOU GUYS HELP ME OUT WITH THAT.
Thanks in advance
Hi Experts
i am using RV_INVOICE_CREATE fm to create billing document i am just passing my delivery number and some values like this
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
VBSK_I = VBSK_I
WITH_POSTING = WITH_POSTING
TABLES
XKOMFK = P_XKOMFK.
and its working fine and is creating billind document.
But my problem is this that i have delivery number of which i have to create a billing document plus i have to assign a pricing condition type to table XKOMV for a particular item number.
again its creating a billing document but its not adding the condition type to that particular item.
IS THERE ANYWAY YOU GUYS HELP ME OUT WITH THAT.
Thanks in advance
2008 May 27 6:12 PM
2008 Jun 05 5:21 AM
Hi Jawad,
How did you with RV_INVOICE_CREATE? I am having problem creating invoice with RV_INVOICE_CREATE. My code below:
LOOP AT t_ord.
t_komfk-vbeln = t_ord-vbeln.
APPEND t_komfk.
AT LAST.
gs_vbsk-smart = 'F'.
gs_vbsk-ernam = sy-uname.
gs_vbsk-erdat = sy-datum.
gs_vbsk-uzeit = sy-uzeit.
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
vbsk_i = gs_vbsk
with_posting = 'X'
IMPORTING
vbsk_e = gs_vbsk_e
od_bad_data = g_bad
TABLES
xkomfk = t_komfk
xkomv = t_komv
xthead = t_head
xvbfs = t_vbfs
xvbpa = t_vbpa
xvbrk = t_vbrk
xvbrp = t_vbrp
xvbss = t_vbss
.
COMMIT WORK.
BREAK-POINT ID z_chkpt_grp.
ENDAT.
ENDLOOP.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |