0% found this document useful (0 votes)
30 views5 pages

New Smart Form Development FS

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views5 pages

New Smart Form Development FS

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Existing Scenario

Base Margin DISCOUNT


HSN SIZE Qty MRP Value % Amount % Amount
620342 L 48 82 35 28.00 8 6.52
620342 EL 58 99 34.00 8 7.88
620342 36T 37 63 22.00 1.75 6.52
620342 24T 37 63 22.00 1.75 6.52
620342 EES 32 54 19.03 8 7.88
620342 36T 25 25 87.41 8 7.88
620342 M 37 37 12.94 8 6.52
Total 274 422 35 225.38 43.5 49.75

New Scenario
HSN SIZE Qty Base Margin DISCOUNT
MRP Value % Amount %
620342 L EL 36T 24T EES 36T M 274 35 225.38 43.5
48 58 37 37 32 25 37 274
Logic
HSN
Pass VBRP- VBELN and Get MATNR
Pass the material code in MARC and get STEUC

Size
Pass VBRP - VBELN and Get MATNR
Pass the in MARA - Get SIZE1 / SIZE2

Qty
Pass VBRP - VBELN and get FKIMG
Billed qty and sum it get total qty

MRP Value
knumv = gs_vbrk-knumv
kposn = gs_vbrp-posnr
kschl = gv_kschl_mrp

Discount
READ TABLE gt_konv INTO ls_konv WITH KEY knumv = gs_vbrk-knumv
kposn = gs_vbrp-posnr
kschl = 'Y007'

GST
knumv = gs_vbrk-knumv
kposn = gs_vbrp-posnr
kschl = 'JOCG'

knumv = gs_vbrk-knumv
kposn = gs_vbrp-posnr
kschl = 'JOSG'

knumv = gs_vbrk-knumv
kposn = gs_vbrp-posnr
kschl = 'JOIG
enario
Taxable CGST SGST IGST Invoice Value
% Amount % Amount % Amount
44.27 5 2.21 46.48
53.49 2.67 56.17
34.13 1.71 35.83
34.13 1.71 35.83
29.51 1.48 30.99
15.04 7.5222 15.80
16.24 1.11 23.38
226.82 18.41 244.48

nario
DISCOUNT Taxable CGST SGST IGST Invoice Value
Amount % Amount % Amount % Amount
49.75 226.82 5 18.41 244.48

You might also like