cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery document blocking for printing

Former Member
0 Kudos

Hi ,

I want to block delivery document for printing .I tried by puting blocking reason 06- no printing at sales order level . but it is not allowing to create delivery document. my requriment is to create delivery document but block printing .is there any way to block delivery doc. directly without help of sales order. or any other way . pl. help

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

There are two possible ways:

A.) Don't generate output type

B.) Generate output type, but don't print it

A.)

1. Define new reason for blocking (or use existing one), which allows you to create delivery document:

[SAP Customizing -> Logistics Execution -> Shipping -> Deliveries -> Define Reasons for Blocking in Shipping -> Deliveries: Blocking Reasons/Criteria]

For examplle create new reason of blocking 99 - No printing delivery. Check only checkbox Printing block.

2. Create new requirement routine for application V2 (or change existing one):

[transaction VOFM -> Requirements -> Output control]

Into form KOBED_... and form KOBEV_... insert ABAP code:

IF KOMKBV2-LIFSK EQ '99'.

   SY-SUBRC = 4.

ENDIF.

(99 is code of blocking reason)

3. Use standard customizing for output control:

[SAP Customizing -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries -> Maintain Output Determination Procedure]

Insert output type into output determination procedure and assign requirement routine to output type.

B.)

1. Define new reason for blocking (or use existing one), which allows you to create delivery document:

same as A.) 1.

2. Add new field LIFSK into field catalog:

[SAP customizing -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries -> Maintain Condition Tables -> Field catalog: Output for deliveries]

3. Create new condition table with field LIFSK (Delivery block):

[SAP customizing -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries -> Maintain Condition Tables -> Maintain output condition table for deliveries]

4.Do standard customizing in output determination (Output types, Access sequences, Output determination procedures):

[SAP customizing -> Logistics Execution -> Shipping -> Basic Shipping Functions -> Output Control -> Output Determination -> Maintain Output Determination for Outbound Deliveries -> ...]

5. Create master data for output

[transaction VV21]

Create new records for output types + reason of blocking and set printing parameters:

Dispatch time = 3

uncheck checkbox Print immediately

Best regards

Eduard

Answers (5)

Answers (5)

Former Member
0 Kudos

thanks to all for valuable suggestions.

Former Member
0 Kudos

For your output type, you need to code your routine requirement to check your order reason. If Order  reason is there, then no output type will not be auto generated when delivery document is created.

SPRO -> Logistics Execution --> Shipping --> Basic Functions --> Output Control --> Output determination --> Maintain Output Determination Procedure

For your procedure and output type, make sure you have a customized requirement routine which is coded to your needs.

former_member184555
Active Contributor
0 Kudos

Hi

You have to create a new Requirement Routine in VOFM and assign it against your output condition type in the Output Procedure(Txn: V/36) used for the deliveries. You can also check if any of the existing routines are useful for handling your scenario.

The requirement routine 001 functions like....Issue output only if the Goods Issue has been posted for the delivery.

Thanks,

Ravi Sankar 

suman_sardar2
Active Contributor
0 Kudos

Hi TG K,

Delivery Block & Billing Block is a standard function to restrict the Delivery and Billing respectively.

By Delivery block you can restrict the Sales Order Output.But what I understand from your query

I want to block delivery document for printing .

So it is supposed to be a ABAP developed Smartforms or SAPScript so contact your ABAPer to incorporate it in the Print program.

Or else if something new you want to know then plz elaborate the business case.

Thanks,

Suman

Former Member
0 Kudos

Hi,

The deliver blocks will be defined in the transaction code-OVZ7.

Here we define the delivery blocks with meaning full descriptions including which functions have to be blocked.

For instance Order,Picking,Goods issue,Confirmation so on and so forth.........

If you dont want to block the delivery at Order level, ask your ABAPer to write a code that whenever you are creating a delivery with  sales document type and Delivery type, if prininting is happening block the Delivery

Thank you

Best Regards

Amjathpasha