on 01-29-2010 10:34 AM
Hello Everyone,
I have to write the text "purchase order" and then just below i have to add the barcode for the purchase order number in the sap script.
I do not know sapscript very well .
Please can you give me step by step procedure how to insert the text and the barcode .
i looked on the forum but cannot find anything specific related to my issue
I will really apreciate .
thanks in advance
Sumit
Hi,
Create a character format in the script providing with the barcode type and give the same in the window where you want to display the barcode.
Example: Character format C1 with barcode
In the Window
<C1> &vbak-vbeln& </>
This will give you the barcode.
Thanks & Regards
Sarves
Edited by: Sarves Sombhatla on Jan 29, 2010 4:14 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Select or craete barcode font in SAP
Create character format and include the barcode within it
ex:
<c1>&XYZ&<c1> where c1 is character format
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the answer,
i have already created a barcode thru se73
and when i create a charater format , what do i have to do , like where do i mention the field from where it will pick the data to form a barcode and also how do i wite the text purchase order
while creating charater format , when i come to barcode i click on the drop down and select my barcode that i made from se73 , where do i include the command that u have written.
sumit
Edited by: sumit123 on Jan 29, 2010 11:46 AM
Hi
After defining Barcode at Character format in Styles,
Just create a window for barcode ; provide style <z..> in OutputOptions tab
n in GeneralAttributes tab, click on text editor and code as following
PG<paragraphformat name> purchase order amount: <C1>&POAMOUNT&</>
PG &POAMOUNT&
here POAMOUNT is variable defined in GLOBAL DEFINITIONS as poamount TYPE P DECIMALS 2
Also, at program lines level, code the logic (eg. poamount = poamount+ ktab-netwr) as per the requirement
Hope you understand..
Best Regards,
Surender
Hello Surender ,
Thanks a lot for replying .
I am stuck in this problem for a long time .
i managed to get the text 'purchase order' on the printout and also created a barcode through se73 .
according to your reply , you mentioned output options tab and general attributes tab , where will i find them .
also i created the character format and attached my barcode .
what to do next .
thanks once again .
sumit
Sumit,
Surender gave you the answer for smart forms in fact. But for SAPscripts, it's rather the same thing. A sapscript doesn't have a style attached, you rather define the paragraph and character formats directly inside the sapscript (click the corresponding buttons in application toolbar).
As it seems you did it, you have just now to enter the barcode as a text, based on the character format C1 (according to Surender answer).
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.