Skip to Content
-1

Default billing type based on condition

Mar 28, 2017 at 09:36 AM

68

avatar image

Dear All,

System will pick default billing type based on the VOV8.At present it is commercial billing document,But as per the business requirement system should pick the billing type automatically based on the logic (sales org) ,Our business team requirement is system should pick the proform the billing type for a particular sales organisation.I have tried few existing logic and changed billing type vbtyp to U and also changed number range but still system is giving error message accounting document not created,So kindly provide the exact exit for corrections.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

7 Answers

G Lakshmipathi
Mar 28, 2017 at 01:26 PM
0

You need to try with USEREXIT_NUMBER_RANGE in program RV60AFZZ. Ask your ABAP team to add the required logic in this exit.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you sir,i have checked the user exit but it is not fulfill our requirement giving accounting error.

0
Veselina Peykova
Mar 28, 2017 at 02:55 PM
0

I am a bit confused about the steps, which you performed and about the business reason behind.
Could you please elaborate on the exact business process?
If I understood correctly, you wish to achieve the following: for order type ZOR if VKORG = 1000, you wish to perform billing with ZF5, if VKORG = 1100, you wish to perform billing with F2.
Q1: Are you supposed to perform final billing with accounting in the case of VKORG 1000? In most scenarios you would need do that. If not, I hope, that you are either using a separate set of item categories or you are rejecting everything.
Q2: How do you perform billing ? Is there no possibility to skip the development and just schedule a job for these documents by setting default data?
Q3: What is the idea of changing vbtyp and where are you changing it? In VOFA? In some custom program? My understanding was that you are expected to determine either an existing billing type or create a new one as a copy of a suitable entry - e.g. F5/F8.

Share
10 |10000 characters needed characters left characters exceeded
Sourabh Singh Mar 29, 2017 at 06:04 AM
0

Hi Ravi K,

Your can determine default billing type by any logic in Invoice Split Routine.

Please check with invoice split routine and confirm.

Regards,

Sourabh Singh

Share
10 |10000 characters needed characters left characters exceeded
Ravi K Mar 29, 2017 at 06:12 AM
0

Dear Mr sourab,

Thank you for your reply ,i will test and confirm.

Share
10 |10000 characters needed characters left characters exceeded
Ravi K Mar 29, 2017 at 06:31 AM
0

Hi,

This is also not working ,I have also tested exit SAPLV60A/USEREXIT_FILL_VBRK_VBRP,Still same problem is coming

Share
10 |10000 characters needed characters left characters exceeded
fortian . Mar 29, 2017 at 06:54 AM
0

Why can't you use the same billing document type for different Sales Org? What's the reason behind this requirement? Could you elaborate a bit more?

Share
10 |10000 characters needed characters left characters exceeded
Rajkumar Mane Mar 29, 2017 at 07:38 AM
0

Hi,

It is lengthy process but it works, but it works.

With reference of delivery type, you have to create different delivery type and assigned to particular invoice type. You can use copy control "Copying control: Delivery document to billing document".

Path: Sales and distribution -> Billing -> Billing Document -> Maintain copying control for billing document.

Choose: Copying control: Delivery document to billing document

Assign billing type wise delivery type.

Hope it is fulfil your requirement.

Share
10 |10000 characters needed characters left characters exceeded