Moving a .gif in reports
Hello everyone!
I was wondering if anybody had insight into the following problem I've been having:
I implemented a chart (graphics builder 6.0.5.33.0) into reports 6i. Included as a part of my query FOR THE REPORT, I created a formula that calculates 28 years difference from today's date (sysdate). Now, as the years go on, this number will change. I want to implement a function or some PL/SQL code into this REPORT that will move the arrow.gif as the year changes. This may be more trouble than its worth, but if anybody has done something similar to this, I will gladly listen to your solution! Thank you!
Steve
Hi,
use OUTPUTIMAGEFORMAT=GIF as parameter when generating the report.
See also http://download.oracle.com/docs/cd/E12839_01/bi.1111/b32121/pbr_cla007.htm
Regards
Similar Messages
-
Moving Average Price Tolerance Report
Is there any standard SAP report that can display moving average price variances? I want to be able to see the percent change in the moving average price after each time that it changes.
The report S_P00_07000139 displays the old moving average price and the new one, but there is no field for variance. I know that OMR6 sets the tolerance keys to company codes, but is there any record of the VP key tolerance violations?
The goal is to be able to see all of the materials that have a moving average price that changed by more than 10% from its last price.
ThanksHello, Uuklyph,
if you are not satisfied with S_P00_07000139l, the easiest way would be to create a query (tx SQ01/02/03) over table MSEG "Document Segment: Material", with custom formula for MAP change, calculating with field LBKUM "Total valuated stock before the posting" and SALK3 "Value of total valuated stock before the posting".
Kind Regards
TomT -
GIF in Reports gives error. Works fine for JPEG
All this time the company logo in all our reports was a small GIF file. However, we created a new App Server and tried to run the report, but it gave an error. When we open the report in Reports Builder, change the GIF to a JPEG file it works.
-- What could be the issue?
-- Is there a para in the App Server where image type is specified?
App Server is 10g R2. Reports were also compiled in 10g R2.
Error is:
Terminated with error: <br>REP-536870981: Internal error REP-62204:
Internal error writing the image BandCombine: a row of the matrix does
not have the correct number of entries, should be
OpImage.getExpandedNumBands(source0.getSampleModel(),
source0.getColorModel()) + 1.. REP-0069: Internal error REP-50125:
Caught exception: java.lang.NullPointerException REP-0002: Unable to
retrieve a string from the Report Builder message file. REP-536870981
Edited by: Channa on Jul 23, 2010 2:06 AM
Edited by: Channa on Jul 23, 2010 2:13 AMHi,
use OUTPUTIMAGEFORMAT=GIF as parameter when generating the report.
See also http://download.oracle.com/docs/cd/E12839_01/bi.1111/b32121/pbr_cla007.htm
Regards -
Displaying conditional gif in report
for a column in a report, is it possible to display a picture dependent on the column value ( i.e. checkmark for yes values)
this is a pretty easy one to accomplish using straight sql, actually. you'd simply decode your column in question and conditionally select the image link out based on your decoded value. for example, if our table was Foo and our column in question was Col_1. you could write your query for that region like this...
select decode(f.Col_1,'Yes','<IMG SRC="/i/my_checkmark.gif">',f.Col_1) my_column_alias
from foo;
put into plain english, this query selects all values of Col_1 from the foo table. as it renders the results, it checks the values of Col_1. if that value is a 'Yes' it then returns the HTML to display your checkmark gif. if the value is something other than a 'Yes', the query returns that value.
hope this helps,
raj -
Moving 11g BI Publisher Reports to Shared Folders in same instance.
Hi ,
I have to move BI Publishers reports from MY Folders to the Shared Folders in the same BI Publisher instance.
I just wanted to know do we have to move Data Model associated with the Report as well?
As of now i have just moved the BIP Reports and they are working fine, but was unsure on this Data Model part.
Can someone throw light on whats the good practise related to moving Reports in BI Publisher.
Thanks
AshishAshish Gupta wrote:
Should i move the data model in the Reports Folder only, under Shared Folders?
just wanted to know the best practise as to how data model and reports are stored under Shared folders as in separate folders or everything in the same folder.Yes the best practice is to create a folder called BIP Reports(shared folder) -> under which you can create 2 folders as Data Model and Data Template
>
Also how do i make sure that these Reports under Shared Folders are pointing to the Data Model in the Shared Folders and not to the Data Model of My Folders?
Thanks
AshishTo make sure the data template/report is pointed to data model in shared folder go to the corresponding report and from right pane under the report you see options as open schedule jobs job history edit more
select edit -> opens a new window -> from top you see a magnifier icon click on that opens a new window now select the datamodel from shared folder for the corresponding report thats it.
hope it helps
Thanks,
RM -
Moving Average in a Report Section
Hi there,
I am displaying a measure in a chart that has three data points. The measure is 4 day moving average of a metric. Let's say my query brings back the last 6 days, which enables me to calculate the 4 day moving average for days 4, 5, and 6.
I use the Previous() function to calculate the moving average:
=(metric + Previous(metric) + Previous(Previous(metric)) + Previous(Previous(Previous(metric)))) / 4
I don't want to show days 1, 2, and 3, so I filter these out of the chart and wrap a NoFilter() around the moving average. Everything is good so far.
The problem arises when I section on a dimension. I can't seem to get the correct values unless I display all 6 data points in each section. NoFilter() doesn't seem to work.
Has anyone run into this before? Does there exist a solution for this?
Any help would be greatly appreciated.
Thanks,
AllanI figured it out:
NoFilter([[4wkMvAvgMeasure]]) ForEach ([[day]]) In Section
Thanks,
Allan -
Hello Friends
Could some one please let me know if there is any extra configuration needed to drag a column from one place to another. Example I have have columns 1,2,3 and 4, I want to arrange it in a the order 2,3,1,4 without altering the code.
Hope to hear from some one.
Thanks a lot in advance
RamHi Ram Prasad,
If it is a standard program, change the layout by interchanging the columns as you want them to appear and save it as "Default". Dont forget to do the same thing in Quality and Production system.
If it is a custom program, after generating the field catalog, you can programatically set the COL_POS for each column and then call the ALV display
I think this answers your question.
Enjoy SAP
Rajasekhar -
i've recently upgraded to the managed components from Crystal XI R2 from the old com components...
Before i could shift lines by manipulating the left,right, top or bottom properties of a particular line object.
In the past i used to shift a vertical line to the left or right by changing the left and right properties of the line object.
However, if i try to do this now with the managed components i get an exception stating that the line object coordinates are invalid, you can only have a vertical or horizontal line.
I believe in the past i would change the left and right property one after another and not have any problem as long they were identical, keeping the line vertical. Now as soon as i modify one of the properties the exception is raised without giving me the opportunity to change the other property...
can you no longer move lines in this manner, or not at all?
thanks
ShawnHello Shawn,
please download a CS sample fos VS 2005 [How to add a Border|ftp://ftp.businessobjects.com/pub/incoming/NET-CS2005_RAS-Unmanaged_CR115_Add_Border.zip].
This sample demonstrates how to add a border around a field including left and right line. I think it answers all your questions.
Best regards
Falk -
Moving all reports from Bex to BO
Hello all,
Post Upgrade from SAP BW 3.5 to 7.0. we are moving all the Bex reports to Business objects .....voyager, webi, crystal , xcelcius.
Please advise on the strategy that needs to be used.
If anyone moved their all their reports from BEX to BO, please give inputs.
My chanllege would be performance here.i was asked a question from client if we could in any way enhance the performace of the report on the BO side once the universe is created on BEx query or Infocube....
i worked on BO-BI integration in the past but PERFORMANCE was not an issue there.But this time it is.
Any inputs on my questions above Highly appreciated.Hello,
this is a very broad question. will try to give some input and pointers to material.
First of all its important to make sure the actual requirements are well understood the the selection of the tools is well understood. None of the tools will solve all requirements and problems.
On the requirements that are typically Bex Analyzer kind of requirements you might want to consider to stay on BEx Analyzer and then move to Pioneer.
take a look here as well:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/webcontent/uuid/f07cce7c-d09f-2c10-9699-af57afd7b3ce [original link is broken];jsessionid=(J2EE3414700)ID1321113450DB01538479839074909234End
On the best practices take a look here:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/008d15dc-f76c-2b10-968a-fafe5a121129
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0320722-741c-2c10-afab-93b5c0fc7e96
Ingo -
Material Stock Report for tcode MB5B
Hello Expert
I have a SAP report for stock posting date with T-Code as MB5B and
the report name is RM07MLBD.
When I enter Material no, plant code , Movement type (101) and selection
dates for a month, The report is displaying but not break by Movement type instead it is showing all the movement type....?
Can anyone have idea about this
REPORT RM07MLBD NO STANDARD PAGE HEADING MESSAGE-ID M7 LINE-SIZE 95.
REPORT RM07MLBD (Transaktionscode MB5B) *
correction June 2004 MM "n747306
wrong the assignment of the MM and FI documents for data "n747306
constellation : n MM doc items --> 1 FI doc item "n747306
ABAP-Preprocessor removed "n599218 A
- this version is for release 4.6C and higher "n599218 A
- process database table OBEW always "n599218 A
- IS-OIL specific functions : "n599218 A
- define IS-OIL workings fields "n599218 A
- transport and process these fields only when "n599218 A
structure MSEG comprise these fields "n599218 A
Improvements : Dec. 2003 MM "n599218
- print the page numbers "n599218
"n599218
- send warnings and error messages only when report is "n599218
launched / advoid warnings when user changes entries on "n599218
the selection screen "n599218
- send warning M7 689 when user does not restrict the "n599218
database in dialog or print mode "n599218
- send warning M7 393 when user deletes the initial "n599218
display variant "n599218
"n599218
- allow to process the fields MAT_KDAUF, MAT_KDPOS, and "n599218
MAT_PSPNR from release 4.5B and higher "n599218
"n599218
- show the current activity and the progress "n599218
"n599218
- error message 'programmfehler' improved "n599218
"n599218
- new categories for scope of list "n599218
"n599218
- use function module for database commit for the update "n599218
of the parameters in table ESDUS. This allows to record "n599218
this transaction for a batch input session using "n599218
transaction SHDB "n599218
"n599218
- reset the entries for plant when valuation level is "n599218
is company code and mode is valuated stock "n599218
"n599218
- enable this report to run in the webreporting mode "n599218
Dec. 2002 MM "n571473
the definition of the selection screen moved from include "n571473
RM07MLBP into this report "n571473
Sept 2002 MM "n555246
log function tax auditor "n555246
note 547170 : August 2002 MM "n547170
- representation of tied empties improved "n547170
active this function automatically in retail systems "n547170
- FORM routines without preprocessor commands and without "n547170
text elements moved to the new include reports "n547170
RM07MLBD_FORM_01and RM07MLBD_FORM_02 "n547170
- the function module FI_CHECK_DATE of note 486477 will "n547170
be processed when it exists "n547170
- function and documentation of parameter XONUL improved "n547170
- display MM documents with MIGO or MB03 depending from "n547170
the release "n547170
- get and save the parameters per user in dialog mode "n547170
only in release >= 4.6 "n547170
the following items were improved with note 497992 "n497992
- wrong results when remaining BSIM entries contain "n497992
an other quantity unit as material master MEINS "n497992
- improve check FI summarization "n497992
- the messages M7 390, M7 391, and M7 392 "n497992
- definition of field g_f_repid for all releases "n497992
- incomplete key for access of internal table IT134M "n497992
causes wrong plant selection "n497992
- the function "no reversal movement" did not surpress "n497992
the original movements; fields "SJAHR" was moved from "n497992
from report RM07MLBD_CUST_FIELDS to RM07MLBD "n497992
- process valuated subcontractor stock from database "n497992
table OBEW if it exists "n497992
- if FI summarization is active process warning M7 390 "n497992
for stock type = valuated stock "n497992
- the user wants to restrict the movement type : process "n497992
warning M7 391 "n497992
- the user wants to surpress the reversal movements : "n497992
process warning M7 392 "n497992
- consider special gain/loss-handling of IS-OIL "n497992
- automatic insert of field WAERS currency key into the "n497992
field catalogue : "n497992
- at least one ref. field is active -> WAERS active "n497992
- all reference fields are hidden -> WAERS hidden "n497992
- the length of sum fields for values was increased "n497992
- customizing for the selection of remaining BSIM entries "n497992
- customizing for the processing of tied empties "n497992
separate time depending authorization for tax auditor "n486477
additional fields are displayed in wrong format "n480130
report RM07MLBD and its includes improved Nov 2001 "n451923
- merging FI doc number into table G_T_MSEG_LEAN improved "n451923
- handling of the short texts improved "n451923
- some types and data definitions -> include RM07MLDD "n451923
error for split valuation and valuated special stock "n450764
process 'goods receipt/issue slip' as hidden field "n450596
error at start date : material without stock has value "n443935
wrong results for docs with customer consignment "W" "n435403
error during data selection for plants "n433765
report RM07MLBD and its includes improved May 10th, 2001 "n400992
!!! IMPORTANT : DO NOT CHANGE OR DELETE THE COMMENT LINES !!! *
- consider the material number during looking for FI documents
- field "g_cust_color" in include report "RM07MLBD_CUST_FIELDS"
allows the customer to activate or inactivate the colors in the
lines with the documents.
- error during calcuation of start stock for special stock "M"
- valuted stocks required : no documents found ? continue and
process empty document table
- the length of sum fields for quantities has been increased
to advoid decimal overflow
- table ORGAN is replaced by G_T_ORGAN
- it is filled by the following ways :
- at process time at selection screen if the
user wants the selection via cc or plant
- otherwise after the database selection of the stock
tables
- it contains less data fields
- it contains all entries twice, for binary search
with plant or valuation area
- selection of databases MKPF and MSEG in one SELECT
command with an inner JOIN
- authority checks after the database selections
- result of database selection from the both database tables
MSEG and MKPF in working table G_F_MSEG_LEAN instead of
the tables IMSEG and IMKPF
- the number of processed data fields was reduced
- the user has the possibility to increase the number of
the processed fields deleting the '*' in the types-command
in include report RM07MLBD_CUST_FIELDS
- the creation of the field catalog for the ALV considers
only the fields of structure G_S_MSEG_LEAN
- the new table G_T_BELEG contains the results for the ALV.
the number of fields of table G_T_BELEG corresponds with
the number of fields of table G_T_MSEG_LEAN.
- the functions "define breakdown" and "choose" are inactivated
in the menue, because they are are not carried out correctly
in all blocks of the list
Anzeige der Materialbestände in einem Zeitintervall *
Der Report gliedert sich im wesentlichen in folgende Verarbeitungs- *
blöcke: *
1) Definition des Einstiegsbildes und Vorbelegung einzelner *
Selektionsfelder, sowie Prüfung der eingegebenen Selektions- *
parameter und Berechtigungsprüfung *
2) Lesen der aktuellen Bestandswerte *
3) Lesen und Verarbeiten der Materialbelege *
4) Berechnung der Bestandswerte zu den vorgegebenen Datümern *
5) Ausgabe der Bestände und Materialbelege *
*eject
*# APP_CALL_DECLARE TEST
this definitions depend on the release
TYPE-POOLS: IMREP, " Typen Bestandsführungsreporting
SLIS. " Typen Listviewer
for the selection of the reversal movements only in release >=45B
DATA: BEGIN OF STORNO OCCURS 0,
MBLNR LIKE MSEG-MBLNR,
MJAHR LIKE MSEG-MJAHR,
ZEILE LIKE MSEG-ZEILE,
SMBLN LIKE MSEG-SMBLN,
SJAHR LIKE MSEG-SJAHR,
SMBLP LIKE MSEG-SMBLP,
END OF STORNO.
include: rm07mldd, " reportspezifische Datendefinitionen
rm07grid. " Gitternetz, Formatierung, Farbgebung
INCLUDE RM07APP1. "ABAP-PREPROCESSOR "TEST
"n571473
define the selection screen here "n571473
"n571473
SELECTION-SCREEN BEGIN OF BLOCK Database-selection
WITH FRAME TITLE TEXT-001.
Text-001: Datenbankabgrenzungen
SELECT-OPTIONS: MATNR FOR MARD-MATNR MEMORY ID MAT
MATCHCODE OBJECT MAT1,
BUKRS FOR T001-BUKRS MEMORY ID BUK,
WERKS FOR T001W-WERKS MEMORY ID WRK,
LGORT FOR T001L-LGORT,
CHARG FOR MCHB-CHARG,
BWTAR FOR MBEW-BWTAR,
BWART FOR MSEG-BWART.
PARAMETERS SOBKZ LIKE MSEG-SOBKZ.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS: DATUM FOR MKPF-BUDAT NO-EXTENSION.
Datumsintervall für Selektion
SELECTION-SCREEN END OF BLOCK Database-selection.
SELECTION-SCREEN BEGIN OF BLOCK BESTANDSART
WITH FRAME TITLE TEXT-002.
Text-002: Bestandsart
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS LGBST LIKE AM07M-LGBST RADIOBUTTON GROUP BART DEFAULT 'X'.
SELECTION-SCREEN COMMENT 4(50) TEXT-010 FOR FIELD LGBST.
Text-010: Lagerort-/Chargenbestand
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS BWBST LIKE AM07M-BWBST RADIOBUTTON GROUP BART.
SELECTION-SCREEN COMMENT 4(50) TEXT-011 FOR FIELD BWBST.
Text-011: bewerteter Bestand
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS SBBST LIKE AM07M-SBBST RADIOBUTTON GROUP BART.
SELECTION-SCREEN COMMENT 4(50) TEXT-012 FOR FIELD SBBST.
Text-012: Sonderbestand
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK BESTANDSART.
improved definition of parameters for scope of list "n599218
SELECTION-SCREEN BEGIN OF BLOCK listumfang
with frame title text-003. "Listumfang
the following 3 parameters became obsolete do not use "n599218
anymor. They are still here to inform the user about "n599218
that he is using old variants or SUBMIT commands "n599218
PARAMETERS : "n599218
XONUL LIKE AM07M-XONUL no-display, "n599218
XVBST LIKE AM07M-XVBST no-display, "n599218
XNVBST LIKE AM07M-XNVBS no-display. "n599218
7 new categories for the scope of list "n599218
"n599218
cat. I docs I stock on I I stock on I Parameter "n599218
I I start date I I end date I "n599218
---+--+--------++------+-------- "n599218
1 I yes I = zero I = I = zero I pa_wdzer "n599218
2 I yes I = zero I <> I <> zero I pa_wdzew "n599218
3 I yes I <> zero I <> I = zero I pa_wdwiz "n599218
4 I yes I <> zero I <> I <> zero I pa_wdwuw "n599218
5 I yes I <> zero I = I <> zero I pa_wdwew "n599218
I I I I I "n599218
6 I no I = zero I = I = zero I pa_ndzer "n599218
7 I no I <> zero I = I <> zero I pa_ndsto "n599218
"n599218
definition of the pushbutton : show or hide the following "n599218
parameters for the scope of list "n599218
SELECTION-SCREEN PUSHBUTTON /1(20) PB_LIU "n599218
USER-COMMAND LIU. "n599218
"n599218
text line : materials with movements "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN COMMENT 1(55) TEXT-072 "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / start = zero = end = zero "n599218
1 I yes I = zero I = I = zero I pa_wdzer "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdzer LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
text-083 : no opening stock ; no closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) text-083 "n599218
FOR FIELD pa_wdzer "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / start = zero = end <> zero "n599218
2 I yes I = zero I <> I <> zero I pa_wdzew "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdzew LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
text-084 : no opening stock ; with closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) text-084 "n599218
FOR FIELD pa_wdzew "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / start stock <> 0 / end stock = 0 "n599218
3 I yes I <> zero I <> I = zero I pa_wdwiz "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdwiz LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
text-085 : with opening stock ; no closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) text-085 "n599218
FOR FIELD pa_wdwiz "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / with start and end stocks / different "n599218
4 I yes I <> zero I <> I <> zero I pa_wdwuw "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdwuw LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
with opening stock ; with closing stock ; changed "n599218
SELECTION-SCREEN COMMENT 5(70) text-086 "n599218
FOR FIELD pa_wdwuw "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
with movements / with start and end stock / equal "n599218
5 I yes I <> zero I = I <> zero I pa_wdwew "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_wdwew LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
with opening stock ; with closing stock ; non-changed "n599218
SELECTION-SCREEN COMMENT 5(70) text-087 "n599218
FOR FIELD pa_wdwew "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
text line : materials without movements "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN COMMENT 1(55) TEXT-073 "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
materials without movements / stocks = zero "n599218
6 I no I = zero I = I = zero I pa_ndzer "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_ndzer LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
text-083 : no opening stock ; no closing stock "n599218
SELECTION-SCREEN COMMENT 5(70) text-083 "n599218
FOR FIELD pa_ndzer "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
materials without movements / with start or end stock "n599218
7 I no I <> zero I = I <> zero I pa_ndsto "n599218
SELECTION-SCREEN BEGIN OF LINE. "n599218
SELECTION-SCREEN POSITION 2. "n599218
PARAMETERS : pa_ndsto LIKE AM07M-MB5B_XONUL "n599218
modif id liu. "n599218
with opening stock ; with closing stock ; non-changed "n599218
SELECTION-SCREEN COMMENT 5(70) text-087 "n599218
FOR FIELD pa_ndsto "n599218
modif id liu. "n599218
SELECTION-SCREEN END OF LINE. "n599218
"n599218
SELECTION-SCREEN END OF BLOCK listumfang.
SELECTION-SCREEN BEGIN OF BLOCK EINSTELLUNGEN
WITH FRAME TITLE TEXT-068. "Settings
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
PARAMETERS XSUM LIKE AM07M-XSUM.
SELECTION-SCREEN COMMENT 4(50) TEXT-019 FOR FIELD XSUM.
Text-019: nur Summen
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
PARAMETERS XCHAR LIKE AM07M-XCHRG.
SELECTION-SCREEN COMMENT 4(50) TEXT-015 FOR FIELD XCHAR.
Text-015: nur chargenpflichtige Materialien
Das Kennzeichen 'xchar' bestimmt die Art der Listausgabe entweder
auf Material- oder Chargenebene.
SELECTION-SCREEN END OF LINE.
the function "No reversal movements" is only "n571473
available from relaese 4.5B and higher "n571473
( TEXT-026 : No reversal movements ) "n571473
SELECTION-SCREEN BEGIN OF LINE. "n571473
SELECTION-SCREEN POSITION 1. "n571473
PARAMETERS NOSTO LIKE AM07M-NOSTO. "n571473
SELECTION-SCREEN COMMENT 4(50) TEXT-026 "n571473
FOR FIELD NOSTO. "n571473
SELECTION-SCREEN END OF LINE. "n571473
SELECTION-SCREEN END OF BLOCK EINSTELLUNGEN.
SELECTION-SCREEN BEGIN OF BLOCK LISTE WITH FRAME TITLE TEXT-040.
PARAMETERS: P_VARI LIKE DISVARIANT-VARIANT.
SELECTION-SCREEN END OF BLOCK LISTE.
*eject
new data definitions
working fields for reading structures from DDIC "n599218 A
and check whether IS-OIL is active "n599218 A
types : stab_x031l type standard table of x031l "n599218 A
with default key. "n599218 A
"n599218 A
data : g_s_x031l type x031l, "n599218 A
g_t_x031l type stab_x031l. "n599218 A
"n599218 A
data : g_f_dcobjdef-name like dcobjdef-name, "n599218 A
g_flag_is_oil_active(01) type c, "n599218 A
g_cnt_is_oil type i. "n599218 A
contains the a structure with the max. number of fields of
the database table MSEG, but those lines are comment lines
with a '*'. The customer can achtivate those lines.
The activated fields will be selected from the database table
and are hidden in the list. With the settings in the display
variant the can be shown.
INCLUDE RM07MLBD_CUST_FIELDS.
common types structure for working tables
a) g_t_mseg_lean results form database selection
b) g_t_beleg data table for ALV
TYPES : BEGIN OF STYPE_MSEG_LEAN,
MBLNR LIKE MKPF-MBLNR,
MJAHR LIKE MKPF-MJAHR,
VGART LIKE MKPF-VGART,
BLART LIKE MKPF-BLART,
BUDAT LIKE MKPF-BUDAT,
CPUDT LIKE MKPF-CPUDT,
CPUTM LIKE MKPF-CPUTM,
USNAM LIKE MKPF-USNAM,
process 'goods receipt/issue slip' as hidden field "n450596
XABLN LIKE MKPF-XABLN, "n450596
LBBSA LIKE T156M-LBBSA,
BWAGR LIKE T156S-BWAGR,
BUKRS LIKE T001-BUKRS,
BELNR LIKE BKPF-BELNR,
GJAHR LIKE BKPF-GJAHR,
WAERS LIKE MSEG-WAERS,
ZEILE LIKE MSEG-ZEILE,
BWART LIKE MSEG-BWART,
MATNR LIKE MSEG-MATNR,
WERKS LIKE MSEG-WERKS,
LGORT LIKE MSEG-LGORT,
CHARG LIKE MSEG-CHARG,
BWTAR LIKE MSEG-BWTAR,
KZVBR LIKE MSEG-KZVBR,
KZBEW LIKE MSEG-KZBEW,
SOBKZ LIKE MSEG-SOBKZ,
KZZUG LIKE MSEG-KZZUG,
BUSTM LIKE MSEG-BUSTM,
BUSTW LIKE MSEG-BUSTW,
MENGU LIKE MSEG-MENGU,
WERTU LIKE MSEG-WERTU,
SHKZG LIKE MSEG-SHKZG,
MENGE LIKE MSEG-MENGE,
MEINS LIKE MSEG-MEINS,
DMBTR LIKE MSEG-DMBTR,
DMBUM LIKE MSEG-DMBUM,
XAUTO LIKE MSEG-XAUTO,
KZBWS LIKE MSEG-KZBWS,
special flag for retail "n497992
retail(01) type c, "n497992
define the fields for the IO-OIL specific functions "n599218 A
mseg-oiglcalc CHAR 1 "n599218 A
mseg-oiglsku QUAN 13 "n599218 A
oiglcalc(01) type c, "n599218 A
oiglsku(07) type p decimals 3, "n599218 A
insmk like mseg-insmk, "n599218 A
the following fields are used for the selection of
the reversal movements
SMBLN LIKE MSEG-SMBLN, " No. doc
SJAHR LIKE MSEG-SJAHR, " Year "n497992
SMBLP LIKE MSEG-SMBLP. " Item in doc
additional fields : the user has the possibility to activate
these fields in the following include report
INCLUDE TYPE STYPE_MB5B_ADD.
TYPES : END OF STYPE_MSEG_LEAN.
TYPES: STAB_MSEG_LEAN TYPE STANDARD TABLE OF STYPE_MSEG_LEAN
WITH KEY MBLNR MJAHR.
data tables with the results for the ALV
TYPES : BEGIN OF STYPE_BELEGE.
INCLUDE TYPE STYPE_MSEG_LEAN.
TYPES : FARBE TYPE SLIS_T_SPECIALCOL_ALV.
TYPES : END OF STYPE_BELEGE.
TYPES : STAB_BELEGE TYPE STANDARD TABLE OF STYPE_BELEGE
WITH KEY BUDAT MBLNR ZEILE.
DATA : G_T_BELEGE TYPE STAB_BELEGE WITH HEADER LINE,
G_T_BELEGE1 TYPE STAB_BELEGE WITH HEADER LINE.
global working areas data from MSEG and MKPF
FIELD-SYMBOLS : TYPE STYPE_MSEG_LEAN.
DATA : G_S_MSEG_LEAN TYPE STYPE_MSEG_LEAN,
G_S_MSEG_UPDATE TYPE STYPE_MSEG_LEAN, "n443935
G_T_MSEG_LEAN TYPE STAB_MSEG_LEAN.
working table for the control break "n451923
types : begin of stype_mseg_work. "n451923
include type stype_mseg_lean. "n451923
types : tabix like sy-tabix, "n451923
end of stype_mseg_work, "n451923
"n451923
stab_mseg_work type standard table of "n451923
stype_mseg_work "n451923
with default key. "n451923
"n451923
data : g_t_mseg_work type stab_mseg_work, "n443935
g_s_mseg_work type stype_mseg_work. "n443935
working table for the requested field name from MSEG and MKPF
TYPES: BEGIN OF STYPE_FIELDS,
FIELDNAME TYPE NAME_FELD,
END OF STYPE_FIELDS.
TYPES: STAB_FIELDS TYPE STANDARD TABLE OF STYPE_FIELDS
WITH KEY FIELDNAME.
DATA: G_T_MSEG_FIELDS TYPE STAB_FIELDS,
G_S_MSEG_FIELDS TYPE STYPE_FIELDS.
working table for the requested numeric fields of MSEG
types : begin of stype_color_fields,
FIELDNAME TYPE NAME_FELD,
type(01) type c,
end of stype_color_fields,
stab_color_fields type standard table of
stype_color_fields
with default key.
data: g_t_color_fields type stab_color_fields
with header line.
DATA: BEGIN OF IMSWEG OCCURS 1000,
MBLNR LIKE MSEG-MBLNR,
MJAHR LIKE MSEG-MJAHR,
ZEILE LIKE MSEG-ZEILE,
MATNR LIKE MSEG-MATNR,
CHARG LIKE MSEG-CHARG,
BWTAR LIKE MSEG-BWTAR,
WERKS LIKE MSEG-WERKS,
LGORT LIKE MSEG-LGORT,
SOBKZ LIKE MSEG-SOBKZ,
BWART LIKE MSEG-BWART,
SHKZG LIKE MSEG-SHKZG,
XAUTO LIKE MSEG-XAUTO,
MENGE LIKE MSEG-MENGE,
MEINS LIKE MSEG-MEINS,
DMBTR LIKE MSEG-DMBTR,
DMBUM LIKE MSEG-DMBUM,
BUSTM LIKE MSEG-BUSTM,
BUSTW LIKE MSEG-BUSTW, "147374
define the fields for the IO-OIL specific functions "n599218 A
mseg-oiglcalc CHAR 1 "n599218 A
mseg-oiglsku QUAN 13 "n599218 A
oiglcalc(01) type c, "n599218 A
oiglsku(07) type p decimals 3, "n599218 A
insmk like mseg-insmk, "n599218 A
END OF IMSWEG.
User settings for the checkboxes "n547170
DATA: oref_settings TYPE REF TO cl_mmim_userdefaults. "n547170
*eject
HAUPTPROGRAMM *********************************
F4-Hilfe für Reportvariante -
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
PERFORM f4_for_variant.
"n599218
INITIALIZATION "n599218
"n599218
"n599218
pay attentions : this process time will not be processed "n599218
in the webreporting mode "n599218
INITIALIZATION.
PERFORM APP_PROCESS USING 'ME'. "TEST
PERFORM initialisierung.
get the parameters from the last run "n547170
perform esdus_get_parameters. "n547170
set flag when INITILIZATION is processed
move 'X' to g_flag_initialization.
"n599218
AT SELECTION-SCREEN "n599218
"n599218
Prüfung der eingegebenen Selektionsparameter, -
Berechtigungsprüfung -
AT SELECTION-SCREEN.
the following 3 parameters XONUL, XVBST, and XNVBST "n599218
became obsolete; send error when they should be filled. "n599218
This could be possible if the user works with old "n599218
selection variants or this report is launched by a "n599218
SUBMIT command "n599218
if XONUL is initial and "n599218
XVBST is initial and "n599218
XNVBST is initial. "n599218
ok, the old parameters are empty "n599218
else. "n599218
text-088 : note 599218 : obsolete parameter used "n599218
MESSAGE E895 with text-088. "n599218
endif.
did the user hit the pushbutton "Category" ? "n599218
case SSCRFIELDS-UCOMM. "n599218
when 'LIU '. "n599218
yes, the pushbutton "Category" was hit "n599218
IF g_flag_status_liu = C_HIDE. "n599218
show the 7 parameters on the selection srceen "n599218
MOVE C_SHOW TO g_flag_status_liu. "n599218
ELSE. "n599218
hide the 7 paramaters "n599218
MOVE C_HIDE TO g_flag_status_liu. "n599218
ENDIF. "n599218
ENDcase. "n599218
"n599218
go on only if the user wants to launch this report "n599218
check : sy-ucomm = 'ONLI' or "n599218
sy-ucomm = 'PRIN' or "n599218
sy-ucomm = 'SJOB'. "n599218
PERFORM eingaben_pruefen.
check whether FI summarization is active and other "n547170
restrictions could deliver wrong results "n547170
perform f0800_check_restrictions. "n547170
- the user wants to surpress the reversal movements : "n497992
process warning M7 392 "n497992
IF NOT NOSTO IS INITIAL. "n497992
emerge warning ? "n497992
CALL FUNCTION 'ME_CHECK_T160M' "n497992
EXPORTING "n497992
I_ARBGB = 'M7' "n497992
I_MSGNR = '392' "n497992
EXCEPTIONSPlease read the KBA document 2012912 - Changeablility of the field "material group" in purchasing documents
It clearly says that material group can't be changed in case you will use material master in purchase order.
So, it is clear that you can't use different material group for material master in purchase order.
For stock report, system will only show you the material group which is assigned to the material master (MARA-MATKL). System will not look into the purchase order section (like EKPO). -
Report Engine SDK: CommunicationException when accessing IReportEngine members
Hello,
I have installed BOXI 3.1 SP3, including the .NET SDK, and I am trying to use the Report Engine SDK part to navigate through a WebIntelligence document (analyse its structure, etc.), via a Console App.
I built my console app targeting .NET framework 3.5, and compiled it in 32 bits mode (x86 platform). I can access the standard SDK without any problem and log in to the CMS then retrieve any InfoObject instances from my enterprise server.
My problem occurs when I try to access my BusinessObjects.ReportEngine.IReportEngine instance's members. Sample lines of code:
SessionMgr sessionManager = new SessionMgr();
EnterpriseSession session = sessionManager.Logon(login, password, cmsName, authType);
InfoStore infoStore = (InfoStore)session.GetService("InfoStore");
UserInfo userInfos = session.UserInfo;
string logonToken = session.LogonTokenMgr.CreateWCAToken("", 1, -1);
ReportEngines reportEngines = new ReportEngines(logonToken);
IReportEngine reportEngine = (IReportEngine)reportEngines.getService(ReportEngineType.WI_ReportEngine);
bool test = reportEngine.IsReady; // or any other member of reportEngine, like reportEngine.OpenDocument(...)
An exception of type 'BusinessObjects.ReportEngine.CommunicationException' occured.
Message:
The Web Intelligence server could not be reached. Contact your Business Objects administrator. (Error: RWI 00236), Session Init Failure,
Stacktrace:
à BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub.Connect(Boolean forceNewInstance)
à BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub..ctor(OCCAServerConnection connection, Boolean forceNewInstance)
à BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerConnection.get_Stub()
à BusinessObjects.ReportEngine.WI.Internal.Server.ServerCaller.SetupStub()
à BusinessObjects.ReportEngine.WI.Internal.Server.ServerCaller..ctor(IServerSession session, IServerProtocol protocol, IServerConnectionInfo info)
à BusinessObjects.ReportEngine.WI.Internal.WIDocumentInstance..ctor(WIReportEngine engine, Int32 documentId, OpenDocumentParameters parameters)
à BusinessObjects.ReportEngine.WI.Internal.WIDocumentInstance..ctor(WIReportEngine engine, Int32 documentId)
à BusinessObjects.ReportEngine.WI.Internal.WIReportEngine.GetAnyServerInstance()
à BusinessObjects.ReportEngine.WI.Internal.WIReportEngine.get_IsReady()
What do you suggest?Hi,
Enterprise / ReportEngine SDK is not supported / tested / compatible with desktop / console apps.
Could you try the same logic with a web services sdk, as WebServices SDk is the only SDK which could be used to develop thick client apps.
- Bhushan
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Getting started and moving ahead with Crystal Reports .NET applications. -
Animated .gif files in Captivate - why doesn't it work?
OS: XP
Captivate Version: 3
I was e-mailed an animated .gif that I want to use in a project I'm working on.
I saved the .gif to a drive. I then clicked Insert - Animation and selected it. I received a message stating This is not an animated GIF file or file in use. If I click Insert - Image, it brings in the image but the file is not animated.
Just for testing purposes, I moved the .gif file by itself on to the web server. When I access it through Internet Explorer on the web server, it works.
How do I get the file to animate in Captivate?
Your help is appreciated. Thanks.I wasn't able to open your GIF animation in Photoshop and nothing appeared in Captivate when I inserted it -- the same experience that you had. I tried an experiment with a very simple GIF animation that I created from scratch in Photoshop CS4. When I tried to insert this simple animation into Captivate 4, a message appeared that Captivate was converting. It never finished converting and eventually hung Captivate and had to force it to quit.
Since Lilybiri is able to insert Photoshop animated GIFs into Captivate without any problems, it may be that there are some version incompatibilities. It would be interesting to know which versions of Photoshop and Captivate Lilybiri is using and which versions you are using. It would also be interesting to know if Lilybiri is using transparency in the GIF, and which settings are being used when saving the GIF. -
Refreshing animated gif in Jlabel
Hi,
I've created a GUI for a cashmachine application and have the problem that my animated GIF's work on the first call, but only display the last frame of the animation on subsequent calls.
I've tried alot of things, including validate, repaint, refresh but im running out of ideas!
I have come to this assumption because I have created a copy of the animation and imported that on the second call and it works like it should. However once again on subsequent calls it simply displays the last from and doesn't animate.
The code looks like this:
public JLabel getInsertCardGraphic() {
/* Imports the enter card gif */
ImageIcon enterCardGraphic= new ImageIcon(LOCATION+"moving-card2.gif");
JLabel enterCardHolder = new JLabel(enterCardGraphic);
return enterCardHolder;
}which is called from:
public void actionPerformed(ActionEvent evt) {
playBeep(); //not related to problem
eastPane.removeAll();
eastPane.add(getInsertCardGraphic(), BorderLayout.CENTER); //called here
eastPane.add(getCashSlotImage(), BorderLayout.SOUTH);
eastPane.validate();
String cardNum = cardlist.getSelectedItem().toString(); //unrelated code
char[] pinArray = new char[4];
pinArray[0] = cardNum.charAt(12);
pinArray[1] = cardNum.charAt(8);
pinArray[2] = cardNum.charAt(4);
pinArray[3] = cardNum.charAt(0);
String encryptedPIN = new String(pinArray);
// Tell controller that a card has been entered.
Controller.getInstance("Ipl/ATM/Model/Model").cardEntered( cardlist.getSelectedItem().toString(), encryptedPIN);
}if anyone has any suggestions on what I should do I will be extremely greatful!!
Cheers,
Hakan
Edited by: hakz on Nov 13, 2007 5:01 AMAnimated gif is working fine for me.
You can check the delay time between the images in the gif, to see that it's not too short.
Here's a simple example:import java.net.URL;
import javax.imageio.ImageIO;
import javax.imageio.stream.ImageInputStream;
import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import com.sun.imageio.plugins.gif.GIFImageMetadata;
import com.sun.imageio.plugins.gif.GIFImageReader;
public class AnimatedGifTest {
public static void main(String[] args) {
try {
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(JDialog.EXIT_ON_CLOSE);
URL url = new URL("http://www.gifanimations.com/action/SaveImage?path=/Image/Animations/Cartoons/~TS1176984655857/Bart_Simpson_2.gif");
frame.add(new JLabel(new ImageIcon(url)));
frame.pack();
frame.setVisible(true);
// Read the delay time for the first frame in the animated gif
GIFImageReader reader = (GIFImageReader) ImageIO.getImageReadersByFormatName("GIF").next();
ImageInputStream iis = ImageIO.createImageInputStream(url.openStream());
reader.setInput(iis);
GIFImageMetadata md = (GIFImageMetadata) reader.getImageMetadata(0);
System.out.println("Time Delay = " + md.delayTime);
reader.dispose();
iis.close();
} catch (Exception e) {e.printStackTrace();}
} -
"mail contents of this page" won't support animated gifs
Let me start by saying that i know that Mail doesn't support animated gifs. However, up untill last year, i was able to email moving animated gifs by putting them online and mailing the content of the safari page (command i). I haven't made any updates to Mail or safari, yet this feature suddenly stopped working. I am still able to use command with still images, but when i try to use the command on an animated gif, nothing happens and it's grayed out in the menu.
I can't figure out how to email a moving gif via gmail either.
(Just to clarify, I know I can send a gif file, but It's useless if it doesn't show up as a moving image in the recipient's inbox).
Does anyone have a fix for this issue or another idea how to email a moving animated gif?
Many thanks!Yes, that was the problem. Mail couldn’t save a temporary copy of the message in Drafts because AOL doesn’t let IMAP clients such as Mail to create or manage mailboxes at the root level of the account directory, only as subfolders of Saved, and this causes Mail to not work properly if Store messages on the server is turned ON for any of the mailboxes in Preferences > Accounts > Mailbox Behaviors. You should turn Store messages on the server OFF for all the standard mailboxes, so that they are stored locally instead.
-
GIF won't play in design mode, but previews fine... any ideas?
My animated gif loops in browser preview, but only plays on the stage when i move it around. If I leave it selected without moving, it sits there frozen. Any ideas why my gif won't play properly in design mode? Thanks!
Thank you for confirmation that that is how things should work. I'm new to
the program and following some Lynda tutorials to get up to speed. My most
recent lesson included the gif in exercise files, and everything seems to
function both in Photoshop and the browser. Even in edge design mode, if I
press on the gif and move it around, it plays and loops fine. But as soon
as I stop moving the gif, it returns to first frame and stays stuck there.
Whether selected or not, it just sits there frozen. If I switch
applications and come back to edge, I catch a glimpse of other frames, as
if the gif was playing in the background. But then it stops again, kind of
like a watched pot The behavior seemed glitchy to me, but I thought I
might be missing a setting somewhere. I'll try with other gifs, I guess..
Thanks again!
Maybe you are looking for
-
IPhone wont let me listen to music or update apps
Hello. When i go to the Music app and press a song it freezes and doesn't play it or it will be on play but it will just be at 0:00 and not start the song. I always try to turn up the volume but it freezes and doesn't work. I ushally have to double c
-
hi guru, i developed a report. IF S_BGPRO = 'X'. SELECT AUFNR GMNGA FROM AFRU INTO CORRESPONDING FIELDS OF TABLE IT_AFRU12 WHERE WERKS = 'PD01' AND BUDAT IN S_BUDAT. IF NOT IT_AFRU1
-
JAXM RI asynchronous delivery -- how does it work?
After struggling with using a one-way remote messaging with JAXM provider for several days, I finally got two simple clients working on two machines, one message producer on server1 and the other consumer on server2 (no reply message the other way) -
-
Pretty simple question, How to I edit multiple objects from their individual centre points? Cheers -Ford
-
I downloaded version ios 7.0.2 and then software collapses. It shows an itunes logo ang connection charger. I connect it to pc but it has trouble restoring data.