Source of xslt mapping and XSD/ XMT target structures for standard Idocs

Hi,
I am working on R/3 - XI - ICH scenario. I need xslt mapping and XSD/ XML target structures for standard IDoc like PROACT01,DELFOR01, DELVRY03. I tried to search it on marketplace but couldn't find it there. As per configuration document, these things are shipped with XI mapping content in live cache CD. But I don't have this CD with me. Can anybody tell me the source for these target structures and mapping program. ( Please share marketplace, site link or send me across the mail [email protected])
Thank you in advance.
Anand More.

Anand the other option is to import the corresponding idocs into your integration repository and then you can view the generated XSD there.
As regards XSLT mapping, you need to basically first identify as to what form you want to transform your source idoc into.
For some help on XSLT mapping check the following threads,
https://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/topusers.jspa%3FforumID%3D44
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode1-6&contenttype=url&content=https://Process Integration (PI) & SOA Middleware
Also have a look at my code samples,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/generic xslt mapping in sap xi, part i.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
cheers
Sameer

Similar Messages

  • XSLT mapping and XSD definition

    I have an XSLT and one source/input XSD. Do I need another target/output XSD?
    I heard that I may not need target/output XSD since I can generate this using the XSLT and source/input XSD.
    In order to use XSD which references to other XSDs (Referencing/multiple layers), SAP XI do not support this. Therefore one has to use SAP Conversion Agent which has this feature by March 2007? Is this true? Any workaround?
    Please provide some comments. Thanks in advance.

    Hi,
    <i>>>>In order to use XSD which references to other XSDs (Referencing/multiple layers), SAP XI do not support this. Therefore one has to use SAP Conversion Agent which has this feature by March 2007? Is this true? Any workaround?</i>
    There is no need for a conversion agent for this.
    In general as Michal said you would need a target message type, but since you are using XSLT mapping it would generate target XML irrespective of the target message type. So to make the scenario work as Shabz said you can go ahead and creat a dummy message type and a message interface.. use it in the interface mapping.
    Regards,
    Prakash

  • XSLT Mapping and Namespace Issues

    I have been reading through similar threads on this topic, but have not found the right combination for my problem.  I am doing an XSLT map and it works fine in Stylus Studio.  When I take it to PI, I get a "Prefix 'ns0' is not mapped to a namespace" error.  I have a namespace that is within the XSD files I received from my partner (http://www.ups.com/XMLSchema/EBR/Billing/v1).  I also have the namespace I made in PI for the source (http://graybar.com/upsbilling/) and a different namespace in PI for the destination (http://graybar.com/cold/invoice/).
    <u><b>XSLT:</b></u>
    <?xml version='1.0' encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://www.ups.com/XMLSchema/EBR/Billing/v1" xmlns:ns1="http://graybar.com/cold/invoice/">
    <xsl:template match="/">
    <ns1:ColdInvoiceData>
      <Header>
      <RecordID>HDR</RecordID>
      <InvoiceDate>
      <xsl:value-of select="ns0:UPS_EBR_BILL/ns0:InvoiceDetails/ns0:Invoice/ns0:InvoiceDateCCYYMMDD"/>
      </InvoiceDate>
    <u><b>Source XML</b></u>
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <UPS_EBR_BILL xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ups.com/XMLSchema/EBR/Billing/v1" xsi:schemaLocation="http://www.ups.com/XMLSchema/EBR/Billing/v1 Billing_XML_Schema.xsd">
    <XMLBillFileVersion>1.0.1</XMLBillFileVersion>
    <Recipient>
    When I change the XSLT namespace from http://www.ups.com/XMLSchema/EBR/Billing/v1 to http://graybar.com/upsbilling/, the TransfromerException in PI goes away, but none of my referenced mappings work either (just my text hardcodes).
    Can someone tell me why this works in Stylus Studio, but not in PI?  Do I have too many namespaces?
    Message was edited by:
            Keith Wendel (to uncomment xsl:stylesheet line)

    > <ns1:ColdInvoiceData xmlns:ns1="http://graybar.com/cold/invoice/">
    This change did not affect anything.  Still works in Stylus Studio though.
    Did you mean to show any changes at the <xsl:value-of select> line?  I did not notice anything there.
    Can anyone explain what "not mapped to a namespace" means?  I have the declaration of ns0 at the top, so I don't see what else needs to be mapped.  Do I have to have my PI namespace where I store the partner's XSDs set as "http://www.ups.com/XMLSchema..." (partner's namespace)?

  • Multiple STATEMENT nodes in target structure for JDBC adapter

    Hi All,
    I have a file to JDBC scenario . At the receiver side we need to update two tables simultaneously .
    So in the target structure for JDBC , is it possible to have two STATEMENT nodes , so that 2 tables can be updated simultaneously.
    Please help.
    Thanks & Regards,
    Loveena.

    Hi,
    U can do tht..please see below link..
    http://help.sap.com/saphelp_nw04/Helpdata/EN/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    Regards,
    Manisha

  • How to handle 1 Source Structure and N ( multiple Target Structure

    Hi           I have One source structure , Which is Source1 and mulitple target structure which Target1 , Target2 and Target3
    I need Map this Source1 to Target1 and Target2 and Target3 based on the condition of one field of source1
    ianyone please tell me how to do it
    Thanking you
    Sridhar

    Hi Sridhar,
    Yes Multimapping is possible without BPM from SP14 and above. But there are certain limitation on that as well. You can do only 1:N multi mapping and N:1 is not possible without BPM. In the case of 1:N mapping you would need to go for Enhanced Interface Determination and you will have a full advantage of that mapping if you use a adapter other than IDOC, HTTP and XI. In otherwords this holds good for adapters that runs on Adapter framework and not on Integration Engine.
    BPM involved:
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    Without BPM:
    http://help.sap.com/saphelp_nw04/helpdata/en/42/f3b31d48fb1bc8e10000000a11466f/content.htm
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Thanks
    Ravi

  • XSLT Mapping and Graphical Message Mapping

    Hi,
    Can any one let me which is advatageous and why or let me know where I can find docs.
    Thanks In Advance.
    Yaseen

    Hi Udo,
    I have used a lot of XSLt outside and from my own experience(java/c#) we have been hit very hard with performance when using XSLT, it is an interpreted approach.
    It may look easy, fast but in time you will pay the price. Java and ABAP mappings are compiled, and only the runtime is maintained.
    Is XSLT useful, sure it is, there are many things that can be done in XSLT that is very tough to accomplish using mappings.
    Should it be the first choice of development, no its a case by case basis. 
    Most common disadvantages of XSLT are
    -Scripts rapidly explode in size
    -Quite complex
    -Hard to debug
    -Slow processing
    There is an ever ending debate on pros and cons of XSLT. It upto individual Architect to decide whatz best for the interface at hand.
    cheers,
    naveen

  • XSLT Mapping a Stringtable to a Structure

    Hello together,
    i am pretty new to XSLT Transformations and after reading serveral Blogs and even the great Book XML for Abap Developers, i still have an issue with understanding XSLT.
    For example, i have a deep structure with 2 stringtables.
    Now i would like to have a resulting structure containing only two strings and concatenate  via XSLT Transformation all the stuff from the source tables into the resulting structure.
    could anyone show me how to do this? i tried to use the fieldnames of the structure but i never get any result.
    regards

    user582604 wrote:
    I am unable to follow what exactly it states.Join the club. The description is admittedly a bit complicated to follow, but it's unlikely that you're actually experiencing a problem related to this.
    It's just saying (as far as i can tell) either don't do a pk (primary key) update.... or (presumably) if you must do a pk update, do not also try at the same time to map the pk column to the result of some GG function (e.g., a sqlexec). When you have a replicat map "colmap(usedefaults, pk=sqlexec.result)", then the "where" clause constructed to perform the pk update on the target DB will use the new, updated ("after") value of the pk, and not the old, original ("before") value. Therefore the row won't be found on the target, since the pk has not actually been updated yet.
    (To paraphrase, the docs could have just said: "See this? Don't do that.")

  • Method to map mandatory fields of target structure?

    Hi all,
    is there any way to map mandatory fields of target message structure? i mean other than mannualy going through each and every fields.
    Thanks and Regards,
    ujwalkumar

    Ujwalkumar,
    you export the mapping from graphical mapping tool use this option in  theeditor.
    In ammping Editor CRTLSHIFTRight click -> Tools->Export .
    once you export the XML to our localdesktop make sure the extesion .mte.
    you can edit the XML write an XSD defination to define blank values for all blank fields.
    Regards
    sreeram.g.reddy

  • How to create multiple segments on the target structure of an IDOC

    Hi All
       I am working on the Shipment Confirmation Interface( Message Type SHPCON ) which is FILE to IDOC Scenario. I have a segment called E1EDL18 which occurs only once on the target side of the idoc. Now I have to created multiple E1EDl18 segments for the Qualifiers ORI, PGI and PCK. I treid to send a constant ORI,PGI,PCK and then used an user defined function which splits the constant at COMMA and then I am assigning to the target field QUALF. In the display queue for QUALF I see three values with context but still only one E1EDL!* segment is created. Please let me know how to create multiple E1EDl18 segments for three qualifiers.
    Thanks
    Naga

    In message Mapping, just right click on the segment and click on duplicate subtree. now it will create you another segment with same name and fields in it..
    you can hard code the Qual, or you can map the required source field into it.

  • What is the data source name and the data target name for the table COSP

    Hi,
    Actaully i am new to fico/bw,and i have to create a report based on the actual and budget value and difference in the variance.
    in R/3 side the table they are using is COSP,so please let me know what is the data source name and the cube or ods name in BW side.wht are the fields in which i can get the BUDGET value in the report.
    here we are using all the business content extractors and BI content cubes and odss.
    please reply immediately as its very jurgent isssue.
    Thanks,
    ashok

    answered

  • Mapping and Interfacing files into R/3 as IDOCs using XI

    We are trying to send an IDOC into R/3 thru XI. We generated one from R/3 into XI - it worked fine, however the reverse direction is not working well.
    We are using XI 2.0 with R/3 4.6C.
    We ran into two problems:
    when we tried DEBMAS/DEBMAS06, we were getting a message in SXMB_MONI / IDX5 that the entry DEBMAS06 is not found (in table IDOCSYN) on XI. On our XI server we found that there were only 65 IDOC message types defined (I dont know why .. but none of the popular IDOC messages like DEBMAS, CREMAS, MATMAS, ORDERS, etc are in XI). We thought may be that is the reason. But we do not know thru config, how to add IDOC messages into XI - this is not the same as importing IDOC type .. we have already done that. Just importing an IDOC structure does not put an entry in tables like IDOCSYN, and others...
    Then we tried using an IDOC message that was in XI IDOC tables - FLIGHT_SAVEREPLICA. This ones gets past the error we got with DEBMAS. However, we still do not see the IDOC in R/3.  When we check IDX5 or SXMB_MONI, it says that the message is processed successfully and does not show any errors. We are not understanding why it does not reach R/3.
    Has anyone mapped files into IDOCs and sent to R/3 thru XI. If you did, CAN YOU PLEASE HELP US OUT....
    It looks like we are missing small config step .. somewhere ..
    We created partner profiles, set up ports and RFC destinations. IN SLD we did define the logical systems. On the surface, from the config everything seems fine.
    OSS note 669669 is already in.
    Any help will be greatly appreciated ...

    > We are trying to send an IDOC into R/3 thru XI. We
    > generated one from R/3 into XI - it worked fine,
    > however the reverse direction is not working well.
    > We are using XI 2.0 with R/3 4.6C.
    >
    > We ran into two problems:
    > when we tried DEBMAS/DEBMAS06, we were getting a
    > message in SXMB_MONI / IDX5 that the entry DEBMAS06
    > is not found (in table IDOCSYN) on XI. On our XI
    > server we found that there were only 65 IDOC message
    > types defined (I dont know why .. but none of the
    > popular IDOC messages like DEBMAS, CREMAS, MATMAS,
    > ORDERS, etc are in XI). We thought may be that is the
    > reason. But we do not know thru config, how to add
    > IDOC messages into XI - this is not the same as
    > importing IDOC type .. we have already done that.
    > Just importing an IDOC structure does not put an
    > entry in tables like IDOCSYN, and others...
    You need to change the outbound version to a lower version. ie send debmas03 not 06.
    This is an ALE to ALE issue. Not XI related.
    > Then we tried using an IDOC message that was in XI
    > IDOC tables - FLIGHT_SAVEREPLICA. This ones gets past
    > the error we got with DEBMAS. However, we still do
    > not see the IDOC in R/3.  When we check IDX5 or
    > SXMB_MONI, it says that the message is processed
    > successfully and does not show any errors. We are not
    > understanding why it does not reach R/3.
    >
    Trace time....
    > Has anyone mapped files into IDOCs and sent to R/3
    > thru XI. If you did, CAN YOU PLEASE HELP US OUT....
    >
    > It looks like we are missing small config step ..
    > somewhere ..
    >
    > We created partner profiles, set up ports and RFC
    > destinations. IN SLD we did define the logical
    > systems. On the surface, from the config everything
    > seems fine.
    > OSS note 669669 is already in.
    >
    > Any help will be greatly appreciated ...
    Use SXI_SUPPORT and follow it in debug...
    Cant tell what else is wrong.

  • Looking for standard IDOCs for Currency Codes and Product Hierarchy

    Hi,
    Does anyone know what the standard outbound IDOCs there are for Currency codes and their descriptions and for the Product Hierarchy and their descriptions?
    Cheer

    Hi,
    I don't know about Product Hierarchy but if you want to send Currency codes
    I believe the easiest way would be to create an raport with a select statement that would invoke an ABAP Proxy to send those codes with descriptions
    Regards,
    michal

  • Find target XSLT mapping

    Hi experts,
    The situation is that we have a outbound IDoc which gets transformed using XSLT mapping and is the sent out as an attachment.
    Interface Mapping looks like this:
    Idoc --> XSLT Mapping1
                 XSLT Mapping2 --> Mail (attachment)
    Now, the requirement is to add another FTP receiver, which needs the XML resulting from Mapping1.
    So, I know the source and the mapping program but do not know how or what the target from it is but I do know that whatever that mapping is producing is what I need to put at the FTP location!
    Please send your advise on how to get the target.
    Thanks and regards
    AJ

    Hi All,
    Thanks for your prompt response.
    I think I was not clear about what I am exactly after. So, I'll try again.
    I have the following:
    1) SOURCE XSD.
    2) XSL (Mapping program1)
    I need to FIND the following:
    1) the TARGET XML it is producing so that I can post it to a FTP location.
    and yes, I can do it without a BPM.
    regards
    AJ

  • ** Is it possible to move back and generate the target node in Message Map

    Hi,
    We are doing EDI to IDoc scenario. In our scenario the source XML comes like
    XML Instance
    G_SPOC       (Node) 0..unbounded
       D_670       (Field)
       S_SDQ      (Node)
         D_67
         D_380
         D_67_2
         D_380_2
    G_SPOC
       D_670
       S_CTP
         D_212
    G_SPOC
       D_670
       S_SDQ
         D_67
         D_380
         D_67_2
         D_380_2
    Target Strcutre
    E1EDP01    0..unbounded
      For this instance we have to create E1EDP01 node for how much times D_67,D_67_2..... will come.
    By using 'CreateIf' function we check the existance of D_67,D_67_2 ... and create the target structure E1EDP01. This is working fine if S_SDQ node will come in source XML. Basically D_67,D_67_2 represents Store Nos and D_380,D_380_2 represents Qty.
    In the customer given EDI file, Price change also comes for Line items. It may comes in the file middle also. When Price Change come, the node S_SDQ will not come in G_SPOC but where as S_CTP will come. This contains Price Change in the field D_212.
    The indicator whether QD (Qty Discount), QI (Qty Increase), PC (Price change), AI (Additonal Increase) is stored in the fild D_670.
    In our logic in mapping, we create E1EDP01 based on the existance of D_67,D_67_2... . But, for PC (Price Change) we created special node E1EDP01 at the end (after all D_67,D_67_2 ) by checking the condition whether D_670 = 'PC'. This is also working fine when 'PC' comes in last G_POC of source XML. But, when it will come in middle of G_SPOC, mapping is only executed  for first 3 GPOC (for Example, QD,QI,PC) and it ignored the last one AI. (Because this is generated based on D_67 under S_SDQ again).
    The problem is we think that the system does not go back and execute the mapping for AI based on D_67.
    It executes mapping only in order.
    So, How will we solve this problem, friends? The requirements is  we have to do this thru Graphical Mapping only.
    We tried sever possibilites, but not worked out.
    Kindly help me friends to solve this issue.
    Thanking you.
    Kind Regards,
    Jeg P

    Friends,
    Any help to solve the above issue ?

  • Idoc to jdbc mapping duplicate source node to target structure

    Dear all,
    I am working on PI 7.1
    My sceniro
    IDOC to JDBC  [sap to mssql ]  where the target is a table structure shown below: I execute a stored procedure to insert the below message type into sql table.
    <ns0:MT_SP_LFBK xmlns:ns0="http://test.com">
    - <Statement_Name>
    - <storedProcedureName action="EXECUTE">
      <table>spr_test</table>
      <BANKS type="Char">BOA</BANKS>
      <BANKL type="char">122207</BANKL>
      <BANKN type="char">4555--0</BANKN>
      <LIFNR type="char">1100000218</LIFNR>
      <KOINH type="char">varchar</KOINH>
      <BKONT type="char">01</BKONT>
      <BANKA type="varchar">S.A.</BANKA>
      </storedProcedureName>
      </Statement_Name>
      </ns0:MT_SP_LFBK>
    The mapping is between source CREMAS02 and the above target structure. Everything works fine.
    The problem is when the  vendor has more than one bank account number the IDOC CREMAS02 replicates the below segment E1LFBKM for each BANK account information. Since target and source are mapped one to one how can i map the second bank account information to the same target structure or genereate a new target Message type for the second bank account  information and send it to sql ?
    <E1LFBKM SEGMENT="1">
      <MSGFN>005</MSGFN>
      <LIFNR>110000021</LIFNR>
      <BANKS>BOA</BANKS>
      <BANKL>122207</BANKL>
      <BANKN>4555-0</BANKN>
      <BKONT>02</BKONT>
      <BANKA>S.A.</BANKA>
      <BNKLZ>3000000</BNKLZ>
      </E1LFBKM>
    Thank you ,
    Teresa

    Hi Teresa,
    which segment have you mapped with <storedProcedureName action="EXECUTE"> ?
    Because according to me , if you send <E1LFBKM> to <storedProcedureName action="EXECUTE">
    , you will be able to use your stored procedure several times, in fact each times that you have a <E1LFBKM>.
    Reminds: inside <Statement_Name> you can do several SQL actions like execute one or several stored procedures (could be different).
    Of course, after that your table should accept to have several bank account for a same customer.
    So to have something like that:
    <Statement_Name>
    <storedProcedureName action="EXECUTE">
    </storedProcedureName>
    <storedProcedureName action="EXECUTE">
    </storedProcedureName>
    <storedProcedureName action="EXECUTE">
    </storedProcedureName>
    </Statement_Name>
    regards
    mickael

Maybe you are looking for

  • Mview Fast Refresh Problem

    Hello, We run a fast refresh for a particular mview. I have the mview log created on the primary db (base table) and the mview created on another reporting database. The fast refresh seems to be fine throughout the day but at the end of a day it fail

  • Slideshow transitions and auto frame advance does not replicaet on PDF file created

    The autoslideshow in Lightroom was originally replicated when I made a pdf file for mailing. I find that now the pdf file is 'dead' ie the user has to flip through as opposed to Acrobat doing it automatically - ie frame advance with blending transiti

  • What's the best Mac app to copy movies from a DVD to the iPod Touch?

    So let's say i have a DVD and i want to make a copy of it and use an app to transfer it to my iPod Touch, what's the best way of doing this? I heard of Handbrake and Videora, are they any good? EDIT: I am using a Mac (OS X)

  • I need a bapi documentation

    hi all,   this is siva. i need a bapi documentation. how to create the RFC using bapi fucntion modules to extract the data from particular master tables. pls send the demo also how to create the RFC. with regards, siva. 9985774578

  • OKEON ERROR: Overlapping intervals or identical values have occurred

    Hi Gurus, Kindly help with my problem. When creating a cost center/ cost center group in OKEON, a warning message is appearing, Message No. GS001, the message log is as follows: Overlapping intervals or identical values have occurred Message no. GS00