Mapping from context to VC

Hi everybody, I´m working in a mapping excercise where I want to map a data object in my context that has three header fields and one table to a Visual Composer view, I have no problems with the header fields because they are typed as xsd:string, the problem comes with the complex field (table) called Positions, for sure the 'Positions' type is not the same for the VC model and it never be, so my question is how do you make an input mapping from a complex field in the context to a VC,...
As you can see here is my mapping :
If I delete the 'Positions' mapping the build is ok, but when I map the 'Positions' field the build failed with the following message :
Ant build finished with ERRORS
com.sap.glx.paradigmInterface.bpmn.compiler.BPMNCompilerException: Mapping compilation failed!
[ERROR] Incompatible expression type.
Expected:Form.WS_Data_Object.Positions
Found:PositionType
Build stopped due to an error: com.sap.glx.paradigmInterface.bpmn.compiler.BPMNCompilerException: Mapping compilation failed!
[ERROR] Incompatible expression type.
Expected:Form.WS_Data_Object.Positions
Found:PositionType
MOIN forced shutdown initiated.
It says clairly that expect a Form.WS_DATA_Object.Positions (VC) and found a 'PositionType' from my context.
Do I need to cast every mapping !? How do you achieve that both types are the same !?
Any help will be appreciated.

I already change my WSDL (start message) to the Visual Composer start node type, and with that change I´m able to map:
start message -> process context -> VC,
all these objects have the VC types, so the question is....
do I really need to create the VC data and then set my wsdl and process context DO with those types !?
I was thinking in create a wsdl in my trigger then store the input values to a DO object of the same type and then mapping only the required displayed fields to the VC... but If I can´t modify the VC types to meet the context types all this is pointless and I need to recreate all my context into the VC isn´t !?
Any comment will be appreciated. !
thanks !

Similar Messages

  • Advanced mapping from IDOC to SOAP with reversed 3 level context change

    Hi everyone.
    I am having a though time mapping the HRMD_A01 IDOC into a SOAP message. The reason is that the reciever expects an xml structure where the root node is cost center instead of employee which is the case in the IDOC.
    Mapping from:
    IDOC (1..1)
       E1PLOGI (1..unb)
         SEGMENT (String)
         OBJID (String)
         E1PITYP (1..unb)
           E1P0001 (1..unb)
             SEGMENT (String)
             KOSTL (String)
    To this structure:
    List (1..1)
      CostCenters (1..unb)
        KOSTL (String)   ----> Mapped against KOSTL above
        Employees (1..unb)
          OBJID (String)   ----> Mapped against OBJID above  
    I expect several occurances of E1PLOGI which states multiple employees sent in the IDOC. I also expect several occurences of E1P0001 containing cost centers.
    My conclusion is that I need an advanced mapping and I have created one which collects all KOSTL for the IDOC context, deletes duplicates, and creates the CostCenters segment. This is now working. But my problem is that I can't create the employees segment in the right place. They are only created once under the first CostCenters node.
    Here's the java-code for mapping between KOSTL and CostCenters/KOSTL:
    public void costCenters(String[] var1, ResultList result, Container container) throws StreamTransformationException{
      Set set = new HashSet(Arrays.asList(var1));
      String[] array2 = (String[])(set.toArray(new String[set.size()]));
      Arrays.sort(array2);
      for (int i = 0; i < array2.length; i++) {
        result.addValue(array2<i>);
    Any ideas on how to proceed?
    Best Regards

    Hi,
      Do the mapping like below.
      UDF should be select as context.
    List (1..1)
      CostCenters (1..unb)
        KOSTL (String)   ----> Mapped against KOSTL above
        Employees (1..unb)
          OBJID (String)   ----> Mapped against OBJID above
    Mapping:
    KOSTL(RightSelectChange the context to E1PITYP)--UDF--Removecontext--CostCenters
    KOSTL(RightSelectChange the context to E1PITYP)--UDF--SplitbyValue(Each Value)--KOSTL
    constant---Employees
    OBJID----------------------------------------------Use One As Many---SplitByValue (EachValue)----------OBJID
    KOSTL(RightSelectChange the context to E1PITYP)--UDF---
    KOSTL(RightSelectChange the context to E1PITYP)--UDF---
    Regards,
    Prakasu.M
    Edited by: prakasu on May 20, 2009 3:28 PM

  • XI Mapping - understanding contexts

    Hello,
    I have a PO idoc that I am trying to map from R/3 to a proxy in SUS (Supplier Self Services).  I need to allow each line item to have a "ship from location" address. 
    The Idoc structure looks like this: ZORDERS1.IDOC.E1EDP01.Z1EDPA1.PARVW = "ZS",
    E1EDP01 is repeated for each line item.  If PARVW within Z1EDPA1 = "ZS" then there is a "ship from location" assigned.
    My test PO has 3 line items and line items 1 and 3 have "Ship From locations" assigned.  When I map the ship from locations the first line item has the ship from location data, the second shows "Ship From Location" but it shows no data, the third line item  doesn't even show the text "Ship From Location".
    I believe this has to be a context issue but I don't understand how it should be set up.
    Any ideas?
    Thanks,
    Matt

    IDOC structure (simplified):
    <ZORDERS1>
       <MANDT>050</MANDT>
       <DOCNUM>0000000057208371</DOCNUM>
       <E1EDK01>
            <CURCY>USD</CURCY>
            <WKURS>1.00000</WKURS>
       </E1EDK01>
       <E1EDP01>
            <POSEX>00001</POSEX>
            <ACTION>001</ACTION>
            <PSTYP>0</PSTYP>
            <MENGE>50.000</MENGE>
            <MENEE>PC</MENEE>
            <Z1EDPA1>
                  <PARVW>ZS</PARVW>
                  <LIFNR>0004000073</LIFNR>
                  <NAME1>ZEICHMAN MANUFACTURING INC.</NAME1>
                  <STRAS>5985 CLAY AVENUE SW</STRAS>
                  <ORT01>Grand Rapids</ORT01>
                  <PSTLZ>49548</PSTLZ>
                  <LAND1>US</LAND1>
                  <REGIO>MI</REGIO>
            </Z1EDPA1>
       </E1EDP01>
       <E1EDP01>
            <POSEX>00002</POSEX>
            <ACTION>001</ACTION>
            <PSTYP>0</PSTYP>
            <MENGE>40.000</MENGE>
            <MENEE>PC</MENEE>
            <Z1EDPA1></Z1EDPA1>
       </E1EDP01>
       <E1EDP01>
            <POSEX>00003</POSEX>
            <ACTION>001</ACTION>
            <PSTYP>0</PSTYP>
            <MENGE>90.000</MENGE>
            <MENEE>PC</MENEE>
            <Z1EDPA1>
                  <PARVW>ZS</PARVW>
                  <LIFNR>0004000073</LIFNR>
                  <NAME1>ZEICHMAN MANUFACTURING INC.</NAME1>
                  <STRAS>5985 CLAY AVENUE SW</STRAS>
                  <ORT01>Grand Rapids</ORT01>
                  <PSTLZ>49548</PSTLZ>
                  <LAND1>US</LAND1>
                  <REGIO>MI</REGIO>
            </Z1EDPA1>
       </E1EDP01>
    </ZORDERS1>
    XML Structure for SUS (simplified):
    <PurchaseOrderRequest>
       <PurchaseOrder>
          <documentnumber></documentnumber>
          <item>
              <ShipFromLocation>
                   <name></name>
                   <street></street>
                   <city></city>
                   <state></state>
                   <zip></zip>
               </ShipfromLocation>
            </item>
        </PurchaseOrder>
    </PurchaseOrderRequest>
    Does that help?
    Thanks,
    Matt

  • CE: Mapping from Component-Controller to Component-Interface

    Hi experts,
    how can I map the context of a component controller to the component interface? There is a predefined data link between them but I do not find any possibility to edit this link.
    Thank you for each hint,
    Christoph

    Hi,
    Copy the context node from the component controller and paste it to the interface controller.
    Regards
    Ayyapparaj

  • Unable to open Information Map from planning web Help menu

    Unable to open Information Map from planning web Help menu
    The error is :
    Error 404--Not Found
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.5 404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
    If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.

    Hi,
    It should be accessing :- http://<planning server>:8300/HyperionPlanning/help/en/hp_information_map/hp_information_map.html
    Can you access that address on the machine hosting planning?
    The file structure on the web server depending on which app server you use should be something like \Hyperion\deployments\Tomcat5\HyperionPlanning\webapps\HyperionPlanning\help\en\hp_information_map\hp_information_map.html
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How do I remove BlackBerry Maps from the OS?

    I have a Z10 running 10.3 it's a great update and so far love the BB Assistant.  There is one big sore point for me and that is your decision to deeply integrate BB Maps with 10.3 and Assistant. 
    Appologize upfront but I have to ask....Why would you integrate a lagging-edge Mapping App with an otherwise leading-edge OS in 10.3? 
    So long story short...BB Maps doesn't work for me.  (No Walking, Mass No Transit, No Satellite or Street View equivilants.)  The bottom line is that enterprise users need more than what BB Maps offers today and for the foresable future.  Just supremely frustrated about this situation and feel bad because 10.3 is great. 
    So the question is How do I remove BB Maps from 10.3 or completely disable it. I just want it gone at this point. Please help....I'm so totally frustrated that you can't easily remove it! 
    Thank you and please let me know as soon as possible how to accomplish this. 
    Solved!
    Go to Solution.

    Good news...Just to let you know I did find a way to remove BB Maps. 
    Even through  it's a core app  by reverting to a previous version  of BB Maps I was able to delete it from the OS.  iBest part is there was no impact to the OS and everything else works as normal.  Please Please ...if your going to make BB Maps a core app please make sure its a world class app and it works for all Enterprise users.  (Not just for drivers)  
    I can truely say my BB OS 10 experence is much better now without BB Maps.  If BB isn't going to invest in Maps then please don't make it a core app and tightly integrated into the OS.  I think at this point BB would be better off outsouring BB Maps to one of the leading Map providers such as Nokia, Mapquest, Bing/MS or even dare I say Google Maps.  I think the BB community would be much happier with any of the first three. 
    Thanks

  • How to remove a font file and its mapping from XML Publisher Administrator

    Hello,
    I am trying to remove a font file and its mapping from the XML Publisher Administrator. If this is not possible, is there a way to disable it?
    The reason why I am asking this is because we just got a new check printer, and I was able to print just fine. However, the MICR font was not coming up properly on the check, so I went ahead and configured the font with the XML Publisher Administrator. Now my check output is coming up blank after running the XML report publisher program. The only change I did was to upload the MICR font and mapped it.
    My template and rdf report file are working fine in another environment we have, so I know that's not the problem.
    Any help is appreciate it.
    Thanks.

    This is how you do it
    Font
    DELETE FROM xdo_lobs
    where lob_code like '<Font_name>';
    Font Mapping Set
    DELETE FROM xdo_font_mapping_sets_TL
    WHERE mapping_code like '<MAPPING_CODE>'

  • Invoking a mapping from another DB in a process flow

    Hi experts, have anyone try to invoke/execute an OWB mapping from another database in a process flow? Is it possible to do that?
    My process flow (in the Staging db) scenario is to execute several OWB mapping in the Staging db, then the final step is to execute an OWB mapping which is created in the warehouse db.
    Is that possible?
    Edited by: wwardana on Apr 5, 2009 9:09 PM

    Look at this thread
    [Calling WB_RT_API_EXEC.RUN_TASK over database link|http://forums.oracle.com/forums/thread.jspa?threadID=775938]
    Regards,
    Oleg

  • Mapping from nested to one table (sales order) XML to IDOC

    Hello,
    I have to map a xml file to the IDOC SALESORDER_CREATEFROMDAT2.SALESORDER_CREATEFROMDAT202.
    How I can map the the longtext from the XML file to the IDOC struktur.
    Part of the XML file, there could be n times BPosition with n times longtext. The longtext must be map with a table. I some case its a mapping from nested to mornal table.
        <BPosition>
             <lpos>1</lpos>
             <bbl_sap_nr/>
             <milvonr/>
             <kurztitel/>
             <anzbest/>
             <anzliefer/>
             <kostenpflichtig/>
             <longtext>
                <line>pos1 zeile1</line>
                <line>pos1 zeile 2</line>
             </longtext>
          </BPosition>
    thanks for your help.

    Hi, I have to map this 1 XML to 1 IDOC
    XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_Milver xmlns:ns0="http://ccssap.bfi.admin.ch/milver">
       <bestellung>
          <besteller>
             <bestellnr/>
             <auftragdefit/>
             <wempfdebit/>
             <bestelldat/>
             <lieferdat/>
             <anzpos/>
             <language/>
             <adrzeile1/>
             <adrzeile2/>
             <adrzeile3/>
             <adrzeile4/>
          </besteller>
          <Kopf>
             <Lkopf>Kopf1 zeile1</Lkopf>
             <Lkopf>Kopf1 zeile2</Lkopf>
          </Kopf>
          <BPosition>
             <lpos>1</lpos>
             <matnr/>
             <milvonr/>
             <kurztitel/>
             <anzbest/>
             <anzliefer/>
             <kostenpflichtig/>
             <bemerkung>
                <line>pos1 zeile1</line>
                <line>pos1 zeile 2</line>
             </bemerkung>
          </BPosition>
          <BPosition>
             <lpos>2</lpos>
             <matnr/>
             <milvonr/>
             <kurztitel/>
             <anzbest/>
             <anzliefer/>
             <kostenpflichtig/>
             <bemerkung>
                <line>pos2 zeile1</line>
                <line>pos2 zeile 2</line>
             </bemerkung>
          </BPosition>
       </bestellung>
    </ns0:MT_Milver>
    IDOC:
    The Idoc have a segment for the longtext (table).I have to map, lpos, line into  E1BPSDTEXT from SALESORDER_CREATEFROMDAT2. Its now more clear?

  • Problem by transporting the message mapping from PI 7.0 to PI 7.1

    Hi Everyone,
    by transporting the message mapping from PI 7.0 to PI 7.1 i have got the following problem.
    "Source code has syntax error:
    K:\usr\sap\E71\DVEBMGS00\j2ee\cluster\serve......
    package udfpool does not exist
    import udfpool.*;
    i have used a UDF in my message mapping.
    This UDF calls for a method of a java class, which is imported as a .jar file with this message mapping.
    this message mapping works very well on PI 7.0,
    but doesn't work any more on PI 7.1 because of the problem described above.
    anyone can help me out of this problem?
    thanks!
    zc

    hi,
    but did you import the jar archive to 7.1 first?
    Regards,
    Michal Krawczyk
    http://mypigenie.com XI/PI FAQ

  • Upload infomation about mapping from say BW/BI system

    Hello Gurus,
             how can I upload infomation about mapping from say BW/BI system ? I want to use this uploaded mapping information to update my mapping sheet document.
    Many thanks

    Hi,
    Double click on Transformation Mapping -> Go to Extras -> Tabular Overview-> Right Click - > Export to Microsoft Excel.
    You can also save the transormation as JPG file (Click on Button -> Save as JPG -> from left ) and attach that in the mapping document.
    Hope this help!

  • Need help with Resource Mapping from Application Deployment to VC:virtualMachine

    Hi,
    I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
    So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
    Does this make sense? Am I going about this the right way? Thanks for any help,
    Tom

    Hi,
    I've built a number of vCO Workflows and hooked them up to Resource Actions in vRA. However, the Workflows I've built all take a VC:VirtualMachine as the input and therefore,they only "hookup" to VMs in the Machines list in the Items tab in vRA. Ideally, I want these actions to hookup to the Application Deployments in vRA since that is what my users are deploying - the VM that the App rides on is somewhat secondary. Plus, it's cumbersome for them to find the VM that corresponds to the App they want to run the action on.
    So, I looked into creating a new Resource Mapping, thinking I could map an Application Deployment to a VC:VirtualMachine so that I could create an Action for the Application. I was able to create a mapping from Application Deployment to VC:VM using the Map to VC:VM existing workflow and I could add that to the Actions menu for the Application Deployment but if I try to run it, it fails. I kind of expected this since I think the Map to VC:VM is expecting an input of IaaS VC:VM to map to vCO VC:VM. I think what I need to do is write a Workflow that will take in the Application Deployment "object" and find the VC:VM inside it but I don't know how to find out the structure of an Application Deployment such that I could parse it and get the VM.
    Does this make sense? Am I going about this the right way? Thanks for any help,
    Tom

  • How do i map from file name to the device it resides on

    hi
    i need to find a way to map from a file name to the disk device it resides on( so i can do ioctl to that device ).
    i know that stat(2) returns a dev_t value, but i don't know how to translate from that dev_t to the device name( e.g. /dev/dsk/c0d0... )
    THANKS
    Gabriel

    thanks for the reply,
    i'm using a similar mechnisem on linux - using getmntent(3) to find the longest prefix of the filename realpath(3).
    i was actually looking for a mechnisem similar to the devname(2) syscall on the BSD os. with this call the kernel do all the work for you simply by mapping from dev_t( which the kernel stored in the indoe) to the device name by keeping a simple mapping table.
    if this mechinsem doesn't exists i will have to (eventually) duplicate the kernel work(namei) and create my own mapping.
    THX
    gabriel

  • Re-use message mapping from within java mapping?

    Hi there,                                                                               
    I have a question regarding java mapping. What I would like to do is to re-use an existing message mapping from within java mapping.
    Technicaly, message mapping is perfomed by com.sap.aii.mappingtool.tf3.AMappingProgram.execute, right? I would like to call that mapping program for a specifc message mapping from within my java mapping.
    Pseudo java code would look like this:
    public void execute(InputStream in, OutputStream out)
      throws StreamTransformationException {
    com.sap.aii.mappingtool.tf3.AMappingProgram.execute(in,out,'SomeMessageMapping');
    SomeMessageMapping is a message mapping that is defined in the integration repository.
    Is it possible? If so, could you provide me with some details?
    Thank you and best regards,
    Wolfgang

    Hi Wolfgang,
    very interesting idea?
    I would activa a dummy message mapping. than I would have a look in the file directory of the java-stack and try to find out the name of the *.class or *.jar file.
    On the other hand you could generate a tpz-transport-file an unpack this file, to explore the name of the *.class or *.jar
    Unfortunately I do not have access to the file system. So I can't explore the name.
    Regards Mario

  • Mapping from source in same DB as target

    We are running a warehouse where part of the data is pumped into a holding schema in the same database as the target schema resides.
    Using OWB3 we set the "schema property" of all objects in the mappings referring to the holding schema and generated the loads. This worked just fine.
    Now I am looking at upgrading to OWB92 but it seems the "schema property" is obsolete. Does that mean I HAVE to create a database link to the holding schema in the target schema using locations and connectors, or is there another way of directly referecing the holding schema in the mappings that load data from holding to target ?

    Nikolai -
    I just tried this as well. I went from source to staging area which is setup as a target schema. That worked fine.
    Then I tried to map from the staging target schema to another target schema on the same instance.
    The deployment correctly prefixed with the schema name rather than the database link, but my problem now is that it doesn't appear that the 2nd target schema has permissions to select from the table in the first target schema.
    Can this be fixed somewhere in configuration or do I have to manually grant select on any tables in this situation?
    Thanks,
    Dave

Maybe you are looking for

  • How to make an XML in form of String to well-formed XML document

    Hi Folks,      Thanks for all you support in Advance, i have a requirement, where i have an XML in one line string form and i wondering how to convert into well formed XML? Input XML sample: <root> <one><link1></link1></one><two></two> </root> to wel

  • Strange Black Blob on the screen

    Hello, I have an Ipod Nano 5G. Recently A strange black blob started appearing on my screen. It obscures the screen behind where it is, and it sometimes changes places randomly, but only horizontally. Also, I can make it walk by pressing it lightly,

  • ATV Not Showing Up in iTunes Devices

    Well, I've read other postings, tried things and no joy. After either upgrading to ATV 2.1 and iTunes 7.7, the two quit talking. I've confirmed the ATV connects fine with the network, I can ping the thing from my computer and it responds (no conflict

  • Png files placed into PS CC don't honour effects

    G'day, I am totally lost on this one and can't for the life of me work it out. I'm creating graphics in IDCC which are then exported out as png files to be placed into PS CC, the problem occurs when some placed images have opacity effects within them

  • Interacting with email in inbox takes me to CRM_IC/BuPaDetailB2b

    I've defined specific controller substitutues in config.  One of them is to call Z_CRM_IC/BuPaDetailB2b2 instead CRM_IC/BuPaDetailB2b2, however when I search in my inbox for emails.  Select one and hit interact, the view that's display is the CRM_IC/