on 05-09-2011 8:25 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.