Merging ResourceDictionary at run time!
Hi Everyone,
I am trying to merge ResourceDictionary at run time from code behind. I am building a ResourceDictionary from an xml file and then merge it at application level.
public MainWindow()
List<string> listFiles = new List<string>();
listFiles.Add("English1.xml");
listFiles.Add("English2.xml");
var rd = new ResourceDictionary();
rd.Source = new Uri("pack://application:,,,/Languages;component/English.xaml", UriKind.Absolute);
foreach (string file in listFiles)
XmlTextReader reader = new XmlTextReader("..\\..\\" + file);
string key = string.Empty;
string value = string.Empty;
while (reader.Read())
if (reader.NodeType == XmlNodeType.Element && (reader.Name == "Data" || reader.Name == "data"))
if(reader.Name == "Data")
key = reader.GetAttribute("Key");
if (reader.Name == "data")
key = reader.GetAttribute("name");
while (reader.Read())
if (reader.NodeType == XmlNodeType.Text)
value = reader.Value;
//AddKeyValue(key, value);
if (rd.Contains(key))
rd[key] = value;
else
rd.Add(key, value);
break;
reader.Close();
var settings = new XmlWriterSettings();
settings.Indent = true;
var writer = XmlWriter.Create(@"English.xaml", settings);
System.Windows.Markup.XamlWriter.Save(rd, writer);
writer.Close();
Resources.MergedDictionaries.Add(rd);
This works as long as I have this:
<Window x:Class="LanguageTranslation.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Label Content="{StaticResource Hello}"Height="30" Width="100"/>
</Grid>
</Window>
The moment I have additional ResourceDictionary in xaml, I get Key not found error.
<Window x:Class="LanguageTranslation.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525">
<Window.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Style/ApplicationDesignerStyles.xaml"/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Window.Resources>
<Grid>
<Label Content="{StaticResource CScanView}" Style="{StaticResource LabelStyle}" Height="30" Width="100"/>
</Grid>
</Window>
I am thinking, I am not merging the dictionary correctly, when I add the local dictionary in xaml it tries to search for "Hello" in that xaml. How do I correctly merge this?
Please Mark as Answered If this answers your question Or
UnMark as Answered if it did not.
Happy to Help :)
My Site
You should use the DynamicResource markup extension for this to work:
<Label Content="{DynamicResource CScanView}" />
A StaticResource is resolved during the loading of the XAML and using StaticResource to reference a resource that is defined in a ResourceDictionary that is merged at runtime in the XAML works only as long as you add the ResourceDictionary to Resources.MergedDictionaries
before calling the InitializeComponent() method.
A DynamicResource isn't looked up until runtime.
If you define some <ResourceDictionary.MergedDictionaries> in your XAML, the XAML compiler will appearantly consider only these ones when compiling the XAML regardless of whether you did add another ResourceDictionary to Resources.MergedDictionaries
before the InitializeComponent() method was called. The XAML sorts of "overrides" the dynamic dictionary at compile time. There is not much you can do about this.
Please remember to mark helpful posts as answer and/or helpful.
Similar Messages
-
Installshi​eld Merge Module Rather Than Run-Time Engine
I create installations for our company using Installshield 11
Professional. At this point, the only way to install the
necessary files to run a Lab View application is to add the Lab View
7.1 run time engine into the setup.
What I am looking for is an alternative. I am hoping there is
some sort of merge module out there which can be added to Installshield
so I don't have to call the Lab View run-time engine installer from my
installer.
Does such a thing exist?
Or does anyone have any advice on how I can make a Lab View installer using InstallShield and make the installation unified?
I don't prefer the current setup I have where our software installation
begins, then the run-time engine installer takes over, and then our
setup continues.
Thanks for any help,
Adamjacko wrote:
Hi Rolf,
It seems to me that you are explaining the problem I encountered after finding the merge modules which Chris led me to. That problem was which merge modules to use?
I have in fact been trying to identify which modules I'd need, and was
going to do it by trial and error. If there is an easier way then
I'll give your method a shot.
Is this what you are refering to in your message above?
Well,
I'm not sure I understand you correct, but yes I think that is what my
message meant. Basically if you look at the two VIs and try them out
you will more or less see how they work.
You can then try to create a small tool, that given a *.msm file as
input will tell you which other msm files you need to include in your
Install Shield installer. If that is easier than trial and error is of
course something you can depate over. Also note that the order of
inclusion of msm files in an installer seems to be important too. The
lowest one in a depency chain should be first I believe.
For your particular problem you would look at the LVRunTime.msm
file to get a list of all other modules you need to include in your
installer. I actually would suspect that Install Shield should have
some functionality to list dependencies of merge modules, too.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Sequence will not validate with run time prompts in business rules
I am in Hyperion Planning v 1.1.1.3, with Workforce initialized. I am creating a sequence of business rules. The rules use run time prompts within them and validate when used on their own. However, when I insert them in a sequence the sequence will not validate, apparently due to the run time prompts.
The sequence returns the error: Cannot calculate. Essbase Error(1200323): Error parsing formula for [FIX STATEMENT] (line 7): expression expected after [(].
Line 7 in the business rule is as follows:
FIX ([rtpYear],[rtpScenario],[rtpVer],[rtpCC],[rtpBU],[rtpEmp])
The problem is not isolated to this business rule, it occurs with any rule I try.
Can sequences function with run time prompts in the included business rules?
StephenI have figured out that if any rtp is hidden in the business rule, the sequence will not validate. Is this expected behavior for sequences?
Additionally, hiding the variables in the sequence has no effect if the variables are not hidden in the rule. When launched from a menu in a web form, the user is prompted for values for all variables (except for the Execution Database Name) although they are prepopulated based on the members in the POV, Page, etc. Is this also expected behavior?
I also find that it won't validate if "Merge launch variables" is selected (I have included rules associated with different plan types and with different dimensionality, so this may be expected). The user is prompted to provide values for every variable in each rule in the sequence, many of them duplicates (though, again, they are prepopulated based on members in the form).
Stephen -
Why is VI not executable using Labview 7.1 Run-Time Engine?
Hi,
In our Teststand sequence, we have a Labview Action step which is returning an error: "The VI is not executable", along with the error code: -18002.
This error occurs on a Production PC using the L.V. 7.1 Run-Time Engine.
I'm aware of Mass Compiling to ensure all the VI's are the correct version, but this has not resolved the problem.
The software was installed on the production PC using a Teststand created installer, with the Labview Adapter set
correctly to the Run-Time Engine, i.e. not trying to open the Labview Developer Server to execute the step at run time.
Because it's the 1st Labview module to be executed, I added another similar step to run beforehand, i.e. the new simple
Labview code ran first. This executed correctly, but then the next step caused the error above.
The small number of associated sub-vi's are on the target PC, and have been mass compiled.
I've had -18002 errors before, but this is one I cannot cure.
All suggestions gratefully received.
Gary.Hi Guys,
Regarding this -18002 error when using the Run Time Engine instead of the Development Environment, what is the VI within the step that is failing (in any of the cases you've mentioned) trying to do? Are they built around any toolkits?
In my experiments with a simple VI (with just a user dialogue) using the LabVIEW 7.1 RTE in both TestStand 3.1 and 3.5 this morning, I haven't found any issues
There is a possibility if any of the sub-VIs or toolkits you use contain a Merge Errors.vi, that the Run Time Engine picks up a copy of the VI built for previous versions of the RunTime Engine (due to the order in which the sub-VI directories are scanned), and it cannot convert it.
There are a few solutions for this, the easiest one looks to be to copy the error.llb\Merge Errors.vi for LabVIEW 7.1 into the same directory as the VI you're calling (so TestStand can pick it up easily).
Can you let me know if this solution helps at all? If not, would it be possible to post up any of the code or sequence you're having problems with?
Best wishes,
Mark
Applications Engineer
National Instruments -
Run time error when Combining PDF or WORD files
Good morning everyone
I have a client who is trying to merge two files either word or PDF files and every time she does this she is getting a run time error on the process.
the Machine is a Lenevo Desktop with Xp SP3 on the machine
Running Office 2007 with SP 3 now on the machine
Adobe Pro X with the latest and current updates Licnesed
I have done the repair on this unit several times as well as repair of the Office.
We can convert the Word files no problem but i get a an error on the merging of the files
has anyone seen this problem before?
what do i need to do to resolve this issue?Operating system is Windows Vista Home Premium..
Version of Adobe Reader is 10.1.13.
Any thoughts on what the issue is? -
Run-time error -2147417848 (80010108), method '~' of object '~' failed
Hello
I have an application written in VB6 which uses Crystal 9 Reports (RDC). The application is running on Windows XP, SP2.
On this PC is .net Framework 2.0 installed and since then from time to time I get the message:
run-time error -2147417848 (80010108), method '' of object '' failed
But this error doesn't appear always, but when it happens, it happens always at setting the datasource
example:
repReport.Database.SetDataSource rsDummy
Does anybody know why this is?
Thank you for your help.Hi, Urs;
Whereever the error is occuring, you should ensure you have the latest version of our files. For a client install, be sure that you are using the latest Merge Modules from our web site to deploy your application.
If you are not getting the error on your development system, you may have newer files there than on the client.
Regards,
Jonathan -
Hi All,
I'm getting an error with my code below.
I'm trying to find out if any records exist, if they do, edit the record. if not insert new record. but i'm getting the error message:
Run-time error '3251':
Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.
My Code Below:
Sub StoreTarDscOrPrdIDNext()
Dim conn As ADODB.Connection
Dim prdDsc, prdID As ADODB.Recordset
Dim strConn As String
strConn = "Provider = Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & ThisWorkbook.Path & "\eps.mdb"
Set conn = New ADODB.Connection
conn.Open strConn
Set prdDsc = conn.Execute("SELECT hs_cod FROM hs_log where prd_dsc = '" + LCase(txtDesc.value) + "'")
Set prdID = conn.Execute("SELECT DISTINCT hs_cod FROM hs_log where prd_id = '" + LCase(cboProductID.value) + "'")
'On Error GoTo ErrorHandler
storTarDscPrd = Application.WorksheetFunction.VLookup("storTarDscPrd", Worksheets("config").Range("B:C"), 2)
'If storTarDscPrd = "1" Then
'store tariff and description
If Not (prdDsc.BOF And prdDsc.EOF) Then 'There are no records if Beginning-Of-File and End-Of-File are both true.
'if found Ask to Edit record
EditTar = MsgBox(Prompt:="Edit record?", Buttons:=vbYesNo, Title:="ePrisoft")
If EditTar = vbYes Then
prdDsc("hs_cod") = Trim(cboTariffNo2.value)
prdDsc.Update
'Set prdDsc = conn.Execute("UPDATE hs_log SET hs_cod = '" + Trim(cboTariffNo2.value) + "' WHERE prd_dsc = '" + LCase(Trim(txtDesc.value)) + "'")
End If
MsgBox "Edit"
Else
'else insert new record
prdDsc.AddNew
prdDsc("prd_dsc") = LCase(Trim(txtDesc.value))
prdDsc("hs_cod") = Trim(cboTariffNo2.value)
prdDsc.Update
'sql = "INSERT INTO hs_log (prd_dsc, hs_cod) VALUES '" + LCase(Trim(txtDesc.value)) + "','" + Trim(cboTariffNo2.value) + "'"
'Set prdDsc = conn.Execute("INSERT INTO hs_log (prd_dsc, hs_cod) VALUES '" + LCase(Trim(txtDesc.value)) + "','" + Trim(cboTariffNo2.value) + "'")
MsgBox "Insert"
End If
'ElseIf storTarDscPrd = "2" Then
'store tariff and productid
'Else
'dont store tariff
'End If
'ErrorHandler:
'Err.Clear
'Resume Next
prdDsc.Close
Set prdDsc = Nothing
prdID.Close
Set prdID = Nothing
conn.Close
Set conn = Nothing
End Sub
Any help would be appreciated
ThanksInstead of doing all that, Read about merge statement,
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9016.htm#SQLRF01606
more examples.
http://www.oracle-base.com/articles/10g/MergeEnhancements10g.php
http://psoug.org/reference/merge.html -
Hi!
So attached are the codes I had for retrieving data from a network analyzer. I wanted to divide the sweep range into 800 subintervals, to run several times on each sub, and to generate an averaged data point for that subinterval. Now it takes me 30s to run once on each subinterval, so in total that's gonna take me over 20hours, which is way too much... I am just wondering if there's a way to drastically reduce the total run time to, say 1h? Thanks!
Attachments:
QCM_new.vi 146 KB
Retrieve_Data.vi 154 KB
Merge and Plot Data Sets.vi 37 KBFirst, get rid of all the timed structures. I don't know what you think they do but at best, all they will actually do is report that they are running late. If a GPIB Write takes x number of msec, then that is how long it will take. The timed structures are just adding overhead. Use the error in/error connections to enforce dataflow and use the VISA functions instead of the low level GPIB. Make sure to add error in/error out connections to your subVIs. Move the file write out of the loop and use a producer/consumer architecture.
Finally, as I hinted, the GPIB communication speed is dependent on how many bytes you read and write. The instrument itself may not be capable of high speed communication. GPIB itself is not really designed for high speed communication.
I'll also mention that changing the timeout points to a fault in your code. You really aren't tracking errors, but if you did and got timeout errors, then you need to fix that. You are perhaps not sending a correct command, the instrument is not sending the correct termination, whatever. -
Error involving Report Generation Toolkit and Labview Run Time Engine
Developed an application using LabVIEW 6.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1. From there, tried to build a shared application for use with the LabVIEW Run Time Engine. The Run Time version functions properly until "New Report.vi" is called and then an error is generated, code 7, calling out "Open VI Reference in New Report.vi" could not be found. When building the application, I did include the "NI Reports Support" in the advanced installer options. The machine used for original development and application build is running Windows XP Pro and Office XP. Any suggestions??
I am having the exact same problem but with LV 6.1 and M/S WORD 2000. It appears that the "New Report.vi" is trying to open "C:\APP.DIR\Word_Open.vi" and "C:\APP.Dir\Word_Open_Document.vi" by reference. The "OFFICE 2000.TXT" says that "_exclsub.llb and _wordsub.llb must be added as support files when building an application or a dynamic link library with the application builder." I added them as Support Files and I copied them to the "C:\TESTER\" where the TESTER.EXE is and I still get ERROR 7 in "NEW REPORT.VI" at VI OPEN REFERENCE.
Do I need to make a "C:\TESTER\DATA\" sub-dir and put the support files there?
I am building on MY COMPUTER on F: Drive on a network and transporting files to the real Tester.
I displayed my App.Property of APP.DI
R at start up and it is C:\TESTER\ ! How would my application know that "Word_Open.vi" and "Word_Open_Document.vi" are actually inside the _wordsub.llb?
Any ideas ?
Greg Klocek -
How can i update data in JTable at run time ?
i am trying to build a client/server architecture for conducting quizzes & online tests.. My client will return a object to the server after the test is over, which contains details about the participant, his score and other details. i am putting the incoming object to an Vector. I'll create a new thread each time for the incoming connection and insert the object to the Vector.. Now, please tell me tat, how can i update my table automatically at run time so tat, my table is updated whenever a new object is entered into vector..
here is my code for the table..
public class MyTableModel extends AbstractTableModel {
String columNames[] = { "ID", "NAME", "COLLEGE", "SCORE", "CELL" };
/** Creates a new instance of MyTableModel */
public MyTableModel() {
Main.List = new Vector();
SetDefaultData();
public int getRowCount() {
return Main.List == null ? 0 : Main.List.size();
public int getColumnCount() {
return columNames.length;
public String getColumnName(int column) {
return columNames[column];
public boolean isCellEditable(int row,int col) {
return false;
public Object getValueAt(int rowindex, int columnindex) {
if(rowindex < 0 || rowindex >= getRowCount())
return "";
Student row = (Student)Main.List.elementAt(rowindex);
switch (columnindex)
case 0 : return row.id;
case 1 : return row.name;
case 2 : return row.college;
case 3 : return row.score;
case 4 : return row.cell;
return "";
public String getTitle() {
return "Student Table";
private void SetDefaultData() {
Main.List.removeAllElements();
Main.List.addElement(new Student("CS041","Keerthivasan M","MNM",95,"9884326321"));
Main.List.addElement(new Student("CS012","Arun M","MNM",90,"9884825780"));
Main.List.addElement(new Student("CS019","Balaji S","MNM",79,"9841742068"));
Main.List.addElement(new Student("CS005","Anand R","MNM",89,"9884130727"));
Main.List.addElement(new Student("CS045","Manish J","MNM",55,"9841624625"));
Main.List.addElement(new Student("CS013","Mangal S","MNM",5,"9841961742"));
}In the future Swing related questions should be posted in the Swing forum.
how can i update my table automatically at run time so tat, my table is
updated whenever a new object is entered into vector..You don't update the Vector directly. You should be creating a method in your TableModel, called "addRow(...)". This method will do two things:
a) add the Student object to the Vector
b) invoke the fireTableRowsInserted(..) method of AbstractTableModel. This will cause the table to be repainted. -
Loading style sheets at run time
I have created few fonts css and compiled them into swf to
load them at run time.
There is one custom component Card, is placed into a Module
and this Module is loaded by main application.
The Card component contains TextArea, MyTextArea(custom
component) and ComboBox (which display font list).
Now when user select any font from ComboBox, Card component
load css and when it get loaded, it updates fontFamily of TextArea
and MyTextArea. But only TextArea updated with new fonts while
MyTextArea is not getting update anytime.
Can anyone help me to figure out this.
I am using following code to load css run time.
var myEvent:IEventDispatcher =
StyleManager.loadStyleDeclarations(fontSource[0].src,true,false,ApplicationDomain.current Domain);
myEvent.addEventListener(StyleEvent.COMPLETE,fontComplete);
myEvent.addEventListener(StyleEvent.ERROR,fontError);
Any help will be appreciated, ThanksCould you save the CSS files as SWCs instead of SWFs and compile them in to the IPA?
Just a thought; I've never done this myself.
-Randy Nielsen
Senior Content and Community Manager
Adobe Systems Incorporated -
How To... Change the Data Type for a SELECT-OPTIONS at run time.
Hello,
I am trying to restrict the values available for entry into a SELECT-OPTIONS at run time depending on user input.
The logic is as follows. The user has two input fields. A PARAMETER field which has the type RSDIOBJNM and allows them to choose an InfoObject. And the user has a SELECT-OPTIONS field to allow them to select the Characteristic values for that InfoObject.
I would like the following example to be possible:
The user enters 0MATERIAL into the PARAMETER. When the user clicks on the SELECT-OPTIONS control code will derive a list of possible options the user can enter in the SELECT-OPTIONS. In this case only values found in the master data or at least no values greater than 18 characters.
I have looked at the following function module SELECT_OPTIONS_RESTRICT and this do not appear to be helpful as they only restrict on the signs allowed for the values (unless I misunderstand, it is a complex function module!).
The code I have so far is (thus the user enters a InfoObject into p_char1 and the select options so_char1 should only accept active values of that InfoObject):
declaration of variables for user interface
DATA c_char(32) TYPE c.
declaration of count variable
DATA i_count TYPE i.
declaration of user interface
SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-001.
PARAMETERS: p_ipack TYPE RSLOGDPID.
SELECTION-SCREEN END OF BLOCK a1.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-002.
PARAMETERS: p_char1 TYPE RSDIOBJNM.
SELECT-OPTIONS: so_char1 for c_char NO INTERVALS.
PARAMETERS: p_char2 TYPE RSDIOBJNM.
SELECT-OPTIONS: so_char2 for c_char NO INTERVALS.
PARAMETERS: p_char3 TYPE RSDIOBJNM.
SELECT-OPTIONS: so_char3 for c_char NO INTERVALS.
SELECTION-SCREEN END OF BLOCK b1.
Is what I am trying to do possible???
Thanks for any help. Ross.You really want to restrict possible values of a select-option based on another field, not change the length of type of the select-option field, right?
Here is what you do: Code a custom F4 value help for the select-option at event AT SELECTION-SCREEN ON VALUE REQUEST FOR.. The first thing you do here is read the value of the parameter field (p_ipack in your example). You can use function module DYNP_VALUES_READ. Based on this value, you can propose values for the select-option fields. Note that the use can still enter whatever s(he) wishes in to the select-option field without pressing F4. In this case, you will have to code some input validations taking into account the value in the p_ipack field. -
Getting run time error in organizer Photoshop Elements 5.0??
How do I fix run time error for Adobe PhotoShop Elements
5.0 when I pull up organizer?What operating system?
-
Error run time DYNPRO_FIELD_CONVERSION
I have a dump:
Errore run-time DYNPRO_FIELD_CONVERSION
Verific. il 28.11.2007 h 02:12:16
A conversion error occurred.
Causa dell'errore
The current screen processing was terminated, since a situation
occurred from which it could not continue processing.
This is probably due to an error in the current screen of the ABAP
program.
Possibili soluzioni
Make a note of the actions and input which caused the error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Analisi errori
The program flow was interrupted and could not be resumed.
Program "SAPMM06B" tried to display fields on screen 0106. However, an
error occurred while this data was being converted.
Indic. per la correzione
A conversion error occurred while the program was trying to
display data on the screen.
The ABAP output field and the screen field may not have the
same format.
Some field types require more characters on the screen than
in the ABAP program. For example, a date field on a screen needs
two characters more than it would in the program. When attempting to
display the date on the screen, an error will occur that triggers the
error message.
Screen name.............. "SAPMM06B"
Screen number............ 0106
Screen field............. "EBAN-MENGE"
Error text............... "FX015: Sign lost."
Further data:
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
It is probably not possible to eliminate the system error
with ABAP alone.
If you have access to SAPnet, you can search for a relevant note
using the following keywords:
"DYNPRO_FIELD_CONVERSION" " "
"SAPMM06B" bzw. "MM06BO0R_RM06B-EPSTP"
"RM06B-EPSTP"
Ambiente sistema
SAP Release.............. "620"
Application server....... "assapoa"
Network address.......... "10.58.19.23"
Operating system......... "AIX"
Release.................. "5.2"
Hardware type............ "00CB585E4C00"
Character length......... 8 Bits
Pointer length........... 64 Bits
Work process number...... 26
Short dump setting....... "full"
Database server.......... "ars005sapdb"
Database type............ "ORACLE"
Database name............ "PRD"
Database owner........... "SAPR3"
Character set............ "it_IT.ISO8859-1"
SAP kernel............... "640"
Created on............... "Jul 16 2006 20:40:53"
Created in............... "AIX 1 5 00538A4A4C00"
Database version......... "OCI_920 "
Patch level.............. "139"
Patch text............... " "
Supported environment....
Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
10.2.0.."
SAP database version..... "640"
Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"
Utente, transazione.....
Client.............. 300
User................ "CONSULENTI"
Language key........ "I"
Transaction......... "ME52 "
Program............. "SAPMM06B"
Screen.............. "SAPMM06B 0106"
Screen line......... 26
Informazioni punto di interr.
The termination occurred in the ABAP program "SAPMM06B" in "RM06B-EPSTP".
The main program was "SAPMM06B ".
The termination occurred in line 14 of the source code of the (Include)
program "MM06BO0R_RM06B-EPSTP"
of the source code of program "MM06BO0R_RM06B-EPSTP" (when calling the editor
140).
The program "SAPMM06B" was started as a background job.
Errore verificatosi durante un'elaborazione Batch-Input
Dettaglio cd. sorgente
000010 *eject
000020 *----
000030 * Positionstyp aufbereiten *
000040 *----
000050 MODULE RM06B-EPSTP OUTPUT.
000060
000070 CALL FUNCTION 'ME_ITEM_CATEGORY_OUTPUT'
000080 EXPORTING
000090 PSTYP = EBAN-PSTYP
000100 IMPORTING
000110 EPSTP = RM06B-EPSTP
000120 PTEXT = T163Y-PTEXT.
000130
ENDMODULE.
Contenuto campi sistema
Cmpo SY Contenuto.................... Cmpo SY Contenuto....................
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 1 SY-DBCNT 1
SY-FDPOS 1 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1 SY-PFKEY VU
SY-UCOMM
SY-TITLE Richiesta d'acquisto mod.: Riepilogo pos.
SY-MSGTY SY-MSGID
SY-MSGNO 000 SY-MSGV1
SY-MSGV2 SY-MSGV3
SY-MSGV4
Richiami/eventi attivi
N..... Tipo........ Nome..........................
Programma
Include Riga
Classe
1 MODULE (PBO) RM06B-EPSTP
SAPMM06B
MM06BO0R_RM06B-EPSTP 14
Variabili selezionate
1 MODULE (PBO) RM06B-EPSTP
SAPMM06B
MM06BO0R_RM06B-EPSTP 14
DIEN DIEN
4444
495E
EBAN-PSTYP 0
3
0
LIM LIM
4442
C9D0
RM06B-EPSTP
2
0
POTE TXP
5552
4800
T163Y-PTEXT Standard
57666676222222222222
341E4124000000000000
Chiamate applicazione
Il dump non riporta informazioni relative
Informazioni applicazione
Il dump non riporta informazioni relative
Note interne
The termination occurred in the function "dynpconv.c" of the SAP
Basis System, specifically in line 701 of the module
"//bas/640_REL/src/krn/dynp/dybas.c#4".
The internal operation just processed is "ENDM".
The internal session was started at 20071128021215.
Application server....... "assapoa"
Network address.......... "10.58.19.23"
Operating system ........ "AIX"
Release.................. "5.2"
Hardware type............ "00CB585E4C00"
Database server.......... "ars005sapdb"
Database type............ "ORACLE"
Database name............ "PRD"
Database user ID......... "SAPR3"
Rich. attivi nel nucleo SAP
=> 64 bit R/3 Kernel
=> 64 bit AIX Kernel
=> Heap limit = unlimited
=> Stack limit = unlimited
=> Core limit = 1073741312
=> File size limit = unlimited
=> Heap address = 0x11dd952a0
=> Stack address = 0xfffffffffffa920
=> Stack low = 0xfffffffffffa920
=> Stack high = 0xffffffffffff910
=> Stack Trace:
AixStack() at 0x1000206bc
CTrcStack2() at 0x1000207b4
rabax_CStackSave__Fv() at 0x1001520d4
ab_rabax() at 0x10014ef04
dyHandleError() at 0x1005a6850
dypcnvoXt() at 0x100cbd6cc
dynplend() at 0x1010cf268
dynpmcal() at 0x1010c6f60
dynppbo0() at 0x1010c5134
dynprctl() at 0x1010ce40c
dynpen00() at 0x100bd0c30
Thdynpen00() at 0x1000a1f7c
TskhLoop() at 0x1000a5298
tskhstart() at 0x1000bb0d8
DpMain() at 0x101579ca0
nlsui_main() at 0x10154d428
__start() at 0x1000002fc
!!! Invalid stack address encountered: 0x0
!!! Stack corrupted.
Lista dei programmi ABAP in oggetto
Tipo
Programma
DataGen Ora
Dim.car.
Prg
SAPMM06B
25.09.2007 16:07:55
514048
Prg
SAPMSSYD
05.06.2002 17:09:33
16384
Prg
SAPFSYSCALLS
14.02.2002 14:22:47
6144
Typ
T160
12.05.1997 15:22:15
2048
Prg
SAPFMMEX
18.11.2007 09:34:59
177152
Typ
TSTCT
14.02.1998 14:31:34
2048
Typ
TMED
27.08.1994 21:59:16
2048
Typ
TPRG
14.02.1998 14:06:12
2048
Typ
T160D
11.02.2000 14:20:36
5120
Typ
T160V
14.05.1998 22:44:11
6144
Typ
T168T
28.08.1997 09:05:04
2048
Prg
SAPLMEXF
18.11.2007 09:35:00
166912
Typ
T162
02.10.2001 13:56:13
2048
Prg
SAPLSTUP
17.06.2004 12:05:43
65536
Prg
SAPLCNDP
17.06.2004 15:06:47
163840
Prg
SAPFGUICNTL
09.01.2003 17:18:52
20480
Prg
SAPLOLEA
17.06.2004 15:12:42
78848
Prg
SAPLSGUI
09.01.2003 17:15:12
31744
Prg
SAPLSTTM
17.06.2004 15:08:30
75776
Prg
SAPLSBDC
07.01.2003 18:31:25
38912
Prg
SAPLSFES
17.06.2004 15:15:58
174080
Prg
SAPLURFC
17.06.2004 14:25:28
16384
Prg
SAPLSPLUGIN
14.02.2002 14:22:48
6144
Typ
SWCBCONT
15.11.2000 17:55:11
3072
Typ
OLE_VERBS
04.04.1995 16:02:20
2048
Typ
OLE_PA
04.04.1995 16:02:19
2048
Prg
SAPLSCNT
14.02.2002 14:22:47
24576
Prg
SAPSHDTV
17.06.2004 11:46:16
28672
Typ
EBANW
17.06.2004 15:55:16
21504
Prg
CL_CONTEXTFIELD_MM============CP
25.09.2007 16:07:49
9216
Prg
/1BCDWBEN/SAPLMEN0000
18.11.2007 09:35:16
237568
Prg
SAPLSENA
17.06.2004 14:19:40
28672
Typ
EBAN
13.11.2006 11:19:59
20480
Prg
CL_PROCESS_STATE_MM===========CP
25.09.2007 16:07:50
16384
Prg
SAPLSWUG
17.06.2004 14:22:25
53248
Typ
SWCONT
04.04.1995 16:18:01
2048
Typ
OBJ_RECORD
14.02.1998 08:30:43
2048
Typ
SWOTOBJID
04.05.1995 15:20:52
2048
Typ
SWHACTOR
04.04.1995 16:18:07
2048
Prg
CL_GOS_MANAGER================CP
11.04.2001 13:02:00
17408
Prg
CL_GOS_VIEW_MANAGER===========CP
24.01.2002 20:31:22
22528
Typ
SIBFLPOR
15.11.2000 17:53:54
2048
Typ
SGOS_MVOBJ
24.07.2001 09:18:06
3072
Typ
BORIDENT
28.08.1997 08:38:50
2048
Prg
SAPLSUU1
17.06.2004 15:13:06
165888
Typ
USR02
17.06.2004 15:05:37
7168
Typ
USREFUS
07.01.2003 18:24:17
2048
Typ
SIBFLPORB
15.11.2000 17:53:55
2048
Prg
CL_GOS_TOOLBOX_MODEL==========CP
17.06.2004 15:04:37
38912
Typ
SGOS_MODL
24.07.2001 09:18:05
4096
Typ
OBJ_RECORD
14.02.1998 08:30:43
2048
Prg
SAPLSWOR
17.06.2004 15:08:55
270336
Typ
SWOTRI
03.01.1996 15:29:13
2048
Typ
SWOTRETURN
20.08.1998 10:59:29
3072
Prg
SAPLSWOH
14.02.2002 14:22:48
7168
Typ
SWOTENV
11.02.2000 14:20:34
4096
Typ
TOJTD
15.11.1995 03:08:46
2048
Prg
SAPLRHS0
14.02.2002 14:22:47
11264
Prg
SAPLSDIFRUNTIME
17.06.2004 14:20:44
82944
Typ
DFIES
09.11.2000 14:07:05
8192
Typ
X031L
15.11.2000 18:03:28
5120
Prg
SAPLSDNT
17.06.2004 12:06:43
199680
Prg
SAPLSUGS
21.11.2002 10:20:02
29696
Typ
TOJTD
15.11.1995 03:08:46
2048
Typ
TOJTB
14.02.1998 14:02:55
8192
Typ
SWOTLI
04.04.1995 17:30:59
2048
Typ
T100
28.08.1997 09:04:45
2048
Prg
CL_EXITHANDLER================CP
17.06.2004 15:04:37
26624
Prg
CL_ABAP_TYPEDESCR=============CP
17.06.2004 14:19:33
21504
Prg
CL_ABAP_ELEMDESCR=============CP
17.06.2004 14:19:13
18432
Prg
CL_ABAP_DATADESCR=============CP
17.06.2004 14:19:13
14336
Prg
CL_ABAP_REFDESCR==============CP
17.06.2004 14:19:33
16384
Prg
CL_ABAP_STRUCTDESCR===========CP
17.06.2004 14:19:33
19456
Prg
CL_ABAP_COMPLEXDESCR==========CP
17.06.2004 14:19:13
13312
Prg
CL_ABAP_TABLEDESCR============CP
17.06.2004 14:19:33
17408
Prg
CL_ABAP_CLASSDESCR============CP
17.06.2004 14:19:33
23552
Prg
CL_ABAP_OBJECTDESCR===========CP
17.06.2004 14:19:33
25600
Prg
CL_ABAP_INTFDESCR=============CP
17.06.2004 14:19:13
19456
Prg
CL_ABAP_SOFT_REFERENCE========CP
29.03.2001 16:42:12
7168
Prg
CL_ABAP_REFERENCE=============CP
14.02.2002 14:22:46
6144
Prg
IF_EX_GOS_SRV_SELECT==========IP
04.12.2000 16:22:18
4096
Prg
%_CABAP
07.01.2003 18:31:23
23552
Typ
SXS_INTER
30.11.1998 15:55:16
2048
Prg
SAPLSEXV
17.06.2004 15:04:40
106496
Prg
CL_BADI_FLT_DATA_TRANS_AND_DB=CP
17.06.2004 15:04:37
33792
Typ
SXS_ATTR
20.08.2001 12:23:27
4096
Typ
V_EXT_ACT
09.11.2000 14:27:05
2048
Typ
SXC_EXIT
09.11.2000 14:23:43
2048
Prg
CL_EX_GOS_SRV_SELECT==========CP
17.06.2004 15:04:37
13312
Prg
%_CSXRT
17.06.2004 15:04:37
11264
Prg
CL_EXIT_MASTER================CP
17.06.2004 15:04:37
13312
Typ
V_EXT_IMP
09.11.2000 14:27:05
2048
Typ
V_EXT_IMP
09.11.2000 14:27:05
2048
Prg
SAPLBDLS
17.06.2004 11:45:48
176128
Typ
T000
11.09.1997 10:17:18
4096
Typ
SWOTRTIME
14.02.1998 10:19:46
3072
Prg
%_CSWOB
14.02.2002 14:22:46
13312
Typ
SWOTINVOKE
14.02.1998 10:18:40
6144
Typ
SWOTLV
04.12.2000 14:59:45
10240
Prg
SAPLSWCD
17.06.2004 15:06:55
78848
Prg
RBUS2105
13.11.2006 11:20:02
57344
Prg
CL_GOS_PUBLICATION============CP
13.11.2000 16:31:37
15360
Prg
SAPLSGOSHIST
17.06.2004 14:23:50
46080
Typ
EBKN
16.06.2004 13:09:57
9216
Typ
T161
16.06.2004 13:14:35
5120
Typ
T161T
14.02.1998 10:55:58
2048
Typ
CMMDA
18.09.2001 10:02:31
4096
Prg
SAPLMMDA
04.09.2006 11:00:54
65536
Typ
TWLAD
13.08.1997 14:04:45
2048
Typ
TTXID
27.08.1999 17:40:33
3072
Prg
SAPLSTXD
17.06.2004 15:06:22
347136
Typ
STEXTNAME
18.09.2001 10:03:52
1024
Typ
STXDRID
26.02.1999 14:48:42
2048
Typ
STXDRLANG
26.02.1999 14:48:42
2048
Typ
STXDRNAME
26.02.1999 14:48:42
2048
Typ
STXDROBJ
26.02.1999 14:48:42
2048
Typ
THEAD
09.11.2000 14:15:08
6144
Prg
CL_ABAP_CHAR_UTILITIES========CP
07.01.2003 18:31:23
11264
Typ
STXH
17.06.2004 14:15:46
6144
Typ
TCATALOG
25.05.1998 12:19:20
3072
Typ
T168F
27.05.1992 20:16:27
3072
Typ
T168
27.05.1992 17:53:38
3072
Prg
SAPLMECCP
25.09.2007 16:07:53
39936
Prg
CL_BADI_MM====================CP
08.01.2003 16:43:11
9216
Prg
%_CCXTAB
14.02.2002 14:22:46
6144
Prg
SAPLEINH
25.09.2007 16:07:53
56320
Typ
T001W
16.06.2004 13:14:17
9216
Prg
SAPLVDAT
19.02.2002 12:59:51
25600
Typ
T163Y
28.08.1997 09:05:01
2048
Prg
SAPCNVE
14.02.2002 14:22:47
6144
Prg
SAPLOMCV
17.06.2004 10:54:26
16384
Prg
CL_EX_BADI_MATN1==============CP
17.06.2004 10:27:52
22528
Prg
IF_EX_BADI_MATN1==============IP
17.06.2004 10:53:59
4096
Typ
TMCNV
24.02.1999 03:33:25
3072
Typ
RM06B
17.06.1998 03:23:02
10240
Lista tabelle interne
Il dump non riporta informazioni relative
Indice delle tabelle applicative
Programma
Nome................ Contenuto..1.......2........3........4........5....+....
SAPMM06B
SYST |00000000000x010000000000000000
EBAN |300001100895000010NB B NB 1 Elena Varett20071
*EBAN | 00000 00000
EBKN | 0000000 00000000 000000x0C
AEBAN |3000011008950NB BBEUR |
EBANW |300001100895000010NB B NB 1 Elena Varett20071
RM06B | 00000000000000000010 00
*RM06B | 00000000000000000000 00
RM06E | 000000000000000 00000000 00000
TPRG |300IW2Formato settimana Sett. |
T001W |3006 PIATTAFORMA DI LEINI' 6 CEDI6 0000000
T023 |
T024 |
T160 |300ME52 VB B |
T160V |300C1XX A XX X X |
T161 |300BNB 000100102NBB NB 00000
T161T |300INB BRichiesta d'acquisto|
T168 |300B AB *** 1 106 0x0C0x0C0x0C0x0C|
T168F |300B AB XXX |
T168T |300IB0106002 |
TTXID |EBAN B04 X
T163K | |
T163Y | Standard |
T001L |
T160D | XXXXXXXXXXXXXXXXXXXXXX
T161E | |
SAPFMMEX
TMED |300BB |
SAPLMEXF
T161 |300BNB 000100102NBB NB 00000
T162 |300PT0B ...................................
SAPLSUU1
USR02 |300CONSULENTI ÷x9Fw'x97[æÆ0000000000000000A
USREFUS |300CONSULENTI
SAPLSWOR
TOJTB |BUS2105 XI RBUS2105
SWOTLV |BUS2105 EXISTENCECHECK M
TOJTD | |
SAPLBDLS
T000 |300Mandante produzione Arenzano EUR
SAPMM06B
*RM06E | 000000000000000 00000000 00000
MARA | 00000000 00000000
T006 | 00 00000000000000x0C 0
SAPLVDAT
TPRG |300IW2Formato settimana Sett. |
SAPLOMCV
TMCNV |300MATCONV 0x120000000x12
Directory delle tabelle applicative (inf. di gestione)
Programma
Nome.......................... tempo..........lungh....
SAPLOMCV
SYST 20010612125650 00002404
EBAN 20061113111959 00000892
*EBAN 20061113111959 00000892
EBKN 00000421
AEBAN 20000323224119 00000027
EBANW 00000896
RM06B 20000323224119 00000529
*RM06B 20000323224119 00000529
RM06E 20020124202505 00001154
TPRG 20000323231030 00000032
T001W 20040617141548 00000338
T023 20040616131428 00000102
T024 20040616131429 00000352
T160 00000035
T160V 00000050
T161 20040616131435 00000095
T161T 00000029
T168 00000035
T168F 00000044
T168T 00000013
TTXID 00000058
T163K 20000323230840 00000023
T163Y 00000026
T001L 20000323230832 00000069
T160D 00000069
T161E 20000323230840 00000025
SAPFMMEX
TMED 00000010
SAPLMEXF
T161 00000095
T162 00000234
SAPLSUU1
USR02 00000226
USREFUS 00000067
SAPLSWOR
TOJTB 00000453
SWOTLV 00000701
TOJTD 00000033
SAPLBDLS
T000 00000107
SAPMM06B
*RM06E 20020124202505 00001154
MARA 20071118093457 00001118
T006 20001109142345 00000080
SAPLVDAT
TPRG 00000032
SAPLOMCV
TMCNV 00000062
Blocchi di contr. CONT ABAP
Include Riga Codice sorg.
Ind. Nome FI Co Par01 Par2. Par3. Par4. Tab.
MM06BO0R_RM06B-EEIND 25 EXIT.
2502 BRAX 00
MM06BO0R_RM06B-EEIND 27 ENDSELECT.
2503 BRAX 00
2504 SQLS 08
MM06BO0R_RM06B-EEIND 31 ENDMODULE.
2505 ENDM 00
2506 -
MM06BO0R_RM06B-EPSTP 7 CALL FUNCTION 'ME_ITEM_CATEGOR
2507 FUNC 00
2508 FUNC 00
2509 PAR2 02 0336
2511 FUNC 10
2512 PAR2 01 03B9
2514 PAR2 01 03BA
2516 FUNC FF
MM06BO0R_RM06B-EPSTP 14 ENDMODULE.
>>>>> ENDM 00
2518 -
MM06BO0V_VRTKZ 6 CASE EBAN-VRTKZ.
2519 BREL 04
MM06BO0V_VRTKZ 7 WHEN '1'.
2520 when 00 02 0090
2522 BRAN 02
2523 BRAX 00
MM06BO0V_VRTKZ 8 RM06B-MKNTW = '3 '. "3 Nachkom
2524 MOVL 00 02 0136
MM06BO0V_VRTKZ 9 WHEN '2'.
2526 BRAX 00
Fine dell'analisi err. run-time
Help me.
Thank youHello Maurizio,
Thre screen field EBAN-MENGE is unable to handle a sign along with the value.
Regards,
Ammey Kesarkar -
Dear All,
During the transaction /n/sapapo/ccr (Reconsilation of transaction data) in client SCP 950, system displays the run time error which are attached herewith.
This is the activity a used to execute regularly (Daily) and first time i recieved this message - -
Runtime Errors ASSERTION_FAILED
Date and Time 13.07.2007 10:13:37
ShrtText
The ASSERT condition has been violated.
What happened?
In the current application program, the system recognized a situation
involving the ASSERT statement that should not occur. A runtime error
occurred, either because there was no activation ID entered or because
the ID of the activation mode used was set to "Cancel.
What can you do?
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
The following activation ID was used: "No checkpoint group specified"
If the FIELDS addition was used with this ASSERT statement, the content
of the first 8 fields is as follows:
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
How to correct the error
Probably the only way to eliminate the error is to correct the program.
You may able to find an interim solution to the problem
in the SAP note system. If you have access to the note system yourself,
use the following search criteria:
"ASSERTION_FAILED" C
"/SAPAPO/SAPLTIMESTAMP" or "/SAPAPO/LTIMESTAMPU08"
"/SAPAPO/TIMESTAMP_DIFFERENCE"
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "640"
Application server....... "scmprd"
Network address.......... "172.16.10.47"
Operating system......... "AIX"
Release.................. "5.3"
Hardware type............ "0002BFAAD700"
Character length......... 16 Bits
Pointer length........... 64 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "scmprd"
Database type............ "ORACLE"
Database name............ "SCP"
Database owner........... "SAPSCP"
Character set............ "C"
SAP kernel............... "640"
Created on............... "Jan 18 2006 20:47:39"
Created in............... "AIX 1 5 00538A4A4C00"
Database version......... "OCI_920 "
Patch level.............. "109"
Patch text............... " "
Supported environment....
Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
10.2.0.."
SAP database version..... "640"
Operating system......... "AIX 1 5, AIX 2 5, AIX 3 5"
Memory usage.............
Roll..................... 16192
EM....................... 196923232
Heap..................... 0
Page..................... 98304
MM Used.................. 186636840
MM Free.................. 1895288
SAP Release.............. "640"
User and Transaction
Client.............. 950
User................ "SCMATP"
Language key........ "E"
Transaction......... "/SAPAPO/CCR "
Program............. "/SAPAPO/SAPLTIMESTAMP"
Screen.............. "SAPMSSY0 1000"
Screen line......... 6
Information on where terminated
The termination occurred in the ABAP program "/SAPAPO/SAPLTIMESTAMP" in
"/SAPAPO/TIMESTAMP_DIFFERENCE".
The main program was "/SAPAPO/CIF_DELTAREPORT3 ".
The termination occurred in line 61 of the source code of the (Include)
program "/SAPAPO/LTIMESTAMPU08"
of the source code of program "/SAPAPO/LTIMESTAMPU08" (when calling the editor
610).
Source Code Extract
Line SourceCde
31 lv_time_int_low TYPE i,
32 lv_timediff_int TYPE i,
33 lv_datediff_int TYPE i,
34 lv_time TYPE t,
35 ls_time TYPE tstr_timestr.
36
37 * check timestamp parameter
38 * ASSERT NOT iv_timestamp_high IS INITIAL.
39 * ASSERT NOT iv_timestamp_low IS INITIAL.
40 * ASSERT iv_timestamp_low <= iv_timestamp_high.
41 IF iv_timestamp_high IS INITIAL
42 OR iv_timestamp_low IS INITIAL.
43 RAISE invalid_parameter.
44 ENDIF.
45 IF iv_timestamp_high < iv_timestamp_low.
46 RAISE invalid_parameter.
47 ENDIF.
48
49 * prepare timestamps
50 * .. split into date and time integers
51 ls_timestamp_high = iv_timestamp_high.
52 lv_date_int_high = ls_timestamp_high-date.
53 lv_time_int_high = ls_timestamp_high-time.
54 ls_timestamp_low = iv_timestamp_low.
55 lv_date_int_low = ls_timestamp_low-date.
56 lv_time_int_low = ls_timestamp_low-time.
57
58 * .. calc date diff
59 * .. check against max. allowed integer difference
60 lv_datediff_int = lv_date_int_high - lv_date_int_low.
>>>>> ASSERT lv_datediff_int <= lc_datediff_intmax.
62
63 * calc time diff
64 lv_timediff_int = lv_time_int_high - lv_time_int_low.
65 IF lv_timediff_int < 0.
66 ADD 86400 TO lv_timediff_int.
67 SUBTRACT 1 FROM lv_datediff_int.
68 ENDIF.
69
70 * calc total duration
71 lv_duration_int = lv_datediff_int * 86400 + lv_timediff_int.
72 lv_time = lv_timediff_int.
73 ls_time = lv_time.
74 ls_duration-hours = lv_duration_int DIV 3600.
75 ls_duration-minutes = ls_time-minute.
76 ls_duration-seconds = ls_time-second.
77
78 ev_duration_packed = ls_duration.
79 ev_duration_integer = lv_duration_int.
80 ENDFUNCTION.
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 0
SY-TABIX 1
SY-DBCNT 1
SY-FDPOS 6
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE CIF - Comparison/Reconciliation of Transaction Data
SY-MSGTY
SY-MSGID
SY-MSGNO 000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
5 FUNCTION /SAPAPO/SAPLTIMESTAMP /SAPAPO/LTIMESTAMPU08 61
/SAPAPO/TIMESTAMP_DIFFERENCE
4 FORM /SAPAPO/SAPLCIF_DELTA3 /SAPAPO/LCIF_DELTA3F17 349
COMPARE_ORDER_HEADER
3 FUNCTION /SAPAPO/SAPLCIF_DELTA3 /SAPAPO/LCIF_DELTA3U03 125
/SAPAPO/CIF_DELTA3_COMP_ORDER
2 FUNCTION /SAPAPO/SAPLCIF_DELTA3 /SAPAPO/LCIF_DELTA3U01 871
/SAPAPO/CIF_DELTA3_COMP
1 EVENT /SAPAPO/CIF_DELTAREPORT3 /SAPAPO/CIF_DELTAREPORT3 189
START-OF-SELECTION
Chosen variables
Name
Val.
No. 5 Ty. FUNCTION
Name /SAPAPO/TIMESTAMP_DIFFERENCE
IV_TIMESTAMP_HIGH
#q1###
02073899
2001125C
IV_TIMESTAMP_LOW
##q!####
00720899
2011125C
EV_DURATION_INTEGER
0
0000
0000
EV_DURATION_PACKED
000000
00000C
SYST-REPID
/SAPAPO/SAPLTIMESTAMP
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454254545444554452222222222222222222
F31010FF310C49D5341D00000000000000000000
%_SPACE
0
0
2
0
LS_TIMESTAMP_HIGH
22000713182959
00000000000000
00000000000000
33333333333333
22000713182959
LV_DATE_INT_HIGH
803363
0042
0C23
LS_TIMESTAMP_HIGH-DATE
22000713
00000000
00000000
33333333
22000713
LV_TIME_INT_HIGH
66599
0002
0147
LS_TIMESTAMP_HIGH-TIME
182959
000000
000000
333333
182959
LS_TIMESTAMP_LOW
20071210182959
00000000000000
00000000000000
33333333333333
20071210182959
LV_DATE_INT_LOW
733021
0025
0BFD
LS_TIMESTAMP_LOW-DATE
20071210
00000000
00000000
33333333
20071210
LV_TIME_INT_LOW
66599
0002
0147
LS_TIMESTAMP_LOW-TIME
182959
000000
000000
333333
182959
SY-UNAME
SCMATP
000000000000
000000000000
544455222222
33D140000000
SCREEN-INPUT
1
0
0
3
1
LV_DATEDIFF_INT
70342
001C
0126
LV_TIMEDIFF_INT
0
0000
0000
SYST
#######################################Ō###############################################䵘 C#Ԁ##
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000
000000000000000000000000000000000000000100000000000000000000000000000000000000000000000D000500
0000000000000000000000000000000800000004000000000000000000000000000000000000010900000005240000
0000010200000000000001060100010C0000000C0000000002000000000000000000000000000B000001000803000C
SY-REPID
/SAPAPO/SAPLTIMESTAMP
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454254545444554452222222222222222222
F31010FF310C49D5341D00000000000000000000
%_DUMMY$$
0000
0000
2222
0000
No. 4 Ty. FORM
Name COMPARE_ORDER_HEADER
SYST-REPID
/SAPAPO/SAPLCIF_DELTA3
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
2545454254544445444543222222222222222222
F31010FF310C396F45C413000000000000000000
GC_APPEND_MODE
3
0
0
3
3
LS_FIELDS_TO_COMPARE-DUEDATE
X
0
0
5
8
SYST
#######################################Ō###############################################䵘 C#Ԁ##
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000
000000000000000000000000000000000000000100000000000000000000000000000000000000000000000D000500
0000000000000000000000000000000800000004000000000000000000000000000000000000010900000005240000
0000010200000000000001060100010C0000000C0000000002000000000000000000000000000B000001000803000C
LS_APO_ORDER-ORDTYPE
5
0
0
3
5
GC_PLANNED_ORDER
5
0
0
3
5
LS_R3_ORDER-STATUSCNF
0
0
2
0
GC_ORDER_STATUS_NO_CONF
1
0
0
3
1
LS_APO_ORDER-STATUSCNF
0
0
2
0
GC_PRED_OUT_DEL
A
0
0
4
1
GC_TND_DELETE
CN
00
00
44
3EDear Sajit,
Go through the following OSS Notes:
<a href="https://websmp110.sap-ag.de/form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=901957&_NLANG=E">901957</a>, <a href="https://websmp110.sap-ag.de/form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1036880&_NLANG=E">1036880</a>, <a href="https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1067414&_NLANG=E">1067414</a>
Regards,
Naveen.
Maybe you are looking for
-
Combo Box in a JTable not appearing
Hi Swing, I have a snippet of code that I took from the Swing guide for JTables that adds a JComboBox into the 3rd column in the table. However, the ComboBox doesnt appear? Can anyone see what is going wrong? Code is below:- I can post more if needed
-
Firefox sometimes hangs for about a minute. Fedora 12, firefox 6.0.2
I am using ff 6.0.2 with Fedora 12, and have a problem of the browser hanging sometimes. I have started firefox in safe mode, but it still happens. It usually happens when I am trying to open a bookmark inside a folder inside the Bookmarks toolbar. W
-
How do I globally set the font of a java program
I would like to define a default font for all the labels, button, and text on a JFrame. I used the following lines: static Font defaultFont = new Font("dialog", Font.PLAIN, 12); contentPane = frame.getContentPane(); contentPane.setFont(defaultFont);
-
Exchange Rate type Posting wrongly in GR
HI all, when i create Purchasing Order I gave Exchange Rate 58.10(Euro to Inr) But comes GR System is taking Average Type (M) = 58.77 we want in GR same as a PO Rate. Can you tell me anyone how to configure and where to change in Configuration. Plse
-
Connecting Dreamweaver to new web host
Fist, I have to say that I am very frustrated with Adobe support. I have never tried to use them before, and at this point would not again. I spent almost 2 hours on hold in the course of 4 calls trying to reach tech support. Finally, the 3rd operato