cancel
Showing results for 
Search instead for 
Did you mean: 

FM or BAPI to create Intercompany billing IV

0 Kudos

Hi

Can someone please let me know FM or BAPI to create Intercompany billing IV?

Thanks


Accepted Solutions (0)

Answers (3)

Answers (3)

anil_kumar276
Discoverer
0 Kudos

Hi Yogesh,

Using 2 BAPI you can create Billing, with reference to different documents.

1. BAPI_BILLINGDOC_CREATEMULTIPLE

2. BAPI_BILLINGDOC_CREATEFROMDATA


The table needs to filled with below:

ORDBILLTYP = Billing type ('IV')

REF_DOC = Document Number (Sales Order or Delivery)

REF_DOC_CA = Document category (K= Sales Order; J= Delivery Number)


Parameters to be filled:

BAPI_BILLINGDOC_CREATEFROMDATA

Import parameters Value

POSTING = SPACE

Tables Value

BILLING_DATA_IN = GT_BILLING_DATA_IN[]


BAPI_BILLINGDOC_CREATEMULTIPLE

Import parameters Value

POSTING = SPACE

Tables Value

BILLINGDATAIN = GT_BILLINGDATAIN[]


Capture the return in SUCCESS(BAPI_BILLINGDOC_CREATEMULTIPLE) & RETURNLOG_OUT(BAPI_BILLINGDOC_CREATEFROMDATA)

.

ricardo_cavedini
Active Contributor
0 Kudos

Hello,

The BAPI that is used in external billing interface is BAPI_BILLINGDOC_CREATEMULTIPLE.
You can try this one.

Regards,
Ricardo

former_member183501
Active Contributor
0 Kudos

Hi,

At what place do you want BAPI to create Inter-company Billing Document ?

Is it during PGI or VF01 ?