cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery block in sale order

Former Member
0 Kudos

Hi,

I got a problem with registration of a sale order with a BAPI : it set automatically a delivery block , and this not happen when using VA01.

After create the order, for this one will be insert a technical object (serial number) and made some other change (always using BAPIs) like the requested delivery date or some texts.

There is not any block set in customizing (tab. TVAK) for that type of order.

If this was true,the block should have been set even using VA01,or not ?

Thank you in advance.

Luca

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Luca,

You mean you tried to create exactly the same sales order in VA01 (including reference documents, customer, material, sales area,...) and VA01 did not applied DB while BAPI applied DB ?

DB may be set on customer level.

Former Member
0 Kudos

Exactly.

How can set DB on customer level ?

Thankx!

Former Member
0 Kudos

when you are in customer master select Extras->Blocking data.

Former Member
0 Kudos

I checked it ,but there is no blocking data activated for that customer and ship partner.

Thankx

Former Member
0 Kudos

which delivery block is applied in BAPI ?

Former Member
0 Kudos

I did not applied any delivery block in BAPI.

Former Member
0 Kudos

I mean your order gets DB if created via BAPI and does not get any DB if created via VA01, right ? What DB did your order get when was created via BAPI ?

Is it your custom DB or SAP DB ? Do you have any special logic in userexits to apply DB in some cases ? If you have any logic which applies DB - does it have a check for sy-tcode ?

Former Member
0 Kudos

It's okay,I resolved the problem.

It was set in the BAPI structure.

Thank you all.

Luca

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Luca,

Can you clarify if the variables you used while creating sales order thru bapi is same as that you used while creating it in VA01?

By variables I meant same SP, SH, Material, Sales Area , Order type?

regards

biju

Former Member
0 Kudos

Hi Biju,

sorry....what you mean with SH an SP ?

I'm sure that I used same sales area,order type and material.

Thank you.