‎2006 Aug 16 5:22 PM
Hi,
I have a requirement to replace an existing logo with a new logo in Sapscript. I have imported the logo into SAP as a standard text. The existing logo is not hardcoded, but as a variable. This is how the INCLUDE is:
INCLUDE &TVKO-TXNAM_KOP& OBJECT TEXT ID ADRS LANGUAGE &VBDKA-SPRAS_VKO&
How should I call my new logo to replace the old logo without hardcoding it?
Thanks,
A.P.
‎2006 Aug 16 5:51 PM
Hello Norman,
I tried transaction v/85. It lists all the sales orgs. It lists the new sales org code. Now, how do I change to the new logo? Do I leave the include as it is ? Or do I have to change this somewhere in the print program?
Thanks,
A.P.
‎2006 Aug 16 5:43 PM
This is configuration. It is done in the IMG.
TVKO-TXNAM_KOP is the variable for the letter head. It can be defined by sales org, sales office, or shipping point.
Check txn V/85 for sales org config.
If that doesn't work, use txn SPRO and path...
Sales and Distribution
Basic Functions
Output Control
Output Determination
Process Output and Forms
Assign Form texts
‎2006 Aug 16 5:44 PM
Hai
You can achieve as per below:
1) I want to upload a coloured logo from my desktop to SAP
- Upload your logo via SE78.
- Select 'Import' button from application toolbar of SE78, and perform upload.
2) Then i want to upload that coloured Logo into my SAP Script output
- At SE71, goto Text Element from your window logo (window where you locate your company logo), and place the following statement:
/: BITMAP 'COMPANY_LOGO' OBJECT GRAPHICS ID BMAP TYPE BCOL DPI 150
3) Then i want to make that Coloured logo to be Printed on Layout screen visible as with same color as i uploaded.
Regards
Sreeni
‎2006 Aug 16 5:51 PM
Hello Norman,
I tried transaction v/85. It lists all the sales orgs. It lists the new sales org code. Now, how do I change to the new logo? Do I leave the include as it is ? Or do I have to change this somewhere in the print program?
Thanks,
A.P.
‎2006 Aug 16 6:22 PM
The variable &TVKO-TXNAM_KOP& is automatically filled in with the value for LETTER HEADER. In V/85, you should see the old logo name in the LETTER HEADER column. You would change it for the specific sales organization. The new value would be your new logo name (standard text name).
If there is nothing in V/85, then it is probably configured by sales office (txn V/55) or shipping point (txn V/41). You can also use the path listed in the other reply.
Does that make sense? If you do not want to hard code it as you mentioned in the original note, you would NOT change the SAPscript. You would replace the name of the standard text in the LETTER HEAD column with your new standard text name.
‎2006 Aug 16 6:46 PM
Norman,
Thanks for you quick reply! In txn V/85, I don't find the old logo standard text listed for the particular sales org. But it contains the new logo standard text name. So my understanding is that anytime the form is printed, the new logo will print. And I need not change anything in the print program or layout for this. Am I correct?
A.P.
‎2006 Aug 16 7:00 PM
Yes. You should not have to change the print program or the SAPscript layout set. It can be done with configuration.
However (there is always a however)...
Look at the IMG using the path I listed. Instead of clicking on the execute button in front of ASSIGN FORM TEXTS, click on the documentation icon to the left.
These texts are usually used for an address, not a logo.
I thought you had identified existing configuration that was using this setting to print an older logo. You wanted to replace it. Is it already printing a logo and are you sure it is determined by this INCLUDE in the SAPscript?
If you use this process, your standard text logo should use a text id of ADRS. The documentation says it should be SDVD, but the INCLUDE line is specifying ADRS.
‎2006 Aug 16 7:41 PM
Norman,
The only statements I have in the header are two INCLUDE commands. One is calling a variable &TVKO-TXNAM_KOP& and another calling a standard text z_header. So I guess the include calling the variable must be he one that is printing it. This is the same for other scripts too, as I don't find anything with an INCLUDE calling a zlogo_company standard text directly. And besides I'm working remotely and I can't print from where I work. So do you think the INCLUDE variable fills the logo name from V/85 and prints it?
Thanks,
A.P.
‎2006 Aug 16 7:49 PM
You should be able to use PRINT PREVIEW to view the SAPscript output and the old and new logos. I am in the same situation. I am working remote without access to the client's printers.
Was there a standard text in V/85 or was it blank?
If it was blank, how about V/41 or V/55?
Once you know the old text name for the logo, you can do a PRINT PREVIEW in SO10 to see if it is correct.
You can also use the SAPscript debugger to see what is filled in for &TVKO-TXNAM_KOP&.