sap note 1320507 - how to change images dynamically in crystal reports based on parameter selection

Post on 15-Sep-2015

219 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

SAP Note 1320507

TRANSCRIPT

  • 19/6/2015 SAPNote1320507HowtochangeimagesdynamicallyinCrystalReportsbasedonparameterselection?

    http://search.sap.com/notes?id=0001320507&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735 1/2

    DocumentType"SAPKnowledgeBaseArticle"

    1320507HowtochangeimagesdynamicallyinCrystalReportsbasedonparameterselection?

    Language:English Version:1 Validity:20.03.2009active

    Symptom

    NotabletochangetheLogoonthereportheaderbasedontheparameterselection.

    Environment

    CrystalReportsXIRelease2CrystalReports2008.

    ReproducingtheIssue

    CreateareportonXtremeSampledatabaseusingtheCustomertable.

    CreateaparameteronCountry.

    InsertaLogoforCountryU.S.AintheReportheader.

    CrystalReportsXIRelease2CrystalReports2008.

    Cause

    Theimagelocationhastobespecifiedbasedontheparameterselection.

    Resolution

    1. InserttheLogoasanOLEobjectintothereport.2. Rightclickontheobject>ClickonFormatGraphic.3. ClickonPicturetab.4. ClickontheX2buttonforGraphicLocationtoopentheformulaeditor.5. Writeaformulasimilartothisbelow:

    if{?countryparameter}="USA"then"C:\DocumentsandSettings:\Administrator:\MyDocuments:\USA.bmp"

    //thepathwouldbetherespectivepathoftheimagelocation"

    elseif{?countryparameter}="India"then"C:\DocumentsandSettings:\Administrator:\MyDocuments:\India.bmp"

    else..

    6.PressAlt+Ctochecktheformula.

    7.ClickonSaveandClose.

    8.ClickonOk.

    Keywords

  • 19/6/2015 SAPNote1320507HowtochangeimagesdynamicallyinCrystalReportsbasedonparameterselection?

    http://search.sap.com/notes?id=0001320507&boj=/sap/bc/bsp/spn/scn_bosap/notes.do?access=69765F6D6F64653D3939382669765F7361706E6F7465735 2/2

    dynamic

    ReleasedOn 24.11.200915:44:44ReleaseStatus ReleasedtoCustomerComponent BIRACRPriority NormalCategory Problem

    Product

    Product ProductVersionSAPCrystalReports CrystalReports2008V0

    SAPCrystalReportsXIR2

top related