You are on page 1of 5

Requirement: creating a new header discount condition type which will have discount shown at

each line items.


V/06 – new condition type ZG00 is created
VK11- condition record for condition type ZG00 is maintained with required scales
V/06- a new condition type is created with both header and item conditions.
Condition records for ZG00 are maintained via VK11
Scales maintained

Form changes: the new condition type will populate the value line wise for each line item
A new header discount pricing condition type ZG00 is required where discount value can be
given based on the whole sales order value on scale
basis.
The new discount value should be printed line wise in OA and Invoice with the given format
from business: price before discount, Discount percentage, discount amount and price after
discount must be shown each line items.
Invoice print tcode: YSDVNINV

Program: YSDVN_INVOICE_LAYOUT_PRINT_PG
Annexure: YSDVN_ANN_INVOICE_PG
Invoice Smart form: YSDVN_EX_INVOICE_PG

Pass VBRK- VBELN to fetch VBRK – KNUMV


Pass KNOV- KNUMV to fetch KNOV- KSCHL = ZG00
If KNOV- KSCHL = BLANK, then Invoice will be printed in old format

For Order acknowledgement, output types:


ZVN1 – print out
Script name: ZVN_SDOR

Pass VBAK- VBELN to fetch VBAK-KNUMV


Pass KNOV-KNUMV and fetch KNOV- KSCHL = ZG00
If KNOV-KSCHL = BLANK, then OA will be printed in old format
Output:
The new format for OA and Invoice will be as mentioned below:

AMEA ERP
CoE_VN_FS_ 4000000344_RD4KXXXXX.docx

You might also like