Anda di halaman 1dari 3

Transaction code – ZBSD131

Output type – YRD0

Smart form name --

Smart form Format -- Triplicate

Driver program name --

1. UNIT name & address:


Take VBRP-VBELN and get VBRP-WERKS. Now pass it to T001W-WERKS and get T001W-ADRNR. Now pass it to
ADRC-ADDRNUMBER and get ADRC-NAME2 / STREET / CITY1 / CITY2 / POST_CODE1 / TEL_NUMBER /
FAX_NUMBER.
E-mail: Pass T001W-ADRNR to ADR6-ADDRNUMBER and get SMTP_ADDR
GSTIN no: Get T001W-J_1BBRANCH and pass it to J_1BBRANCH-BRANCH and get J_1BBRANCH-GSTIN
Code: First 2 digit of GSTIN no
State: Take T001W-REGIO and pass it to T005U-BLAND. Keep T005U-LAND1=IN and T005U-SPRAS=EN and get
T005U-BEZEI

2. Invoice No:
Get VBRK-VBELN

3. Invoice date:
Take VBRK-VBELN and get VBRK-FKDAT

4. Reverse Charge (Y/N):

5. Transport Mode: Take VBRK-VBELN and pass it to VBFA-VBELN, Keep VBFA-VBTYP_V = ‘J’ and take VBFA-VBELV.
Now pass it to LIKP-VBELN and get LIKP-VSART. Now pass it to T173T-VSART, Keep T173T-SPRAS = ‘EN’ and get
T173T-BEZEI

6. Vehicle number: Take VBRK-VBELN and pass it to VBFA-VBELN, Keep VBFA-VBTYP_V = ‘J’ and take VBFA-VBELV.
Now pass it to LIKP-VBELN and get LIKP-TRAID

7. Date of Supply: Take VBRK-VBELN and get VBRK-FKDAT

8. Place of Supply: Take VBRP-VBELN and get VBRP-WERKS. Now pass it to T001W-WERKS and get T001W-ORT01

9. LUT No.

10. Date:
11. Bill to Party:
Take VBRK-VBELN and pass it to VBFA-VBELN, keep VBFA-VBTYP_V = C and take VBFA-VBELV. Now pass
this VBFA-VBELV to VBPA-VBELN. Keep VBPA-PARVW = BP and take VBPA-KUNNR (Bill to party) and pass it
to KNA1-KUNNR.
Name: Take KNA1-NAME1
Address: Take KNA1-STRAS / ORT01 / PSTLZ
Country: Take KNA1-LAND1

12. Ship to party


Take VBRK-VBELN and pass it to VBFA-VBELN, keep VBFA-VBTYP_V = C and take VBFA-VBELV. Now pass this
VBFA-VBELV to VBPA-VBELN. Keep VBPA-PARVW = SH and take VBPA-KUNNR (Ship to party) and pass it to KNA1-
KUNNR.
Name: Take KNA1-NAME1
Address: Take KNA1-STRAS / ORT01 / PSTLZ
Country: Take KNA1-LAND1

13. Sl no:
1,2,3,4,5………………………..

14. Product Description:


Take VBRP-VBELN and get VBRP-ARKTX

15. HSN code:


Take VBRP-VBELN and get VBRP-MATNR and VBRP-WERKS. Now pass these to MARC-MATNR and MARC-WERKS
and get MARC-STEUC

16. Qty:
Take VBRP-VBELN and get VBRP-FKIMG

17. Rate:
Take VBRP-VBELN and get VBRP-CMPRE

18. Discount:

19. Amount / Total / Total / Total Amount after Tax:


Take VBRP-VBELN and get VBRP-MWSBP and VBRP-NETWR. Now add these 2 values. (NETWR+ MWSBP)

20. Total amount in words:


Amount in words
21. Total Amount before Tax:
Take VBRP-VBELN and get VBRP- NETWR.
22. Add: IGST:
@14% / @14% / @28% (Not hard coded)
Take VBRK-VBELN and get VBRK-KNUNV. Now pass this to KONV-KNUNV and keep KONV-KSCHL
(KSCHL=JOIG) and get KONV-KWERT

23. Total Tax Amount:


Take VBRK-VBELN and get VBRK-KNUNV. Now pass this to KONV-KNUNV and keep KONV-KSCHL
(KSCHL=JOIG) and get KONV-KWERT

24. GST on Reverse Charge:


YES/NO

25. Bank details:

Anda mungkin juga menyukai