Urgent: How to add  reference DTD at receiver side XML?

Hi!
I have a problem to transfer IDOC to XML.
During Migration from Business connector to XI 3.0,
At original result xml header,
....<?xml version="1.0" encoding="ISO-8859-1"?>
....<!DOCTYPE Shipments SYSTEM "DTD/Shipment.dtd">
.................................~~~~~~~~~~~~~~~~~~~~~~~~~~~
But, thru XI,
....<?xml version="1.0" encoding="iso-8859-1"?>
....<!DOCTYPE Shipments>
so, target system can't recognize that result xml.
we are using mapping program with abap-class, XI3.0 SP14.
How to add it at xml header in abap class?
regards
Message was edited by: ChangSeop Song

Hi,
I don't know if this will work
but I'd try with xslt and <b>doctype-public</b> and <b>doctype-system</b> declarations to do what you want
in the second mapping (after the abap mapping)
of the interface mapping that you're using
Regards,
michal

Similar Messages

  • How to add a DTD Reference to the payload ??

    Hi All,
    How to add a DTD Reference to the payload using graphical mapping ??
    For eg:
    Current Output
    ============
    <?xml version="1.0" encoding="UTF-8" ?>
    <dcsextractdata extractname="">
    <dataheaders>
    <dataheader>
    <record_type datatype="123" />
    <action datatype="CHAR">E</action>
    <code>FK</code>
    </dataheader>
    </dataheaders>
    </dcsextractdata>
    Required Output
    ============
    <?xml version="1.0" encoding="UTF-8" ?>
    <b><!DOCTYPE dcsextractdata SYSTEM "../lib/ftgppl.dtd"></b>
    <dcsextractdata extractname="">
    <dataheaders>
    <dataheader>
    <record_type datatype="123" />
    <action datatype="CHAR">E</action>
    <code>FK</code>
    </dataheader>
    </dataheaders>
    </dcsextractdata>
    Thanks in Advance
    Regards,
    Chemmanz

    Hi Chemmanz,
    your req of adding DTD ref cant be achieved by graphical mapping.......
    you can achieve your this req by making a J2EE adapter module and then deploying it in XI and then calling this module in your recever file comm channel...
    Thanks,
    Rajeev Gupta

  • Urgent - How to add a new control instead of tabs in JTabbedPane

    Hi,
    Please give me an idea or a sample program for how to add a new control
    in JTabbedpane instead of tabs that means overlay any Java controls or pane
    in the tabpane empty place next to tabs

    "Urgent" is not relevant to the question. Your question is no more important than anybody elses.
    My answer in this posting show a limited solution:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=636289
    Otherwise I suggest you try using a layered pane approach:
    http://java.sun.com/docs/books/tutorial/uiswing/components/layeredpane.html

  • How to ADD reference table and make a field as currency field in dictionary

    pls render some info on how to add refernce table and ref field if i want to make an added field as a currency or quantity field...

    Hi Kiran,
    It sounds like you are creating a "Z" table or structure and have defined a quantity (eg MENGE). But when you run the syntax check, the system is saying you need to define a reference table / field.
    Well when you are in SE11, click on the "Currency / Quantity Fields" tab. You will see 2 columns called "Reference Table" and "Reference Field". These 2 columns define the unit of measure for the currency / qty.
    If you have defined in your table MENGE and MEINS and the MEINS field is the unit of measure for the MENGE field you should define your fields as such (inthe Currency/Quantity Fields" tab:
    Table - ZVBAP
    MENGE MENGE_D QUAN ZVBAP MEINS
    MEINS MEINS   UNIT
    Hope this makes sense.
    Cheers,
    Pat.
    PS. Kindly assign Reward Points to the posts you find helpful.

  • PLz Help me its urgent, how to add new field in mm01 basic data screen

    Hi everyone,
         plz tell me how to add new field in mm01 basic data screen,i added that field in basic data screen but when i create a material the data for that field will not save in database table.
    Thanks,
    murali.

    Hi Murali,
    when created added a field on the screen by using user exit then after that you have add the field in main table where you will be getting these table in the userexit only, please make sure about this. And i am sure defenitly it will get updated in to the table.
    reward if useful.
    thanks
    abdulsamee.

  • Urgent - How to add buttons to a Table

    How to add buttons to a Table and enable them for Mouse Listeners/ Action Listeners

    extends the defaultcellrenderer make it return a Jbutton as the component to draw.
    class OverCellRendererClass extends DefaultTableCellRenderer {
    public Component getTableCellRendererComponent(JTable table,
    Object value,
    boolean isSelected,
    boolean hasFocus,
    int row,
    int column) {
    //put your stuff here to make or get a button
    return myButton;
    Use something like this to set the renderer for the column :
    tb.getColumnModel().getColumn(4).setCellRenderer(new YourCellRendererClass());

  • How to add different versions of layout in XML Publisher Report?

    How to add two versions of layout(RTF) for different languages in xml publisher report template so that user can see the report in two languages? Is that possible?
    If so then what is the procedure to do that? Can anyone help in this regard?

    Soma,
    Refer to [Oracle XML Publisher User Guide|http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115xdoug.zip] manual, Page 5-8 Adding Localized Templates for Additional Languages.
    Regards,
    Hussein

  • How to add macaddress in NAC profiler with xml script

    Hi,
    how do we check

    how do we add the mac address in the XML script
    the requirement is  : Printers mac address and the ip address should match to get profiled under printer.
    i have tried  with the below script but it says invalid tag
    kindly help me in this
    thanks in advance.

  • Air iOS - How to add iPhone 6 icons to app.xml?

    I'm using Flash CS6 and Air 3.9 to publish an iOS app.
    How to add the icons for iPhone 6 and iPhone 6 Plus to the app.xml?
    I tried this but got an error:
    <icon>
    <!-- all other icon sizes -->
    <image120x120>AppIcons/app_120.png</image120x120>
    <image180x180>AppIcons/app_180.png</image180x180>
    </icon> 
    Any help appreciated.
    Thanks

    Hi,
    Thanks for reporting, but things are working fine at our end. Could you please tell us the error you are observing. Also i would recommend you to use latest SDK and Flash pro.
    Thanks,
    Jitender

  • How to add tick marks to all sides of graph

    Hi,
    I'm trying to format a graph in numbers and would like to know how to add tick marks to all axies on the graph, ie. top, bottom, left & right.
    I can get tick marks on the bottom and left axis, but can't seem to find a way to add them to the others.\
    Thanks,
    Oscar

    Hi Oscar,
    Numbers 2.3, but this will work in Numbers 3.0.1 with different Inspector choices.
    When in doubt, cheat! This will give a second Y axis. It is a 2-Axis Chart (the bottom one in this screen shot of Chart Types):
    Column C (Value 2) has dummy values copied from Column B (Value 1).
    Now hide the Column graph by selecting it and changing the fill to None. (Inspector > Graphic > Fill > None).
    Set gridlines, tick marks, hide Legend as you wish.
    To add a second X axis at the top, Chart Inspector won't do that. Insert Shapes and Text Boxes?
    Regards,
    Ian.

  • How to add system to login using sid adm user in HANA Studio

    Hi,
    I have added SYSTEM user for my TEST system in HANA Studio. Now, I would like to add TEST system but using <sid>adm user.
    It shows "The system cannot be reached. The logon data could not be used. Do you want to add the system anyway?".
    May I know how to add TEST system using <sid>adm user?
    Thank you.
    regards,
    zl

    You need Database user, not operating system user <sid>adm user.

  • Bursting program how to add if conditions in the bursting xml

    Hi ,
    We use xml publisher bursting to send the po prints to vendors .
    We converted the oracle report and create a template and bursting file to now send the pdf po print to vendors .
    In some cases where the vendor site delivery method is not set to EMAIL and it is null or EDI we wanted to send the po print to requestor ..
    We can get the email address of vendor site in Deliver_TO_EMAIL field and requestor email in Requestor_email fields and delivery method in DELIVERY_METHOD field
    How to write a logic in the Bursting xml like
    if
    DELIVERY_METHOD IS NULL OR EDI THEN
    use requestor_email as email
    change the body of the email
    if
    delivery_method is email then
    user the email as del_email_address
    body of the email will address to vendor.
    if
    deliver_method is email but email_address is null then
    user the requestor email address and change the email body accordingly ..
    currently we have one logic in the burting file as below ...how to write the if logic in this ?
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/XXC_PO_STD/LIST_G_HEADER_INFO/G_HEADER_INFO">
    <xapi:delivery>
    <xapi:email id="email" server="xxx.xxxx.com" port="25" from="[email protected]" reply-to ="">
    <xapi:message id="email" to="${DEL_EMAIL_ADDRESS}" cc="[email protected]" attachment="true" subject=" Standard Purchase Order. ${PO_NUM}-${PO_REVISION_NUM}">
    Please Take Necessary Action.
    Thank You,
    XXXXXX Purchasing Team
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="Purchase Order ${PO_NUM}-${PO_REVISION_NUM}" output-type="pdf" delivery="email">
    <xapi:template type="rtf" location="xdo://XXC.XXC_PO_STD.en.US/?getSource=true"></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    --Chandra                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Please ignore ..
    I created the logic in the report query itself and it worked .
    --Chandra                                                                                                                                                                                               

  • How to ignore Last node in Receiver side CC

    Hi Group,
    I need to prevent one node writting into output file which is coming from Target structure.
    I have used
    FNAME.fieldFixedLengths 0
    FNAME.FixedLengthTooShortHandling Cut
    in my Content Conversion.
    But its not working.Its giving error in adapter level,saying that field length is greated then 0.
    Can any body suggest.

    > Hi,
    > How does it look after mapping i.e xml format ?
    >
    > Just to check ...
    >
    > Regards,
    > Moorthy
    Hi ,
    Here I am attaching XML format after Running in Message Mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns1:MT_BACSPayment xmlns:ns1="urn://SR3_BACS_01/BACS/BACSPayment"><Recordset><VOL1><KEY>VOL</KEY><LN>1</LN><SSN>000004</SSN><AI> </AI><RES1>                    </RES1><RES2>      </RES2><OI>994915        </OI><RES3>                            </RES3><LSL>1</LSL></VOL1><HDR1><KEY>HDR1</KEY><FI>A994915S 1994915 </FI><SI>000004</SI><FSN>0001</FSN><FSQN>0001</FSQN><GN>    </GN><GVN>  </GVN><CD>06299 </CD><ED>06301 </ED><AI>0</AI><BC>000000</BC><SC>             </SC><RES>       </RES></HDR1><HDR2><KEY>HDR2</KEY><RF>F</RF><BL>00000</BL><RL>00100</RL><RES1>                                   </RES1><BO>00</BO><RES2>                            </RES2></HDR2><UHL1><KEY>UHL</KEY><LN>1</LN><PD>06300 </PD><IDN>999999    </IDN><CUC>00</CUC><COC>000000</COC><WC>1 DAILY  </WC><FN>001</FN><RES1>       </RES1><API>       </API><RES2>                          </RES2></UHL1><TC><DSC>123456</DSC><DAN>00123456</DAN><DAT>0</DAT><KEY>99</KEY><OSC>123456</OSC><OAN>00123456</OAN><FF>    </FF><AMT>00000005700</AMT><ON>06299LG12 17543400</ON><OR>CONTRA            </OR><DN>SOUTHERN WATER    </DN></TC><TC><DSC>209148</DSC><DAN>61628011</DAN><DAT>0</DAT><KEY>01</KEY><OSC>123456</OSC><OAN>00123456</OAN><FF>    </FF><AMT>00000002300</AMT><ON>SOUTHERN WATER    </ON><OR>000400011703X     </OR><DN>LG2               </DN></TC><TC><DSC>209148</DSC><DAN>61628011</DAN><DAT>0</DAT><KEY>01</KEY><OSC>123456</OSC><OAN>00123456</OAN><FF>    </FF><AMT>00000003400</AMT><ON>SOUTHERN WATER    </ON><OR>1234567891234     </OR><DN>LG2               </DN></TC><EOF1><KEY>EOF1</KEY><FI>A994915S 1994915</FI><SI>000004</SI><FSN>0001</FSN><FSEQ>0001</FSEQ><GN>    </GN><GVN>  </GVN><CD>06299 </CD><ED>06301 </ED><AI>0</AI><BC>000000</BC><SC>             </SC><RES>       </RES></EOF1><EOF2><KEY>EOF2</KEY><RF>F</RF><BL>00000</BL><RL>00100</RL><RES1>                                   </RES1><BO>00</BO><RES2>                            </RES2></EOF2><UTL1><KEY>UTL</KEY><LNO>1</LNO><DVT>0000000005700</DVT><CVT>0000000005700</CVT><DIC>0000002</DIC><CIC>0000001</CIC><RES>        </RES><DDI>       </DDI><SU>                     </SU></UTL1><EOF><ID>END</ID><RES>                                                                             </RES></EOF><FNAME><Name>PAYSW_061106_164904</Name></FNAME></Recordset></ns1:MT_BACSPayment>

  • How to add reference to a type group from ABAP webdynpro?

    Hi,
    When I copied the webdynpro application from a system to another with SCWB, the referenced types in type groups are reported not defined, even the types from basic type group ABAP - the type groups are defined in both systems, the webdynpro app works well in the original system.
    And I didn't find the way to add type group references in webdynpro with "TYPE-POOLS:". Anybody knows how to handle this?
    Thanks and regards, Said

    OK I found it.
    Under my main program there is a global include. A co-worker called it somehting different.
    So it had:
    type-pools: rs, rsr, rro01, rrk, rro04.
    And I change it to:
    type-pools: rs, rsr, rro01, rrk, rrs0, rro04.
    Yes, Then when I r-click on the main program and select "Rebuild Object List" then it added the type group under "Type Group".
    Mike

  • URGENT : How to add spaces in the outbound file

    Hi Gurus,
    I am writing data from SAP to a Unix file via an ABAP program.
    The file has one record with 4000 characters with 2000 spaces in between the datas.
    Is there any command to add these spaces ? Or I have to go through a loop to add them ? I cannot leave them and assume that they will be spaces by default,as this is causing some error in Unix side.
    Please help,this is urgent.
    Regards,
    Sandip.

    heyy i could find the solution to it....so am closing the thread..thanksss

Maybe you are looking for

  • Office 2007 XLSX Support

    hi, I am looking for a solution that can help me in some standard way to support xlsx support to my ECC6 EHP 4 System. I want if alv is exported ( any alv report program) in excel it should generate xlsx file Office 2007 standard xlsx file to save. I

  • SAP BI u2013 PI u2013 SAP R/3?

    Hi, Can anyone tell is this requirement is posiible because how we can send alerts to users after  data loads with status becasue  we can send alerts if any critical suitation occurs right? How we can push data without manual. 1). SAP BI u2013 PI u20

  • Reg: No Data In database view

    I have created a database view with three tables  T001K , TKA02, T001W. The view is consistent. But it doesnt return any data. I have checked it that common records exist between these three tables. What else could be the problem ? Kindly help. Regar

  • How to include spaces in javaplugin.jre.params

    G'day, I;m working with the Java Plug-In v1.3.1 with Windows 2000 and would like to define a property using the javaplugin.jre.params, namely javaplugin.jre.params=-Djava.ext.dirs\=D\:/Documents and Settings/cpudney/lib/ext so I can define my own sta

  • Cannot ssh into Mac from outside - help, please

    Cross posting from another forum as suggested This is a networking / DNS / Airport / SSH issue