Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ZPL code in SMARTFORM

Former Member
0 Kudos

hi guys,

attach is the zebra code we use in SAPScript. For smartform i don't see the /E under the text editor. May i know do we need the /E label in smartform? thanks

-


/E LABEL

^FX

~DGR:ROHS.GRF,2222,22,jG0IFCI07LFCT07HFJ03HFJ07JFI07MFT03HFJ03HFJ0KF8H07

MF8S03HFJ03HFI03KFEH07MFES03HFJ03HFI07LFH07NFS

03HFJ03HFI0MF807NF8R03HFJ03HFI0MF807NFCR03HFJ03HFH01MFE07NFCR03HFJ03HFH0

7NFER03HFJ03HFH07HFC01IF07NFER03HFJ03HFH07HF801IF07FEI01IFR03HFJ03HFH07F

HFJ03HFH07FEI03HF87FEJ07HFR03HFJ03HFH0HFCI01HF87FEJ07HF8I03HFEJ03HFJ03HF

7FEJ03HF8H01JFCI03HFJ03HFH0HFCJ0HFC7FEJ03HF8H03KFI03HFJ03HFH0HFCJ0HFC7FE

J03HFH0HFEM07FEJ03HFH01LFEH03HFJ03HFH07HFM07FEJ07HFH03LFEH03HFJ03HFH07HF

OFH07JF8J07FEI01HFEH0IFC1IFH03OFH07KF8I07FEI03HFEH0IFH07HF803OFH03KFEI07

01MFH07NFI0HFCH01HFC03OFI0MF807NFH01HFCI0HFC03OFI0MFE07MFEH01HF8I0HFC03O

03OFJ0MF87NFH03HFJ07FE03HFJ03HFJ01LFC7NF803HFJ07FE03HFJ03HFL0KFC7NFC03HF

FC7FEI0IFC03HFJ07FE03HFJ03HFM01IFE7FEI03HFE03HFJ07FE03HFJ03HFN03HFE7FEJ0

FJ03HFO0HFE7FEJ0HFE03HFJ07FE03HFJ03HF01H08J07FE7FEJ0HFE03HFJ07FE03HFJ03H

EJ07FE03HF8I0HFC03HFJ03HF01HFCJ07FE7FEJ07FE01HF8I0HFC03HFJ03HF01HFCJ07FE

FC03HFJ03HFH0HFEJ0HFE7FEJ07FEH0HFCH03HFC03HFJ03HFH0HFEJ0HFC7FEJ07FEH0HFE

07HF803HFJ03HFH07HFCH07HFC7FEJ07FEH07HFC1IFH03HFJ03HFH07IF01IFC7FEJ07FEH

NF87FEJ07FEH03LFEH03HFJ03HFH03NF07FEJ07FEH01LFEH03HFJ03HFH01NF07FEJ07FEI

FC07hHFE7gJFC7E3TFE7gJFC7E3TFE7gJFC7E3RF8FE7gJFC7E3RF8FE7gJFC7TF8FE7gJFC

FEH03FE3H0FH0HF3803FC7E3FCH03FC6H0FC01E7CH01FCI0FE4H04H07F2H01FC7E3F8H01

FC7E3F8FE1FC1FC3F8FE78HF8F0HFC7E1FE1FE3F0HF8FC7E3F1HF8FC3FE3F8FE70HF8F0H

7E3FE1FE1F1HFC7C7E3JF8FC3HF1F8FE61IFE1HFE3E3FE3FE1F1HFC7C7E3JF0FC3HF1F8F

IFE3HFE3E3FE3FE1F3HFC7C7E3FCI0FC7HF1F8FE61IFE3HFE3E3FE3FE1F3HFC7C7E3F01F

7HF1F8FE61IFE1HFE3E3FE3FE1F1HFC7C7E3E3HF8FC7HF1F8FE61HF8F1HFC7E3FE3FE1F1

87C7E3E3HF0FC7HF1F8FE70HF8F0HFC7E3FE3FE1F0HF8FC7E3E3FE0FC7HF1F8FE787E1FC

E3FE1FI01FC7E3EI083C7HF1F81E7EH07FEH03FE3FE3FE1F1H07FC7E3F80383C7HF1FC1E

1gHFE7YF1gHFE7YF1gHFE7YF1gHFE7YF1gHFEhJ07YF1gHFE7hHFE7hHFE7hHFE7hHFE

^XA

^PRC

LH0,0FS

^LL610

^MD0

^MMT

^MNY

LH0,0FS

FO32,20A0N,45,45CI13FRFDPART #: &W_MSEG-MATNR&FS

BY2,3.0FO36,66BCN,56,N,Y,NFRFD>:&W_MSEG-MATNR&FS

IF &V_RAUBE& = 'X'

FO709,74A0N,45,45CI13FRFDMSD: &MARA-RAUBE&FS

ENDIF

FO32,137A0N,36,36CI13FRFD&W_MSEG-MAKTX&FS

FO32,183A0N,36,36CI13FRFDMPN: &W_MSEG-IDNLF&FS

BY2,3.0FO36,222BCN,56,N,Y,NFRFD>:&W_MSEG-IDNLF&FS

FO32,293A0N,36,36CI13FRFDBATCH NO: &W_MSEG-CHARG&FS

BY2,3.0FO36,330BCN,56,N,Y,NFRFD>:&W_MSEG-CHARG&FS

FO400,240A0N,36,36CI13FRFDUser:&W_MSEG-USNAM&FS

BY2,3.0FO401,330BCN,56,N,Y,NFRFD>:&W_MSEG-USNAME&FS

FO673,293A0N,36,36CI13FRFDD/CODE: &P_DCODE&FS

BY2,3.0FO674,330BCN,56,N,Y,NFRFD>:&P_DCODE&FS

FO200,517A0N,36,36CI13FR^FDCOO: &P_CCODE& ^FS

BY2,3.0FO36,500BCN,56,N,Y,NFRFD>:&P_CCODE&FS

FO500,460A0N,36,36CI13FRFDQTY: &BAR_LFIMG&FS

BY2,3.0FO500,500BCN,56,N,Y,NFRFD>:&BAR_LFIMG&FS

FO32,399A0N,36,36CI13FRFDSAP Doc: &V_MBLNR&FS

BY2,3.0FO36,432BCN,56,N,Y,NFRFD>:&V_MBLNR&FS

FO30,566ABN,25,15CI0FR^FDDate RECEIVED: &BAR_DATE& ^FS

IF &V_NORMT& = 'X'

FO713,455FRXGRoHs,1,1FS

ENDIF

FO0,282GB931,0,2^FS

FO0,126GB931,0,2^FS

FO0,172GB931,0,2^FS

FO0,390GB931,0,2^FS

FO0,558GB931,0,2^FS

^XZ

^FX End of job

^FX END OF FORMAT

3 REPLIES 3

Former Member
0 Kudos

HI,

In smartforms we can set a style for BARCODES. Create a paragraph format in smartstyle from transaction smartsyles and use them in editor.

Thanks,

Kasiraman R

Former Member
0 Kudos

Hi,

We do not need /E option in smartform since we can make use of program lines and write the code as we write it in se38. here we do not have any elements nor we make use of them as we do it in scripts..we used to make use in scriots since we need to code for a window separtly and call by means of /E but know we need not need it rather create progam lines in window where u want to wite the code and use it . It works similar to the /e...try this.

Regards,

Sana.

Reward if helpful....

0 Kudos

hi Sana,

are you saying that we can copy and paste the whole ZPL from sapscript to program line in smartform?

do you mind we can communicate through email?

my mailbox is boonkiat.tey@gmail.com , kindly drop me a mail and i'll send you my screen shot/code i'm doing here.

thanks.

BK