Creating a namespace and Datatype

I am trying to create to a develop a small application which reads data from text file and loads a Ztable.
I am following this document.
http://sap-xi.com/sap-xi-scenario-soap-jdbc.html
Here I have created a software component and imported to Intergration repository.
The next step is create namespace.
Not sure how I do that. Do I have to create in SLD or can I do it in IR. Please let me now how to do it in IR.
Also, the tutorial is little bit different from what I am trying to do. Can anyone of you experts guide on the next steps in the Dev process.
Thanks.

The link you mentioned seems to be of SOAP --> XI --> JDBC.....while you are trying to do FILE --> XI --> BAPI/ RFC ..... so the configuration mentioned in the link may not help you to the full.
You need:
1 Data Type for FILE and create Message Type
Import the RFC into IR (under Imported Objects)
1 Outbound Async Messaeg interface for File
1 Inbound Async Messaeg Interface for RFC (this step is optional and can be skipped)
1 Mapping program.....and corresponding Interface Mapping.
I would suggest you search SDN for File to RFC scenaro.
Regards,
Abhishek.

Similar Messages

  • Newbie question: How to create a namespace and record filedate-retrieve

    Spanking new to Namespaces
    Looking for a way to place a .jpg as a smart object, then using Namespace, record the filedate of the .jpg
    Then, have the layer sense if the original .jpg is newer and change the color of the layer.
    Running into complications trying to do this with .jsx scripting alone.
    Reason: This way, if the .jpg has been updated on the file server, the artist will be able to easily see that.
    Don't want to add a panel and more work for the artist. Rather, have it all happen behind the scenes.

    Here is how I create a new namespace in the layer metadata for my panel
    // new namespace. Even though it looks like a web url it's not. It just needs to be unique.
    const ns= 'http://www.smartobjectlinks.com/1.0/';
    function setSOLinkMetadata( property, value ){
         if( activeDocument.activeLayer.isBackgroundLayer || !loadXMPLibrary()){
              alert( ErrStrs.CONVERT );
         } else {
              var xmp;
              if (value == "")
                   value = " ";     
              try{
                   xmp = new XMPMeta( activeDocument.activeLayer.xmpMetadata.rawData );
              } catch(e) {// no metadata so create new and add namespace
                   xmp = new XMPMeta();
                   var linkNS = new Namespace ( 'link', ns );
                   XMPMeta.registerNamespace ( linkNS, 'SOlink' );
              try{
                   xmp.setProperty(ns, property, value );
              } catch(e) {
                   alert( ErrStrs.FAILEDMETADATA + e);
              activeDocument.activeLayer.xmpMetadata.rawData = xmp.serialize();
         unloadXMPLibrary();
    If the file being linked has metadata you can use the ModifyDate in the XMP.
    function getfileDate( file ){
         var date = new String();
         try{
              loadXMPLibrary();
              var xmpf = new XMPFile( file.fsName, XMPConst.UNKNOWN,
                                       XMPConst.OPEN_FOR_READ );
              var xmp = xmpf.getXMP();
              xmpf.closeFile();
              date = new XMPDateTime( xmp.getProperty
                                  (XMPConst.NS_XMP, "ModifyDate").toString() );
         }catch(e){// fallback to OS file date
              date = new XMPDateTime ( file.created );
         date = date.toString();
         unloadXMPLibrary();
         return date;
    The hard part will be getting the layer to 'sense' when the original has been changed. If you don't want the user to trigger the test you will have to use an event like open.

  • How to create a table with datatype blob and insert a pdf file (ravi)

    how to create a table with datatype blob and insert a pdf file,
    give me the explain asap
    1.create the table?
    2.insert the pdffiles into tables?
    3.how to view the files?
    Thanks & Regards
    ravikumar.k
    Edited by: 895044 on Dec 5, 2011 2:55 AM

    895044 wrote:
    how to create a table with datatype blob and insert a pdf file,
    give me the explain asapPerhaps you should read...
    {message:id=9360002}
    especially point 2.
    We're not just sitting here waiting to answer your question as quickly as possible for you.

  • Namespace and prefix are not coming up in xml payload created from BSSV

    Hello
    I am facing this issue that when I am creating xml payload from BSSV, payload does not have namespace and no prefix. I googled on this and made code change in package-info. java file. Now, when I test BSSV locally from Jdeveloper xml gets created with namespace but when I run it from server, there's no namespace.
    Does this file package-info.java gets deployed on server? is it ok to make change to it? If not, then what is the other way to resolve this issue?
    Please suggest.
    Thanks
    TK

    Hi Peter,
    Thanks for the valuable input.
    We have already implemented note 378648 i.e these all parameters are already there under sidadm user in DB node.
    BR_OFS=1
    BR_OFS_RESOURCE=< database_resource_name>
    BR_OFS_CLUSTER=< cluster_name>
    BR_OFS_USER=<user_name>
    BR_OFS_DOMAIN=<domain>
    BR_OFS_PWD=<password>
    registry HKEY_LOCAL_MACHINE/Software/Oracle/HomeX ORA_<SID>_AUTOSTART is having value false.
    Please guide what could be the other possible reason?
    Regards
    Praveen

  • How to create a control and add it to a page layput

    I am reading the following link :-
    http://www.itidea.nl/index.php/what-about-you-must-fill-out-all-required-properties-before-completing-this-action-when-publishing-a-page/
    which says that i need to create a control and add it to a page layout. but can anyone help me in understanding how i can create a user control and add them to page layout ?
    Thanks

    > First problem  i could not find a User Control (Farm Solution only) under the Office/SharePoint section
    if you mean New item in Visual Studio, then check it under general Web category. User controls are basic ASP.Net functionalities, not Sharepoint-specific. If it is not there, you may use the following trick:
    1. Create new project in other VS instance using "ASP.Net Empty Web Application" template
    2. Add new user control there (in this project type it should exist for sure under Web category. Called "Web User Control")
    3. Copy all user control's files to the folder of your Sharepoint project (ascx, ascx.cs, ascx.designer.cs)
    4. In VS instance with Sharepoint project add existing items: all copied user control files. They should be grouped under ascx file automatically after that
    > The type or namespace name 'TaxonomyFieldControl' could not be found (are you missing a using directive or an assembly reference?)"
    you need to add reference to Microsoft.SharePoint.Taxonomy.dll assembly, which is located in the GAC (assume that you have installed Sharepoint on your dev env)
    Blog - http://sadomovalex.blogspot.com
    Dynamic CAML queries via C# - http://camlex.codeplex.com
    thanks a lot for your help. so can i do the following steps:-
    I follow these steps to deploy a user control.
    using Visual Studio 2012 , i added a new Farm solution.
    then inside the farm solution i added a new User Control(Farm Solution Only).
      3.   inside the user control i entered the following code:-
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Taxonomy;
    using Microsoft.SharePoint.WebControls;
    using System;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    namespace WikiPopUp.ControlTemplates.WikiPopUp
    [ToolboxData("<{0}:CustomValidationRequiredFieldsOnPage runat=server></{0}:CustomValidationRequiredFieldsOnPage>")]
    public class CustomValidationRequiredFieldsOnPage : WebControl
    protected override void CreateChildControls()
    base.CreateChildControls();
    if (SPContext.Current.FormContext.FormMode == SPControlMode.Edit)
    bool arethere = AreThereAnyMissingRequiredFieldsOnPage();
    if (arethere)
    //SPPageStateControl:
    //Provides an ASP.NET control that handles the Ribbon buttons controlling the state of a Microsoft SharePoint Server wiki or publishing page,
    //such as the CheckInCheckOutButton or the PublishingButton.
    SPPageStateControl baseParentStateControl = Page.Items[typeof(SPPageStateControl)] as SPPageStateControl;
    //Publish button: SPListItem MissingRequiredFields checks this.FieldHasValue(link.Name, field);
    //the field is empty (which is right) when the page is first created (MMD field is never filled in)
    //when the field was once filled, saved and emptied the field in sp code still has the previous value and the check MissingRequiredFields succeeds
    //after succeeding this check the page is validated (this.Page.Validate()) and this one fails which results SP validating the page as the Save button does
    if (baseParentStateControl.HasError)
    //this overwrites the previous PageErrorState
    //and validates the page
    //no popup anymore and status updates in yellow area
    baseParentStateControl.EnsureItemSavedIfEditMode(false);
    else
    //there are missing fields at this listitem, but they're not on the page
    //do nothing here, because the SerializedErrorState contains the navigate url to the Edit Properties page
    //and a message pops up
    /// <summary>
    /// Check if required fields are missing which are present at the page
    /// </summary>
    /// <returns></returns>
    private static bool AreThereAnyMissingRequiredFieldsOnPage()
    foreach (Control control in SPContext.Current.FormContext.FieldControlCollection)
    //get the control type
    string type = control.GetType().Name;
    FieldTypes controlType = (FieldTypes)Enum.Parse(typeof(FieldTypes), type);
    switch (controlType)
    case FieldTypes.TaxonomyFieldControl:
    TaxonomyFieldControl tfc = control as TaxonomyFieldControl;
    if (!tfc.IsValid)
    return true;
    break;
    default:
    break;
    return false;
    enum FieldTypes
    DateTimeField, FieldValue, TextField, RichImageField, NoteField, RichHtmlField, PublishingScheduleFieldControl, TaxonomyFieldControl, BooleanField, ComputedField
      4. i add a reference for the Sharepoint.taxnomy
      5. then i deploy the solution to my site collection. and now i can see the new solution inside the farm solution under central administration.
    but not sure if these are all the required steps to register the user control or still i need to do extra steps ?

  • XML Payload does not have namespace and prefix.

    Hello
    I have created a consumer business service which will be called from JDEdwards EOne, pulls data from database and send it to Fusion Middleware.
    SO, I have created proxy using JAX-WS option. And suggested in oracle doc, I created proxy outside OMW and then copied it to my project. XML payload is getting generated without namespace and prefix. After some research, I modified package-info.java. Now, I am able to send the payload and if test it locally from Jdeveloper and take xml output using marshaller I can see it has namespace and prefix as well. BUt, when I run this from server it does not have namespace and prefix.
    Please help.
    Thanks
    TK

    Hi Naresh,
    The "rejectedMessage" property is for 10G, I am not 100% sure about its implementation in 11G.
    In 10G the faulted XML file moves to this location "Oracle_Home\bpel\domains\domain_name\jca\project_directory\rejectedMessages".
    This property is used to move the files which are not valid XML or which are not schema compliant. For DB polling I don't think this property is used.
    -Yatan

  • XML without namespace and prefix, modified package-info.java, JAX-WS option

    Hello
    I have created a consumer business service which will be called from JDEdwards EOne, pulls data from database and send it to Fusion Middleware.
    SO, I have created proxy using JAX-WS option. And suggested in oracle doc, I created proxy outside OMW and then copied it to my project. XML payload is getting generated without namespace and prefix. After some research, I modified package-info.java. Now, I am able to send the payload and if test it locally from Jdeveloper and take xml output using marshaller I can see it has namespace and prefix as well. BUt, when I run this from server it does not have namespace and prefix.
    Please help.
    Thanks
    TK

    Just to clerify,
    The common complex types are StatusInfo, IdcProperty and IdcPropertyList. I ahve 3 more WSDL's with the exact same entires for those 3.

  • Insufficient authorization to create object namespace definition in PI

    Hi,
    I have a user who's getting  "insufficient authorization to create object namespace definition" when creating a name space in enterprise service builder in PI.  The users has sap_all and sap_new in profile but still getting the same error. Any suggestions??

    Hi,
    please try to set  the following parameter in the Exchange Profile  to " false ".                                                                               
    'com.sap.aii.util.server.auth.activation'  
    Afterwards restart the J2EE engine and retest....
    b.rgds, Bernhard

  • Best Practice Adding New Target to Namespace and Replication

    Hi,
    whats the best way to add a new target to Namespace and replication. Goal is to replace a old file Server at the end.
    I did the following:
    - copied the share with robocopy incl timestamps of files and folders
    - created share
    - added the new share as a new target as well as meshd member of the replication connection
    - disabled the new member in the Namespace, so no one can Access it until dfsr is fully done and initialized
    After the the new dfsr Connection was replicated through AD to all 4 Members (3 different site, 1 same site) the
    following happend:
    dfsr begin and almost every file was in a conflicted and copied over the the Conflict Folder. Almost all timestamps
    of the Folders were changed to the current date, but the timestamps of the files not.
    Thousands of eventlogs: 4412
    The DFS Replication service detected that a file was changed on multiple servers. A conflict resolution algorithm was used to determine the winning file. The losing file was moved to the Conflict and Deleted folder.
    Any idea why? Later on i disabled the Connections to the remote Fileservers, but that did not stop it.
    My idea was to pre-seed the files with robocopy. So what would be the best way to prevent that for the next share ? Is it a better way to just add the target to a bi-directional Connection to the local Fileserver without adding to DFS-N and without copying
    the files before ? Is it better to let DFSR do the hole Initial sync incl Files ?
    At the end i have no loss of date but to check almost every file for conflict took Ages to finish.
    Thanks a lot,
    Marco

    Hi,
    The steps you performed are correct - compare with waiting for DFS initial replication, a manually pre-staging is recommended.
    When doing the Robocopy step, wether all attributes are copied such as NTFS permissions?
    After robocopy, you can add that folder as a folder target of DFS replication group - you can add it to DFS namespace after replication finished.
    And if it is a Windows 2012 R2, you can prestaging DFS database for a better result.
    https://social.technet.microsoft.com/Forums/windows/en-US/a06c9d25-ed04-44e9-a1f7-e1506e645d53/forum-faq-how-to-prestaging-dfsr-database-on-windows-server-2012-r2?forum=winserverfiles
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to create the namespace in java dictionory perspective?

    hi buddies,
          when i try to create the table in javadictinory pers
    pective.  Its is asking me to enter the name in the format of <NAMESPACE>_<SUFFIX>
      HOW TO CREATE THE NAMESPACE
         PLZ HELP ME
    HARI

    Hi,
    Go to Window->Preferences->Dictionary ->Nameserver Prefix
    and give the Prefix .
    Regards, Anilkumar

  • Beginners question about creating first database and tables

    Hi all,
    i recently have installed 10g express edition, because i want to transform my php-script from mysql to oracle database. (due to the fact that mysql is "not allowed sofware" at the company i work for).
    it is a quit small script, just a shift-report system, build because of frustration about an used shift report system based on excel sheets. Company likes it, but IT-department rejected it, because it is myssql. They do own a lot of oracle servers, so they set up a database for me, got a username and password.(Tnsnames entry). The rest i have to do by myself, no further support from IT department.
    I have made 2 simple php functions to connect to database:
    // for connection home server:
    function conn()
         $user = 'user';
         $password = 'password';
         $conn = oci_connect($user, $password, 'localhost/XE');
         return $conn;
    // for connection at work:
    function Xconn()
         $db = '(DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.eu.xxx.com)(PORT = 1521))
        (CONNECT_DATA = (SID = NVGPP)))';
         $user = 'xxxxxxxx';
         $password = 'xxxxxxx';
         $conn = oci_connect($user, $password, $db);
         return $conn;
    }I just add or remove X character before function name, for use at home or at work.
    both do work fine.
    First thing i wanted to do, is to create my database and tables.
    Schema dump from mysql:
    -- phpMyAdmin SQL Dump
    -- version 2.11.1
    -- http://www.phpmyadmin.net
    -- Host: localhost
    -- Generatie Tijd: 03 Aug 2010 om 21:35
    -- Server versie: 5.0.24
    -- PHP Versie: 5.2.4
    SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
    -- Database: `ewb`
    -- Tabel structuur voor tabel `afsprakenblad`
    CREATE TABLE IF NOT EXISTS `afsprakenblad` (
      `id` mediumint(8) unsigned NOT NULL auto_increment,
      `naam` tinytext NOT NULL,
      `afspraak` text NOT NULL,
      KEY `id` (`id`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 COMMENT='Afsprakenblad' AUTO_INCREMENT=13 ;
    -- Tabel structuur voor tabel `verslag`
    CREATE TABLE IF NOT EXISTS `verslag` (
      `id` int(10) unsigned NOT NULL auto_increment,
      `ewb_id` int(10) unsigned NOT NULL,
      `datum` date NOT NULL,
      `dienst` tinytext NOT NULL,
      `ploeg` tinytext NOT NULL,
      `gebouw` varchar(10) NOT NULL,
      `installatie` tinytext NOT NULL,
      `subdeel` tinytext NOT NULL,
      `subsubdeel` tinytext NOT NULL,
      `sap` int(4) unsigned NOT NULL,
      `tekst` text NOT NULL,
      `status` tinyint(3) unsigned NOT NULL,
      `afdeling` tinytext NOT NULL,
      PRIMARY KEY  (`id`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=4663 ;
    -- Tabel structuur voor tabel `wachtverslag`
    CREATE TABLE IF NOT EXISTS `wachtverslag` (
      `id` int(10) unsigned NOT NULL auto_increment,
      `datum` date NOT NULL,
      `dienst` tinytext NOT NULL,
      `team` tinytext NOT NULL,
      `afdeling` tinytext NOT NULL,
      `status` enum('open','dicht') NOT NULL default 'open',
      PRIMARY KEY  (`id`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=800 ;When i wanted to create a new databse with: CREATE TABLE ewb, i get an error that databse already is mounted??
    How do i create this database and tables?
    after googling i read something about schema owners, but cant find anything about how to copy my mysql database/tables to oracle.
    Please, help is really appreciated by me.

    Translating from mysql to Oracle will need a bit of fixups for the DDL, once an oracle instance is created, set up and running, you won't create a database but you will have a database user or users that create/own a collection of tables, indexes, functions, procedures, etc.
    It will take a bit of pouring through the oracle documentation to get those table create statements to work, i.e. the engine=, charset=, auto_increment items won't succeed, datatypes need adjustments, the tic marks around the entity names aren't necessary, quite a few other items from the mysql data definition language don't have an oracle equivalent.

  • Create user namespace in OSB 10gR3

    In OSB 10gR3 we can only create user namespace in a stage, but another stage can not use this specified namespace.
    can we create a global namespace for everystate like system namespace? and how?
    Thx

    Solved it,
    The problem was with the rule not the call.
    global.firstname is correct

  • Same Custome HR infotype twice once without namespace and with namespace

    Hello all i just want to know can we create same custom infotype (eg 9060) two times once with namespace (eg /companyname/9060) and also withoutname space (eg 9060).
    those who dont know what is namespace, we can reserve a namespace in accordance with SAP so that we can develop all our development component in ourname space instead of initiating with Z or Z. it starts with "/"  (eg "/namespace name/ object name")
    I tried it but Infotype attributes are same for both infotype but i have different other components eg. DDIC structurea and table name and screen name. i also tried to see in PA30 after creating it but it not able to see 2 infotype infact 1 only.
    So my question is it possible to create Custome infotype twice once without namespace and also with namespace???
    Any reply will be appreciated.
    Mani

    Well i am able to create two infotype component but when i am trying to access them then i am getting on first on. explaination below will give  u more light
    Infotype without namespace : 9060
    other component:
    P9060
    PA9060
    PS9060             
    etc
    Infotype with namespace : 9060
    /namespace/P9060
    /namespace/PS9060
    /namespace/PA9060      
    etc      
    But i dont need frontend of infotype so i am still confused can i go with this or not.
    the requirement arises as we developed an package previously with infotype without namespace but ow we have our own namespace and want to transfer all the stuff to our namespace.
    Mani

  • Is there a way to create a pan and zoom effect in a lightroom slideshow?

    Is there a way to create a pan and zoom effect in a lightroom slideshow?

    Nope. Be a great feature. For that I use FotoMagico after exporting JPEG's from LR.

  • Is there a way to create a subscript and/or superscript in FRS?

    Is there a way to create a subscript and/or superscript in FRS?

    I've done some more searching and understand there are programs that extract the info out of an email. I believe they are called email parsers. Anyone have any more info on this? If so, any suggestions for a program that I could use? Thanks again.

Maybe you are looking for

  • Sync iPod 2G notes with mac?

    I have a new Macbook, and I often take notes on my old iPod 2G. So I tried to find a way to sync my iPod notes with my Mac notes application. But there is no function for this in iTunes and I heard that you can only sync with the Mac notes app with i

  • I want to send a message to iPhone user but as sms not imessage

    My daughter uses iPhone as do I. She has her data turned off most of the time and uses wifi. If she is on a solid wifi network she gets iMessage. If she is not she doesn't. I used to be able to send to her phone number as a text message...old school

  • How do I stop desktop icons appearing from the right?

    I'm new to Mac (and loving it!) but when new items (drives, downloads, etc) are added to my desktop that appear on the right hand side (unlike Windows which adds from the left). Now I like to keep the Twitter app open on the right hand side of the sc

  • My ipad just shut down and doesn't open

    my ipad just turned dark, it shut down. and ive been trying to make it work again but it just doesn't respond. i tried pressing on the home button but it also doesn't work

  • Supressing the information message in ALE

    Hi All,   I created a report which will call this bd10 based on the selection screen parameters. it is executing correctly, but this tcode should be given to end users. generally after execution of BD10 , it will give the information message 1 master