How we can use Bar codes in Sap-script?
Hi,.
Can any body please tell me how we can use <b>Bar codes in Sap-script</b>?
Please tell me the steps .
Regards,
Prabhudutta
Hi,
Check this link
http://help.sap.com/saphelp_nw04/helpdata/en/de/ee0769ebd211d18e370000e83dd9fc/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94fc51ea11d189570000e829fbbd/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
Regards,
Sonika
Similar Messages
-
How to maintain QR Code & BAR Code in SAP Script and Smart Form ?
I want to place QR code (Quick Response Code) and Bar Code In my invoice . I searched from many resources but i couldn't get any appropriate answer . So , Please help me to solve this problem.
Hello,
SAP Note 1557674 - "Overview of bar code printing from SAP" shows the 5 possibilities how barcodes can be printed from SAPScripts and SmartForms.
In your case the following possiblities can help:
DIMM/SIMM module: in this solution you need to additionally purchase and install a DIMM/SIMM module to your printer. Then you can send the command sequence from the SAPScript/SmartForm to this module, and the barcode will be printed. (The command sequence should be described in the manual book of the module.)
barcode.dll file: in this solution you need to additionally purchase and install a barcode.dll file, which will handle the barcodes. Please note: this solution only works with SAPWIN Device Types (and therefore only on Windows OS). The command sequence should be also described in the manual.
New bar code technology: in this case R/3 creates the barcode itself, and the barcode will be forwarded as a simple image to the printer. Unfortunately QR code can not be created with this solution - according to SAP Note 1557674 the following barcodes can be created:
Code39, Code93, Interleaved 2of5, Code128, PDF417.
(There are 2 further solutions in the mentioned Note, but the "bar code font" solution can not be used for 2D barcodes like QR code, and the "PDF-based form" solution means that SAPScript and SmartForm can not be used).
Alternatively, here is a document which explains how QR codes can be displayed in SmartForms with alternative solutions:
How to create a QR code and show it in a Smartform
Regards,
Laszlo -
How to Print Bar codes in SAP script.
Hi Experts,
Could you please tell me how to print bar codes through sapscript (the steps basically)?
<<text removed by moderator>>
Thanks in advance,
Suchi.
Edited by: Matt on Nov 13, 2008 2:04 PM - do not use ASAP or urgent.hi,
check these.
[https://forums.sdn.sap.com/click.jspa?searchID=18572128&messageID=4724540]
[http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm] -
How to print bar codes in sap script and smartform
bar code sheet to print for particular customer when the
transfer order is created.Hi,
You create a bar code or change a bar code in the font maintenance transaction (transaction SE73). To do this, proceed as follows:
○ Start transaction SE73, and choose System Bar Codes ® Change.
○ If you create a bar code, the system asks whether you want to use the new bar code technology or traditional system bar codes. Choose New.
You can enter a name and a description for the bar code. Note that the name must begin with a Zto avoid conflict between your bar codes and the standard bar codes.
2. If you have created a new bar code, you must now add this to a Smart Style as a character format. For information about this, see the section Maintenance of Styles with the Style Builder and its subsections in the Smart Forms documentation.
If you have only changed the bar code, continue with the next step.
3. You can now select text in Smart Forms and choose the corresponding style with the bar code as the character format for this text.
4. You can then print the bar code.
Refer
https://forums.sdn.sap.com/click.jspa?searchID=10581664&messageID=3321556
Check the pdf below..
http://www.sap-press.com/downloads/h955_preview.pdf
Regards
Kiran -
How i can keep my code after %dba standard table in sap query
hi expert,
how i can keep my code after %dba standard table in sap query..
add 1 to %count-VBRP.
%linr-VBRP = '01'.
extract %fg01.
%linr-VBRP = '02'.
extract %fg02.
%linr-VBRP = '04'.
extract %fg04.
%linr-VBRP = '05'.
extract %fg05.
%ext-VBRP05 = 'X'.
extract %fgwrVBRP05.
endselect.
i want keep my code after filling the standard table generated by sap abap query
Thanks & regards
Sajad AhmadHi,
the above code is excuted succesfully, but if i have
return "Navigation" ;
it is not working
any idea why?????????? -
Hi, folks can some body help me¡ How I can use de second code to the Itunes card to use the Itunes card.... My number is vanished, how i can submit my Itunes card?
iTunes Store: Invalid, inactive, or illegible codes
http://support.apple.com/kb/TS1292 -
How can use simpler code?
How can use simpler code for checking a particular value in a string?
FIND 'C' IN fg_result ."FOR PAYMENT METHODS "CPRS"
IF sy-subrc NE 0. FIND 'P' IN fg_result.ENDIF.
IF sy-subrc NE 0. FIND 'R' IN fg_result.ENDIF.
IF sy-subrc NE 0. FIND 'S' IN fg_result.ENDIF.
IF SY-SUBRC = 0.Dear Shashank,
DATA: GV_SRCH(1) TYPE C.
CASE GV_SRCH.
WHEN 'C'.
FIND 'C' IN fg_result.
WHEN 'P'.
FIND 'P' IN fg_result
WHEN 'R'.
FIND 'R' IN fg_result
WHEN 'S'.
FIND 'S' IN fg_result
ENDCASE.
Regards,
Abir
Don't forget to award Points * -
How can create a table in sap script?
Hi,
How to create a table in the sap script.i Have to use table in the main window with 11 rows and 3 columns. can any one send sample code. Any ideas?¿
THKS 4all.Try and check on the below logic....
1. write -
2. write headings with '|' at start and end as well as the field separator.
3. write -
4. similar to step two write the data with pipe separators.
5. write -
regards
Anurag -
How to use print control in Sap script
I would like to use print control in Sap script.Actualy my problem I have security font Troy ECF. Using this font I would like to print amount field in Check printing.
we count download this font with sap .we talked to customer care they told we should hard code in sapscript. pls can any1 help on this how to do and how to use print control for this fonts.call this funcation. crate_text.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID =
FLANGUAGE =
FNAME =
FOBJECT =
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES =
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
HOw can we Call Subroutine in Sap Script?
HOw can we Call Subroutine in Sap Script?
Hi
*You have to call sub routine from script like this.
/: PERFORM DATE_FORMAT IN PROGRAM &SY-REPID&
/: USING &RM06P-LFDAT&
/: USING &PEKKO-LFDAT&
/: CHANGING &VALUE_OLD&
/: CHANGING &VALUE_NEW&
/: ENDPERFORM
*In print program write code.
FORM date_format TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
DATA : date TYPE char10.
DATA : date2 TYPE char10.
DATA : l_dmbtr TYPE char10.
READ TABLE in_tab WITH KEY 'RM06P-LFDAT'.
IF sy-subrc = 0.
"Your code goes here
CLEAR l_dmbtr.
ENDIF.
READ TABLE in_tab WITH KEY 'PEKKO-LFDAT'.
IF sy-subrc = 0.
l_dmbtr = in_tab-value.
"Your code goes here
CLEAR l_dmbtr.
ENDIF.
READ TABLE out_tab WITH KEY 'VALUE_NEW'.
IF sy-subrc EQ 0.
out_tab-value = date2.
MODIFY out_tab INDEX sy-tabix.
ENDIF.
READ TABLE out_tab WITH KEY 'VALUE_OLD'.
IF sy-subrc = 0.
out_tab-value = l_dmbtr.
MODIFY out_tab INDEX sy-tabix.
ENDIF.
ENDFORM. "DATE_FORMAT -
How i can use user-exit
hi,
in order to find out the user exits for any tcode,
1. get the developement class of the tcode from SE93.
2. Now goto transaction SMOD and press F4,
3. give in the Deve class in the dev class and Press ENTER
this will show u the exits for any tcode.
or execute this report
http://www.erpgenie.com/sap/abap/code/abap26.htm
which gives the list of exits for a tcode
http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec079f5db911d295ae0000e82de14a/frameset.htm
For information on Exits, check these links
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
Regards
Anver -
Can anybody tell me how many text elements are there in sap scripts?
hi all,
can anybody tell me how many text elements are there in sap scripts?Hi,
Do you mean that you want to know how many Text-elements are there in a specific Script or you want to know how many max Text-Elements a script can have?
I believe there is no limit on this......
To know all the Text Elements in a Script......goto SE71....press F4 Help on Script Name....Choose Last option for Custom developed Scripts.....and you can open the complete Script details & Code in a Line Editor...After that you can serach/look for the text elements -
My question is that How to add a report into the SAP-SCRIPT .
by using PERFORM ......ENDPERFORM
I don't know how to used it .Hi Sandeep,
Please check this link
http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
http://www.allinterview.com/showanswers/37425.html
Calling ABAP Subroutines: PERFORM
You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
ENDFORM.
The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
Definition in the SAPscript form:
/: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
/: USING &PAGE&
/: USING &NEXTPAGE&
/: CHANGING &BARCODE&
/: ENDPERFORM
/ &BARCODE&
Coding of the calling ABAP program:
REPORT QCJPERFO.
FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
DATA: PAGNUM LIKE SY-TABIX, "page number
NEXTPAGE LIKE SY-TABIX. "number of next page
READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
CHECK SY-SUBRC = 0.
PAGNUM = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
CHECK SY-SUBRC = 0.
NEXTPAGE = IN_PAR-VALUE.
READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
CHECK SY-SUBRC = 0.
IF PAGNUM = 1.
OUT_PAR-VALUE = u2018|u2019. "First page
ELSE.
OUT_PAR-VALUE = u2018||u2019. "Next page
ENDIF.
IF NEXTPAGE = 0.
OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
ENDIF.
MODIFY OUT_PAR INDEX SY-TABIX.
ENDFORM.
Best regards,
raam -
What is context objects and how we can use it Receiver Determination
hi,
i have situation here a idoc is triggered into the xi and i need to use the conditions in the receiverdetermination in that condition i need to use context object how i can use it? and what is the difference it makes and why i need to use it?
thanks in advance
AmareshHI,
Context objects are alternative to XPATH expressions. It is like macros in other programming langugage. If you define this , you can use this object in the receiver determination while doing conditional receiver determination
For more-
http://help.sap.com/saphelp_nw2004s/helpdata/en/d6/e44fcf98baa24a9686a7643a33f26f/content.htm
/people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
Regards,
Moorthy -
How we can use help & maintain view in program
hi Gurus,
how we can use help & maintain view in program?
is it able to use in program?
thanks in advance,
Regards,
Arun.Hi
maintain view can be used in program using the function module 'VIEW_GET_DATA'.
and help view is for search help.
check this link below.
[http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecd2446011d189700000e8322d00/content.htm]
Regards,
Sakthi.
Maybe you are looking for
-
HOW CAN I TRANSFER MY SONGS FROM OLD COMPUTER TO NEW???? PLEASE READ
MY OLD COMPUTER IS TOO SLOW AND I NEED MY SONGS TO GO ON MT NEW LAPTOP (YAY ME)... I DONT WANT TO WASTE A MILLION CD'S JUST TO GET MY NEW SONGS ON THERE SO WHAT CAN I DO....I TRIED USING A JUMO DRIVE AND THAR DOESNT WORK EITHER CUZ AS AS SOON AS I DI
-
Some text is rendering in a strange font in firefox on my Mac.
On some website, there is text that is rendering in an fancy type font, almost like handwritten font. I have no idea why it is happening. I will attach a screenshot of an example of my homepage where this is occurring in just one place I have found.
-
HELP!!! Downloaded fonts and now I can't delete them...
I downloaded a BUNCH of fonts from a site I found on Stumbleupon and now it takes forever to pick a font on Microsoft Word (for Macs). I realized it was probably stupid to download 200+ fonts, so I tried to go into Font Book to simply delete them and
-
How to ensure whether the row is successfully inserted
HI All, Is there any means of ensuring whether the row was successfully inserted or not? I want to insert a row into a table and if it is successfully inserted I want to return the return code as 0 else some error code. Also I am selecting a value in
-
Is KM required for 'publish to EP6' - portal content & role?
is KM required in EP for 'publish to EP6' - portal content & role? we are not try to publish to KM catalog, etc. just the portal content and role. does KM required for that? Thanks Jane