cancel
Showing results for 
Search instead for 
Did you mean: 

Billing issue

Former Member
0 Kudos

Hi guys

I have created ONE sales order i.e. 55527 for 10materials

Then created THREE outbound deliveries i.e. 80065824 for 3materials, 80065825 for 3materials and 80065826 for 4materials

I ONLY want to be able to bill/invoice when these THREE deliveries have been Goods Issued.

My question is: Is there any check (other than billing block) that i could place on the sales order/delivery to ensure that all THREE deliveries are Goods Issued before billing?

Please advise!

Thanks, Felix

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

As PGI is meant for the entire/whole Delivery, I mean , PGI applies to the whole documwnt.

Therefore, in Copy control (VTFL), at Header level, in the "Copying requirement" field put value "003".

I hope, this will serve your purpose as you can not bill the Delivery unless PGI is completed for the same.

Former Member
0 Kudos

Many thanks for your responses guys.

I want to created ONLY ONE billing document for all THREE deliveries.

Will the propsed solution ensure that all THREE deliveries are PGI before a SINGLE billing document is created.

Please note that billing is configured as ORDER-RELATED and billing quantity is set to B i.e. delivery qty - invoice qty.

The whole idea is to create ONE sales order --> MULTIPLE deliveries --> and ONE billing document.

Regards, Felix

former_member550050
Active Contributor
0 Kudos

Hi

Those deliveries having same criteria like,

1. Payer

2. Payment Term

3. Incoterms

4. Destination country

5. Billing date

6. Actual Goods issue date

7. Billing type

8. Account assignment group

9. Foreign data/exchange rate

will be combined into one Billing document automatically and this controlled from the copy control table.

In copy control (VTFL) , at Item level ensure that VBRK/VBRP field contains routine "001".

Regards

Raja

Former Member
0 Kudos

I have tried all these options and none of then seems to be working.

I have created ONE sales order for 3materials, TWO deliveries for 1material each and i was able to process a billing document. This is not good enough.

I want a check that will ensure that ALL materials ordered are fully delivered and PGI before billing can take place.

Thanks, Felix

Lakshmipathi
Active Contributor
0 Kudos

I have a feeling that you have not phrased your question properly.

If I have understood your requirement correctly, you want a check system should do before billing whether all line items in the sale order is PGId.

If so, you have to consider this in two ways.

a) One is complete delivery. That is for the whole of sale order, one delivery and one billing document will be generated. This can be achieved if stock is made available for all the line items in the sale order.

b) Multiple deliveries but one billing. Here even if you create multiple deliveries, you can consolidate those deliveries into one billing document. For this, in copy control VTFL, for the field "Data VBRK/VBRP", maintain routine 11 and save. Of course, other pre-requisites have already been indicated by Mr.Raja above.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi Guy

Many thanks for your help. None of the suggested options helped. I have identified a BAPI that can fix the issue.

Thanks, Felix

Lakshmipathi
Active Contributor
0 Kudos

Go to VTFL and maintain routine 003 or 007 for the field "Data VBRK/VBRP" for your item category. By doing so, you could generate billing documents only for those deliveries that are PGId

thanks

G. Lakshmipathi

Shiva_Ram
Active Contributor
0 Kudos

HI,

You can use copy control settings in T.code VTFL. Here you select the source and target document types and go to details (Header level).

In the copying requirements field you can select SAP standard routine 003-Header/dely-related.

This routine checks the status of the delivery document for PGI status.

You can also add your own rountine, by copying SAP standard routines in T.code VOFM.

Regards