cancel
Showing results for 
Search instead for 
Did you mean: 

Delivery note "NOT" to be printed during PGI in VL02N

Former Member
0 Kudos

Scenario is below.

for all plants, during PGI in VL02N, system generates delivery note "print' automatically.

But, in one plant, we do not want to print "DELIVERY NOTE" automatically thru' PGI in VL02N as we are printing Invoice and same invoice we are giving to customer directly.

we want to avoid delivery note print in this case.

Accepted Solutions (0)

Answers (4)

Answers (4)

0 Kudos

Hi Arul,

From the message trail above - my understanding on your requirement is Delivery note is getting printed during PGI and you want to turn it off for a particular plant. Not sure what your access sequence is for the delivery output. you can check the access sequence that you have configured in your system by using the VV23 transaction and see the key combination for your delivery note output type. If you have the combination that has shipping point, then use that combination for maintaining the condition records. See to that this combination is the first access ( If you do not have shipping point create one and add to first ). This particular plant that you need to turn off must have a shipping point assigned too. Do not mainatian the condition record for this shipping point and that will address your requirement. Note maintian all shipping point condition record except for the one you need to avoid and do not maintian any other key combination. The same information was shared by other menbers in this thread too.

Hope the above is clear to complete your requirement. The solution is totally config.

Regards

Suresh

Former Member
0 Kudos

Hi ARUL,

The Delivery note is be printed depending on the output type picked up through output determination procedure. Please expire teh output condition record for Delivery using tcode vv22 and the output type whihc is being printed.

If you dont need the output to be printed during PGI but need to print through batch job, change the condition to represent 1(batch job), 3 (explicit) or 4 (immediate)

hope thie helps you..

Thank you,

Arun.S

Jelena
Active Contributor
0 Kudos

Isn't Plant field located in the line item (LIPS-WERKS)? In LIKP I can only see 'Receiving Plant'. The output configuration should be based on a header field. Otherwise a requirement routine could be used, but it'd need to be based on the assumption that all the lines belong to the same plant. Unless we're talking about the line item output.

There is already access sequence for Shipping Point. Could you use Shipping Point instead of Plant? If so, follow the advice above and assign the sequence to the output type in the configuration (NACE is a shortcut to all the output config). Then maintain the condition records only where needed.

Former Member
0 Kudos

Hi

The best way would be to handle it via output type condition records.

Check if there is an access sequence with plant or shipping point.

Then just do not maintain for the one plant which does not require the delivery note printing.

Regards

VBASHA.

Former Member
0 Kudos

Print is at "shipping point" level.

This is document level.

How can i restrict at plant level?

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

In SM34 for VVC_T683_XX_V2, change the VOFM for output scheme. Copy it in your name range and add your own logic in ABAP.

Regards

Eduardo

Former Member
0 Kudos

Could you explain in detail?

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

For instance, if you use VOFM 035 you have this coding:



***INCLUDE LV61B035 .
* Workarea KOMKBV2 is available
* If goods issue has been posted for the delivery and at least some of
* the items have been packed, then the output should be created.
  IF KOMKBV2-PKSTK NE SPACE AND
     KOMKBV2-WBSTK = 'C'.
    SY-SUBRC = 0.
  ELSE.
    SY-SUBRC = 4.
  ENDIF.

You can create your own VOFM using 035 as a template and add your own logic. For instance, you can create a customer table (z-table) and mantain it with SM30. Here you populate with the plants you don't want that por PGI the output will be created. For instance, VOFM 935.


IF KOMKBV2-PKSTK NE SPACE AND
     KOMKBV2-WBSTK = 'C'.
  SELECT SINGLE * FROM ztable
    WHERE werks = komkbv2-werks.
   IF sy-subrc = 0.
    sy-subrc = 4.        "dont create the output
  ELSE.
    SY-SUBRC = 0.
 ENIDIF.
  ELSE.
    SY-SUBRC = 4.
  ENDIF.

This is a sample.

I hope this helps you

REgards

Eduardo

Former Member
0 Kudos

let me check/test and let u know.

Former Member
0 Kudos

Is there any other way we can avoid delivery note print thru' simple config or thru' user authorisation setting for that particular plant?

Former Member
0 Kudos

create condition table with plant combination and maintain the condition records for all plants expect one you dont want to print.

place this condition table in your access sequence , same access sequence in your output type.

Former Member
0 Kudos

Any other simple method thru' NACT like that....

Former Member
0 Kudos

could you pls explain in detail?

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

In tcode V/34 check the access sequence that you use in VV21/22/23. If you don't have a proper access sequence, define it, if you have an acc.sequence that works, set it.

Regards

Eduardo

Former Member
0 Kudos

Dear All,

my requirement is very simple and explained once again below.

Though we configured this delivery note print execution during saving of delivery note (VL02N) at document level, for particular plant we don't want to print as we are giving invoice to customer/transporter who is coming for collecting the materials.

We want to avoid the wastage of paper and printable materials as we are printing nearly 5000 - 7500 pages ( DELIVERY NOTE ) per day on an average.