How to fail a message based on payload?

Hi Experts,
Currently Iu2019m working on IDOC2JDBC scenario wherein the customer master details needs to be send from CRM system to Oracle system. My question is there are two fields at source side Postal code and Tax and my requirement is, if any of these two fields are initial (doesn't contain any value) then the message should fail in XI? I mean the message shouldn't go to Target system. Can I achieve this functionality in XI or at R/3 side? If yes please let me know the method or procedure by which the above functionality can be achieved? Do I need to fail the message at mapping level?
Your help is highly appreciated
Rgds
Faisal

Faisal,
if any of these two fields are initial (doesn't contain any value) then the message should fail in XI? I mean the message shouldn't go to Target system.
These are two different things - do you want the message to fail in PI or you don't want to create the target message if the condition fails?
If you want the message to fail in PI - write an UDF and can raise an exception / create email notifications.
If you don't want to create the target structure, you can use "if-else" condition / UDF / createif function.
Regards,
Neetesh

Similar Messages

  • How to schedule a message based on the content

    Hello!
    I want to receive a async SOAP-message in XI and send it to the destination not before
    sy-datum >= content of payload-field.
    I.E:
    <message>
       <contractnumber>4711</contractnumber>
       <datefrom>20100901</datefrom>
    </message>
    The Destination Interface (Inbound Interface) sould be called the 09.Sep. 2010 or later.
    Quality of Service =  Exactly once. Not EOIO.
    Any idea?

    Hi,
    I too agree with Abhishek. If the hold time is more in XI (message) then the message will be timed out.
    The work around for this to have a Availability time check to pick the files.

  • How to fail a session based on number of target rows?

    Thank you so much . it works .

    Let the mapping do its job of filling the error table as usual. Just make sure that this session doesn't have any other target than this error table (otherwise things become a bit more complicated, but really only a bit).After this session set up one output path to the remainder of the workflow (meaning all those tasks which shall be executed when no error occurred). The workflow link to these tasks has to be edited in order to have a condition like this:  $s_m_find_errors.TgtSuccessRows = 0(please don't nail me down on the exact syntax) From the same session set up a workflow link to a Control task set to "Fail workflow".The workflow link to this Control task has a condition like this:  $s_m_find_errors.TgtSuccessRows > 0(again, please don't nail me down on the exact syntax) If the session needs to fill more than one target table, you can proceed almost the same way as depicted above. The only difference is that the workflow link conditions must be changed such that they check whether this particular error table has received 0 or >0 records. I don't recall the syntax, you can find it either in the Workflow Basics Guide or in the Advanced Workflow Guide. Regards,Nico

  • Splitting large message (60MB) based on payload data

    Hi,
    I have a file (Flat) to file (xml) scenario. The source flat file is being read by FCC. Since the source flat file is large (upto 60MB) so I have to split it into small files then I have applied "recordset per messages" in FCC level to split large file into small ones. But the clients requirement is to split the large document based on payload data (that is DeliveryDate). That means I cannt split the message based on number of rows of flat file instead I have to split the file on the basis of DeliveryDate so that after splitting into small files, each small file should contain data for exactly one date (say in one file data for 15th NOV and in another file data for 16NOV and so on).
    Please suggest some solution to split the large file (60MB) based on payload data(DeliveryDate).
    Br,
    Madan Agrawal

    Hi Madan,
    in this case split the message in to different messages like 2 mb file,
    XI doesn't support 60 mb files, U have to split the flat files based one some condition.
    i have same requirement flat file having huge data i split that data using java map.]
    then i processed its work fine for me.
    I think u can also do it,
    But in my case i divided message based on sequence number uniquenumber to diffentiate data.
    if there is any sequence number split the message .
    Regards,
    Raj

  • How to write programs for selfdeveloped message based instruments?

    I developed a message based interface by myself, but I have no experience of developing instrument drivers with Labwindow/CVI. I want to know which commands will be sent to the instruments when power up? It's very strange that when I plug in my instrument, the light of Access of resource mamager keep on lighted and the HP-VISA Assistant can't recoganize all the instruments in the mainfram. I want to know how to let my instrument be recoganized by system. Thank you very much!

    What is the VXI controller for your system? What VXI driver is running on the system? You mention HP-VISA, is your VXI controller and driver from HP or Agilent? If so, you will need to contact them on how to get your instrument recognized and working in the system.
    To write your instrument driver, I would recommend using VISA commands. Message based instruments have sets of specific commands that they respond to. Generally, one would have to look in the documentation for that instrument to determine the instruments commands.

  • How to modify Source XML Structure as it is getting Fail in message Mapping

    From Client , I am Gettin Such XML Structure in XML File ...But it is getting failed in Message Mapping ,.,,
    <?xml version="1.0"?>
    <invoice>
       <Header>
          <DOCID>0001</DOCID>
          <DOCNO>0001</DOCNO>
          <INVAMT>1000</INVAMT>
       </Header>
    </invoice>
    I tried to find out few things ...
    On test of mesage mapping
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:invoice xmlns:ns0="urn:sample.com:file:file">
       <Header>
          <DOCID>0001</DOCID>
          <DOCNO>0001</DOCNO>
          <INVAMT>1000</INVAMT>
       </Header>
    </ns0:invoice>
    This mapping is getting successful.
    So Problem I found Is difference in Sender File Structure from autogenrated Source Structure in Test tab :  
    </invoice>
    and
    <ns0:invoice xmlns:ns0="urn:sample.com.com:Invoice:DB">
    Please Suggest : What to do ?
    How to add this ns0: before INVOICE and :ns0="urn:sample.com.com:Invoice:DB" after INVOICE in Source Structure.
    I am using PI 7.0
    regards
    Prabhat

    Hi Prabhat,
    the easiest way is to make the field XML Namespace of the source Message Type blank.
    Regards,
    Udo

  • How do I correct an "script failed" error message?

    How do I correct a "script failed" error message on my Apple TV?

    Welcome to the Apple Community.
    What are you doing when this occurs.

  • How to fix a message WIB INIT FAILED

    HOW I FIX THE MESSAGE WIB INIT FAILED

    Hi gsecondez, I will gladly assist you.
    The 'U052' error refers to the Print Head which holds your ink cartridges.  It indicates that the Print Head may not be fully seated, however this can be easily checked by removing the Print Head and reinstalling it.
    To help with the procedure, you can click the following link to access the step-by-step FAQ Article: "LCD error messages (MP530)" on the Canon USA product page for your multifunction printer.  Once reaching the site, just input the Article name in the FAQ Search box to retrieve the information.
    If this error still remains, or further assistance is needed, feel free to Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Hi, I am a beginner. Can anyone tell me how to detemine the servant area size of a message based controlle

    r. I am trying to use viOut16 to the data low register with 0xCEFF, 'Read Servant Area'command. I am waiting on the read ready/write ready bits of the response register but the write ready bit is never 1! The device I am writing to is an E8491B. Thank you.code section (variables left out!, no error handling incl.):
    #define MSG_DESCR "VXI0::0::INSTR"
    #define RESPONSE 0x0a
    #define DATA_LOW 0x0e
    #define READREADY 0x0400
    #define WRITEREADY 0x0200
    #define TIMEOUT 300
    int main( void )
    status = viOpenDefaultRM(&defaultRM);
    if(status < VI_SUCCESS)
    printf("viOpenDefaultRM error : 0x%04x\n", status);
    return -1;
    status = viOpen(defaultRM, MSG
    _DESCR, VI_NULL, VI_NULL, &instr);
    if(status < VI_SUCCESS)
    printf("viOpen error : 0x%04x\n", status);
    return -1;
    status = viSetAttribute(instr, VI_ATTR_TMO_VALUE, 1000);
    viIn16(instr, VI_A16_SPACE, RESPONSE, ®);
    while((reg != WRITEREADY) && (timeoutCnt < TIMEOUT))
    viIn16(instr, VI_A16_SPACE, RESPONSE, ®);
    reg = (WRITEREADY & reg);
    timeoutCnt++;
    if(timeoutCnt >= TIMEOUT)
    status = viClose(instr);
    status = viClose(defaultRM);
    return 0;
    printf("'Read Servant Area' command\n");
    viOut16(instr, VI_A16_SPACE, DATA_LOW, 0xceff);
    viIn16(instr, VI_A16_SPACE, RESPONSE, ®);
    timeoutCnt = 0;
    while((reg != READREADY) && (timeoutCnt < TIMEOUT))
    viIn16(instr, VI_A16_SPACE, RESPONSE, ®);
    reg = (READREADY & reg);
    timeoutCnt++;
    if(timeoutCnt >= TIMEOUT)
    status = viClose(instr);
    status = viClose(defaultRM);
    return 0;
    viIn16(instr, VI_A16_SPACE, DATA_LOW, ®);
    printf("'Read Servant Area' command contents : 0x%04x\n", reg);
    return 0;

    r. I am trying to use viOut16 to the data low register with 0xCEFF, 'Read Servant Area'command. I am waiting on the read ready/write ready bits of the response register but the write ready bit is never 1! The device I am writing to is an E8491B. Thank you.Here are a couple of ideas that we can try.
    1.Try some sample code of simpler ways of communicating with the board. There are some good example that you can search for on the NI webpage. Here are some links for examples in LabVIEW and C for performing message based reads and writes using viIn and viOut. It's not exactly the same, but it is very very similar.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/A69FB1619075695886256BDD0068C1CE?opendocument
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CBAC4111EE034080020E74861&p_node=DZ52409&p_source=External
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DE3556A4E034080020E74861&p_node=DZ52409&p_source=external
    2. Another option is to use NI-Spy to troubleshoo
    t your VXI module. See the following link for more info. http://www.ni.com/support/vxi/spy/spy.htm
    3. I think the best place to find support on this module would be with Agilent, the manufacturer of this board.
    Hope this helps!!

  • Retrieve message based on Message ID

    Hi All,
    Could you please let me know how to retrieve the message payload based on Message Id.
    Regards

    Hi Anusree,
      Go to SXI_MONITOR and go to the advanced selection tab.
    In that, give the message id and click on execute button or press F8.
    Then docuble click on the message that you get in the report.
    In the screen that follows, you need navigate to the payload section of the tree diagram that is there on the left hand side of the screen.
    If the logging is set for your system, then u can see the payload there.
    Regards,
    Ravi

  • How to create a report based on a DataSet programatically

    I'm working on a CR 2008 Add-in.
    Usage of this add-in is: Let the user choose from a list of predefined datasets, and create a totally empty report with this dataset attached to is. So the user can create a report based on this dataset.
    I have a dataset in memory, and want to create a new report in cr2008.
    The new report is a blank report (with no connection information).
    If I set the ReportDocument.SetDataSource(Dataset dataSet) property, I get the error:
    The report has no tables.
    So I must programmatically define the table definition in my blank report.
    I found the following article: https://boc.sdn.sap.com/node/869, and came up with something like this:
    internal class NewReportWorker : Worker
          public NewReportWorker(string reportFileName)
             : base(reportFileName)
    public override void Process()
             DatabaseController databaseController = ClientDoc.DatabaseController;
             Table table = new Table();
             string tabelName = "Table140";
             table.Name = tabelName;
             table.Alias = tabelName;
             table.QualifiedName = tabelName;
             table.Description = tabelName;
             var fields = new Fields();
             var dbField = new DBField();
             var fieldName = "ID";
             dbField.Description = fieldName;
             dbField.HeadingText = fieldName;
             dbField.Name = fieldName;
             dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
             fields.Add(dbField);
             dbField = new DBField();
             fieldName = "IDLEGITIMATIEBEWIJS";
             dbField.Description = fieldName;
             dbField.HeadingText = fieldName;
             dbField.Name = fieldName;
             dbField.Type = CrFieldValueTypeEnum.crFieldValueTypeInt64sField;
             fields.Add(dbField);
             // More code for more tables to add.
             table.DataFields = fields;
             //CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo info =
             //   new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
             //info.Attributes.Add("Databse DLL", "xxx.dll");
             //table.ConnectionInfo = info;
             // Here an error occurs.
             databaseController.AddTable(table, null);
             ReportDoc.SetDataSource( [MyFilledDataSet] );
             //object path = @"d:\logfiles\";
             //ClientDoc.SaveAs("test.rpt", ref path, 0);
    The object ClientDoc referes to a ISCDReportClientDocument in a base class:
       internal abstract class Worker
          private ReportDocument _ReportDoc;
          private ISCDReportClientDocument _ClientDoc;
          private string _ReportFileName;
          public Worker(string reportFileName)
             _ReportFileName = reportFileName;
             _ReportDoc = new ReportDocument();
             // Load the report from file path passed by the designer.
             _ReportDoc.Load(reportFileName);
             // Create a RAS Document through In-Proc RAS through the RPTDoc.
             _ClientDoc = _ReportDoc.ReportClientDocument;
          public string ReportFileName
             get
                return _ReportFileName;
          public ReportDocument ReportDoc
             get
                return _ReportDoc;
          public ISCDReportClientDocument ClientDoc
             get
                return _ClientDoc;
    But I get an "Unspecified error" on the line databaseController.AddTable(table, null);
    What am i doing wrong? Or is there another way to create a new report based on a DataSet in C# code?

    Hi,
    Have a look at the snippet code below written for version 9 that you might accommodate to CR 2008, it demonstrates how to create a report based on a DataSet programmatically.
    //=========================================================================
    +           * the following two string values can be modified to reflect your system+
    +          ************************************************************************************************/+
    +          string mdb_path = "C:
    program files
    crystal decisions
    crystal reports 9
    samples
    en
    databases
    xtreme.mdb";    // path to xtreme.mdb file+
    +          string xsd_path = "C:
    Crystal
    rasnet
    ras9_csharp_win_datasetreport
    customer.xsd";  // path to customer schema file+
    +          // Dataset+
    +          OleDbConnection m_connection;                         // ado.net connection+
    +          OleDbDataAdapter m_adapter;                              // ado.net adapter+
    +          System.Data.DataSet m_dataset;                         // ado.net dataset+
    +          // CR variables+
    +          ReportClientDocument m_crReportDocument;          // report client document+
    +          Field m_crFieldCustomer;+
    +          Field m_crFieldCountry;+
    +          void CreateData()+
    +          {+
    +               // Create OLEDB connection+
    +               m_connection = new OleDbConnection();+
    +               m_connection.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + mdb_path;+
    +               // Create Data Adapter+
    +               m_adapter = new OleDbDataAdapter("select * from Customer where Country='Canada'", m_connection);+
    +               // create dataset and fill+
    +               m_dataset = new System.Data.DataSet();+
    +               m_adapter.Fill(m_dataset, "Customer");+
    +               // create a schema file+
    +               m_dataset.WriteXmlSchema(xsd_path);+
    +          }+
    +          // Adds a DataSource using dataset. Since this does not require intermediate schema file, this method+
    +          // will work in a distributed environment where you have IIS box on server A and RAS Server on server B.+
    +          void AddDataSourceUsingDataSet(+
    +               ReportClientDocument rcDoc,          // report client document+
    +               System.Data.DataSet data)          // dataset+
    +          {+
    +               // add a datasource+
    +               DataSetConverter.AddDataSource(rcDoc, data);+
    +          }+
    +          // Adds a DataSource using a physical schema file. This method require you to have schema file in RAS Server+
    +          // box (NOT ON SDK BOX). In distributed environment where you have IIS on server A and RAS on server B,+
    +          // and you execute CreateData above, schema file is created in IIS box, and this method will fail, because+
    +          // RAS server cannot see that schema file on its local machine. In such environment, you must use method+
    +          // above.+
    +          void AddDataSourceUsingSchemaFile(+
    +               ReportClientDocument rcDoc,          // report client document+
    +               string schema_file_name,          // xml schema file location+
    +               string table_name,                    // table to be added+
    +               System.Data.DataSet data)          // dataset+
    +          {+
    +               PropertyBag crLogonInfo;               // logon info+
    +               PropertyBag crAttributes;               // logon attributes+
    +               ConnectionInfo crConnectionInfo;     // connection info+
    +               CrystalDecisions.ReportAppServer.DataDefModel.Table crTable;+
    +               // database table+
    +               // create logon property+
    +               crLogonInfo = new PropertyBag();+
    +               crLogonInfo["XML File Path"] = schema_file_name;+
    +               // create logon attributes+
    +               crAttributes = new PropertyBag();+
    +               crAttributes["Database DLL"] = "crdb_adoplus.dll";+
    +               crAttributes["QE_DatabaseType"] = "ADO.NET (XML)";+
    +               crAttributes["QE_ServerDescription"] = "NewDataSet";+
    +               crAttributes["QE_SQLDB"] = true;+
    +               crAttributes["QE_LogonProperties"] = crLogonInfo;+
    +               // create connection info+
    +               crConnectionInfo = new ConnectionInfo();+
    +               crConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;+
    +               crConnectionInfo.Attributes = crAttributes;+
    +               // create a table+
    +               crTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();+
    +               crTable.ConnectionInfo = crConnectionInfo;+
    +               crTable.Name = table_name;+
    +               crTable.Alias = table_name;+
    +               // add a table+
    +               rcDoc.DatabaseController.AddTable(crTable, null);+
    +               // pass dataset+
    +               rcDoc.DatabaseController.SetDataSource(DataSetConverter.Convert(data), table_name, table_name);+
    +          }+
    +          void CreateReport()+
    +          {+
    +               int iField;+
    +               // create ado.net dataset+
    +               CreateData();+
    +               // create report client document+
    +               m_crReportDocument = new ReportClientDocument();+
    +               m_crReportDocument.ReportAppServer = "127.0.0.1";+
    +               // new report document+
    +               m_crReportDocument.New();+
    +               // add a datasource using a schema file+
    +               // note that if you have distributed environment, you should use AddDataSourceUsingDataSet method instead.+
    +               // for more information, refer to comments on these methods.+
    +               AddDataSourceUsingSchemaFile(m_crReportDocument, xsd_path, "Customer", m_dataset);+
    +                              +
    +               // get Customer Name and Country fields+
    +               iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Customer Name", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
    +               m_crFieldCustomer = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
    +               iField = m_crReportDocument.Database.Tables[0].DataFields.Find("Country", CrFieldDisplayNameTypeEnum.crFieldDisplayNameName, CeLocale.ceLocaleUserDefault);+
    +               m_crFieldCountry = (Field)m_crReportDocument.Database.Tables[0].DataFields[iField];+
    +               // add Customer Name and Country fields+
    +               m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCustomer);+
    +               m_crReportDocument.DataDefController.ResultFieldController.Add(-1, m_crFieldCountry);+
    +               // view report+
    +               crystalReportViewer1.ReportSource = m_crReportDocument;+
    +          }+
    +          public Form1()+
    +          {+
    +               //+
    +               // Required for Windows Form Designer support+
    +               //+
    +               InitializeComponent();+
    +               // Create Report+
    +               CreateReport();+
    +               //+
    +               // TODO: Add any constructor code after InitializeComponent call+
    +               //+
    +          }+//=========================================================================

  • Assembly failed error message

    Hello Experts,
    We are getting "Assemble failed" error message when we tried to assemble components. I have attached a CMS log file. You help and feedback is greatly appreciated.
    David
    Info:Starting Step Repository-export at 2008-10-08 05:34:02.0206 -4:00
    Info:Component:alleghenyenergy/AE_IMPORTED_OBJECTS
    Info:Version  :JD1_XD1IR01_C.20081008093400
    Info:1. PR is of type TCSSoftwareComponent
    Info:the workspace will be read from XI
    Info:OK   : workspacedata added.
    Info:Component:ivara.com/IVARA_EXP_ENTERPRISE
    Info:Version  :JD1_XD1IR01_C.20081008093401
    Info:2. PR is of type TCSSoftwareComponent
    Info:the workspace will be read from XI
    Fatal Exception:com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: Exception received:
    ClientServerException exception:Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
    com.sap.aii.utilxi.misc.api.ResourceException: Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
         at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.checkSwcvExistence(InternalRepTransportServiceImpl.java:316)
         at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.createSupportPackage(InternalRepTransportServiceImpl.java:283)
         at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.createSupportPackage(TransportServiceImpl.java:362)
         at com.sap.aii.ib.server.transport.impl.hmi.CmsHmiMethods.process(CmsHmiMethods.java:206)
         at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
         at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
         at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
         at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl10.process(HmisLocalLocalObjectImpl10.java:144)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211)
         at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    :communication error: Exception received:
    ClientServerException exception:Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
    com.sap.aii.utilxi.misc.api.ResourceException: Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
         at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.checkSwcvExistence(InternalRepTransportServiceImpl.java:316)
         at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.createSupportPackage(InternalRepTransportServiceImpl.java:283)
         at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.createSupportPackage(TransportServiceImpl.java:362)
         at com.sap.aii.ib.server.transport.impl.hmi.CmsHmiMethods.process(CmsHmiMethods.java:206)
         at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
         at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
         at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
         at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl10.process(HmisLocalLocalObjectImpl10.java:144)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211)
         at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: Exception received:
    ClientServerException exception:Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
    com.sap.aii.utilxi.misc.api.ResourceException: Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
         at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.checkSwcvExistence(InternalRepTransportServiceImpl.java:316)
         at com.sap.aii.ibrep.server.transport.impl.service.InternalRepTransportServiceImpl.createSupportPackage(InternalRepTransportServiceImpl.java:283)
         at com.sap.aii.ib.server.transport.impl.service.TransportServiceImpl.createSupportPackage(TransportServiceImpl.java:362)
         at com.sap.aii.ib.server.transport.impl.hmi.CmsHmiMethods.process(CmsHmiMethods.java:206)
         at com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:169)
         at com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:178)
         at com.sap.aii.utilxi.hmis.sbeans.HmisBeanImpl.process(HmisBeanImpl.java:86)
         at com.sap.aii.utilxi.hmis.sbeans.HmisLocalLocalObjectImpl10.process(HmisLocalLocalObjectImpl10.java:144)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:290)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:211)
         at com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:496)
         at com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:634)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
         at com.sap.cms.tcs.client.XICommunicator.readWorkspaceData(XICommunicator.java:228)
         at com.sap.cms.tcs.core.RepositoryExportTask.processRepositoryExport(RepositoryExportTask.java:226)
         at com.sap.cms.tcs.core.RepositoryExportTask.process(RepositoryExportTask.java:324)
         at com.sap.cms.tcs.process.ProcessStep.processStep(ProcessStep.java:77)
         at com.sap.cms.tcs.process.ProcessStarter.process(ProcessStarter.java:197)
         at com.sap.cms.tcs.core.TCSManager.assemblePropagationRequests(TCSManager.java:677)
         at com.sap.cms.pcs.assembly.manager.AssemblyManager.assemble(AssemblyManager.java:1510)
         at com.sap.cms.pcs.assembly.AssemblyQueueHandler.execAssembly(AssemblyQueueHandler.java:818)
         at com.sap.cms.pcs.assembly.AssemblyQueueHandler.startAssembly(AssemblyQueueHandler.java:133)
         at com.sap.cms.pcs.transport.proxy.CmsTransportProxyBean.startAssembly(CmsTransportProxyBean.java:829)
         at com.sap.cms.pcs.transport.proxy.LocalCmsTransportProxyLocalObjectImpl20.startAssembly(LocalCmsTransportProxyLocalObjectImpl20.java:1836)
         at com.sap.cms.ui.wl.Custom1.startComponetAssembly(Custom1.java:14080)
         at com.sap.cms.ui.wl.Custom1.assembleQueue(Custom1.java:4685)
         at com.sap.cms.ui.wl.wdp.InternalCustom1.assembleQueue(InternalCustom1.java:2303)
         at com.sap.cms.ui.wl.Worklist.handleAssemblyOptionsEvent(Worklist.java:1487)
         at com.sap.cms.ui.wl.wdp.InternalWorklist.wdInvokeEventHandler(InternalWorklist.java:2520)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Component.fireEvent(Component.java:283)
         at com.sap.cms.ui.wl.wdp.InternalWorklists.wdFireEventAssemblyOptionsEvent(InternalWorklists.java:388)
         at com.sap.cms.ui.wl.Worklists.fireAssemblyOptionsEvent(Worklists.java:247)
         at com.sap.cms.ui.wl.wdp.InternalWorklists.fireAssemblyOptionsEvent(InternalWorklists.java:328)
         at com.sap.cms.ui.wl.AssemblyOptions.onActionStartAssembly(AssemblyOptions.java:276)
         at com.sap.cms.ui.wl.wdp.InternalAssemblyOptions.wdInvokeEventHandler(InternalAssemblyOptions.java:339)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Info:Step Repository-export ended with result 'fatal error' ,stopping execution at 2008-10-08 05:36:32.0376 -4:00

    Hi,
    Fatal Exception:com.sap.cms.tcs.interfaces.exceptions.TCSCommunicationException: communication error: Exception received:
    ClientServerException exception:Software component version 58a66500336b11dd8387f3c70a53b4e5 has not yet been imported into the system and therefore cannot yet be assembled using CMS. You must execute a CMS- or file-based import of the software component version into the consolidation system first.
    The error is saying that there might a communication issue with CBS to CMS. That's the reson the imported SCA version is not available in the current system to assemble. The NWDI restart may work some times.
    Thanks
    Krishna

  • How to split the messages in the mapping

    Hi Gurus,
    I need to split the message into two XML message based on the value in  the plant and sent it to two receivers.
      How to do using Graphical mapping.
    Im working in PI7.0. I dont know how to use the enhanced receiver determination. PL guide me.
    This is my input message format
    <ns0:Namespace>
       <row>
          <PlantCode>10<PlantCode>
          <element1>
          <element2>    
          <element3>
    <row>
      <row>
          <PlantCode>40<PlantCode>
          <element1>
          <element2>    
          <element3>
    <row>
      <row>
          <PlantCode>20<PlantCode>
          <element1>
          <element2>    
          <element3>
    <row>
      <row>
          <PlantCode>50<PlantCode>
          <element1>
          <element2>    
          <element3>
    <row>
    <ns0:Namespace>
    My output message should be
    Message1
       <row>
          <PlantCode>10<PlantCode>
          <element1>
          <element2>    
          <element3>
    <row>
       <row>
          <PlantCode>20<PlantCode>
          <element1>
          <element2>    
          <element3>
    <row>
    Message2
       <row>
          <PlantCode>40<PlantCode>
          <element1>
          <element2>    
          <element3>
    <row>
       <row>
          <PlantCode>50<PlantCode>
          <element1>
          <element2>    
          <element3>
    <row>
    Based on the plant i have to split the message
    1. If plant is 10 or 20 it has to go to message 1
    2. If plant is 40 or 50 it has to go to message 2.
    How to do...
    Regards,
    Rama

    1.Create a message mapping.
    2.In the mapping editor, switch to the Messages tab page
    3.Specify the same  target message type 2 time by choosing +
    4.Switch to the Design tab page
    PlantCode---removeContext---equalS
              constant[10]/                     \
                                                   OR------ifWithoutElse-------Message1
                                                  /              plantcode   /
    PlantCode---removeContext---equalS
              constant[20]/
    PlantCode---removeContext---equalS
              constant[40]/                     \
                                                   OR------ifWithoutElse-------Message1
                                                  /              plantcode   /
    PlantCode---removeContext---equalS
              constant[50]/
    Do 1 to 1 mapping between row,plantcode,element1,element2,element3 from source to target structure
    create 2 target message Interface for the same target message type
    Finally Create an interface mapping and reference the both target interfaces in target interfaces. Enter your message mapping in the interface mapping.(1--source Interface and 2 target Interfaces)
    In ID, Interface determination choose Enhanced radio button and under inbound interfaces add both the target Interfaces

  • How to change the message in CUCM 7.0 " Your Current Options"

    Dear All
    can any body help me or assist me to type my own message at the botom of the phones by default its your current options but i tried to much to change it or find any way to change and i failed.
    in Call Manager express it was easy to change just at the cli you type "system message Hello this is your IP Phone" but at the CUCM 7.0 i dont know how to change this and solve this problem so can any body tell me how to change this message please its needed 100% for me
    i have atached the picture that where the message cames so you people can see it.
    with regards
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;}
    Waisudin Farzam ویس الدین فرزام                           
    Project National IT Specialist            متخصص ملی تکنالوژی معلوماتی          
    Sustainable Development of Natural Resources Project
    IDA Grant No: H238-AF
    Program Management Unit (PMU)
    Afghanistan Geological Survey (AGS) Annex Building, Ministry of Mines,
    Kabul, Afghanistan
    AWCC Cell Phone:                              0093 - 700 - 29 60 62
    MTN Cell Phone:                                   0093 - 777 - 29 60 62
    E-Mail Address:                                     [email protected]
    E-Mail Address:                                     [email protected]
    E-Mail Address:                                     [email protected]
    Skype ID:                                               wais.farzam
    MSN ID:                                                  [email protected]

    You cannot change it, in CCM it was possible due to it being Windows and you had access to all the files.
    CUCM does not grant access to the necessary files for this unless you have root access and it's not granted for purposes other than troubleshooting or to apply a workaround from a bug.
    HTH
    java
    If this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • How to fetch Error message

    Hi folks,
    I am new to c/c++.
    And i am finding it difficult to figure it out ..............
    char* APIParser::parseDocument(const char *xmlInput) {
              XMLParser parser;
              const char *doc;
              uword ecode;
              doc = xmlInput;
              if(doc == NULL)
    //Return XML output
                   return getDefaultXMLOutput(-1, 0, "XML input document is null");
              if (ecode = parser.xmlinit()) {
                   cout << "Failed to initialize XML parser, error " << ecode;
                   //return ecode;
                   return getDefaultXMLOutput(-1, 0, "Failed to initialize XML parser");
              if (ecode = parser.xmlparseBuffer((oratext *) doc, strlen(xmlInput), (oratext *) 0,
                   XML_FLAG_DISCARD_WHITESPACE)) {
                   cout << "Parse failed, error " << ecode << "\n";
                   //          return 3;
                   return getDefaultXMLOutput(-1, 0, "Parse failed");
              if (ecode = schema.initialize(&parser))     {
                   cout << "Failed, code " << ecode << "!\n";
                   //return 4;
                   return getDefaultXMLOutput(-1, 0, "Error in initialize Schema");
              root = parser.getDocumentElement();
              if (ecode = schema.validate(root, NULL )){
                   cout << "Validation failed, error " << ecode << "\n";
                   ub4* ub4;
                   unsigned char** path;
                   int i=0;
                   boolean value;
                   while((value = parser.xmlwhere(ub4, path, i++))){
                        cout<<ub4<<endl;
                        cout<<ub4<<path;
                   cout<<value;
                   schema.terminate();
                   //return 5;
                   return getDefaultXMLOutput(-1, 0, "Validation failed");
              return "";
    Where i am passing xmlInput which is a char*.
    Things work fine.
    I need to send back exact error message to client to debug the messages.
    How to fetch the messages, line number etc.
    By seing docs i wont be able to figure it out.
    Can any one send piece of code to fetch the error messages.

    If you access the FacesContext you find a method called
    getMessages()
    Return an Iterator over the FacesMessages that have been queued, whether or not they are associated with any specific client identifier.

Maybe you are looking for

  • Moving Mouse over White Display to restore Display after Sleep

    Details iMac 27" 3.2 GHz i3 (Model 11,3) OS X 10.8.2 8 GB RAM 1 TB HD (70% capacity availabile) All Apple Updates are current ISSUE Occasionally, when I wake my iMac from a sleep, the display is white with a visible black mouse cursor. When I move th

  • "paste profile mismatch" ... what rendering intent is used?

    When using edit > convert to profile... one can choose 1 of 4 rendering intents (Photoshop CS3). Does anyone know which 2 of the 4 are used in the following situation ? paste profile mismatch You are pasting content copied from a document with a diff

  • How can I watch Asc.asf videos on my iPhone 5

    how can I watch Asc.asf video on my iPhone 5

  • Safari not downloading PDF's correctly

    I find that Safari since updating to Maverick but any pdf download will not open, Adobe claiming the file to be damaged. Chrome will do the downloads correctly. In addition I am finding that opening any application is much slower than from Mountain L

  • Running long processes

    I have a series of pages that perform the following functions: 1. Query the database and present a list of selectable items with checkboxes next to each item. The user selects any number of items to report on. 2. The selected items within the form ar