94
SAP scripts Tips and Tricks SAP scripts is the standard SAP form design tools for user to developed customized form printing format such as purchase orders, invoices, checks, labels. With the combination of third party barcode software (barcode.dll) or printer with bardimm, you can print barcode directly using SAP scripts. SAP Scripts Reference Books SAPscript Made Easy 4.6 ABAP Certification Books ABAP Programming: A Guide to the Certification Course Introduction SAPScript Transaction codes Commands Reading Text in SAPScripts Boxes/Lines/Shading Printer commands in SAPScripts Different font on the same line Print Footer notes only on the last page Orientations in SAPSCRIPT Protect...Endprotect Retrieving data without modifying the original called program SAPscripts How to calculate Totals and Subtotals Conversion Developing SAPScript in different languages Useful Program Tools How to convert Sapscript spools request to PDF? How to Upload graphics (IMAGE) to your Sapscript? Import/Export SapScript form from PC file Common Problems Picture doesn't show in Print Preview Delete Load program for SAPScript Barcodes Details information about SAP Barcodes SapScripts FAQ SapScript Question

Sap sapscripts tips and tricks

  • View
    588

  • Download
    13

Embed Size (px)

DESCRIPTION

 

Citation preview

SAP scripts Tips and Tricks

SAP scripts is the standard SAP form design tools for user to developed customized formprinting format such as purchase orders, invoices, checks, labels. With the combinationof third party barcode software (barcode.dll) or printer with bardimm, you can printbarcode directly using SAP scripts.

SAP Scripts Reference BooksSAPscript Made Easy 4.6

ABAP Certification BooksABAP Programming: A Guide to the Certification Course

IntroductionSAPScript Transaction codes

CommandsReading Text in SAPScriptsBoxes/Lines/ShadingPrinter commands in SAPScriptsDifferent font on the same linePrint Footer notes only on the last pageOrientations in SAPSCRIPTProtect...EndprotectRetrieving data without modifying the original called programSAPscripts How to calculate Totals and Subtotals

ConversionDeveloping SAPScript in different languages

Useful Program ToolsHow to convert Sapscript spools request to PDF?How to Upload graphics (IMAGE) to your Sapscript?Import/Export SapScript form from PC file

Common ProblemsPicture doesn't show in Print PreviewDelete Load program for SAPScript

BarcodesDetails information about SAP Barcodes

SapScripts FAQSapScript Question

Questions on PO SapScripts MEDRUCKA Sample SAP Scripts Reports

SAP ABAP Forum at the convenient of your mail boxExchange ABAP related problems/solutions, program, tips, ideas with other ABAP peersfrom around the globe.Note: An Auto Free ABAP Tips Windows Help File will be send to you upon Joining.

SAP ABAP Forum for ABAP Professional

enter email ad

Quick LinksABAP Tips and Tricks Main Menu

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Functional, Basis and ABAP Programming Reference Books

SAPScript Transaction codesSE71 - Form painter

SE72 - Style maintenance

SE78 - SapScript Graphics Management

SO10 - Create standard text module

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Functional, Basis and ABAP Programming Reference Books

Reading Text in SAP ScriptsIf you only need to output the text, you don't need to used READ_TEXT like in anABAP program,just use the INCLUDE command in SAP Script.

It will read the text and output it to your form.

The Syntax is like this:

/: INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE &EKKO-SPRAS&

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Scripts Boxes/Lines/ShadingSetting default parameters for a box:

You can use the POSITION and SIZE commands to set default parmeters for a box.

Instead of:/: BOX XPOS '11.21' MM YPOS '5.31' MM HEIGHT '10' MM WIDTH '20' MMINTENSITY 10 FRAME 0 TW

You can write:

/: POSITION XORIGIN '11.21' YORIGIN '5.31' MM/: SIZE HEIGHT '2' MM WIDTH '76' MM/: BOX FRAME 10 TW INTENSITY 10

This can be useful if you gave several boxes that share the same parameters.

If you want to set the position relatively to the window use POSITION WINDOWto set the position to the top/left start of the window. Then use POSITIONto set the current position relatively to the start of the Window.

Note that you uses "+" or "-" in the ORIGIN position to the set the position relatively.

/: POSITION WINDOW/: POSITION XORIGIN '+5' MM YORIGIN '+10' MM

the position is now 5 MM from the left and 10 MM from the top of the window

NOTE: After using the position command you can move the current position

realtively to the last used position

/: POSITION XORIGIN '+10' MM YORIGIN '+20' MM

Now the position will be X = 15 and Y = 30

Drawing a line. You can draw a line by setting the Height or Weidth to 0and add a frane. E.g. a horizontal line:

/: SIZE HEIGHT '0' MM WIDTH '200' MM/: BOX FRAME 10 TW XPOS '11.21' MM YPOS '14.81' MM INTENSITY 100

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Functional, Basis and ABAP Programming Reference Books

SAP Printer commands in SAPScriptsThe command line in the editor must be as follows:

/: PRINT-CONTROL xxxxx

or

/: PRINT-CONTROL 'xxxxx'

where xxxxx stands for the five-character name of the print control.

Example:/: PRINT-CONTROL ZM100

The complete printer command normally resides in the print control.

If characters belonging to the print command follow after the print control in the text(only useful for the HPL2 printer driver for PCL-5 printers), the text line following afterthe PRINT-CONTROL command should begin with an equals sign (=) in the formatcolumn.

Example:/: PRINT-CONTROL SESCP = *c5G

If you do not use the equals sign, a space character is inserted between the print controlSESCP and the character *c5G.

Refer to OSS note 5996 - How can SAPscript include printer commands?

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Functional, Basis and ABAP Programming Reference Books

Different font on the same lineYou can have different font on the same line by defining a character format.

For example B for bold text and U for Underline.

In your SAPScript apply like this :

<U>Underline Text</> <B>Bold Text</>

Best regards,

SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Functional, Basis and ABAP Programming Reference Books

Print Footer notes only on the last pageCommand to used in your sapscripts :-

/: IF &NEXTPAGE& EQ 0

whatever footer you want.

/: ENDIF

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Functional, Basis and ABAP Programming Reference Books

Orientations in SAPSCRIPT-----Original Message-----Subject: Orientations in SAPSCRIPTFrom: Ashwini Jaokar

Hi,

I have 2 pages for a Form in SAPscript .

Can I have 2 different Orientations for 2 pagesIe Can I assign Page1 as Portrait & page2 as Landscape ???

If so , How ????

Thanks in Advance.Ashwini Jaokar.

-----Reply Message-----

Subject: Re: Orientations in SAPSCRIPTFrom: jmersinger

Ashwini,

Not that I know of in the same layoutset...what you can do is create two layoutsets...oneportrait, one landscape...then in the print program call each one individually.

jjm

-----Reply Message-----Subject: RE: Orientations in SAPSCRIPTFrom: Ralph Klassen

Each form may only have a single orientation but you can create two forms and includethem in the same spool output.

In your ABAP program:

1. call function 'OPEN_FORM', don't pass a value in 'FORM'

2. call function 'START_FORM', include parameter 'FORM' passing the name of yourfirst form

3. call function 'WRITE_FORM' as normal to output each element

4. call function 'END_FORM'

5. call function 'START_FORM', include parameter 'FORM' passing the name of yoursecond form

6. call function 'WRITE_FORM' as normal to output each element

7. call function 'END_FORM'

8. call function 'CLOSE_FORM'

Repeat the 'START_FORM' ... 'END_FORM' sequence as required.

I have not tried using page numbers with this technique, I suspect that each form willrestart at 1.

Regards,Ralph Klassen Sylogist

-----End of Reply Message-----

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Functional, Basis and ABAP Programming Reference Books

Protect...Endprotect-----Original Message-----Subject: Protect...Endprotect

Hi,

Can anyone share what's a PROTECT...ENDPROTECT inSAPScript form?

Thanks.

-----Reply Message-----Subject: RE: Protect...Endprotect

hello!

While using Scripts, if u don't want to break aparagraph text which aparts to another pagei.e. if u wanna display the paragraph with outbreaking in between two pages, u have to useprotect...endprotect.

all the best!

regards

-----End of Message-----

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Functional, Basis and ABAP Programming Reference Books

Retrieving data without modifying the original calledprogram** Retrieving data without modifying the original called program** Put this script code in your sapscripts* /: PERFORM GET_BARCODE IN PROGRAM ZSCRIPTPERFORM* /: USING &PAGE&* /: USING &NEXTPAGE&* /: CHANGING &BARCODE&* /: ENDPERFORM* / &BARCODE&** Submitted by : SAP Basis, ABAP Programming and Other IMG Stuff* http://www.sap-img.com*REPORT ZSCRIPTPERFORM.

FORM GET_BARCODE TABLES IN_PAR STRUCTURE 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 'PAGE'.CHECK SY-SUBRC = 0.PAGNUM = IN_PAR-VALUE.

READ TABLE IN_PAR WITH KEY 'NEXTPAGE'.CHECK SY-SUBRC = 0.NEXTPAGE = IN_PAR-VALUE.

READ TABLE OUT_PAR WITH KEY 'BARCODE'.CHECK SY-SUBRC = 0.IF PAGNUM = 1. OUT_PAR-VALUE = '|'. "First pageELSE. OUT_PAR-VALUE = '||'. "Next pageENDIF.

IF NEXTPAGE = 0. OUT_PAR-VALUE+2 = 'L'. "Flag: last pageENDIF.

MODIFY OUT_PAR INDEX SY-TABIX.

ENDFORM.

*-- End of Program

SAPscripts How to calculate Totals and SubtotalsI have some doubs in BDC and SMART FORMS. I want to change the materialnumber using the transaction code MM02 through BDC.

In scripts and smartforms how to calculate totals and subtotals?

To calculate totals and sub totals in sap scripts you have to use subroutines.

Say if you have to add the unit price (KOMVD-KBERT) then in the main windowwhereever tat value is picked write this routine

/: DEFINE &TOT_PRICE&/: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING&KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM

Then write the variable where ever you want it to be printed (mostly it will be in footerwindow)

Then create subroutine pool program and you have to write the code.

FORM F_GET_PRICE tables int_cond structure itcsy outt_cond structure itcsy. data : value type kbert.

statics value1 type kbert.Read int_cond table index 1.value = int_cond-value.

value1 = value1 + value.

Read outt_cond table index 1.outt_cond-value = value1.Modify outt_cond index 1.

ENDFORM.

I have given a rough outline, please be aware of the variable conversions as Int_cond-value and outt_cond-value are characters.

SAPscripts Tips by: Raj

Fast Links:Get help for your ABAP problemsDo you have a ABAP Question?

SAP BooksSAP Certification, Functional, Basis Administration and ABAP Programming ReferenceBooks

SAP Scripts TipsSAP Sapscripts Tips and Tricks

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP ABAP Programming, Functional and Basis Component Reference Books

SAPScripts - Developing SAPScript in differentlanguagesDeveloping SAPScript in different languages

You can goto transaction SE63 and translate the scripts into different languages.

In SE63, click Translation -> Long Texts -> Sapscripts -> Forms

Those language you can convert to have already been pre-installed in the system.

SE63 is the best way to translate since it offers check options.

However, it does not mean that it is 100% full proof that everything is correct.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Certification, Functional, System Administration and ABAP ProgrammingReference Books

How to convert Sapscript spools request to PDF?SAP have created a standard program RSTXPDFT4 to convert your Sapscripts spoolsinto a PDF format.

Specify the spool number and you will be able to download the sapscripts spool into yourlocal harddisk.

It look exactly like what you see during a spool display.

Please note that it is not restricted to sapsciprts spool only. Any reports in the spool canbe converted using the program 'RSTXPDFT4'.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Certification, Functional, System Administration and ABAP ProgrammingReference Books

How to Upload graphics (IMAGE) to your Sapscript?Command in your Sapscript

/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E

These are the steps to be followed for uploading graphics in R/3 system

1. First save the file as BMP2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and make it Zoom as 100% and save as *.TIFF3. Open SE38 and execute program RSTXLDMC4. Give your TIFF file path name5. Select Bcol (for Color)6. TEXT ID will be ZHEX-MACRO-*.7. Inplace of * write your own logo name (ZCOMPANYLOGO)8. Execute the program9. Now Goto SE71 create your ZFORM10. Create logo window11. Goto text element of logo window

or

In 4.6x :-

1. Goto SE71 Change the mode to GRAPHICAL2. Choose the Graph Tabstrips3. Now type in some name for the LOGO WINDOW4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP5. The code will be written automatically. You just need to drag and drop wherever youwant the graphics to be.

Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Certification, Functional, Basis Administration and ABAP ProgrammingReference Books

Import/Export SapScript form from PC fileHow do you backup sapscript layout sets? Can you download and upload? How?

Use ABAP program: RSTXSCRP

It will download and upload your sapscripts as a text file in your local harddisk.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Functional, Basis and ABAP Programming Reference Books

Picture doesn't show in Print PreviewYou have uploaded the picture as .TIF in Sap using ABAP RSTXLDMC and have alsoadd the statement

/: INCLUDE ZHEX-SAMPLE-PICTURE OBJECT TEXT ID ST LANGUAGE EN

in your SapScript but the problem is that in print preview it's not displaying the picture.

It is normal that the picture doesn't show in print preview and you will be able to see theobject only after printing.

Don't let this bother you as long as the picture is shown on the hardcopy printout.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Functional, Basis and ABAP Programming Reference Books

Delete Load program for SAPScriptOccassionally, when you make frequent changes to your SAPScript, the system can getout of sync.

When you view the form, the old data get display without your changes.

This can be fixed by deleting the SAPScript LOAD with program RSTXDELL.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

Details information about SAP BarcodesA 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 asa material number or batch numberin 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 mostlystandardized on 3 of 9 and 128 barcode symbologies - which all barcode readers supportand 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 tothe 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 formformat 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 associatedwith a particular SAPScript form. The most important aspect is to place a parameter inthe 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 valueto 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 printthat barcode font. Regular laser printers does not normally print barcode fonts, onlyspecialized industrial printers that is specifically designed to support that protocol andthat uses specialized label media and heat transfer (resin) ribbon to create the sharp imagerequired 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 willconvert the barcode symbology as an image that will print on a regular laser printer. Ifound that this option results in less sharper barcodes. This option is really if you need toconvert a large quantity of printers (>10) to support barcodes.

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 barcodewedge reader to hook up between the keyboard and the PC. These wedge readers comesin a wand or scanner format. There are even wireless wedge scanners available thatallows you to roam a few yards from the workstation to scan a label. This approach ismostly used where you want to prevent human errors in typing in long material, batch orserial numbers in receiving or issuing of material. The problem is that it's just replacingthe keyboard input and you are basically locked down in one location and have to bringall the material to that location to process.- Another solution is to use SAPConsole transactionsor write your own ABAP Dialog programs that will fit onto a barcode enabled wirelesshandheld terminal and that will follow the business logic as executed on the shop floor.

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

Content Author: Ravikumar Kandikonda

Do you have a ABAP Question?

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Certification, Functional, Basis Administration and ABAP ProgrammingReference Books

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SapScript Question1) How do you backup script layout sets?2) What type of variables normally used in script to o/p data?3) How do you use tabsets in layouts?

1) Use this Std program RSTXSCRP. 1) First Export to Presentation file(.doc). 2) Whenever you need that Export into SAP.

2) Normally we call them as Program symbols. Those are defined in Driver program.We can use in Script as for exp. &itab-matnr&Other variables ---System symbols : ex &page& ---Std symbols : ---Text symbols :We define them in script editor itself. Ex : /: Define &mysymbol& = 'XX'

3) We can control the tab feed in a paragraph with tab positions. The tab stops us definein the paragraph format replace the tab spacing we defined in the header data of the form.However, this depends on the extent to which we have defined tab stops in the paragraphformat. If there are fewer tabs in the paragraph formats than in the header data, the tabstops of the header data are used for the rest of the line.

SAPscripts Tips by : Venkat O

Q: We get the total number of pages as expected by using 'SAPSCRIPT-FORMPAGES' in a duplex layout. In our case duplex case is always 'Terms &Conditions'. We do not want the number of pages as in duplex printing. What is thebest possible solution?

A: On the Terms & Conditions page, Change the Page counter mode to 'HOLD' to keepthe page counter from incrementing when you print the Term & Conditions.

Q: Can I Print a logo on an Invoice?

A: Save a Logo using Paintshop Pro or Corel Draw as Tiff file. Use RSTXLDMC toconvert the logo to standard text in SapScript. When the program is executed, the pathand file name have to be correctly specified.

Process could be like the following:Run RSTXLDMCEnter file name C:\MAIL\COMPLOGO.TIFResolution for Tiff fileAbsolute X-positionAbsolute Y-positionAbsolute positioningReserved heightShift to rightUOM = CMText titleLine width for text = 132Text name ZHEX-MACRO-COMPLOGOText ID STText language = EPostscript scalingWidth & Height according to PS scalingNumber of Tiff gray levels (2,4,9) 2Then Create a new window 'COMP' with attributes;Window COMP description Company LogoWindow type CONSTLeft margin 7.00 CH window width 10.00 CHUpper margin LN window height 8.00 LN

Finally in the text element , mention/: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.

Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed!

You will not be able to see the logo in a test print. The same will be printed in actualprintout.

If you are using two logos in the same layout, the names of the logos should be unique.Say 'ZHEX-MACRO-LOGO1' and 'ZHEX-MACRO-LOGO2'. Else all the informationwill be overwritten.

If the logo is not EXACTLY TIFF 6.0, the same will not be printed.

See OSS notes 5995, 18045, 39031 for some inputs.

SAPscripts Tips by : Shivanand Patlolla

Fast Links:Get help for your ABAP problemsDo you have a ABAP Question?

SAP BooksSAP Certification, Functional, Basis Administration and ABAP Programming ReferenceBooks

SAP Scripts TipsSAP Sapscripts Tips and Tricks

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

Questions on PO SapScripts MEDRUCK1. When do you modified MEDRUCK? ( IF I SAID I HAVE WORKED ONSCRIPTS).

Generally, we modify existing sap scripts provided by SAP rather than creating one.Unless you have to do something new for your client like Labels or Packaging card, etc.,MEDRUCK is the form for PO.

2. I want to know the procedure to create a purchase order using MEDRUCK.

You don't create a PO using MEDRUCK. MEDRUCK is the form used to print a PO thathas been created.

3. What are the usual changes to be done on MEDRUCK?

Goto SE71, there is an option in Utilities as COPY ffrom Source client (000). Copy thefrom MEDRUCK into a Zname form. The common changes wud b inserting a logo,using Std text for Terms and Conditions, alignment of windows as per client requirement,get xtra data if client is asking for somethign more.

4. How can I access my data from DB to SCRIPTS?

There are structures used in Scripts which hold the data entered by the user. Thesestructures are used to get data from Database.

5. Please send me the one examples in full length.

Look at MEDRUCK form and it would have a print program. you can find in tcodeNACE.

SAPscripts Tips by : Raj

Fast Links:Other SapScipts QuestionSapScript Question

Get help for your ABAP problemsDo you have a ABAP Question?

SAP BooksSAP Certification, Functional, Basis Administration and ABAP Programming ReferenceBooks

SAP Scripts TipsSAP Sapscripts Tips and Tricks

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

A Sample SAP Scripts ReportsAuthor: Mona

CALL FUNCTION 'OPEN_FORM'* EXPORTING* APPLICATION = 'TX'* ARCHIVE_INDEX =* ARCHIVE_PARAMS =* DEVICE = 'PRINTER'* DIALOG = 'X'* FORM = 'ZSCRIPT1'* LANGUAGE = SY-LANGU* OPTIONS =* MAIL_SENDER =* MAIL_RECIPIENT =* MAIL_APPL_OBJECT =* RAW_DATA_INTERFACE = '*'* SPONUMIV =* IMPORTING* LANGUAGE =* NEW_ARCHIVE_PARAMS =* RESULT = EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 MAIL_OPTIONS = 6 ARCHIVE_ERROR = 7 INVALID_FAX_NUMBER = 8 MORE_PARAMS_NEEDED_IN_BATCH = 9 SPOOL_ERROR = 10 CODEPAGE = 11 OTHERS = 12 .IF SY-SUBRC <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.ENDIF.

CALL FUNCTION 'START_FORM'EXPORTING* ARCHIVE_INDEX = FORM = 'ZFORM1'* LANGUAGE = ' '* STARTPAGE = 'X' PROGRAM = 'ZSCRIPT1'* MAIL_APPL_OBJECT =* IMPORTING* LANGUAGE =* EXCEPTIONS* FORM = 1* FORMAT = 2

* UNENDED = 3* UNOPENED = 4* UNUSED = 5* SPOOL_ERROR = 6* CODEPAGE = 7* OTHERS = 8 .IF SY-SUBRC <> 0.* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.ENDIF.

CALL FUNCTION 'WRITE_FORM' EXPORTING* ELEMENT = ' '* FUNCTION = 'SET'* TYPE = 'BODY' WINDOW = 'HEADER'* IMPORTING* PENDING_LINES = EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 BAD_PAGEFORMAT_FOR_PRINT = 7 SPOOL_ERROR = 8 OTHERS = 9 .IF SY-SUBRC <> 0.write:/ 'ERROR IN HEADER'.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.ENDIF.

CALL FUNCTION 'WRITE_FORM' EXPORTING* ELEMENT = ' '* FUNCTION = 'SET'* TYPE = 'BODY' WINDOW = 'MAIN'* IMPORTING* PENDING_LINES = EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 BAD_PAGEFORMAT_FOR_PRINT = 7 SPOOL_ERROR = 8 OTHERS = 9

.IF SY-SUBRC <> 0.write:/ 'ERROR IN HEADER'.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.ENDIF.

CALL FUNCTION 'WRITE_FORM' EXPORTING* ELEMENT = ' '* FUNCTION = 'SET'* TYPE = 'BODY' WINDOW = 'FOOTER'* IMPORTING* PENDING_LINES = EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 BAD_PAGEFORMAT_FOR_PRINT = 7 SPOOL_ERROR = 8 OTHERS = 9 .IF SY-SUBRC <> 0.write:/ 'ERROR IN HEADER'.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.ENDIF.

CALL FUNCTION 'END_FORM'* IMPORTING* RESULT =* EXCEPTIONS* UNOPENED = 1* BAD_PAGEFORMAT_FOR_PRINT = 2* SPOOL_ERROR = 3* CODEPAGE = 4* OTHERS = 5 .

CALL FUNCTION 'CLOSE_FORM'* IMPORTING* RESULT =* RDI_RESULT =* TABLES* OTFDATA =* EXCEPTIONS* UNOPENED = 1* BAD_PAGEFORMAT_FOR_PRINT = 2* SEND_ERROR = 3* SPOOL_ERROR = 4

* CODEPAGE = 5* OTHERS = 6 .Can you explain the difference between 1.open_form and Start form 2.end_form and Close_form.

whether all 4 modules are required in the driver pgm .

Open_form => It assign the form and printer, It should be first.Start_form => It start Writing mode. You can use write_form in loop to write more thanone lines befor End_form.End_form => It end writing mode of current page and will require to start again throughStart_form.Close_form=> it end the Form. After this you can not start again for created file.

Rajiv singh.

Fast Links:Get help for your ABAP problemsDo you have a ABAP Question?

ABAP BooksABAP Certification, BAPI, Java, Web Programming, Smart Forms, Sapscripts ReferenceBooks

SAP Scripts TipsSAP Sapscripts Tips and Tricks

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Smart Forms Goodies Stuff

Practical and helpful SAP SMARTFORMS Stuff to assist those who seek to know moreabout the SAP Smartforms. Companies use SAP Smartforms for form printing such aschecks, labels and barcode.

SAP Smartforms Reference BooksSAP Smart Forms

IntroductionIntroduction to SAP SmartFormsAdvantages of SAP Smart FormsA Simple Smartform Tutorial

SAPscripts and SmartFormsDifference with SMARTFORMS vs. SapScriptFAQ on Migrating SAPscript to SmartFormsConversion of SAPSCRIPT to SMARTFORMS

GeneralSmartForms System FieldsExample Forms Available in Standard SAP R/3A Sample Program Calling Smartforms

Smart Forms FAQSmart forms Frequently Asked QuestionsSmartforms FAQ Part TwoDisplay a contents of a table on SmartForm with LOOP

BarcodesDetails information about SAP Barcodes

SAP ABAP Forum at the convenient of your mail boxExchange ABAP related problems/solutions, program, tips, ideas with other ABAP peersfrom around the globe.Note: An Auto Free ABAP Tips Windows Help File will be send to you upon Joining.

SAP ABAP Forum for ABAP Professional

enter email ad

Quick LinksABAP Tips and Tricks Main Menu

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP ABAP Programming, Functional and Basis Component Reference Books

Introduction to SAP SmartFormsWhat is SAP Smart Forms?SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating andmaintaining forms.

SAP Smart Forms allow you to execute simple modifications to the form and in the formlogic by using simple graphical tools; in 90% of all cases, this won't include anyprogramming effort. Thus, a power user without any programming knowledge canconfigure forms with data from an SAP System for the relevant business processes.

To print a form, you need a program for data retrieval and a Smart Form that contains theentire from logic. As data retrieval and form logic are separated, you must only adaptthe Smart Form if changes to the form logic are necessary. The application programpasses the data via a function module interface to the Smart Form. When activatingthe Smart Form, the system automatically generates a function module. At runtime,the system processes this function module.

You can insert static and dynamic tables. This includes line feeds in individual table cells,triggering events for table headings and subtotals, and sorting data before output.

You can check individual nodes as well as the entire form and find any existing errors in

the tree structure. The data flow analysis checks whether all fields (variables) have adefined value at the moment they are displayed.

SAP Smart Forms allow you to include graphics, which you can display either as part ofthe form or as background graphics. You use background graphics to copy the layout ofan existing (scanned) form or to lend forms a company-specific look. During printout,you can suppress the background graphic, if desired.

SAP Smart Forms also support postage optimizing.

Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C

What Transaction to start SAP Smart Forms?Execute transaction SMARTFORMS to start SAP Smart Forms.

Key Benefits of SAP Smart Forms:SAP Smart Forms allows you to reduce considerably the implementation costs ofmySAP.com solutions since forms can be adjusted in minimum time.

You design a form using the graphical Form Painter and the graphical Table Painter. Theform logic is represented by a hierarchy structure (tree structure) that consists ofindividual nodes, such as nodes for global settings, nodes for texts, nodes for outputtables, or nodes for graphics.

To make changes, use Drag & Drop, Copy & Paste, and select different attributes.

These actions do not include writing of coding lines or using a Script language.

Using your form description maintained in the Form Builder, Smart Forms generates afunction module that encapsulates layout, content and form logic. So you do not needa group of function modules to print a form, but only one.

For Web publishing, the system provides a generated XML output of the processedform.

Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the useof 3rd party printing tools. XSF passes form content from R/3 to an external productwithout passing any layout information about the Smart Form.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Certification, ABAP Programming, Functional and Basis ComponentReference Books

Advantages of SAP Smart FormsSAP Smart Forms have the following advantages:

1. The adaption of forms is supported to a large extent by graphic tools for layout andlogic, so that no programming knowledge is necessary (at least 90% of all adjustments).Therefore, power user forms can also make configurations for your business processeswith data from an SAP system. Consultants are only required in special cases.

2. Displaying table structures (dynamic framing of texts)

3. Output of background graphics, for form design in particular the use of templateswhich were scanned.

4. Colored output of texts

5. User-friendly and integrated Form Painter for the graphical design of forms

6. Graphical Table Painter for drawing tables

7. Reusing Font and paragraph formats in forms (Smart Styles)

8. Data interface in XML format (XML for Smart Forms, in short XSF)

9. Form translation is supported by standard translation tools

10. Flexible reuse of text modules

11. HTML output of forms (Basis release 6.10)

12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)

Best regards,SAP Basis, ABAP Programming and Other IMG Stuff

http://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Functional, Basis Administration and ABAP Programming Reference BooksContributed by : SAP ABAP/4 Programming, Basis Administration, Configuration Hintsand Tips

A Simple Smartform TutorialSAP Smartforms can be used for creating and maintaining forms for mass printing inSAP Systems. The output medium for Smartforms support printer, fax, e-mail, or theInternet (by using the generated XML output).

According to SAP, you need neither have any programming knowledge nor use a Scriptlanguage to adapt standard forms. However, basic ABAP programming skills arerequired only in special cases (for example, to call a function module you created or forcomplex and extensive conditions).

1. Create a new smartforms

Transaction code SMARTFORMSCreate new smartforms call ZSMART

2. Define looping process for internal tablePages and windows

First Page -> Header Window (Cursor at First Page then click Edit -> Node ->Create)Here, you can specify your title and page numbering&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)Main windows -> TABLE -> DATAIn the Loop section, tick Internal table and fill in

ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2

3. Define table in smartforms Global settings : Form interface Variable name Type assignment Reference type ITAB1 TYPE Table Structure

Global definitions Variable name Type assignment Reference type ITAB2 TYPE Table Structure

4. To display the data in the form Make used of the Table Painter and declare the Line Type in Tabstrips Table e.g. HD_GEN for printing header details, IT_GEN for printing data details. You have to specify the Line Type in your Text elements in the Tabstrips Outputoptions. Tick the New Line and specify the Line Type for outputting the data. Declare your output fields in Text elements Tabstrips - Output Options For different fonts use this Style : IDWTCERTSTYLE For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&

5. Calling SMARTFORMS from your ABAP program

REPORT ZSMARTFORM.

* Calling SMARTFORMS from your ABAP program.* Collecting all the table data in your program, and pass once to SMARTFORMS* SMARTFORMS* Declare your table type in :-* Global Settings -> Form Interface* Global Definintions -> Global Data* Main Window -> Table -> DATA** Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming* http://sapr3.tripod.com*

TABLES: MKPF.

DATA: FM_NAME TYPE RS38L_FNAM.

DATA: BEGIN OF INT_MKPF OCCURS 0. INCLUDE STRUCTURE MKPF.

DATA: END OF INT_MKPF.

SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.

SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR. MOVE-CORRESPONDING MKPF TO INT_MKPF. APPEND INT_MKPF.

ENDSELECT.

* At the end of your program.* Passing data to SMARTFORMS

call function 'SSF_FUNCTION_MODULE_NAME' exporting formname = 'ZSMARTFORM'* VARIANT = ' '* DIRECT_CALL = ' ' IMPORTING FM_NAME = FM_NAME EXCEPTIONS NO_FORM = 1 NO_FUNCTION_MODULE = 2 OTHERS = 3.

if sy-subrc <> 0. WRITE: / 'ERROR 1'.* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.endif.

call function FM_NAME* EXPORTING* ARCHIVE_INDEX =* ARCHIVE_INDEX_TAB =* ARCHIVE_PARAMETERS =* CONTROL_PARAMETERS =* MAIL_APPL_OBJ =* MAIL_RECIPIENT =* MAIL_SENDER =* OUTPUT_OPTIONS =* USER_SETTINGS = 'X'* IMPORTING* DOCUMENT_OUTPUT_INFO =* JOB_OUTPUT_INFO =* JOB_OUTPUT_OPTIONS =

TABLES GS_MKPF = INT_MKPF EXCEPTIONS FORMATTING_ERROR = 1 INTERNAL_ERROR = 2 SEND_ERROR = 3 USER_CANCELED = 4 OTHERS = 5.

if sy-subrc <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.endif.

Additional Fonts for your SMARTFORMS

You can create additional fonts and style with transaction SMARTSTYLES

This can then be define in the paragraph and character formats, which you can then beassign to texts and fields in the Smart Form.

The character formats includes effects such as superscript, subscript, barcode and fontattributes.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Functional, Basis Administration and ABAP Programming Reference Books

Difference with SMARTFORMS vs. SapScript(SE71)

The Following are the differences :-

a) Multiple page formats are possible in smartforms which is not the case in SAPScripts

b) It is possible to have a smartform without a main window .

c) Labels cannot be created in smartforms.

d) Routines can be written in smartforms tool.

e) Smartforms generates a function module when activated.

Contributed by : SAP ABAP/4 Programming, Basis Administration, Configuration Hintsand Tips

f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to yourlocal harddisk.

It was said that it was provided in CRM 3.0 version, but not available in R/3. You candownload smartforms into Local PC in a XML format. In the same way you can uploadthis XML format into Smartform. From the smartform editor itself you can calldownload option, if you are working in CRM 3.0 environment.

In R3 also, you can download into XML format. However, it's not sure about uploading.Refer to the program 'SF_XSF_DEMO'.

In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There isfunctionality to downlaod a complete form or only a particular node. (Utilities ->Download form). It will create a XML file and save it in the hard disk.

For others, if you want to download/upload the Smartforms source, you will needthe help from the Basis people. What you can do is to create a Transport and thenFTP down to your local harddisk. When you need the Smartform source inanother system, you have FTP up the Smartforms file back to the SAP server.Finally, the Basis team, will tp it into your system.

g) The protect and endprotect command in sapscript doesn't work with smartforms.For example on a invoice: First data of position no 80. is printed on page one, other dataof position no 80 is printed on page 2. And there's nothing you can do about it. Actually,there is something you can do about it. By using a folder node and checking the'protect' checkbox, everything in that folder will be page protected.

Last review : 30 August 2003

Do you have a ABAP Question?

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP ABAP Programming, Functional and Basis Component Reference Books

FAQ on Migrating SAPscript to SmartFormsIs it possible to migrate a SAPscript form to a Smart Form?Smart Forms provides a migration tool for this purpose which migrates layout and textsof a SAPscript form to a Smart Form. It does not migrate SAPscript form logic of theprint program. Using Smart Forms, this logic is described by the tree structure of theForm Builder. The effort involved in migrating it depends on the complexity of the printprogram.

Which Basis Release do I need to use SAP Smart Forms?SAP Smart Forms is available as of R/3 Basis Release 4.6C.

I have heard that Smart Forms replaces SAPscript. What does "replace" mean?It does not mean that SAPscript is removed from the Basis shipment. Even as of BasisRelease 4.6C, SAPscript remains part of the SAP standard and there are no plans toremove it. Since Smart Forms is currently, and will continue to be, the tool for formmaintenance for mySAP.com solutions, our further development efforts will focus onSmart Forms, not on SAPscript.

Do we have to migrate all SAPscript forms to Smart Forms?There is no point in migrating all SAPscript forms already in use. Since SAPscript canstill be used and will be available in the future, there is no need to. If you plan to migratea SAPscript form, it is recommended that you check whether benefit is worth the effortinvolved.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuff

http://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP ABAP Programming, Functional and Basis Component Reference Books

Conversion of SAPSCRIPT to SMARTFORMSSAP provides a conversion for SAPscript documents to SMARTforms.

This is basically a function module, called FB_MIGRATE_FORM. You can start thisfunction module by hand (via SE37), or create a small ABAP which migrates allSAPscript forms automatically.

You can also do this one-by-one in transaction SMARTFORMS, under

Utilities -> Migrate SAPscript form.

You could also write a small batch program calling transaction SMARTFORMS andrunning the migration tool.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP ABAP Programming, Functional and Basis Component Reference Books

SmartForms System FieldsWithin a form you can use the field string SFSY with its system fields. During form

processing the system replaces these fields with the corresponding values. The fieldvalues come from the SAP System or are results of the processing.

System fields of Smart Forms

&SFSY-DATE&Displays the date. You determine the display format in the user master record.

&SFSY-TIME&Displays the time of day in the form HH:MM:SS.

&SFSY-PAGE&Inserts the number of the current print page into the text. You determine the format ofthe page number (for example, Arabic, numeric) in the page node.

&SFSY-FORMPAGES&Displays the total number of pages for the currently processed form. This allows you toinclude texts such as'Page x of y' into your output.

&SFSY-JOBPAGES&Contains the total page number of all forms in the currently processed print request.

&SFSY-WINDOWNAME&Contains the name of the current window (string in the Window field)

&SFSY-PAGENAME&Contains the name of the current page (string in the Page field)

&SFSY-PAGEBREAK&Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page46])

&SFSY-MAINEND&Is set as soon as processing of the main window on the current page ends

&SFSY-EXCEPTION&Contains the name of the raised exception. You must trigger your own exceptions, whichyou defined in the form interface, using the user_exception macro (syntax:user_exception <exception name >).

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.

All product names are trademarks of their respective companies. The site www.sap-img.com is in no wayaffiliated with SAP AG.

Every effort is made to ensure the content integrity. Information used on this site is at your own risk. The content on this site may not be reproduced or redistributed without the express written permission of

www.sap-img.com or the content authors.

SAP ABAP Programming, Functional and Basis Component Reference Books

Example Forms Available in Standard SAP R/3SF_EXAMPLE_01Simple example; invoice with table output of flight booking for one customer

SF_EXAMPLE_02Similar to SF_EXAMPLE_01 but with subtotals

SF_EXAMPLE_03Similar to SF_EXAMPLE_02, whereby several customers are selected in the applicationprogram; the form is called for each customer and all form outputs are included in anoutput request

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

A Sample Program Calling SmartformsWith Compliments by: Ambekar, Abhijeet

You should use 'SSF_FUNCTION_MODULE_NAME' & call function fm_name in yourprogram & not others.

*&---------------------------------------------------------------------**& Report ZTACA_DRIVER_SMARTFORM**&**&---------------------------------------------------------------------

**&**&**&---------------------------------------------------------------------*

REPORT ZTACA_DRIVER_SMARTFORM .

Tables : sflight.Data : fm_name TYPE rs38l_fnam.

*data : Begin of it_flttab occurs 0,* carrid type sflight-carrid,* connid type sflight-connid,* fldate type sflight-fldate,* seatsmax type sflight-seatsmax,* seatsocc type sflight-seatsocc,* End of it_flttab.

data : it_flttab like table of sflight.Data : g_salary type i .* it_flttab type standard table of ty_flt.g_salary = 1000.

select carrid connid fldate seatsmax seatsocc from sflight intocorresponding fields of table it_flttab.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' EXPORTING formname = 'ZTACA_SMFORM2'* VARIANT = ' '* DIRECT_CALL = ' ' IMPORTING FM_NAME = fm_name EXCEPTIONS NO_FORM = 1 NO_FUNCTION_MODULE = 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.

call function fm_name Exporting salary = g_salary TABLES it_flttab = it_flttab EXCEPTIONS FORMATTING_ERROR = 1 INTERNAL_ERROR = 2 SEND_ERROR = 3

USER_CANCELED = 4 OTHERS = 5 .

IF SY-SUBRC <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF.

Fast Links:Get help for your ABAP problemsDo you have a ABAP Question?

ABAP BooksABAP Certification, BAPI, Java, Web Programming, Smart Forms, Sapscripts ReferenceBooks

ABAP TipsABAP Forum for Discussion and Samples Program Codes for Abapers

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP ABAP Programming, Functional and Basis Component Reference Books

Smart forms Frequently Asked QuestionsForcing a page break within table loop

Create a loop around the table. Put a Command node before the table in the loop thatforces a NEWPAGE on whatever condition you want. Then only loop through a subset ofthe internal table (based on the conditions in the Command node) of the elements in theTable node.

Font style and Font size

Goto Transaction SMARTSTYLES.There you can create Paragraph formats etc just like in sapscript.

Then in your window under OUTPUT OPTIONS you include this SMARTSTYLE anduse the Paragraph and character formats.

Line in Smartform

Either you can use a window that takes up the width of your page and only has a heightof 1 mm.

Then you put a frame around it (in window output options).Thus you have drawn a box but it looks like a line.

Or you can just draw "__" accross the page and play with the fonts so that it joins eachUNDER_SCORE.

Difference between 'forminterface' and 'global definitions' in global settings ofsmart forms

The Difference is as follows.

To put it very simply:

Form Interface is where you declare what must be passed in and out of the smartform (infrom the print program to the smartform and out from the smartform to the printprogram).

Global defs. is where you declare data to be used within the smartform on a globalscope.ie: anything you declare here can be used in any other node in the form.

Smartforms function module name

Once you have activated the smartform, go to the environment -> function module name.There you can get the name of funtion module name.

The key thing is the program that calls it. for instance, the invoice SMARTFORMLB_BIL_INVOICE is ran by the program RLB_INVOICE.

This program uses another FM to determine the name of the FM to use itself. The keything is that when it calls this FM (using a variable to store the actual name), that theparameters match the paramters in your smartform.

Another thing to note is that the FM name will change wherever the SF is transported to.

So you need to use the FM to determine the name of the SF.

Here is the code that can be use to determine the internal name of the function module:

Code:

if sf_label(1) <> '/'. " need to resolve by name move sf_label to externalname. call function 'SSF_FUNCTION_MODULE_NAME' exporting formname = externalname importing fm_name = internalname exceptions no_form = 1 no_function_module = 2 others = 3. if sy-subrc <> 0. message 'e427'. endif. move internalname to sf_label. endif.

It checks to see if the sf_label starts with a '/', which is how the internal names start. if itdoes, the name has already been converted. If not, it calls the FM and converts the name.

You would then CALL FUNCTION sf_label.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Certification, ABAP Programming, Functional and Basis ComponentReference Books

Smartforms FAQ Part TwoSmartforms output differenceProblem with Smartforms: in a certain form for two differently configured printers,

there seem to be a difference in the output of characters per inch (the distancebetween characters which gives a layout problem - text in two lines instead of one.

It happens when the two printers having different Printer Controls' if you go to SPADMenu (Spool Administrator Menu) you can see the difference in the Printer Control andif you make the Printer control setting for both the printers as same. then it will be ok.and also u have to check what is the device type used for both the output devices.

SmartForms Output to PDFThere is a way to download smartform in PDF format.Please do the following:1. Print the smartform to the spool.2. Note the spool number.3. Download a PDF file (Acrobat Reader) version of the spool by running ProgramRSTXPDFT4 and entering thenoted spool number.

SmartForm Doublesided printing questionYour customer wants your PO SmartForm to be able to print "Terms andConditinos" on the back side of each page. They don't want to purchase pre-printedforms with the company's logo on the front and terms & conditions on the back.Now this presents an interesting problem.Has anyone else ever had a request like this? If for example there was a 3 page POto be printed, they want 3 pieces of paper, the front side of each to containe the POinformation (page 1, 2, and 3) and the back side of each piece of paper to containgthe static "Terms & Conditions" information.Anyone have a clue how to force this out?

Easy - page FRONT lists page CONTACTS as next page and CONTACTS lists FRONTas next page. Since CONTACTS does not contain a MAIN window, it will print thecontacts info and then continue on to FRONT for the rest of the main items. Additionally,set print mode on FRONT to D (duplex) and set CONTACTS to 'blank' (for both resourcename and print mode - this is the only way to get to the back of the page).

Transport Smart FormsHow does one transport SMARTFORM? SE01?How do you make sure that both, the SMARTFORM & it's function module getstransported? Or does the FM with same name gets generated automatically in thetransported client?

A smartform is transported no differently than any other object. if it is assigned to adevelopment class that is atteched to a transport layer, it will be transported.The definition is transported, and when called, the function module is regenerated.

This leads to an interetsing situation. On the new machine, it is very likely the functionmodule name will be different than the name on the source system. Make sure, beforeyou call the function module, you resolve the external name to the internal name usingthe 'SSF_FUNCTION_MODULE_NAME' function module.Typically, generate the SF, then use the pattern to being in the interface. Then change thecall function to use the name you get back from the above function module.

Smartforms: protect lines in main window.How to protect lines in the main window from splitting between pages?

It was easy with SAPscript, but how to do it with SF's. For 4.7 version if you are usingtables, there are two options for protection against line break:- You can protect a line type against page break.- You can protect several table lines against page break for output in the main area.

Protection against page break for line types- Double-click on your table node and choose the Table tab page.- Switch to the detail view by choosing the Details pushbutton.- Set the Protection against page break checkbox in the table for the relevant line type.Table lines that use this line type are output on one page.

Protection against page break for several table lines- Expand the main area of your table node in the navigation tree.- Insert a file node for the table lines to be protected in the main area.- If you have already created table lines in the main area, you can put the lines that youwant to protect again page break under the file using Drag&Drop. Otherwise, create thetable lines as subnodes of the file.- Choose the Output Options tab page of the file node and set the Page Protectionoption. All table lines that are in the file with the Page Protection option set are outputon one page.

In 4.6, Alternatively in a paragraph format use the Page protection attribute to determinewhether or not to display a paragraph completely on one page. Mark it if you want toavoid that a paragraph is split up by a page break. If on the current page (only in the mainwindow) there is not enough space left for the paragraph, the entire paragraph appears onthe next page.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.

Every effort is made to ensure the content integrity. Information used on this site is at your own risk. The content on this site may not be reproduced or redistributed without the express written permission of

www.sap-img.com or the content authors.

Display a contents of a table on SmartForm with LOOPThere's a DDIC Table called "Ugyfel" containing 5 rows. I'd like simply to displayall the rows on a SF's Main window.

Please follow this process to display the value from your table "Ugyfel"

1. Go with a transaction code : smartforms2. Enter the form name like : ysmart_forms13. Create4. Enter the Description for the form5. From the left side window there will be a form interface to provide table .....6. Go for tables option7. ugyfel like ugyfel(ref.type)8. Pages and window---> page1---> main window9. Go to the form painter adjust the main window.10. Select main window and right click --> go for create loop11. Name: loop1, desc: display loop.12. Internal table ktab into ktab.13. select loop right click -> create a text14. name : text1, desc: display text.15. Go to change editor.16. Write the mater what ever you want and if you want to display data from the tablewrite the table fields as follows:

&ktab-<field1>& &ktab-<field2>&

save & activate then execute ,, scripts will generate a function module like :'/ibcdw/sf0000031' copy this function module and call in executable program...

For that1. go with abap editor se38.2. table: ugyfel.3. parameters: test like ugyfel-<field1>.4. data itab like ugyfel occurs 0 with header line.5. select * from ugyfel into table itab where field1 = test1.6. call function '/ibcdw/sf0000031'7. tables ktab = itab.

Save and activate the program ( ^f 3).

Now run the program ( f 8)

ALL THE BEST.

SmartForm Tips by : Maheshkumar Gattu

Fast Links:Get help for your ABAP problemsDo you have a ABAP Question?

ABAP BooksABAP Certification, BAPI, Java, Web Programming, Smart Forms, Sapscripts ReferenceBooks

ABAP Programming TipsABAP Forum for Discussion and Samples Program Codes for Abapers

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

Find the list of SAP Transaction codesWhere I can find the list of transaction codes and their usage, I heard that there issome table which contains all the transaction codes with their descriptions.

Listed here are the various ways you can find the list of transaction codes and their usage:

Use transaction SE11 - ABAP Dictionary:

Fill in the Database table name and click the Display button.- TSTC table will contain all the Tcodes and- TSTCT table will contain all the Tcodes with Texts.

Once you entered the screen, click in Top Menu - Utilities - Table contents - Display

If you want to display all the transaction code (total - 57,048) you have to change theFields: Maximum number of hits to 99999 (default 500).

or

Simply goto transaction SM01, although this tcode is to Lock/Unlock any transactioncode, you can also view all the tcode available in the R/3 system from here.

or

Goto transaction SE93

There are two ways where you can find the list of transaction codes in SE93.

Method 1:You must be familiar with the starting characters strings for each of the R/3 applicationmodules.

Assuming you know that most Materials Management transaction codes start with MM.

In the Fields: Transaction code, type in MM* and press the function key F4

The list of transaction code starting with MM will be displayed.

Method 2:On the Top Menu, click Utilities - Find - Execute and the first 500 transaction will bedisplay.

If want to display all the tcodes, make sure you remembered to change the Fields:Maximum no. of hits right at the bottom of the screen.

Related Topics:To get the associated data element descriptions of all the fields in a tableHow to get the field descriptions of a table?

Find Related Application Transaction code using Text searchSearch for SAP Basis Transaction codes

A simple method of changing the SAP Tcode TitleChanging the Title of SAP Transaction

SAP BooksSAP Certification, ABAP Programming, Functional and Basis Component ReferenceBooks

Error!

How to get the field descriptions of a table?I need to get the associated data element descriptions of all the fields in a table. Ithink there's a way to do that using the SELECT statement.

Can you please give me in detail, the various steps and methods to find thecorresponding SAP tables and fields for a particular transaction code, for example(CS03).

Do the following 2 steps. Then create your ABAP program accordingly with theSELECT statement.

1. From table DD03L, give your tablename and get all of its field names andcorresponding data element names.

2. From table DD03T, get the description of each data element you have got in step 1.

Then Use Function Module DDIF_FIELDINFO_GET

The sample program will look like this:

REPORT ZTABLEFIELDNAME.

TABLES: DFIES, X030L.

DATA: BEGIN OF INTTAB OCCURS 100. INCLUDE STRUCTURE DFIES.DATA: END OF INTTAB.

PARAMETERS: TABLENM TYPE DDOBJNAME DEFAULT 'MSEG', FIELDNM TYPE DFIES-FIELDNAME DEFAULT 'MENGE'.

call function 'DDIF_FIELDINFO_GET' exporting tabname = TABLENM FIELDNAME = FIELDNM LANGU = SY-LANGU* LFIELDNAME = ' '* ALL_TYPES = ' '* IMPORTING* X030L_WA = WATAB* DDOBJTYPE =* DFIES_WA =* LINES_DESCR = TABLES DFIES_TAB = INTTAB* FIXED_VALUES = EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2

OTHERS = 3.

if sy-subrc <> 0. WRITE:/ 'Field name not found'. endif.

LOOP AT INTTAB. WRITE:/ INTTAB-TABNAME, INTTAB-FIELDNAME, INTTAB-FIELDTEXT. ENDLOOP.

*** End of ProgramOR

Step 1.Run the transaction and click on System -> Status. Note the program name shown underthe transaction code.

Step 2.Run SE49 and enter the program name you identified in step 1 (SAPLCSDI) and thenpress enter.

This will identify the tables used, however, as you want to know the fields used as wellthen you may have to resort to looking at the actual code (get a developer involved ifyou're not one) using transaction SE80.

In this case the transaction CS03 is assigned to a screen with a function group so it's aslightly tricker process, hence the need for a developers service.

For all the tables, descriptions and fields you can refer to these tables:DD02L : ALL SAP TABLE NAMESDD02T : DESCRIPTION OF TABLE NAMESDD03L : FIELDS IN A TABLE.

Related Links:Find Related Application Transaction code using Text searchSearch for SAP Basis Transaction codes

A simple method of changing the SAP Tcode TitleChanging the Title of SAP Transaction

Get help for your ABAP problemsDo you have a ABAP Question?

SAP Certification, Functional, Basis Administration and ABAP Programming

Reference Books

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Basis Administration, Functional and ABAP Programming Reference Books

Search for SAP Transaction codesYou can access all the transaction codes by using the transaction code 'SDMO'.

This is the transaction code for the Dynamic Menu.

Based on your search string, you can get all related transaction codes for all the SAPapplication modules.

For e.g. the Search text for ADMIN returns the following results:

----------------------------------------------------------|Tcode|Transaktionstext |----------------------------------------------------------|ADOK |AM: System Administration Guide ||BALE |Area Menu for Administration ||BDMO |ALE CCMS Group Administration ||CATSX|Time Sheet Admin.: Initial Screen |

|CICY |CTI Administration ||CJV6 |Maintenance: Version administration ||CN84 |PS: Archiving project - admin. ||COA4 |PP: Archiving order - administration ||CSADM|Content Server Administration ||FC_BW|Administrator Workbench ||FDTA |TemSe/REGUT Data Administration ||FDTT |Treasury Data Medium Administration ||FO86 |Change active admin.contract fees ||FO8E |Create admin.contract event ||FO8F |Change admin.contract event ||FO8G |Display admin.contract event ||FO8H |Admin.costs acct sttlmnt simulation ||FOART|REsearch: Administration Web-User ||HRCMP|Compensation Administration ||HRCMP|Budget Administration: Display ||HRCMP|Budget Administration: Change ||IM_AR|Admin. of App. Request Archives ||KA18 |Archive admin: assess., distr., ... ||KE72 |Archive Administration: Line Items ||KE73 |Archive Administration: Totals Recs ||KPRO |KPRO Administration ||OAAD |ArchiveLink Administration Documents ||OG00 |Personnel Administration Customizing ||OG01 |Personnel Administration Customizing ||OMSM |CS MM Set Up Administrative Data ||OOCM_|Compensation Administration Settings ||OOML |Room Administration Mail Connection ||OOPC |Administration: Personnel No. Check ||OY22 |Create subadministrator Customizing ||OYEA |IDoc administration ||PA97 |Compensation administration - matrix ||PA98 |Compensation Administration ||PA99 |Compensation Admin. - Release Report ||PACA |PF administration ||PAT1 |Personnel Administration infosystem ||PC00_|CBS survey salary administrations ||PC00_|Tax Certificates - Administration 16 ||PP26 |Plan Scenario Administration ||PP2D |Administer Payroll Results ||PSO5 |PD: Administration Tools ||PUCA |PC administration for PF ||PVSEA|Administer Search Engine ||QD25 |Archiving Notifications: Admin. ||S002 |Menu Administration ||SA02 |Academic title (cent. addr. admin.) ||SA04 |Name prefixes (centr. addr. admin.) ||SA05 |Name suffix (centr. addr. admin.) ||SA07 |Address groups (centr. addr. admin.) ||SA08 |Person groups (centr. addr. admin.) ||SA09 |Internat. versions address admin. ||SA10 |Address admin. communication type ||SARA |Archive Administration ||SBPT |Administration Process Technology ||SCC4 |Client Administration ||SCON |SAPconnect - Administration |

|SCOT |SAPconnect - Administration ||SCUA |Central User Administration ||SCUM |Central User Administration ||SE78 |SAPscript: Graphics administration ||SECST|Administration of Secure Memory ||SENG |Administration of External Indexes ||SENGE|Explorer Index Administration ||SIAC1|Web Object Administration ||SLICE|Administer SAP Licenses ||SLWA |Translation Environment Administratn ||SM14 |Update Program Administration ||SP12 |TemSe Administration ||SPAD |Spool Administration ||SPAT |Spool Administration (Test) ||SPHA |Telephony administration ||SPHB |SAPphone: System Administration ||SSAA |System Administration Assistant ||SSCA |Appointment Calendar: Administration ||SSCA1|Appointment calendar: Administration ||SSO2 |Workplace Single Sign-On Admin. ||SSO2_|Workplace Administration SSO2 Ticket ||STMA |Proposal Pool Administration ||SURAD|Survey Administration ||SURL_|Personalization for URL Gen. Admin. ||SUUMD|Display User Administration ||SWDC |Workflow Definition: Administration ||SWEAD|Event Queue Administration ||SWEQA|Event Queue Administration ||SWEQA|Queue Administrator Maintenance ||SWIA |Selection rep. for work items(admin) ||SWRK |Administrtation using work areas ||SWUF |Administration of Runtime System ||SWUL |Customizing: Process Administrator ||SWUX |SAPforms Administration ||SYSAD|System Administration: Task List ||S_ALR|IMG Activity: CIC_V_CCMCTIADMIN ||S_ALR|IMG Activity: SIMG_EURO_ADMINUSER ||S_BCE|IMG-Aktivität: BCDIGSI_ADMIN ||S_PH0|InfoSet Query: Administration ||S_PH0|InfoSet Query: Administration ||S_PH0|InfoSet Query: Administration ||S_PH0|InfoSet Query: Administration ||S_PH0|InfoSet Query: Administration ||TBD0 |Datafeed: Adminster Archives ||TBD3 |Datafeed: Market data administration ||TBD6 |Datafeed: Log file administration ||WE46 |IDoc administration ||WORKI|Administrtation using work areas |----------------------------------------------------------Do you have a SAP Basis Question?

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

Changing the Title of SAP TransactionSometimes, internal user or customer might request you to change the Title of the SAPTransaction code to a more meaningful one and SAP allows this to be done painlessly.

The steps to change the Title of any SAP transaction code are as follows:

First, goto tcode SE63

On the top left Menu of the screen - Click Translation - Short texts - Transactions

For example, assuming you want to change the title of the tcode FB01 from PostDocument to Post Document for G/L. On the first screen, fill in the followinginformation:

Transaction code - FB01

Source Language - EnglishTarget Languate - English

To change the Title, click the Edit button

On the second line, type in the Title (For e.g. Post Document for G/L) you want for thetransaction code

Click the Save button

Now, called up the transaction code /nFB01 again and you should be able to view thenew Title.

Please note that it works for most of the Transaction code except for those new Enjoytransaction code in 4.6x.

Related Topics:

To get the associated data element descriptions of all the fields in a tableHow to get the field descriptions of a table?

Various ways of Getting the list of R/3 transaction codesFind the list of SAP Transaction codes

Find Related Application Transaction code using Text searchSearch for SAP Basis Transaction codes

Get help for your SAP Basis problemDo you have a SAP Basis Question?

Error!SAP R/3 Books List (ABAP, Basis, Functional)Press Ctrl+D to bookmark this page.

SAP Training CD ROMsComputer Based Training on SAP Functional, Basis Administration and ABAP/4Programming

Understanding SAPSams Teach Yourself SAP in 24 Hours (2nd Edition)SAP R/3 for Everyone : Step-by-Step Instructions, Practical Advice, and Other Tips andTricks for Working with SAPGetting Started With Sap R/3 (Prima Techs Sap Book Series)Anticipating Change: Secrets Behind the SAP EmpireExperience SAPFlying Start SAP(R) R/3(R): A Guide to Get You Up and RunningThe Whirlwind Series of SAP: In the Path of the Whirlwind: An Apprentice Guide toSAPSAP: An Executive's Comprehensive GuideSAP(R) Process, Analyze and Understand SAP(R) Processes with Knowledge MapsSpecial Edition Using Sap R/3: The Most Complete Reference (Special Edition UsingSAP R/3)Xylem Structure and the Ascent of SapSAP: Inside the Secret Software PowerSAP: Inside the Secret Sortware Power [DOWNLOAD: ADOBE READER]Sap Rising

Implementing SAPSap R/3 Implementation: Methods and ToolsImplementing SAP R/3: The Guide for Business and Technology Managers (OtherProgramming)Implementing SAP R/3: The Guide for Business and Technology Managers[DOWNLOAD: ADOBE READER]

SAP Planning: Best Practices in ImplementationSAP(R) R/3 Implementation GuideSuccessful SAP R/3 Implementation: Practical Management of ERP ProjectsSAP(R) R/3(R) Process Oriented Implementation: Iterative Process PrototypingImplementing Sap R/3 : How to Introduce a Large System into a Large Organization, 2ndEditionEnterprise Management with SAP SEM / Business AnalyticsWhy ERP? A Primer on SAP ImplementationImplementing SAP R/3 on OS/400 (IBM Redbooks)Capturing the whirlwind : your field guide for a successful SAP implementationGetting Maximum Value from SAP R/3

Dynamic, Accelerated SAP ImplementationDynamic Implementation of SAP(R) R/3(R)Asap Implementation at the Speed of Business: Implementation at the Speed of Business(Sap)Implementing Sap With an Asap Methodology FocusPreconfigured Client Made Easy 4.6C

SAP BusinessSAP Blue Book, A Concise Business Guide to the World of SAPSap R/3 Business Blueprint: Understanding the Business Process Reference ModelWhat Every Business Needs to Know About SAP (Prima Tech's SAP Book Series)SAP R/3 Business Blueprint - The Complete Video Course

Supporting SAPSAP Service and SupportSAP Service und Support [DOWNLOAD: ADOBE READER]Supporting Sap R/3

SAP Quick ReferenceCommon Sap R/3 Functions Manual (Springer Professional Computing)Instant Access: SAP, Reference Card of R/3

SAP CareerFive Steps to an Sap Career: Your Guide to Getting into Sap

SAP ConsultantSAP Consultant HandbookBecoming an SAP Consultant

SAP Data Migration ToolsMigrating Your SAP DataData Transfer Made Easy 4.0B/4.5xTesting SAP(R) R/3(R) Systems: Using the Computer Aided Test Tool

SAP Reporting ToolsSAP R/3 Reporting Made Easy, 4.6C:Fundamentals and Development ToolsReporting Made Easy Guidebook series, Release 4.0BSAP R/3 Reporting Made Easy: 4.6C SETSAP R/3 Reporting & eBusiness IntelligenceAfp Printing for Sap Using R/3 and R/2

Internet Technology of SAPThe E-Business Workplace: Discovering the Power of Enterprise PortalsRoadmap to mySAP.commySAP.com Industry Solutions: New Strategies for Success with SAP's IndustryBusiness UnitsSAP R/3 Reporting & eBusiness IntelligenceThe SAP R/3 on the InternetOnline Store Made Easy 4.6B ¿ Accelerated Internet SellingE-Business and ERP: Transforming the Enterprise

SAP WorkflowPractical Workflow for SAP - Effective Business Processes using SAP's WebFlowEngineWorkflow Management With Sap Webflow: A Practical ManualOptimising Business Performance With Standard Software Systems: How to ReorganiseWorkflows by Chance of Implementing New Erp-Systems (Sap, Baan, Peoplesoft,Navision ...) or New Releases

ABAP CertificationABAP Programming: A Guide to the Certification Course

SAP ABAP/4Introduction to ABAP/4 Programming for SAP, Revised and Expanded EditionDeveloping Sap's R/3 Applications With Abap/4ABAP/4, Second Edition: Programming the SAP(R) R/3(R) SystemThe Official ABAP Reference

Advanced ABAP ProgrammingAdvanced ABAP Programming for SAPEnhancing the Quality of ABAP DevelopmentSAP Interface Programming

ABAP Data Dictionary and Quick ReferenceSoftware Development for Sap R/3: Data Dictionary, Abap/4, InterfacesSap Abap Command ReferenceABAP Language Quick-Reference

SAP ABAP ObjectsABAP Objects: Introduction to Programming SAP Applications with CDROM

ABAP Objects Reference Book

SAPscriptsSAPscript Made Easy 4.6

SmartformsSAP Smart Forms

SAP BAPISAP R/3 Interfacing Using BAPIs; A Practical Guide to Working within the SAPBusiness Framework with CDROM

SAP JAVAThe ABAP Developer's Guide to Java (SAP Press)Foundations of Java for ABAP Programmers (Foundations)Enterprise Java for SAPJAVA Programming With the SAP Web Application Server (Hardcover)

SAP Visual BasicProfessional Visual Basic SAP R/3 ProgrammingSAP R/3 Data Integration Techniques using ABAP/4 and Visual Basic

SAP Web ProgrammingWeb Programming with the SAP Web Application Server

SAP NetWeaverSAP NetWeaver For DummiesSAP NetWeaver TM For Dummies [DOWNLOAD: ADOBE READER]SAP NetWeaver Roadmap

SAP Financial AccountingConfiguring SAP R/3 FI/CO: The Essential Resource for Configuring the Financial andControlling ModulesSAP(R) R/3(R) Financial Accounting: Making It Work For Your BusinessUsing Sap R/3 Fi: Beyond Business Process ReengineeringAccounting Information Systems with SAP CD-ROM, Third Edition

SAP ControllingThe 123s of ABC in SAP: Using SAP R/3 to Support Activity-Based CostingThe 123s of ABC in SAP: Using SAP R/3 to Support Activity-Based Costing[DOWNLOAD: ADOBE READER]

SAP BW CertificationSAP BW Certification: A Business Information Warehouse Study GuideSAP BW Certification: A Business Information Warehouse Study Guide [DOWNLOAD:ADOBE READER]

SAP Business Information WarehouseSAP and BW Data Warehousing: How to Plan and ImplementSAP BW ProfessionalBusiness Information Warehouse for SAPSAP BW: A Step by Step GuideMastering the SAP Business Information WarehouseMastering the SAP Business Information Warehouse [DOWNLOAD: ADOBEREADER]SAP BW Reporting Made Easy, 2.0B/2.1CCorporate Information With Sap-Eis: Building a Data Warehouse and a Mis - ApplicationWith in SightSAP and BW Data Warehousing [DOWNLOAD: ADOBE READER]

SAP Supply Chain ManagementSAP R/3 Business Blueprint: Understanding Enterprise Supply Chain Management (2ndEdition)Supply Chain Management Based on SAP Systems

SAP Materials ManagementSAP MM Certification and Interview Questions: SAP MM Interview Questions,Answers, and ExplanationsInstant Access: Sap Reference for Materials ManagementAdministering Sap R/3 : Mm-Materials Managment Modules

SAP MM Premium PaperSAP MM Inventory Management OverviewA Step by Step Guide to the SAP MM Inventory Management Configurations

SAP Sales and DistributionImplementing SAP Sales and DistributionSales and Distribution With Sap: Making Sap Sd Work for Your BusinessInstant Access: SAP, Reference for Sales and DistributionSAP Processes: Sales and Customer Service (With CD-ROM)

SAP Customer Relationship ManagementmySAP CRM: The Offcial Guide to SAP CRM Release 4.0

SAP Production PlanningAdministering SAP R/3: The Production and Planning Modules

SAP PP Premium PaperA Step by Step Guide to the SAP PP Production Shop Floor Control Configurations

SAP APOReal Optimization with SAP APOThe SAP APO Knowledge Book - Supply and Demand Planning

SAP APO System Administration

SAP Plant MaintenanceSAP(R) R/3(R) Plant Maintenance: Making It Work for Your BusinessEnterprise Asset Management : Configuring and Administering SAP R/3 PlantMaintenance

SAP Service ManagementInter-Organizational Cooperation With Sap Systems: Perspectives on Logistics andService Management (Sap Excellence)

SAP Quality ManagementSAP(R) R/3(R) Quality Management: Making It Work for Your Business

SAP Project ManagementProject Management with SAP(R) R/3(R)SAP Consulting and Project Management (Book/CD-ROM package)

SAP Human ResourceMysap HR Interview Questions, Answers, and Explanations: SAP HR CertificationReviewmySAP HR: Technical Principles and ProgrammingHR Personnel Planning and Development Using SAPAdministering SAP R/3: HR - Human Resources ModuleSAP Employee Self-Service, Installation Guide, Release 4.5Sap Documentation and Training Development GuideSAP End User Training Plan

SAP Certification for MM, SD, PP, FI, COSap R/3 Certification Exam Guide

SAP Travel ManagementBusiness Process Redesign in Travel Management in an SAP R/3 Upgrade Project[DOWNLOAD: PDF]

SAP Retail IndustryRetail Information Systems Based on SAP Products

SAP Basis AdministrationSAP Basis Administration for WindowsSAP R/3 System Administration : The Official SAP GuideSystem Administration Made Easy, 4.6C/DBasis Administration for SAPSAP(R) R/3(R) AdministrationSAP R/3 Administrator's HandbookSAP R/3 Administration For Dummies

SAP Electronic Data InterchangeALE, EDI, and IDoc Technologies for SAP

SAP TransportSap R/3 Change and Transport Management: The Official Sap Guide (Official SapGuide)

SAP ArchivingArchiving your SAP DataEfficient SAP R/3-Data Archiving : How to Handle Large Data Volumes

SAP AuthorizationsR/3 Authorization Made Easy 4.6A/BSAP Authorization System: Design and Implementation of Authorization concepts forSAP R/3 and SAP Enterprise Portals

SAP SecuritySecurity and Data Protection for SAP Systems

SAP Operating System and Performance Fine TuningSAP Performance Optimization Guide , Third EditionSAP System Landscape OptimizationSAP Hardware Solutions : Servers, Storage and Networks for mySAP.comNetwork Resource Planning For SAP R/3, BAAN IV, and PeopleSoft: A Guide toPlanning Enterprise Applications

SAP OracleOracle SAP Administration (O'Reilly Oracle)SAP R/3 and Oracle: Backup & Recovery

SAP MircosoftImplementing Sap R/3 Using Microsoft Cluster ServerSAP Database Administration with Microsoft SQL Server 2000SAP(R) R/3(R) and Windows NTOptimizing IBM Netfinity Servers for Sap R/3 and Windows NtBackup Solutions for Sap R/3 4.5B on Netfinity Servers Running Windows Nt

SAP AIXA Holistic Approach to a Reliable Infrastructure for Sap R/3 on Aix

SAP LinuxSap on DB2 Udb for Os/390 and Z/OS: Implementing Application Servers on Linux forZseries

SAP DB2Database Administration Experiences: Sap R/3 on DB2 for Os/390

Sap R/3 on DB2 Udb for Os/390: Application Servers on Os/390Sap R/3 on DB2 for Os/390: Database Availability ConsiderationsSap R/3 on DB2 for Os/390: Implementing With Aix or Windows Nt ApplicationsServersSap R/3 on DB2 for Os/390: Disaster RecoveryHigh Availability Considerations: Sap R/3 on DB2 for OSDB2 Universal Database and SAP R/3 Version 4Sap on DB2 for Z/OS and Os/390 DB2 System Cloning

SAP TivoliUsing Tivoli to Manage a Large-Scale Sap R/3 EnvironmentManaging SAP R/3 with Tivoli

SAP InformixSAP R/3 for the Informix DBA

Search www.amazon.com for more SAP books

SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

SAP Certification, Functional, System Administration and ABAP ProgrammingReference Books

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

Easy to Remember (SAP Transaction Codes)Content Author: AnandAuthor email: [email protected]

SPRO DEFINE ITEM CATEGORY

MM01 CREATE MATERIALMM02 MODIFY MATERIALMM03 DISPLAY MATERIALMMS1 CREATE MATERIAL MASTERMMS2 CHANGE MATERIAL MASTERMMS3 DISPLAY MATERIAL MASTERMB1C MAINTAIN STOCKMMPI INITIALISE PERIOD FOR MASTER MATERIAL RECORDFROM COCODEMMBE CREATE STOCKMM60 MATERIAL LISTXD01 CREATE CUSTOMERXD02 MODIFY CUSTOMERXD03 DISPLAY CUSTOMERVA01 CREATE ORDERVA02 CHANGE ORDERVA03 DISPLAY ORDERVA11 CREATE INQUIRYVA12 CHANGE INQUIRYVA13 DISPLAY INQUIRYVA21 CREATE QUOTATIONVA22 CHANGE QUOTATIONVA23 DISPLAY QUOTATIONVD02 CHANGE SALES PROSPECTVD03 DISPLAY SALES PROSPECTVD04 DISPLAY CHANGESVD06 FLAG FOR DELETIONVK11 MAINTAINING PRICINGVK0A ASSIGN G/L ACCOUNT GENERALVOK0 PRICINGVOR1 DEF COMMON DIST CHANELVOR2 DEF COMMON DIVVOV6 DEFINE SCHEDULE LINESVOV8 DEFINE SALES DOC TYPEVOFA CREATE/OR CHANGE BILLING TYPES CONFIGURATIONV129 DEFINE INCOMPLETENESS SCHEMAS FOR FOREIGN TRADEV149 ASSIGN INCOMPLETENESS SCHEMAS FOR COUNTRY CODECA01 CREATE ROUTINGCA02 EDIT ROUTINGCA03 DISPLAY ROUTINGCS01 CREATE BOMCS02 CHANGE BOMCS03 DISPLAY BOMOVK1 DEFINE TAX DET RULESOVK3 DEF TAX REL OF MASTER RECORDS CUSTOMER TAXESOVK4 DEF TAX REL OF MASTER RECORDS MATERIAL TAXESOVR6 DEF LEGAL STATUSESOVS9 DEF CUSTOMER GRPOVRA MAINT STATISTICS GRPS FOR CUSTOMERSOVRF MAINT STATISTICS GRPS FOR MATERIALOVXC ASSIGN SHIIPING POINT TO PLANTOVX6 ASSIGN PLANT TO S.O AND DIST CHANELOVLK DEFINE DELIVERY TYPEOVSG DEFINE INCOTERMSOVLH DEFINE ROUTESOVXM ASSIGN SALES OFF TO SALES AREAOVXJ ASSIGN SALES GRP TO SALES OFFICE

OMS2 MATERAIL UPDATEOVLP DEFINE ITEM CATEGORY FOR DELIVERYOX10 ASSIGN DEL PLANTS FOR TAX DETO/S2 DEFINE SERIAL NO PROFILEO/S1 DEFINE CENTRAL CONTROL PARAMETERS FOR SR NOOBB8 DEFINE TERMS OF PAYMENTOKKP ACTIVATION OF COMPONENETSVB01 CREATE REBATE AGGREMENTSVB02 CHANGE REBATE AGREMENTVB03 DISPLAY REBATE AGGREMENTVB31 CREATE PROMOTIONVB32 CHANGE PROMOTIONVB33 DISPLAY PROMOTIONVB21 CREATE SALES DEALVB22 CHANGE SALES DEALVB23 DISPLAY SALES DEALVB25 LIST OF SALES DEALVB35 PROMOTION LISTVKA4 CREATE ARCHIVE ADMINISTRATIONVKA5 DEL ARCHIVE ADMINISTRATIONVKA6 RELOAD ARCHIVE ADMINISTRATIONVC/1 CUSTOMER LISTVC/2 CREATE SALES SUMMARYVDH2 DISPLAY CUSTOMER HIERARCHYVF01 CREATE PROFORMA INVOICEVF02 CHANGE PROFORMAINVOICEVF03 DISPLAYPROFORMA INVOICEVF07 DISPLAY FROM ARCHIVEVF11 CANCEL BILLVFX3 BLOCKED BILLING DOCVFRB RETRO BILLINGVF04 MAINTAIN BILL DUE LISTVF06 BACKGROUND PROCESSINGVF21 CREATE INVOICE LISTVF22 CHANGE INVOICE LISTVF23 DISPLAY INVOICE LISTVF44 MAINT REVENUE LISTVF45 REVENUE REPORTSVF46 MAINT CANCELLATION LISTVF31 ISSUE BILLING DOCVFP1 SET BILLING DATEVARR ARCHIVE DOCUMENTSVL01N CREATE DELIVERYVL02N TO CHANGE DELIVERY WHICH IS ALREADY CREATEDVL03N DISPLAY DELIVERYV/08 TO CHANGE CONDITION (PR PROCEDURE)V/30 DEFINE PRINT PARAMETERSFD32 SETTING CREDIT LIMIT FOR CUSTOMER/NSM12 TO REMOVE LOCK ENTRYSM30ND59 LIST CUSTOMER MATERIAL INFOVB0F UPDATE BILL DOCRelated Topics:To get the associated data element descriptions of all the fields in a tableHow to get the field descriptions of a table?

Find Related Application Transaction code using Text searchSearch for SAP Basis Transaction codes

A simple method of changing the SAP Tcode TitleChanging the Title of SAP Transaction

SAP BooksSAP Certification, ABAP Programming, Functional and Basis Component ReferenceBooks

Error!Basic Knowledge and System Navigation QuestionHow to close a window?

If we want to stop a transaction in the middle, Right click on the end button (X) on thetop right corner of the window. Then select "stop transaction".As we dont have STOP icon as we have in WINDOWS, this will help in the same way.

Its a very small tip, but will help a lot.

With Compliment by: Bhaskar

Name two ways to start a transaction.- Dynamic Menu- Command Field

Why do you create user-specific parameters?They supply defaults to R/3 fields. If a field is indicated, the system automatically fills indefault value. Depending on the field definition, the entry can also be replaced with avalue entered by the user. (Concept of PARAMETER ID)

Name the three different kinds of messages in the R/3 system. What is the differencebetween them?A message can have five different types. These message types have the following effectsduring list processing:

A (=Abend):The system displays a message of this message type in a dialog window. After the userconfirms the message using ENTER, the system terminates the entire transaction (forexample SE38).

E (=Error) or W (=Warning):The system displays a message of this message type in the status line. After the user

chooses ENTER, the system acts as follows:While creating the basic list, the system terminates the report.While creating a secondary list, the system terminates the corresponding processing blockand keeps displaying the previous list level.

I (=Information):The system displays a message of this message type in a dialog window. After the userchooses ENTER , the system resumes processing at the current program position.

S (=Success):The system displays a message of this message type on the output screen in the status lineof the currently created list.

What is a data dictionary or repository?Central catalog that contains the descriptions of an organization's data and providesinformation about the relationships between the data and its use in programs and screens.The data descriptions in a Data Dictionary is also called metadata, i.e., data that describesother data.

The ABAP/4 Dictionary stores system-wide data definitions. When you create a new datadefinition, the Dictionary tool does all the processing necessary to create the definition.You can use the Dictionary tool to look up the "definition" of objects in your R/3 System.

What is a matchcode?Comparsion key. A matchcode allows you to locate the key of a particular databaserecord (e.g. account number) by entering any field value contained in the record. Thesystem then displays a list of records matching the specifications.

If you want an end user to see a specific menu after logging on the R/3 system, howcould you do that?User maintenance transactions allow the system administrator to create and maintain usermaster records. This includes the generation and assignment of authorizations andauthorization profiles.

With Compliment by: Rohan

Related Links:More than 100 ABAP Interview faq's

SAP BooksSAP Certification, ABAP Programming, Functional and Basis Component ReferenceBooks

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Certification, Functional, Basis Administration and ABAP ProgrammingReference Books

SAP BW FAQBW Query Performance

Question:1. What kind of tools are available to monitor the overall Query Performance?

Answers:o BW Statisticso BW Workload Analysis in ST03N (Use Export Mode!)o Content of Table RSDDSTAT

Question:2. Do I have to do something to enable such tools?

Answer:o Yes, you need to turn on the BW Statistics: RSA1, choose Tools -> BW statistics for InfoCubes

(Choose OLAP and WHM for your relevant Cubes)

Question:3. What kind of tools are available to analyse a specific query in detail?

Answers:o Transaction RSRTo Transaction RSRTRACE

Question:4. Do I have a overall query performance problem?

Answers:o Use ST03N -> BW System load values to recognize the problem. Use the number given in table 'Reporting - InfoCubes:Share of total time (s)' to check if one of the columns %OLAP, %DB, %Frontend shows a high number in all InfoCubes.o You need to run ST03N in expert mode to get these values

Question:5. What can I do if the database proportion is high for all queries?

Answers:Check:o If the database statistic strategy is set up properly for your DB platform (above all for the BW specific tables)o If database parameter set up accords with SAP Notes and SAP Services (EarlyWatch)o If Buffers, I/O, CPU, memory on the database server are exhausted?o If Cube compression is used regularlyo If Database partitioning is used (not available on all DB platforms)

Question:6. What can I do if the OLAP proportion is high for all queries?

Answers:Check:o If the CPUs on the application server are exhaustedo If the SAP R/3 memory set up is done properly (use TX ST02 to find bottlenecks)o If the read mode of the queries is unfavourable (RSRREPDIR, RSDDSTAT, Customizing default)

Question:7. What can I do if the client proportion is high for all queries?

Answer:

o Check whether most of your clients are connected via a WAN Connection and theamount of data which is transferred is rather high.

Question:8. Where can I get specific runtime information for one query?

Answers:o Again you can use ST03N -> BW System Loado Depending on the time frame you select, you get historical data or current data.o To get to a specific query you need to drill down using the InfoCube nameo Use Aggregation Query to get more runtime information about a single query. Use tab All data to get to the details. (DB, OLAP, and Frontend time, plus Select/ Transferred records, plus number of cells and formats)

Question:9. What kind of query performance problems can I recognize using ST03N values for a specific query?

Answers:(Use Details to get the runtime segments)o High Database Runtimeo High OLAP Runtimeo High Frontend Runtime

Question:10. What can I do if a query has a high database runtime?

Answers:o Check if an aggregate is suitable (use All data to get values "selected records to transferred records", a high number here would be an indicator for query performance improvement using an aggregate)o Check if database statistics are update to data for the Cube/Aggregate, use TX RSRV output (use database check for statistics and indexes)o Check if the read mode of the query is unfavourable - Recommended (H)

Question:11. What can I do if a query has a high OLAP runtime?

Answers:o Check if a high number of Cells transferred to the OLAP (use "All data" to get value "No. of Cells")

o Use RSRT technical Information to check if any extra OLAP-processing is necessary (Stock Query, Exception Aggregation, Calc. before Aggregation, Virtual Char. Key Figures, Attributes in Calculated Key Figs, Time-dependent Currency Translation) together with a high number of records transferred.o Check if a user exit Usage is involved in the OLAP runtime?o Check if large hierarchies are used and the entry hierarchy level is as deep as possible. This limits the levels of the hierarchy that must be processed. Use SE16 on the inclusion tables and use the List of Value feature on the column successor and predecessor to see which entry level of the hierarchy is used.- Check if a proper index on the inclusion table exist

Question:12. What can I do if a query has a high frontend runtime?

Answers:o Check if a very high number of cells and formattings are transferred to the Frontend ( use "All data" to get value "No. of Cells") which cause high network and frontend (processing) runtime.o Check if frontend PC are within the recommendation (RAM, CPU Mhz)o Check if the bandwidth for WAN connection is sufficient

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com

Mini SAP System Requirement and How to Get itMini SAP System Requirement

The system Requirements are :

General RequirementsOperating System:Windows 2000 (Service Pack2 or higher);Windows XP (Home or Professional);Windows NTLinuxInternet Explorer 5.01 or higherAt least 192 MB RAM (recommended to have 256 MB of RAM)At least 512 MB paging fileAt least 3.2 GB disk space (recommended to have 6 GB hard disk drive space)(120 MB DB software, 2.9 GB SAP data, 100 MB SAP GUI + temporary free space for

the installation)The file C:\WINNT\system32\drivers\etc\services (Windows 2000) or

C:\Windows\system\32\drivers\etc\services (Windows XP) must not include an entry forport 3600.A possible entry can be excluded by using the symbol '#'.No SAPDB must be installed on your PC.The hostname of the PC must not be longer than 13 characters.The Network must be configured for installation andthe MS Loopback Adapter must be configured when you start the system without anetwork connection!

Special Requirements for Installations on Windows XPIn the file C:\Windows\system\32\drivers\etc\hosts the current IP address and the hostname must be defined as<IP address><Host name>Open the network connectivity definition with start->control panel->network connectionsfor defining the network connection. Select ->extended-> allow other users in network.Activate new configurations.Select remote desktop within extended configuration menu.

*********

How to get Mini SAP?

In order to get the free Mini SAP, you need to buy the following book where in you willget two CD's of SAP WAS 6.10 (Web Application Server) which can be installed in yoursystem and practice ABAP programming etc...

*******

You can get your MiniSAP with the book :-

ABAP Objects: An introduction to Programming SAP Applicationsby Horst Keller, Sascha Kruger. SAP Press.ISBN 0-201-75080-5.It comes with 2 cds (Mini Basis SAP kernel + database).It also includes the SQL server.

or

ABAP Objects Reference Book H. Keller, J. Jacobitz SAP PRESS 1100 S., 2003, geb.,mit 2 CDs 129,95 Euro, ISBN 1-59229-011-6 lieferbar

The first complete language reference book for ABAP!

This book represents the first complete and systematic language reference book forABAP Objects.

Organized according to subject areas, the book offers a description of all statements usedfor developing programs and classes in ABAP and ABAP Objects (including the currentrelease, 6.20).

Therefore, not only will you quickly find explanations and examples of the command youare looking for, you will also get a complete overview of all relevant contexts of use.Changes introduced between releases 6.10 and 6.20 are highlighted. Each subject areastarts with an introduction to the concepts associated with it. Notes on possible errormessages and practical recommendations make this an extremely useful manual, furtherenhanced with a detailed glossary covering all the key terms used in the book.

Special bonus! Includes SAP Web AS 6.10 on two CDs.

**************

Alternatively, if you are a customer of SAP and have an OSS user-id, then you can alsobuy the Minisap software directly from the Sap service market.

https://www010.sap-ag.de/knowledgecat

Search for "MiniSAP Basis 4.6D November 2000 (English)" (Item nbr. : 50043446).

Minisap contains only SAP BASIS where you can do your ABAP.

It will costs you 25 EURO.

**************

SAP Reference BooksSAP Certification, Basis Administration, Functional and ABAP Programming ReferenceBooks

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP BW Tips and Business Information Warehouse Discussion Forum

SAP Business Information Warehouse (BW) is SAP´s Data Warehouse solution. It hasbeen specially developed to allow you to gather and analyze all kinds of statisticalinformation in the best possible way.

The SAP Business Information Warehouse (SAP BW) is a core element of mySAP.com.SAP BW is an enterprise-wide information hub that enables data analysis from R/3 andother business application, including external data sources such as databases and theInternet. SAP BW also offers easy integration with other mySAP solutions, such asmySAP Supply ChainManagement (mySAP SCM), mySAP Strategic Enterprise Management (mySAP SEM),and mySAP Customer Relationship Management (mySAP CRM).

SAP BW is a comprehensive end-to-end data warehouse solution with optimizedstructures for reporting and analysis. To help knowledge workers quickly mine anenterprise’s business data, SAP BW is equipped with preconfigured information modelsand reports, as well as automatic data extraction and loading methods.

With an easy-to-use Microsoft Excel-based user interface, you can create, format, andanalyze reports, and publish those reports to the web. Built for high performance, SAPBW resides on its own dedicated server. Online Transaction Processing (OLTP) andreporting activities are therefore separated, and system performance is not compromised.

If you have any SAP Business Information Warehouse queries, please feel free to raise itin the SAP BW Forum.

Share a SAP BW Tips with the Business Information Warehouse community bySubmitting a SAP BW Tips.All submissions will be recognized along with the tip.IntroductionThe Three Layers of SAPBWData WarehouseBusiness InformationWarehouseUse of manual securityprofiles with BW

ComparisonMain Advantages of BW 3.0over 2.1Pros and Cons of Webagainst BEX

SAP BW Certification BooksSAP BW Certification: A Business InformationWarehouse Study Guide [DOWNLOAD: ADOBEREADER]

SAP BW Reference BooksSAP BW: A Step by Step Guide

Mastering the SAP Business Information Warehouse[DOWNLOAD: ADOBE READER]

SAP Training CBTComputer Based Training on SAP Functional, BasisAdministration and ABAP/4 Programming

Data UploadingData load in BWDifference in number ofdata records

BW TablesR/3 Source Table.field -How To Find

ReportingBW versus R/3 Reporting

ErrorsError in transportBW ERROR : replicate datafrom source system

SAP BW Frequently AskedQuestionSAP BW FAQSAP BW InterviewQuestions 1SAP BW InterviewQuestions 2My SAP BW CertificationExperience

InfocubeInfocube CompressionHow to Compress InfoCube DataCube to Cube Load

GeneralHuge Performance Problems on SAP BW 3.10How to build an extractor?The query could not be saved due to a problem in transportODS infosource not showing upQuery View WorkbookStop a scheduled infopacketBEX Query AuthorizationsSAPConsoleDelete unwanted Objects in QA systemLO Cockpit Step By Step

SAP Business Information Warehouse Forum at the convenient of your mail boxExchange SAP BW problems/solutions, tips, ideas with other SAP BW peers fromaround the globe.SAP BW Forum for BW Professional

enter email ad

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Certification, Functional, Basis Administration and ABAP ProgrammingReference Books

The Three Layers of SAP BWSAP BW has three layers:

Business Explorer: As the top layer in the SAP BW architecture, the BusinessExplorer (BEx) serves as the reporting environment (presentation and analysis)for end users. It consists of the BEx Analyzer, BEx Browser, BEx Web, and BExMap for analysis and reporting activities.

Business Information Warehouse Server: The SAP BW server, as the middlelayer, has two primary roles:• Data warehouse management and administration: These tasks are handled by theproduction data extractor (a set of programs for the extraction of data from R/3OLTP applications such as logistics, and controlling), the staging engine, and theAdministrator Workbench.• Data storage and representation: These tasks are handled by the InfoCubes inconjunction with the data manager, Metadata repository, and Operational DataStore (ODS).

Source Systems: The source systems, as the bottom layer, serve as the datasources for raw business data. SAP BW supports various data sources:• R/3 Systems as of Release 3.1H (with Business Content) and R/3 Systems priorto Release 3.1H (SAP BW regards them as external systems)• Non-SAP systems or external systems• mySAP.com components (such as mySAP SCM, mySAP SEM, mySAP CRM,or R/3 components) or another SAP BW system.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

SAP Data Warehouse-----Original Message-----Subject: Data Warehouse

We have large amounts of historical sales data stored on our legacy

system (i.e. multiple files with 1 million+ records). Today the usersuse custom written programs and the Focus query tool to generatesales'ish type of reports.We are wanting that existing legacy system to go away and need to finda home for the data and the functionality to access and report on thatdata. What options does SAP afford for data warehousing? How does itaffect the response of the SAP database server?

We are thinking of moving the data onto a scaleable NT server withlarge amounts of disk (10gb +) and using PC tools to access the data.In this environment, our production SAP machine would perform weeklydata transfers to this historical sales reporting system.

Has anybody implemented a similar solution or have any ideas on a goodattack method to solve this issue?

Thanks in advance.

-----Reply Message-----Subject: RE: Data Warehouse

Hi,

You may want to look at SAP's Business Information Warehouse. This is theiranswer to data warehousing. I saw a presentation on this last October atthe SAP Technical Education Conference and it looked pretty slick. BIW runson its own server to relieve the main database from query and reportprocessing. It accepts data from many different types of systems and has adetailed administration piece to determine data source and age. Althoughthe Information System may be around for sometime it sounded like SAP ismoving towards the Business Information Warehouse as a reporting solution.

-----End of Message-----

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

SAP Business Information Warehouse-----Original Message-----

Subject: Business Information Warehouse

Ever heard about apples and oranges. SAP/R3 is an OLTP system where as BIWis an OLAP system. LIS reports can not provide the functionality providedby BIW.

-----Reply Message-----Subject: Business Information Warehouse

Hello,

The following information is for you to get more clarity on the subject:SAP R/3 LIS (Logistic Information System) consist of infostructures (whichare representation of reporting requirements). So whenever any event (goodsreciept, invoice reciept etc. ) takes place in SAP R/3 module, if relevantto the infostructure, an corresponding entry is made in the infostructures.Thus infostructures form the database part of the datawarehouse. Forreporting the data (based on OLAP features such drill-down, abc, graphicsetc.), you can use SAP R/3 standard analysis (or flexible analysis) orBusiness Warehouse (which is excel based) or Business Objects (which isthird party product but can interface with SAP R/3 infostructures using BAPIcalls).

In short, the infostructures (which are part of SAP R/3 LIS) form the databasis for reporting with BW.

Regards

-----End of Message-----

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

Use of manual security profiles with SAP BW-----Original Message-----Subject: Use of manual security profiles with BW? (Business Information Warehouse)

Our company is currently on version 3.1H and will be moving to 4.6B latesummer 2000. Currently all of our R/3 security profiles were created

manually. We are also in the stage of developing and going live with theadd-on system of Business Warehouse (BW). For consistency, we have wishto use manual profiles within the BW system and later convert all of ourmanual security profiles (R/3 and BW) to profile generated ones.

Is there anyone else that can shed any light on this situation? (Successor problems with using manual security profiles with BW?)

Any feedback would be greatly appreciated.

Thank you,

-----Reply Message-----Subject: Use of manual security profiles with BW? (Business Information Warehouse)

Hi ,You are going to have fun doing this upgrade. The 4.6b system is acompletely different beast than the 3.1h system. You will probably find alot of areas where you have to extend you manually created profiles tocover new authorisation objects (but then you can have this at any level).

In 4.6b you really have to use the profile generator, but at least there isa utility to allow you to pick up your manually created profile and have itconverted to an activity group for you. This will give you a running startin this area, but you will still have a lot of work to do.

The fact that you did not use PG at 3.1h will not matter as it changed at4.5 too and the old activity groups need the same type of conversion (weare going through that bit right now).

Hope this helps

-----End of Message-----

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

Main advantages of BW 3.0 over 2.1C

Here's a brief list, without detailed explanations :-

- XML support for reading and writing metadata and data.- Web application designer: graphically design and publish web reports and webapplications.- Open Hub Service for distributing data to other tables/systems on a schedule. It supports selection, projection, and aggregation. Integrated into the BW monitor.- Process Chains and graphical scheduler for automating complex processes. Supports branching, condition testing, etc. Enables you to schedule all admin functionsin a graphical, drag-and-drop fashion, including extracts, index drops and rebuilds, activating data, compressing,rolling up to aggregates, etc.- Transactional ODS objects with read/write API.- Transfer rules for hierarchies.- Subtree insert and subtree update for hierarchies.- Active attributes on hierarchies (sign flip, etc.)- Load, stage, and merge master data to ODS.- DB Connect Service allows BW to extract data from any DBMS supported by SAP R/3.- Formula editor in transfer and update rules to avoid ABAP coding.- Toolbox of standard transformations such as substring, look up data in a table,concatenate, offset and length, arithmetic operations, etc.- Parallel loading into a single ODS object.- Secondary index maintenance for ODS objects built in to BW Admin Workbench.- Multiprovider: Use ODS objects, master data, and cubes in a multicube (now calledmultiprovider.)- New InfoSet Concept: join tabular data together and make it available for reporting.You can join ODS objects, master data tables, etc.- Archiving: Built-in tools to archive data on a schedule using selection criteria. Integrated into BW monitor; archived data deleted from InfoCubes and correspondingaggregates. Support for re-loading data from archives as necessary.- BW Monitor includes all activities of process chains, open hub service, and archiving.- Use multiple hierarchies in a BW query.- Use a mix of hierarchies and characteristics on rows or columns in a BW query.- Use restricted key figures in a calculated key figure.- Generate static, offline web reports.- BEx Cell Editor: In queries with two structures, you can now reference cells at theintersections of rows and columns.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

Pros and Cons of Web against BEX1. Web reporting is faster then Excel, there is less overhead in executing Web

reporting as opposed to Excel. (Whitepaper on SAP about this.)2. There is not anymore work in formatting or creation of templates then in

comparison to workbooks.3. Query creation is the same as in BEX, so there is no new knowledge there.4. Yes, knowledge of HTML is needed, but if you use the standard CSS templates,

you really don't need to know them unless you want to change them. But, if youcan write queries or code ABAP, you can definitely learn basic HTML and CSSto customize reporting. Its not that hard.

5. The learning curve for NEW users in Web Reporting vs.. BEX is actuallyconsiderably lower. Most people are very familiar with using a web browser, andIMOE I have found they pick up usage of web reporting much quicker then tryingto teach them BEX.

6. Note, if you have a large user base which is already power Excel/BEx users, thenthey might be more reluctant to switch, though they would have no problemlearning quickly the web reporting. Their downside would be that the behavior isnot like Excel, which is a learned behavior, though the functionality is the same.

7. Publishing of queries and reports is done (or can be) via a role template which canbe published on the web to provide common access to reports and queries.

8. Your implementation team (or at least one person on there) could be designated topicking up learning creation of web templates. (Its not hard, really.) Depending onorganization size you may not need an additional person.

9. Publishing can be as easy a link on an existing intranet, or if you are using Portalsalready, integration with Portals is straightforward and you should have theknowledge base for doing so w/ your Portals group.

10. Query functionality is EXACTLY THE SAME with BEX and Web reporting,they both use query analyzer. The only difference is in presentation and output.

11. With Web reporting, you have (I think) greater control over presentation(combination of reports, charts, etc...) then w/ BEX.

12. You can provide the ability for "Printer friendly" versions of web reports, you canalso provide the ability to easily pull the results into Excel in standard format orCSV format.

13. Finally, I think you have the ability to open up reporting and informationconsumption to a wider audience then in sticking w/ just BEx. (It definitely has itsplace in the organization.)

Best regards,SAP Basis, ABAP Programming and Other IMG Stuff

http://www.sap-img.com/index.htm

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

Data load in SAP BWWhat is the strategy to load for example 500,000 entries in BW (material master,transactional data)?

How to separate this entries in small packages and transfer it to BW in automatic?

Is there some strategy for that?

Is there some configuration for that?

See OSS note 411464 (example concerning Info Structures from purchasing documents)to create smaller jobs in order to integrate a large amount of data.

For example, if you wish to split your 500,000 entries in five intervals:

- Create 5 variants in RMCENEAU for each interval- Create 5 jobs (SM36) that execute RMCENEAU for each variant- Schedule your jobs- You can then see the result in RSA3

Loading Data From a Data TargetCan you please guide me for carrying out his activity with some important steps?

I am having few request with the without data mart status. How can I use only them& create a export datasource?

Can you please tell me how my data mechanism will work after the loading?

Follow these steps:

1. Select Source data target( in u r case X) , in the context menu click on Create ExportDatasources.DataSource ( InfoSource) with name 8(name of datatarget) will be generated.

2. In Modelling menu click on Source Systems, Select the logical Source System of yourBW server, in the context menu click on Replicate DataSource.

3. In the DataModelling click on Infosources and search for infosource 8(name ofdatatarget). If not found in the search refresh it. Still not find then from DataModellingclick on Infosources, in right side window again select Infosources, in the context menuclick on insert Lost Nodes.Now search you will definately found.

4. No goto Receiving DataTargets ( in your case Y1,Y2,Y3) create update rules.In the next screen select Infocube radio button and enter name of Source Datatarget (in ur case X). click Next screen Button ( Shift F7), here select Addition radio button, thenselect Source keyfield radio button and map the keyfields form Source cube to targetcube.

5. In the DataModelling click on Infosources select infoSource which u replicated earlierand create infopackage to load data..

SAP BW Tips by: Srinivas

Fast Links:Get help for your SAP BW problemsDo you have a SAP BW Question?

SAP BooksSAP Business Warehouse, Functional, Basis Administration and ABAP ProgrammingReference Books

SAP Business Warehouse TipsSAP BW Tips and Business Information Warehouse Discussion Forum

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

Difference in number of data records-----Original Message-----Subject: Difference in number of data records

Hello,

I have uploaded data from R/3 to BW (Controlling Datasources).

The problem is that when i use the extractor checker (rsa3) in R/3 for aspecific datasource (0CO_OM_OPA_1) it shows me that there are 1600 records.

When i load this datasource in BW it shows me that there are 400.000records. I'm uploading data to "PSA only".

Any ideas why this is happening ?

Thanks

-----Reply Message-----Subject: RE: Difference in number of data records

Check the 'data recs/call' and 'number of extract calls' parameters inRSA3. Most likely the actual extract is only making one call with a largerdata rec/call number. The extraction process will collect data recordswith the same key so less data has to be transferred to the BW. When yourun RSA3 you are probably getting similar records (that would normallycollect) in different data packets thereby creating more records. Tryrunning RSA3 with a much higher (2000) recs/call for several calls.

Regards,

-----End of Message

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

SAP R/3 Source Table.field - How To Find?-----Original Message-----Subject: R/3 Source Table.field - How To Find?

What is the quickest way to find the R/3 source table and field name for a field appearingon the BWInfoSource?

-----Reply Message-----Subject: RE: R/3 Source Table.field - How To Find?

Hi,

With some ABAP-knowledge you can find some info:

1, Start ST05 (SQL-trace) in R/32, Start RSA3 in R/3 just for some records3, After RSA3 finishes, stop SQL-trace in ST054, Analyze SQL-statements in ST05

You can find the tables - but this process doesn't help e.g for the LO-cockpit datasources.

Hope this helps,

-----End of Message-----

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

SAP BW versus R/3 Reporting-----Original Message-----Subject: BW versus R/3 Reporting

Dear All,

Would it be sufficient just to Web-enable R/3 Reports ? Why does one needto implement BW ? What are the major benefits of reporting with BW overR/3 ?

Thanking you,

-----Reply Message-----Subject: RE: BW versus R/3 Reporting

There are quite a few companies that share your thought but R/3 was designedas a OLTP system and not an analytical and reporting system. In factdepending on you needs you can even get away with a reporting instance(quite easy with Sun or EMC storage) Yes you can run as many reports as youneed from R/3 and web enable them but consider these factors.

1: Performance -- heavy reporting along with regular OLTP transactions canproduce a lot of load both on the R/3 and the database (cpu, memory, disks,etc). Just take a look at the load put on your system during a month end,quarter end, or year end -- now imagine that occurring even more frequently.

2: Data analysis -- BW uses a Data Ware house and OLAP concepts for storingand analyzing data. Where R/3 was designed for transaction processing. Witha lot of work you can get the same analysis out of R/3 but most likely wouldbe easier from a BW.

Regards,

-----Reply Message-----Subject: RE: BW versus R/3 Reporting

Major benefits of BW include:1) By offloading ad-hoc and long running queries from production R/3 systemto BW system, overall system performance should improve on R/3.

2) Another key performance benefit with BW is the database design. It isdesigned specifically for query processing, not data updating and OLTP.Within BW, the data structures are designed differently and are much bettersuited for reporting than R/3 data structures. For example, BW utilizes starschema design which includes fact and dimension tables with bit-mappedindexes. Other important factors include the built-in support foraggregates, database partitioning, more efficient ABAP code by utilizingTRFC processing versus IDOC.

3) Better front-end reporting within BW. Although the BW excel front-end has

it's problems, it provides more flexibility and analysis capability than theR/3 reporting screens.

4) BW has ability to pull data from other SAP or non-SAP sources into aconsolidated cube.

In summary, BW provides much better performance and stronger data analysiscapabilities than R/3.

-----End of Message-----

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

Error in transportAfter creating a query in BEX, you try and save the query, it gives you the followingpopup message:

"The query could not be saved due to a problem in transport".

Steps to correct the problem:

1. Within Adminstrator Workbench click on the Transport Connection tab in theNavigation Window on the left hand side.

2. Select the Request BEx button on the toolbar.

3. Create a transport.

4. Try to change the query again.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP Business Warehouse, Functional, Basis Administration and ABAPProgramming Reference Books

SAP BW ERROR : replicate data from source systemBW 2.1C

OS WINT4

The RFC is working fine and you are trying to replicate data from source system (4.0B),while doing this you got anerror an ABAP dump, in this dump the Exception Condition are "CNTL_ERROR" raised

Take a look at OSS notes 158985 and 316243.

Depending on what patch level, GUI, or Kernel you are on.

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

SAP BW Interview Questions1. How much time does it take to extract 1 million of records from an infocube?

2. How much does it take to load (before question extract) 1 million of records to aninfocube?

3. What are the four ASAP Methodologies?

4. How do you measure the size of infocube?

5. Difference between infocube and ODS?

6. Difference between display attributes and navigational attributes?

Kiran

1. Ans. This depends,if you have complex coding in update rules it will take longertime,orelse it will take less than 30 mins.

3. Ans:Project planRequirements gatheringGap AnalysisProject Realization

4. Ans:In no of records

5. Ans:Infocube is structured as star schema(extended) where in a fact table is surrounded bydifferent dim table which connects to sids. And the data wise, you will have aggregateddata in the cubes.ODS is a flat structure(flat table) with no star schema concept and which will havegranular data(detailed level).

6. Ans:Display attribute is one which is used only for display purpose in the report.Where asnavigational attribute is used for drilling down in the report.We don't need to maintainNav attribute in the cube as a characteristic(that is the advantage) to drill down.

Ravi

Q1. SOME DATA IS UPLOADED TWICE INTO INFOCUBE. HOW TO CORRECTIT?Ans: But how is it possible?.If you load it manually twice, then you can delete it byrequest.

Q2. CAN U ADD A NEW FIELD AT THE ODS LEVEL?Sure you can.ODS is nothing but a table.

Q3. CAN NUMBER OF DATASOURCE HAS ONE INFOSOURCE?Yes ofcourse.For example, for loading text and hierarchies we use different data sourcesbut the same infosource.

Q4. BRIEF THE DATAFLOW IN BW.Data flows from transactional system to analytical system(BW).DS on the transactionalsystem needs to be replicated on BW side and attached to infosource and update rulesrespectively.

Q5. CURRENCY CONVERSIONS CAN BE WRITTEN IN UPDATE RULES. WHYNOT IN TRANSFER RULES?

Q6. WHAT IS PROCEDURE TO UPDATE DATA INTO DATA TARGETS?Full and delta.

Q7. AS WE USE Sbwnn,SBiw1,sbiw2 for delta update in LIS THEN WHAT IS THEPROCEDURE IN LO-COCKPIT?No lis in lo cockpit.We will have data sources and can be maintained(appendfields).Refer white paper on LO-Cokpit extractions.

Q8. SIGNIFICANCE OF ODS.It holds granular data.

Q9. WHERE THE PSA DATA IS STORED?In PSA table.

Q10.WHAT IS DATA SIZE?The volume of data one data target holds(in no.of records)

Q11. DIFFERENT TYPES OF INFOCUBES.Basic,Virtual(remote,sap remote and multi)

Q12. INFOSET QUERY.Can be made of ODSs and objects

Q13. IF THERE ARE 2 DATASOURCES HOW MANY TRANSFER STRUCTURESARE THERE.In R/3 or in BW??.2 in R/3 and 2 in BW

Q14. ROUTINES?Exist In the info object,transfer routines,update routines and start routine

Q15. BRIEF SOME STRUCTURES USED IN BEX.Rows and Columns,you can create structures.

Q16. WHAT ARE THE DIFFERENT VARIABLES USED IN BEX?Variable with default entryReplacement pathSAP exitCustomer exitAuthorization

Q17. HOW MANY LEVELS YOU CAN GO IN REPORTING?You can drill down to any level you want using Nav attributes and jump targets

Q18. WHAT ARE INDEXES?Indexes are data base indexes,which help in retrieving data fastly.

Q19. DIFFERENCE BETWEEN 2.1 AND 3.X VERSIONS.Help!!!!!!!!!!!!!!!!!!!Refer documentation

Q20. IS IT NESSESARY TO INITIALIZE EACH TIME THE DELTA UPDATE ISUSED.Nope

Q21. WHAT IS THE SIGNIFICANCE OF KPI'S?KPI’s indicate the performance of a company.These are key figures

Q22. AFTER THE DATA EXTRACTION WHAT IS THE IMAGE POSITION.After image(correct me if I am wrong)

Q23. REPORTING AND RESTRICTIONS.Help!!!!!!!!!!!!!!!!!!!Refer documentation

Q24. TOOLS USED FOR PERFORMANCE TUNING.ST*,Number ranges,delete indexes before load ..etc

Q25. PROCESS CHAINS: IF U ARE USED USING IT THEN HOW WILL USCHEDULING DATA DAILY.There should be some tool to run the job daily(SM37 jobs)

Q26. AUTHORIZATIONS.Profile generator

Q27. WEB REPORTING.What are you expecting??

Q28. CAN CHARECTERSTIC CAN BE INFOPROVIDER ,INFOOBJECT CAN BEINFOPROVIDER.Of course

Q29. PROCEDURES OF REPORTING ON MULTICUBES.Refer help.What are you expecting??.Multicube works on Union condition

Q30. EXPLAIN TRANPORTATION OF OBJECTS?Dev---àQ and Dev-------àP

Questions: RaghavAnswers: Ravi

Fast Links:A Personal BW Certification ExperienceMy SAP BW Certification Experience

Get help for your SAP BW problemsDo you have a SAP BW Question?

SAP BooksSAP Business Warehouse, Functional, Basis Administration and ABAP ProgrammingReference Books

SAP BW TipsSAP BW Tips and Business Information Warehouse Discussion Forum

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

SAP BW Interview Questions 21) What is process chain? How many types are there? How many we use in realtime scenario? Can we define interdependent processes with tasks like data loading,cube compression, index maintenance, master data & ods activation in the bestpossible performance & data integrity.2) What is data integrityand how can we achieve this?3) What is index maintenance and what is the purpose to use this in real time?4) When and why use infocube compression in real time?5) What is mean by data modelling and what will the consultant do in datamodelling?6) How can enhance business content and what for purpose we enhance businesscontent (becausing we can activate business content)7) What is fine-tuning and how many types are there and what for purpose we donetuning in real time. tuning can only be done for infocube partitions and creatingaggregates or any other?8) What is mean by multiprovider and what purpose we use multiprovider?9) What is scheduled and monitored data loads and for what purpose?

Ans # 1:Process chains exists in Admin Work Bench. Using these we can automate ETTLprocesses. These allows BW guys to schedule all activities and monitor (T Code: RSPC).

Ans # 2:Data Integrity is about eliminating duplicate entries in the database and achievenormalization.

Ans # 4:InfoCube compression creates new cube by eliminating duplicates. Compressedinfocubes require less storage space and are faster for retrieval of information. Here thecatch is .. Once you compress, you can't alter the InfoCube. You are safe as long as youdon't have any error in modeling.

This compression can be done through Process Chain and also manually.

SAP BW Tips by: Anand.

Ans#3Indexing is a process where the data is stored by indexing it. Eg: A phone book... Whenwe write somebodys number we write it as Prasads number would be in "P" and Rajesh'snumber would be in "R"... The phone book process is indexing.. similarly the storing ofdata by creating indexes is called indexing.

Ans#5Datamodeling is a process where you collect the facts..the attributes associated to facts..navigation atributes etc.. and after you collect all these you need to decide which one youill be using. This process of collection is done by interviewing the end users, the powerusers, the share holders etc.. it is generally done by the Team Lead, Project Manager orsometimes a Sr. Consultant (4-5 yrs of exp) So if you are new you dont have to worryabout it....But do remember that it is a imp aspect of any datawarehousing soln.. so makesure that you have read datamodeling before attending any interview or even starting towork....

Ans#6We can enhance the Business Content bby adding fields to it. Since BC is delivered bySAP Inc it may not contain all the infoobjects, infocubes etc that you want to useaccording to your company's data model... eg: you have a customer infocube(In BC) butyour company uses a attribute for say..apt number... then instead of constructing thewhole infocube you can add the above field to the existing BC infocube and get going...

Ans#7Tuning is the most imp process in BW..Tuning is done the increase efficiency.... thatmeans lowering time for loading data in cube.. lowering time for accessing a query..lowering time for doing a drill down etc.. fine tuning=lowering time(for everythingpossible)...tuning can be done by many things not only by partitions and aggregates thereare various things you can do... for eg: compression, etc..

Ans#8Multiprovider can combine various infoproviders for reporting purposes.. like you cancombine 4-5 infocubes or 2-3 infocubes and 2-3 ODS or IC, ODS and Master data.. etc..you can refer to help.sap.com for more info...

Ans#9

Scheduled data load means you have scheduled the loading of data for some particulardate and time you can do it in scheduler tab if infoobject... and monitored means you aremonitoring that particular data load or some other loads by using transaction RSMON.

SAP BW Tips by: Nikhil

Fast Links:Get help for your SAP BW problemsDo you have a SAP BW Question?

SAP BooksSAP Business Warehouse, Functional, Basis Administration and ABAP ProgrammingReference Books

SAP BW TipsSAP BW Tips and Business Information Warehouse Discussion Forum

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.

My SAP BW Certification ExperienceThese are some questions which I remembered after completing my certification.

In certification 3 hrs is very sufficient and more time we will spend for understandingquestions than writing answers.

1) Project Implementation (4 Questions):

1. What are the activities will be done during Realisation Phase.

a. BW Dev system Installation will be done during this period.

True or False

b. Basis help is highly required during this phase.True or false.

Like this 5 choice below each questions and each choice carries mark as we have tospeciy true or false.

2. In which Phase Data source will be determined.

a. During Realisation phase all team memebers will be discussing abt the datasource thatneed to be used to fit the Requiremnet. (True or False).

b. Same question asked as Design Phase.

(II). Data Modelling (8 Questions):

SAP Data Modelling Book is sufficient for this.Nothing reqd more than that.

1. To which kind of Data Target compression is done.(this Q has one answer).

2. What are the ways to improve data Loading performance.

a. Line item Dimensionb. Creating Indexes to ODS.c. Adding a primary key to ODSd. Fact table smaller than dimension tablee. Dimension Table smaller than fact table.

LIKE THIS 8 QUESTIONS.In this part all the questions were bit confusing. Each question we have to read twice andanswer.Here Lot of scenarios given and asking how we will design. Whether as ODS, Infoobjectand Cube, Navigational attr.

(III) Warehouse Management. (24 Questions)

Very Easy. All the questions are very straight forward. Basic BW questions.

1. What are the data traget that can be used for a Multi providers.

Give five choices we have to choose the correct ones.

2. Aggregates can be done for ODS?

True or false.

(IV) Reporting: (24 Questions)]

Here also questions are easy. More questions on style sheets.

1. What is the extension for saving style sheets.

a. .CSS extb. .TXT ext

Like this 5 choices were Given.

2. What are the functions in Reporting Agent?

a. Printingb. Saving workbooks.

Also some questions on Workbooks.

In reporting they gave some scenarios and we have to choose which option is correct forcreating reports.Like, we have to create as Restricted Key fig or Cal Key Gig or as Replacement Pathvariable. Forgot the scenarios. Each questions are like a paragraph so it was tough toremember questions.

(V) Extractions.

Here I had one question from LO and 1 question from CO-PA and 0 questions from LIS.More questions on Generic extractor, Delta type and more questions on S-API.

1. Will S-API sends delta records to BW.

True or False.

2. S-API needs to be installed in both BW and R/3 System?

5 choices we have to choose it.

3. In CO-PA when we create a datasources which is created automatically.

a. One table and 2 structures.b. Two table and two structure.c. Two tale and one structure.

Like this 5 choces. We have to think and write but they are easy.

(VI). Authorisation.

All the four quesions are with Scenarios.

1. Is the Authorisation S_RS_COMP sufficient for an User to create Reports.

5 choices and every choices carries marks. Just like Project implementation.

2. What are the authorisation need to be given for a Key Users.

I hope this will give some idea. I am posting this so any one can make use of it.

All the Best. It will be very easy be cool and relaxed.

Cheers!

SAP BW Tips by : Bhuvana

Fast Links:Interview Questions on BWSAP BW Interview Questions 1

Get help for your SAP BW problemsDo you have a SAP BW Question?

SAP BooksSAP Business Warehouse, Functional, Basis Administration and ABAP ProgrammingReference Books

SAP BW TipsSAP BW Tips and Business Information Warehouse Discussion Forum

Best regards,SAP Basis, ABAP Programming and Other IMG Stuffhttp://www.sap-img.com/index.htm

All the site contents are Copyright © www.sap-img.com and the content authors. All rights reserved.All product names are trademarks of their respective companies. The site www.sap-img.com is in no way

affiliated with SAP AG.Every effort is made to ensure the content integrity. Information used on this site is at your own risk.

The content on this site may not be reproduced or redistributed without the express written permission ofwww.sap-img.com or the content authors.