cancel
Showing results for 
Search instead for 
Did you mean: 

Billing block

Former Member
0 Kudos

HI

Can some one pl tell me whats the user exit or any other method to get billing block into sales document from customer master?

SAP stand fun is if you set a billing block at the customer master level it wont be coming into sales document level, but it stops you to create billing document for the given customer.

Billing block normally comes from sales document type defn.

So we wanted to implement program to pick up billing block from customer?

any user eists or any methods to design this?

Reg

shan1242

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

y

Former Member
0 Kudos

Hi ,

There are several ways of doing this

You can use the following user exits in the program MV45AFZZ.

USEREXIT_SAVE_DOCUMENT_PREPARE

the code here is executed at the time of the sales order saving.

So when you are trying to save the sales order for the customer , you can check the block for the customer and put the block here and save the document.

or else

USEREXIT_MOVE_FIELD_TO_VBAK.

The code here is executed when you press enter after giving the initial values. ,

It again depends on whats the purpose of the block and how long you wanted to have it in the order.

Regards

Srinivas

Lakshmipathi
Active Contributor
0 Kudos

Dear Shan1242

As you would be aware, billing block can be done in two ways. One is via XD05 / VD05 and other option is in the sale order itself, you can set billing block.

This being the case, can you please enlighten more about your requirement.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Pathi,

Even if you set a billing block in XD05/VD05 it will not be defaulted into sales order at the time of order creation.

This only allows you to stop billing when you create invoice.

But we have a requirement where when we set a billing block in XD05 it should get defualted into sales order.?

Reg

shan1242

Lakshmipathi
Active Contributor
0 Kudos

Dear Shan1242

In that case, by applying User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAK, you can achieve the desired result.

thanks

G. Lakshmipathi