Application Development and Automation 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: 
Read only

abap

Former Member
0 Likes
1,255

how to debugg the event keywords in abap program?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,221

What do u want to know by debugging the event keyword it is just to modularize dear there non other work of it...

Depending on the situations we will be using with some additions which will really work faster that's it and nothing more

10 REPLIES 10
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,221

Not sure what you mean here. You can step thru the code in debugger for any standard report events.

REgards,

Rich Heilman

Read only

Former Member
0 Likes
1,221

set up a breakpoint and execute.

otherwise use \h and execute code will enter in debugging mode.

Read only

Former Member
0 Likes
1,221

Hi Siva,

As soon as you enter the debug mode, you can set the break point at desired statement by going to the menu

Breakpoints->breakpoint at-> statement

and you can define which statement you want the break point.

hope this helps.

Regards,

Kinshuk

Read only

Former Member
0 Likes
1,221

hi shiva, if ur debuging a report then straight away set a brekpoint in the program and execute it, u l switch to the debug screen,if u want to debug a transaction then type /h in the command field , it will debug the transaction, sometimes u cant debug the whole process, so as soon as u enter into the debugging screen goto settings and then update debugging, this will save all the breakpoints u have set in the program.

Read only

0 Likes
1,221

Hi

I have a query in smartforms.

Is it possible to print barcodes on smartforms. If yes, How?

Please reply ASAP as it is urgent.

Thanks & Regards

Deepti

Read only

0 Likes
1,221

hello deepti..

rrise ur query in new thread...

by the way just refer...

Which barcode printer are you using ? Can you download this file and see.

http://www.servopack.de/Files/HB/ZPLcommands.pdf.

It will give an idea about barcode commands.

Check this link:

http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm

Details information about SAP Barcodes

A barcode solution consists of the following:

- a barcode printer

- a barcode reader

- a mobile data collection application/program

A barcode label is a special symbology to represent human readable information such as a material number or batch number

in machine readable format.

There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.

You can print barcodes from SAP by modifying an existing output form.

Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.

Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.

The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.

Not to fear though, there are two ways to get around this:

- You can have your IT department do some research -

most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.

- Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.

- Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.

Now you have a barcode printed - what next?

Well there are two options, depending on your business requirements:

- You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.

- Another solution is to use SAPConsole transactions

or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor.

These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.

Barcode Standard

To Create a Bar code prefix:

1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save

2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix

Read only

Former Member
0 Likes
1,221

I have created new fields into the BP transaction using EEWB

My next step is ..I have to extend the BDoc.

Anyone please tell me in clear steps / code How should I do I them.

Also tell me what would be my next steps to move them to R/3.

Read only

abdul_hakim
Active Contributor
0 Likes
1,221

Not clear about what you are asking...Anyhow you can debug the ABAP Code for any type of events...

Read only

Former Member
0 Likes
1,221

Put a Break-point wherever you want.

Read only

Former Member
0 Likes
1,222

What do u want to know by debugging the event keyword it is just to modularize dear there non other work of it...

Depending on the situations we will be using with some additions which will really work faster that's it and nothing more