Component YTD usage
Hello,
I've a requirement to get year to Date (YTD) usage for component items.
I couldn't find anything in oracle screens to get the information, Is it available anywhere in EBS OR does it need to be calculated by query?
Version : EBS R12.1.3
Thanks and appreciate any help.
Manu
You can go to inventory > Transactions > Transaction summaries
Enter the item or subinventory and click summarize.
Navigate to the Transaction Type tab.
You will see the quantity used in WIP component issue.
Sandeep Gandhi
Similar Messages
-
For some strange reason when I modified a form, (commented out some code in a when-window-activated trigger) I now get the following error.
CDG-01141 ERROR: Module Component Table Usage GR1130A.CUSTOMER.GR_CUSTOMER.GC: Table usage GR_CUSTOMER requires primary key column for referential integrity
I am sure this is not related to my change, but do not know what may have caused this or how to fix it.
Anyone seen this error before? been able to fix it?
Thanks!
Windows 7
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
Designer Version 6.5.95.4.8You know that Developer/Designer 6i is not certified for Windows 7, right? Also, your version is not the latest one, so you can try to install the latest patch set first.
>Table usage GR_CUSTOMER requires primary key column for referential integrity
Check if there is a PK in the table definition (not in the database, but in Designer). -
Component Reuse - Usage Dependency in SLD
Hi there,
I have an issue reusing objects in the repository. I defined a usage dependency at installation time from component H to component B. I want to reuse interfaces from B.
Afterwards I reimported both B and I into the rep. I cleared tzhe cache, I refreshed and restarted the repository - but I still do'nt see the base objects from B in H - did I miss sth.? We're useing SP14.
Thx in advance,
helgeHi Michal,
I have an issue for how to transport the usage dependency objects from Development to Consolidation (QA).
We have done the usage dependency in the SLD for one swcv and after reimporting it into DEV from SLD , we can see the node basis objects but we are facing the problem in transporting the objects under basis objects of our new swcv to Cons(QA). other objects under the namespace of our swcv is already transported to QA.
If you have some idea then pls. let me know.
Regards,
Gopesh -
Usage dependency is created at Build time and installation time
Hi,
The infrastructure guys have selected the usage dependency as Build time and Installation time, while creating software components.
"Y" SWC is created as depedency for "X" software component.
In SLD(software catalog), we are able to view the Y component as dependency in X component(at both build time and installation time). In usage dependency we are able to view Y component but when we click Y component in usage dependecy we are also able to view X component. Is there any problem with this ?
There is another issue. we are able to view basis object(in IR) in Y component but not in X component. Actually as per the above configuration basis object in IR should appear in X component.
Please refer to another forum which may give you some more idea.("BPM - Message interfaces of one component are not appearing in another comp") pasted on 17 Nov,2006.
Please could you provide us the inputs.
Thanks,
Rameshhi,
as you see per my weblog try choosing Installation Time
/people/michal.krawczyk2/blog/2005/08/26/xi-are-you-independentfrom-your-dependencies
more about it on:
http://help.sap.com/saphelp_nw04s/helpdata/en/d4/8d784289b4de54e10000000a155106/content.htm
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Help : Usage of FocusTraversalPolicy in 1.4.2_07
Dear All,
My existing application written in Jdk 1.3.1_15.Now,upgrading to 1.4.2_07.
Compilation in 1.4.2_07 throws so many warnings about the deprecated method setNextFocusableComponent(Component c);
Usage of setNextFocusableComponent
Assume 10 components are added in a container like Panel.
We can set the focus in random manner like comp1 ->comp3->comp5->comp4 etc.
So, the coding will be like,
comp1.setNextFocusablecomponent(comp3);
comp3.setNextFocusableComponent(comp5);
comp5.setNextFocusableComponent(comp4); etc ..etc..
Since this particular method is deprecated in 1.4.2_07, i get warnings.
I don't prefer this warnings and need clean compilation.
The alternative solution is implementing FocusTraversalPolicy class.
FocusTraversalPolicy class
It is an abstract class has subclasses ContainerOrderFocusTraversalPolicy and InternalFrameFocusTraversalPolicy .
I have an option to set ContainerOrderFocusTraversalPolicy to my container by the following line .
ContainerOrderFocusTraversalPolicy CTP= new ContainerOrderFocusTraversalPolicy();
panel.setFocusTraversalPolicy(CTP);
The above lines of coding let componets have the sequential order of focus like comp1->comp2->comp3 etc...
But i need to assign the random order of focus to components.
Could anyone please help me in this regard ? what i need to do further ?
Please help me to understand how to use this policy class for my need.Appreciate your responses.
Sample test program
import java.awt.*;
import javax.swing.*;
public class TestPanel {
public static void main(String args[]) {
JFrame frame = new JFrame();
Container content = frame.getContentPane();
JLabel l1,l2,l3,l4,l5;
JTextField jt1,jt2,jt3;
JComboBox jcb1;
JCheckBox jchb1;
JPanel jp= new JPanel();
l1=new JLabel();
l1.setText("name");
l2=new JLabel();
l2.setText("Age");
l3=new JLabel();
l3.setText("Qualification");
l4=new JLabel();
l4.setText("Male - Yes");
l5=new JLabel();
l5.setText("DOB");
jt1=new JTextField(10);
jt2=new JTextField(20);
jt3=new JTextField(20);
jcb1=new JComboBox();
jchb1=new JCheckBox();
jp.add(l1);
jp.add(jt1);
jp.add(l2);
jp.add(jt2);
jp.add(l3);
jp.add(jcb1);
jp.add(l4);
jp.add(jchb1);
jp.add(l5);
jp.add(jt3);
// deprecated methods commented to avoid warnings in 1.4.2_07
/* jt1.setNextFocusableComponent(jcb1);
jcb1.setNextFocusableComponent(jt3);
jt3.setNextFocusableComponent(jchb1);
jchb1.setNextFocusableComponent(jt2);
jt2.setNextFocusableComponent(jt1);*/
// New policy class
ContainerOrderFocusTraversalPolicy CTP= new ContainerOrderFocusTraversalPolicy();
// setting the policy class in panel
jp.setFocusTraversalPolicy(CTP);
content.add(jp, BorderLayout.CENTER);
frame.pack();
frame.show();
jp.getComponent(1).requestFocusInWindow();
Thanks and Regards
David MenfieldsYou need to actually write your own FocusTraversalPolicy class.
It's actually pretty easy - just subclass FocusTraversalPolicy and override all the methods. You need to have your own algorithm for determining the next/first/last/etc components and after a short look at your code my guess would be to hold a reference to each component on your form in an array in the order you want the focus to move in and then you can easily return the "next" or "previous" component by looking up the array.
Some of the methods can call others - e.g. getDefaultComponent, getFirstComponent, and getInitialComponent usually all return the same value.
Regards,
Tim -
Hi,
Could you please suggest is there any standard SAP report to show component scrap usage or compare the BOM usage with the actual usage on the production orders?
Thanks & Regards,
NatarajTHis is a reply for the comparison of Bom usage with the actual usage in production order...
I am understanding ur requirement as you need to see the required qty(BOm qty) vs actual qty( GI qty) in a production order..
Go to COOIS, select components from the list.. give plant and execute...
you can add the fields reuired qty..(total)..
karthick -
Re-map table usage in Oracle9i Designer
Hi,
I have Web application in Designer. One of the module components has a table usage that is based on a view. After some initial testing, we determined that the view was not going to be fast enough for the application. We created a materialized view which solved our speed issue. However, our module component table usage is still referencing the original view. I tried to "copy object" on the module, which from what I've read allows the re-mapping of table usages. However, my client crashes when I click the remap button.
I'm using Oracle9i Designer 9.0.4.4.8.
Does anyone have any ideas, or possibly another way of accomplishing this task?
Thanks,
ChadI'm trying to understand what you have and what you are trying to do. First of all, the Web PL/SQL generator requires you to generate Table APIs (TAPIs) for every table referenced in a module component. If you created one based on a view, the only way to get it to work is to generate a TAPI on the view, which Designer doesn't do natively. I've fooled Designer into generating a view TAPI by creating a table definition that looks exactly like the view and has the same name, and generating the TAPI for that table. Even then, I have to hand-modify the resulting TAPI to remove references to ROWID, since views don't have rowids.
I've never tried generating TAPI against a materialized view (MV) - it might work, since there really is a table to instantiate the MV, but it might require the same work around as the view.
As for the reference in the module component definition, I think you have to delete the old table reference and create a new one. I'm not sure what you are doing with "copy object". Remapping is usually done when you are copying an object from one application system to another, and want the references to point at equivalent objects in the new application system, not the objects in the old one. -
Problem Extending the Dialog component from Flex
I'm trying to extend the flex Dialog component () for usage in Xcelcius, I can package my component successfully and add it to the add-ons in Xcelsius. The problem is that if I try to drag and drop the component to the Xcelsius workspace, the component appears blank and halts the IDE a bit. Does anyone have an idea what I might be doing wrong?
my code is as follows:
package com.component.xcelsius.component
import flash.text.TextFormatAlign;
import mx.containers.TitleWindow;
import mx.controls.Label;
import mx.core.ScrollPolicy;
[CxInspectableList ("title", "showTitle")]
public class ErrorMessageHandler extends TitleWindow
private var _titleChanged:Boolean = true;
private var _valueChanged:Boolean = true;
private var _titleText:String = "My Own";
private var _showTitle:Boolean = true;
private var _visible:Boolean = true;
public function ErrorMessageHandler()
super();
[Inspectable(defaultValue="Title", type="String")]
public override function get title():String
return _titleText;
public override function set title(value:String):void
if (value == null) value = "";
if (_titleText != value)
_titleText = value;
_titleChanged = true;
invalidateProperties();
override protected function createChildren():void
super.createChildren();
// Allow the user to make this component very small.
this.minWidth = 200;
this.minHeight= 25;
// turn off the scroll bars
this.horizontalScrollPolicy = ScrollPolicy.OFF;
this.verticalScrollPolicy = ScrollPolicy.OFF;
override protected function commitProperties():void
super.commitProperties();
if (this._titleChanged)
this.title = _titleText;
this.visible = true;
this.showCloseButton = true;
invalidateDisplayList(); // invalidate in case the titles require more or less room.
_titleChanged = false;
if (this._valueChanged)
// Override updateDisplayList() to update the component
// based on the style setting.
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
super.updateDisplayList(unscaledWidth, unscaledHeight);Hi,
First of all make sure you compile your Flex project with Flex SDK 2.0.1 Hotfix 3?
In the Add-on Packager carefully check your classname (the full class path + class name) because Xcelsius creates an instance of that class when you drag the add-on onto the canvas, so if it doesn't create anything usually it means your classname is wrong in the packager.
In your case:
com.component.xcelsius.component.ErrorMessageHandler
If none of that works try extending from VBox as the top-level add-on class instead and see if that works (I have never tried with a TitleWindow).
Regards
Matt -
Need sample code for component programming
I see samples page here:
/docs/DOC-8061#61
want to download "Web Dynpro Component Interface Definitions in Practice" sample, but only empty folders structure provided in download link.
("zip file" link )
How to get full sample project according whay is written on this page?
May be someone have this or like this sample ?
(with some description than)
I need to develop such type of application
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07c3625-c971-2910-3a9c-ce131487f82c
components, component interface usage, also for GP, but do not see code samples for this.
Can you help with it?
thanks
Edited by: Vladimir Grigoryev on Aug 7, 2008 10:01 AMHallo Vladimir,
sorry me, but I have absolutely no idea what your problem really is. I provided you with all required information to download, import, build, deploy and run my Web Dynpro Java Sample application on "Component Interface Definitions in Practice". This material is enriched with in-depth technical documentation on the underlying concepts (you already linked to all these resources in the initial message of this thread; your second link is pointing to my powerpoint presentation on this sampel) to answer your last message about "but code is not sufficient".
PLEASE read the [Readme.txt|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0e4528f-c471-2910-66a0-dd459f975dc2] file to successfully install the local Web Dynpro DCs comprising the sample application metadata.
NOTE: This sample is based on SAP NetWeaver 7.0, NOT on NetWeaver CE 7.1!!!
I do not want to repeat all my descriptions in this mail thread.
Regards, Bertram -
What is CUSTOM CONTROLLER & COMPONENT CONTROLLER
hI ALL
1)what is CUSTOM CONTROLLER & COMPONENT CONTROLLER
GIVE DIFFRENCES AND ADVANTAGES OF EACH
REGARDS
BABUHi,
Custom Controllers -
A controller that can be defined by application development and used to share common data over several views. Custom controllers are defined for purposes that cannot be assigned to view controllers or component controllers, and serve as structuring element of a Web Dynpro application. Custom controllers use their context to communicate with their surroundings. They are used for manipulating data, or connecting to the back end.
Leaving content frame
Component Controllers-
Each Web Dynpro component contains exactly one component controller. This controller is automatically created during the component creation and contains a context, events, and methods. Unlike a view controller, the component controller is visible for all views in a component. This means, the controllers of different component views can access context elements or methods of the component controller. For this purpose, the component controller usage is automatically created for every view controller.
See this link for more details -
http://help.sap.com/saphelp_erp2005/helpdata/en/eb/e1cb5eea012b4481f8077c6023a70e/frameset.htm
The definitions explain the difference between these 2 types of controllers.
Hope this helps.
ashish -
Agentry Java Backend Component Manager problem
Hi,
We're trying to use component manager on our Agentry project.
There is a problem in our Java development.
We 're taking following error while running the ATE.
throwExceptionToClient::com.vek.sap.cats.steplet.ActivityGetSteplet::throwExceptionToClient::145::ActivityGetSteplet - Component manager com.vek.sap.cats.componentmanager.ActivityComponentManager not found
2014/05/30 16:14:22.550: + BackEnd=Java-1
2014/05/30 16:14:22.550: : 1 lines, 1 non-printing characters, 343 total characters
Exception during fetch server exchange step for fetch 'MainFetch': Java Business Logic Error: com.syclo.agentry.BusinessLogicException: ActivityGetSteplet - Component manager com.vek.sap.cats.componentmanager.ActivityComponentManager not found in c tNativeObjectReference at d:\syclo_buildbot\6.1\syclo\ag3\agent\javabe\AgentryJavaSteplet.h:79
Do you have any template development sample for Component MAnager usage,
or do you have any suggestions for this problem?
Thank you,
Tags edited by: Michael ApplebyHi Jason,
I have a smilar problem with the Component Manager. When I start the ATE, i received the error:
Requesting Public Key from Server
Public Key Received from Server
Logging userABC into myserver.com
Not Logged In
com.syclo.sap.component.cats.CATSComponentManager
This happens since I added a button to Issue a component to a customized screen. I did not do any customization to the component manager and I don't plan to do that.
I read that some configuration are mandatory to use different COMPONENT_MANAGERS:
http://wiki.scn.sap.com/wiki/display/SAPMOB/What+is+the+purpose+of+the+SERVICE_LOGON+settings+in+JavaBE.ini
I checked the SAP Configuration Panel and the following COMPONENT_MANAGERS are enabled:
I puzzled at this point, what do i have to do to be able to get the ATE working again? -
hi to all iam learning abap sorry to ask this type of questions can u expalin the following specification .
i got a job as fresher in sap-abap . i want to know how the specs are that why i asked to explain this spec
pls give me the over view i.e what is the purpose of this report what is the business flow in this pec
pls find the spec below
1 TECHNICAL SPECIFICATIONS REPORT
1.1 Development Attributes
Program ID: ZSDRM014
Program Name:
Development Class:
Message Class:
Program Type: Executable
Program Location:
Development Type:
(List Report, SAPscript) Report
Processing Type:
(Batch, BDC, IDOC, real-time, near real-time etc.)
Frequency:
Trigger:
Volume:
1.2 Program Description
Entegris supply chain staff are keenly aware of the need to keep inventory levels as low as possible to manage costs and operate in a lean manner. With this in mind, they currently use various SAP reports to track inventory. None of these reports provide good visibility to inventory being built or scheduled to be built.
With this in mind, Entegris supply chain staff would like to create a report showing projected inventory builds vs. historical consumption, to be used as an analysis tool to identify possible exception situations.
1.3 High Level Processing Logic
1. Get materials from MARC with the selection criteria where MATNR IN S_MATNR AND DISPO IN S_DISPO AND DISGR IN S_DISGR AND PRCTR IN S_PRCTR.
2. Get consumption details for the last 30 days from MSEG for the selected materials and MKPF-BUDAT is between current date 30 and current date and the movement type is 261, 262, 601 or 602.
SELECT MENGE FROM MSEG FOR ALL ENTRIES IN IT_MARC WHERE MATNR = IT_MARC-MATNR AND BWART IN (261,262,601,602) AND MKPF-BUDAT BETWEEN SY-DATUM 30 AND SY-DATUM.
3. Get the quantity of the currently open production orders from the view CAUFV with the AUTYP = 10 and STLBEZ = selected materials. (To get the open orders check CAUFV-GETRI(Confirmed date) = space )
SELECT GAMNG FROM CAUFV FOR ALL ENTRIES IN IT_MARC WHERE AUTYP = 10 AND GETRI = SPACE AND STLBEZ = IT_MARC-MATNR.
4. Get the quantity of the planned orders from PLAF for the selected materials
SELECT GSMNG FROM PLAF FOR ALL ENTRIES IN IT_MARC WHERE MATNR = IT_MARC-MATNR
5. Get the monthly forecast from PBED and PBIM for the current month
SELECT PLMNG FROM PBED INNER JOIN PBIM ON PBEDBDZEI = PBIM BDZEI FOR ALL ENTRIES IN IT_MARC WHERE PBIMMATNR = IT_MARC-MATNR AND PBED~PDATU in Current Month.
6. Get the Open sales order quantity from VBAP for the selected materials. ( to get the open sales order check VBUP-GBSTA(Over all status) <> C.
SELECT ZMENG FROM VBAP INNER JOIN VBUP ON VBAPVBELN = VBUPVBELN AND
VBAPPOSNR = VBUPPOSNR FOR ALL ENTRIES IN IT_MARC WHERE VBAP~MATNR =
IT_MARCMATNR AND VBUPGBSTA <> C.
7. LOOP AT IT_MARC.
Read the details and display the report.
END LOOP.
8. On double Click on a row, Display the Production Ordesr, Production Order Quantity , Planned Orders and Planned Order Quantity for the selected row.
If value is entered on the Difference Quantity field on the selection screen, Restrict the output with the entered percentage difference.
1.4 Sorting Sequence / Summing Requirements
1.5 Selection Screen Fields
Label Type, Parameter or Select-Option Related DDIC field Default Value Required /Optional Validation/Field Edits/Check table/Matchcode
MRP Group Select-option T438M-MTART
Profit center Select-option CEPC-PRCTR
Material number Select-option MARA-MATNR
MRP Controller Select-option T024D-DISPO
Difference Quantity(%) Parameter
1.6 Output Fields
Output Label Related SAP table-field (if any) Length Output Characteristics
MRP Group MARC-DISGR
Profit center MARC-PRCTR
MRP Controller MARC-DISPO
Material number MARC-MATNR
Last 30 days of consumption MSEG-MENGE
Total quantity of currently open production orders CAUFV-GAMNG
Total quantity of planned production orders PLAF-GSMNG
Difference (column 6 + column 7 column 5)
Monthly forecast for the current month PBED-PLMNG
Total quantity of currently open sales orders VBAP-ZMENG
Fixed lot quantity for the material MARC-BSTFE
Safety stock for the material MARC-EISBE
1.7 Database Tables Used
Table/Database Name Table/Database Description Read (Y/N) Update (Y/N) Key Fields How the table is used in the program
MDKP Y N
MARD Y N
1.8 SAPscript: Identify SAPscript existing objects/elements directly manipulated in this development.
<SAPscript objects here can include Layout Sets, Styles, Fonts, Texts, Windows, Page Windows, Symbols, Text Elements >
Object Type Original Name How Manipulated
Layout Set N/A
Window
Program Symbol
1.9 SAPscript:
<How are the above changes used to deliver the desired output?>
1.10 External Files Used
<For example, if this report automatically writes to file>
File Name File Description Usage
1.10.1 External File Layout <file name>
Field Name Key Declaration Description
1.11 Components External to Program Used
Component Location Component Name Component Description/Usage
1.12 Error Conditions
<Detailed error conditions useful for testing the functionality of the developed process On-site>
Error Condition Error Result/Message Error Resolution
1.13 Key Technical Test Conditions
<Test data including the expected output result. Should also include various input test conditions>
Num Test Condition Expected Results
1.14 Sample Test Data
Field Value Set 1 Value Set 2 Value Set 3
1.15 Assumptions
<Assumptions if any, if any of the above details are incomplete>
1.16 Comments
Check the Excel sheet for issues to be clarifiedand my mail id [email protected]
-
Decrypt and unzip a File + read a XML file received into the ZIP
Hello,
I need your help to develop some a complex Biztalk application.
Here're my needs :
Our Busness partner send us a zip file cripted with a standard PGP(Pretty Goof Privacy).
The zip containts an XML file that i have to deal it, and some attachments file(PDF).
So i need to know what's the best approach for the developpement of my application.
I want to decrypt the ZIP and then Unzip the file and them read the XML file received in the zip.
Knowimg that we already have the pipeline compenent to dectypt the file with the strandar PGP and an other pipeline compenent to unzip the File.
Thank youHi ,
Try this code to unzip the file and send the xml message .If u face issue let me know
namespace BizTalk.Pipeline.Component.DisUnzip
using System;
using System.IO;
using System.Text;
using System.Drawing;
using System.Resources;
using System.Reflection;
using System.Diagnostics;
using System.Collections;
using System.ComponentModel;
using Microsoft.BizTalk.Message.Interop;
using Microsoft.BizTalk.Component.Interop;
using Microsoft.BizTalk.Component;
using Microsoft.BizTalk.Messaging;
using Ionic.Zip;
using System.IO.Compression;
[ComponentCategory(CategoryTypes.CATID_PipelineComponent)]
[System.Runtime.InteropServices.Guid("8bef7aa9-5da5-4d62-ac5b-03af2fb9d280")]
[ComponentCategory(CategoryTypes.CATID_DisassemblingParser)]
public class DisUnzip : Microsoft.BizTalk.Component.Interop.IDisassemblerComponent, IBaseComponent, IPersistPropertyBag, IComponentUI
private System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager("BizTalk.Pipeline.Component.DisUnzip.DisUnzip", Assembly.GetExecutingAssembly());
#region IBaseComponent members
/// <summary>
/// Name of the component
/// </summary>
[Browsable(false)]
public string Name
get
return resourceManager.GetString("COMPONENTNAME", System.Globalization.CultureInfo.InvariantCulture);
/// <summary>
/// Version of the component
/// </summary>
[Browsable(false)]
public string Version
get
return resourceManager.GetString("COMPONENTVERSION", System.Globalization.CultureInfo.InvariantCulture);
/// <summary>
/// Description of the component
/// </summary>
[Browsable(false)]
public string Description
get
return resourceManager.GetString("COMPONENTDESCRIPTION", System.Globalization.CultureInfo.InvariantCulture);
#endregion
#region IPersistPropertyBag members
/// <summary>
/// Gets class ID of component for usage from unmanaged code.
/// </summary>
/// <param name="classid">
/// Class ID of the component
/// </param>
public void GetClassID(out System.Guid classid)
classid = new System.Guid("8bef7aa9-5da5-4d62-ac5b-03af2fb9d280");
/// <summary>
/// not implemented
/// </summary>
public void InitNew()
/// <summary>
/// Loads configuration properties for the component
/// </summary>
/// <param name="pb">Configuration property bag</param>
/// <param name="errlog">Error status</param>
public virtual void Load(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, int errlog)
/// <summary>
/// Saves the current component configuration into the property bag
/// </summary>
/// <param name="pb">Configuration property bag</param>
/// <param name="fClearDirty">not used</param>
/// <param name="fSaveAllProperties">not used</param>
public virtual void Save(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, bool fClearDirty, bool fSaveAllProperties)
#region utility functionality
/// <summary>
/// Reads property value from property bag
/// </summary>
/// <param name="pb">Property bag</param>
/// <param name="propName">Name of property</param>
/// <returns>Value of the property</returns>
private object ReadPropertyBag(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, string propName)
object val = null;
try
pb.Read(propName, out val, 0);
catch (System.ArgumentException )
return val;
catch (System.Exception e)
throw new System.ApplicationException(e.Message);
return val;
/// <summary>
/// Writes property values into a property bag.
/// </summary>
/// <param name="pb">Property bag.</param>
/// <param name="propName">Name of property.</param>
/// <param name="val">Value of property.</param>
private void WritePropertyBag(Microsoft.BizTalk.Component.Interop.IPropertyBag pb, string propName, object val)
try
pb.Write(propName, ref val);
catch (System.Exception e)
throw new System.ApplicationException(e.Message);
#endregion
#endregion
#region IComponentUI members
/// <summary>
/// Component icon to use in BizTalk Editor
/// </summary>
[Browsable(false)]
public IntPtr Icon
get
return ((System.Drawing.Bitmap)(this.resourceManager.GetObject("COMPONENTICON", System.Globalization.CultureInfo.InvariantCulture))).GetHicon();
/// <summary>
/// The Validate method is called by the BizTalk Editor during the build
/// of a BizTalk project.
/// </summary>
/// <param name="obj">An Object containing the configuration properties.</param>
/// <returns>The IEnumerator enables the caller to enumerate through a collection of strings containing error messages. These error messages appear as compiler error messages. To report successful property validation, the method should return an empty enumerator.</returns>
public System.Collections.IEnumerator Validate(object obj)
// example implementation:
// ArrayList errorList = new ArrayList();
// errorList.Add("This is a compiler error");
// return errorList.GetEnumerator();
return null;
#endregion
/// <summary>
/// this variable will contain any message generated by the Disassemble method
/// </summary>
private System.Collections.Queue _msgs = new System.Collections.Queue();
#region IDisassemblerComponent members
/// <summary>
/// called by the messaging engine until returned null, after disassemble has been called
/// </summary>
/// <param name="pc">the pipeline context</param>
/// <returns>an IBaseMessage instance representing the message created</returns>
public Microsoft.BizTalk.Message.Interop.IBaseMessage
GetNext(Microsoft.BizTalk.Component.Interop.IPipelineContext pc)
// get the next message from the Queue and return it
Microsoft.BizTalk.Message.Interop.IBaseMessage msg = null;
if ((_msgs.Count > 0))
msg = ((Microsoft.BizTalk.Message.Interop.IBaseMessage)(_msgs.Dequeue()));
return msg;
/// <summary>
/// called by the messaging engine when a new message arrives
/// </summary>
/// <param name="pc">the pipeline context</param>
/// <param name="inmsg">the actual message</param>
public void Disassemble(Microsoft.BizTalk.Component.Interop.IPipelineContext pc, Microsoft.BizTalk.Message.Interop.IBaseMessage inmsg)
IBaseMessage Temp = inmsg;
using (ZipFile zip = ZipFile.Read(inmsg.BodyPart.GetOriginalDataStream()))
foreach (ZipEntry e in zip)
var ms = new MemoryStream();
IBaseMessage outMsg;
outMsg = pc.GetMessageFactory().CreateMessage();
outMsg.AddPart("Body", pc.GetMessageFactory().CreateMessagePart(), true);
outMsg.Context=inmsg.Context;
e.Extract(ms);
string XMLMessage = Encoding.UTF8.GetString(ms.ToArray());
MemoryStream mstemp = new System.IO.MemoryStream(
System.Text.Encoding.UTF8.GetBytes(XMLMessage));
outMsg.GetPart("Body").Data = mstemp;
_msgs.Enqueue(outMsg);
#endregion
Thanks
Abhishek -
Java ADD-IN installation problem
Hi All,
I have just upgraded BW 3.1c to NW04s SR1 release. I am now trying to install the Java component with usage type BI java, EP and AS java. The SCS and DB steps went in very smooth. When i got to CI install, i got a problem with deployment of SCA files. Basically, the install failed at the "install software units" step. The error I have in the sapinst_dev.log is -
Info: -
Deployment was successful -
Info: Summarizing the deployment results:
Error: Admitted: /software2/nw04supgSR1/java/J2EE_OSINDEP/UT/EPBC06_0.SCA
Processing error. Return code: 4
Error: Processing error. Return code: 4
WARNING 2006-09-29 14:02:44
CJSlibModule::writeWarning_impl()
SDM call of deploySdaList ends with returncode 4. See output of logfile /usr/sap/put/install/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/callSdmViaSapinst.log.
ERROR 2006-09-29 14:02:44
CJSlibModule::writeError_impl()
CJS-30156 SDM deployment failed for at least one of the components to deploy.<br> SOLUTION: Check '/usr/sap/put/install/sapinst_instdir/NW04S/LM/AS-JAVA/ADDIN/ORA/CENTRAL/CI/callSdmViaSapinst.log' for more information.
ERROR 2006-09-29 14:02:44
FCO-00011 The step enableUsageTypes with step key |NW_Addin_CI|ind|ind|ind|ind|0|0|SAP_Software_Features_Enablement|ind|ind|ind|ind|11|0|enableUsageTypes was executed with status ERROR .
And, what i have in callSdmViaSapinst.log is -
Sep 29, 2006 2:02:43 PM Info: Initial deployment: Selected development componen
t 'com.sapportals.prt.portalruntime'/'sap.com'/'SAP AG'/'7.0006.20060301194711.0
000' will be deployed.
Sep 29, 2006 2:02:43 PM Info: Ending deployment prerequisites. All items are co
rrect.
Sep 29, 2006 2:02:43 PM Error: An error occured while storing the cluster insta
nces.
Sep 29, 2006 2:02:43 PM Error: There is no control instance running in the clus
ter:
Name:JM_T1159556563390_1_bowie
Host:bowie
State:5
HostAddress:138.126.81.41
Please check if there are running cluster instances.
Sep 29, 2006 2:02:43 PM Error: Received exception when saving current Engine st
ate: There is no control instance running in the cluster:
Name:JM_T1159556563390_1_bowie
Host:bowie
State:5
HostAddress:138.126.81.41
Sep 29, 2006 2:02:43 PM Error: Aborted: development component 'com.sap.pcd.dbsc
hema'/'sap.com'/'SAP AG'/'7.0006.20060301194711.0000':
Internal error in SDM: deployment was started although target system is not conf
igured properly. Db connect failed.
Sep 29, 2006 2:02:43 PM Error: An error occured while restoring the cluster ins
tances states
Sep 29, 2006 2:02:43 PM Error: There is no control instance running in the clus
ter:
Name:JM_T1159556563390_1_bowie
Host:bowie
State:5
HostAddress:138.126.81.41
Please check if there are running cluster instances.
Sep 29, 2006 2:02:43 PM Error: Received exception when restoring Engine state:
There is no control instance running in the cluster:
Name:JM_T1159556563390_1_bowie
Host:bowie
State:5
HostAddress:138.126.81.41
Please check if there are running cluster instances.
Sep 29, 2006 2:02:43 PM Info: -
Deployment was successful
Sep 29, 2006 2:02:43 PM Info: Summarizing the deployment results:
Sep 29, 2006 2:02:43 PM Error: Admitted: /software2/nw04supgSR1/java/J2EE_OSIND
EP/UT/EPBC06_0.SCA
Sep 29, 2006 2:02:43 PM Error: Processing error. Return code: 4
Please advise,
Mary BanhHi, I have solved this problem by delete the JAVA stack completely per the installation manual instruction like delete the unix directories and files and also delete the oracle schema SAPSR3DB and the new tablespace PSAPSR3DB and its datafiles. One thing that the manual did not mention and i did have to delete otherwise i kept having problem is java related directories under /sapmnt/SID/global/*. Once everything deleted, i was able to perform the installation again and it completed with out any issue.
-
Hi all,
Someone had accomplished the Tutorial coming with Designer 6i R2 ?
I am now in the "Generate a working form" step. I have done all the things required in the tutorial. The generation of forms fails with a lot of warnings and one error message, that are the following:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
Form Generator (Windows 95/98/NT) : Version 6.5.40.4.0 - Production on Mon Mar 05 21:22:39 2001
Copyright (c) 1995, 2000 Oracle Corporation. All rights reserved
Generating Module 'TUTORI0010' (1 of 1)
Loading form template from file system (c:\oracle\dev\ctutx72\tutorial\tutorial.fmb)
Loading object library from file system (c:\oracle\dev\ctutx72\tutorial\tutorial.olb)
Generating new form module and saving to file system (C:\ORACLE\DEV\CGENF61\RECORD_CUSTOMER_ORDER.FMB)
Compiling form executable file (C:\oracle\dev\CGENF61\RECORD_CUSTOMER_ORDER.fmx) ...
CDG-01069 WARNING: Module TUTORI0010: Object Library/Template tutorial.fmb does not exist in the Forms Path
CDG-01069 WARNING: Module TUTORI0010: Object Library/Template tutorial.olb does not exist in the Forms Path
CDG-01195 ERROR: Module TUTORI0010: Failed to compile .fmb into .fmx file for form module RECORD_CUSTOMER_ORDER
CDG-01406 WARNING: Foreign Key PRICED_PRODUCTS.ITEMS.ITM_PP_FK: Require DB constraint to ensure all columns not null for mandatory key ITM_PP_FK
CDG-01406 WARNING: Foreign Key ORDERS.ITEMS.ITM_ODR_FK: Require DB constraint to ensure all columns not null for mandatory key ITM_ODR_FK
CDG-01038 WARNING: Bound Item TUTORI0010.CUSTOMERS.DESIGNATION: Cannot add valid value 'MISS' to record group for item
CDG-01038 WARNING: Bound Item TUTORI0010.CUSTOMERS.DESIGNATION: Cannot add valid value 'DR' to record group for item
CDG-01038 WARNING: Bound Item TUTORI0010.CUSTOMERS.DESIGNATION: Cannot add valid value 'MS' to record group for item
CDG-01038 WARNING: Bound Item TUTORI0010.CUSTOMERS.DESIGNATION: Cannot add valid value 'MR' to record group for item
CDG-03344 WARNING: Module Component TUTORI0010.PRICED_PRODUCTS: First descriptor column is optional
CDG-03488 WARNING: Module Component Table Usage TUTORI0010.PRICED_PRODUCTS.PRICED_PRODUCTS.PP: Missing usage of primary key column 'PP_ID' added automatically
CDG-00001 WARNING: Bound Item TUTORI0010.PRICED_PRODUCTS.PP_ID: Item's Display Type property not set
CDG-01280 WARNING: Bound Item TUTORI0010.PRICED_PRODUCTS.PP_ID: display length = 625, item length = 11;
CDG-01406 WARNING: Foreign Key CUSTOMERS.ORDERS.ODR_CTR_FK: Require DB constraint to ensure all columns not null for mandatory key ODR_CTR_FK
Generation of Module 'TUTORI0010' Unsuccessful
CDG-03500 WARNING: The Generator could not save adjustments to invalid/unspecified properties
CDG-00052 ADJUSTMENT FAILED: Window TUTORI0010.RECORD_CUSTOMER_ORDER: Increase Width property because window too small to fit canvases
CDG-00053 ADJUSTMENT FAILED: Window TUTORI0010.RECORD_CUSTOMER_ORDER: Increase Height property because window too small to fit canvases
CDG-01352 ADJUSTMENT FAILED: Module Component Inclusion 100: Set Placement property to New Content Canvas because invalid in current context
CDG-03484 ADJUSTMENT FAILED: Module Component TUTORI0010.ITEMS: Set the Overflow property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component TUTORI0010.ITEMS: Set the Rows Displayed property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component TUTORI0010.ITEMS: Set the Height property to a default value
CDG-01352 ADJUSTMENT FAILED: Module Component Inclusion 200: Set Placement property to Same Content Canvas because invalid in current context
CDG-03484 ADJUSTMENT FAILED: Module Component TUTORI0010.CUSTOMERS: Set the Overflow property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component TUTORI0010.CUSTOMERS: Set the Rows Displayed property to a default value
CDG-01352 ADJUSTMENT FAILED: Module Component Inclusion 300: Set Placement property to Same Content Canvas because invalid in current context
CDG-03484 ADJUSTMENT FAILED: Module Component TUTORI0010.PRICED_PRODUCTS: Set the Overflow property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component TUTORI0010.PRICED_PRODUCTS: Set the Rows Displayed property to a default value
CDG-01352 ADJUSTMENT FAILED: Module Component Inclusion 400: Set Placement property to Same Content Canvas because invalid in current context
CDG-03484 ADJUSTMENT FAILED: Module Component TUTORI0010.ORDERS: Set the Overflow property to a default value
CDG-03484 ADJUSTMENT FAILED: Module Component TUTORI0010.ORDERS: Set the Rows Displayed property to a default value
CDG-03484 ADJUSTMENT FAILED: Bound Item TUTORI0010.ORDERS.ORDER_DATE: Set the Width property to a default value
Generation of 1 Module(s) Unsuccessful
Generation Complete
<HR></BLOCKQUOTE>
Could you please help find what is wrong ?
Thanks a lot.
- Younes
nullThe registry key forms90_path is not correctly updated in this case.
It should have the following entry:
<<ORACLE_HOME>>\CGENF61\ADMIN
Update this and things will work fine.
Get back if you still face any problem.
Thanks,
Vishal
Maybe you are looking for
-
The Remote App on my Ipad does not connect to Itunes on my Desktop
I cannot get the Remote App on my Ipad to connect with Itunes on my desktop. The Ipad tells me to turn on Home Sharing in Itunes on my computer but home sharing is already turned on on my computer. Also, my Ipad does not show up on my Desktop.
-
Hi, How can I set the center and size of a map to view a group of points (like zoom to selection function). Thank you Ali
-
How to mute/delete startup sound in Mountain Lion?
Is there a way to shut off/mute the startup sound in Mountain Lion without simply turning down all sounds? For years I have used a third party pref pane called startup sound, but it has not been updated for OS 10.8. Thanks.
-
I have a SONY KD28DL10 U TV and I am considering buying Apple TV but I'm not sure if it will be compatible with my TV. Could someone tell if they are compatible Here are the specs for the TV http://www.dealtime.co.uk/xPF-Sony-KD28DL10 Thanks
-
Replacement network cards for MacPro
My question is for anyone who is familiar with the MacPro motherboard. Lightning blew out my dual ethernet card and the estimate to replace it is around $450. A friend told me I could purchase a compatible network card and plug it directly into one o