Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Different logo for “company code” in a sapscript configured in the FBZP transaction

Former Member
0 Kudos

Scenario of printing from the transaction F110 of a sapscript (YSTP_F2021_PYADV) configured in transaction FBZP, where the configured Line header is as follows:

/*      define distance of logo from left margin of HEADER-window
/:      DEFINE &LOGO_LEFT& = '53'
/:      DEFINE &LOGO_LEFT_UNIT& = 'CH'
/*      use empty lines to position logo from top of HEADER-window
/
/                                                  
/*      Call monochrome logo ("BMON") that can be printed by
/*      PCL-5, PostScript, Prescribe and SAPWIN printers
/:      INCLUDE ADRS_HEADER_LOGO_BMON OBJECT TEXT ID ADRS LANGUAGE E here

Checking the SO10 the text logo "ADRS_HEADER_LOGO_BMON" contains a generic logo.

The problem with the sapscript is that according to selection of the "company code" he display a different logo, I can't find where to change that validation, or where he call a normal logo because the logo displayed is in the SE78.

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Did you try to replace ADRS_HEADER_LOGO_BMON constant with some &LOGO& variable or even (worse) define different script per company code (...)

Regards,
Raymond

gabriel_pill-kahan
Active Participant
0 Kudos

You mention that your logo is maintained in SE78, so someplace you should have a command like "BITMAP COMPANY_LOGO OBJECT GRAPHICS ID BMAP TYPE BMON".

Gabriel

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

As I can read you are using a PCL-5 maybe you are using the option 'Including the company logo as a Macro on PCL-5 Printers'. See note 18045 - Insertion of PCL-5 printer macros. In this note you can read info how to handle it in tcode SPAD.

I hope it helps you

Regards

Eduardo