‎2009 Dec 10 6:10 AM
hi friends,
i have created soales order by using bapi. noe i want to create invoice directly without create delivery order. so anyone can tell me right bapi name for create invoice.
plz assist me.
regards,
sunil sharma
‎2009 Dec 10 6:21 AM
‎2009 Dec 10 7:23 AM
hi puspraj
thanks for reply. but my did not acquired desirable result by your help. i tried it. but in this bapi i need to pass po number. but in my case i have only so no and i have to create invoice for this so. if u know ohter bapi please tell me.
thank you
regards,
sunil sharma
‎2009 Dec 10 7:30 AM
Hi
check with below FMs module:
GN_INVOICE_CREATE and RV_INVOICE_DOCUMENT_ADD.
CALL FUNCTION 'GN_INVOICE_CREATE'
EXPORTING
DELIVERY_DATE = DELIVERY_DATE
INVOICE_DATE = INVOICE_DATE
INVOICE_TYPE = 'ZFX'
PRICING_DATE = PRICING_DATE
VBSK_I = X_VBSK
WITH_POSTING = 'D'
ID_NO_ENQUEUE = 'X'
TABLES
XKOMFK = IT_KOMFK
XKOMFKGN = IT_KOMFKGN
XKOMFKKO = IT_KOMFKKO
XKOMFKTX = IT_KOMFKTX
XKOMV = IT_KOMV
XTHEAD = IT_HEAD
XVBFS = IT_VBFS
XVBPA = IT_VBPA
XVBRK = IT_VBRK
XVBRP = IT_VBRP
XVBSS = IT_VBSS
SUCCESS_DOC_OUT = IT_SUCCESS.
~linganna.