Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi for invoice creation

Former Member
0 Likes
513

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

3 REPLIES 3
Read only

Former Member
0 Likes
475

Hi

Use BAPI_INCOMINGINVOICE_CREATE.

Pushpraj

Read only

0 Likes
475

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

Read only

Former Member
0 Likes
475

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.