cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for billing doc. creation with ref to outbound delivery

Former Member
0 Kudos

Hi,

I'm looking for BAPI to create pro forma invoice billing doc with red. to outbound delivery.

I have tried using BAPI_BILLINGDOC_CREATEMULTIPLE entering the outbound delivery as ref. document and all other required data. Pro forma is create but pricing is not copied since the bapi considers the delivery number as external doc.

It seems that BAPI_BILLINGDOC_CREATEMULTIPLE is designated to billing doc. with ref to sales orders

Would appreciate any suggestions,

Assaf

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try this BAPI_BILLINGDOC_CREATE, with this BAPI you can create billing document with reference to delivery docuement.

BAPI_BILLINGDOC_CREATEMULTIPLE is used to create billing document without any reference document.

With this BAPI we can directly upload billing documents without preceding document.

Regards,

Chandrasekhar.S

Former Member
0 Kudos

Hi,

.

I have looked into BAPI_BILLINGDOC_CREATE before but it has no input parameters.

Am i missing something here ?

Thanks,

Assaf

Former Member
0 Kudos

Hi,

In Function Module initial screen, there is no input parameter. Directly choose execute.

system will give the create billing document screen enter delivery document number and execute.

Why are using BAPI to create billing document with reference to delivery document.

you can create background job for billing through VF06.

Regards,

Chandrasekhar.S

Answers (2)

Answers (2)

claudia_neudeck
Active Contributor
0 Kudos

no action since over two months, I close this thread

Former Member
0 Kudos

Hi,

If you run BAPI_billingdoc_create in SE37 then it will directly call VF01 t.code in fore ground there u just need to give delviery number then execute.. it will create billing doc in foreground only..

If you run BAPI_billingdoc_createmulitpie in SE37 it will be run in background only here you need to give some input parameters for billing date, condiions, pricing.. and then run then it will create billing documents in background only..

Regards

sankar

Former Member
0 Kudos

I need to create Proforma Invoices only to certain deliveries that meet specific criterias which are not availabel in VF06 selection screen. Therefore, I would like to develop cockpit program that will screen relevant deliveries and create proforma documents in background using appropriate bapi

Former Member
0 Kudos

BAPI_BILLINGDOC_CREATEMULTIPLE is no good as I need to reference my proforma to existing delivery number and to imitate VF01 in order to have pricing run in background

Former Member
0 Kudos

BAPI_BILLINGDOC_CREATEMULTIPLE will be useful only when you want to upload billing documents created in external systems. we used it for that scenario.

I think you can try with BAPI_BILLINGDOC_CREATE for your scenario. Take the abaper help and develop a program to call this Function module etc....

Regards,

Chandrasekhar

Former Member
0 Kudos

Thanks Chandrasekhar

Will take it from here and decide how to proceed

Take care,

Assaf