Home > Default > XML ACTION TAG "CREATE"

XML ACTION TAG "CREATE"

November 30Hits:0
Advertisement
Dear Experts
By the method mentioned below I able to extract the data in <b>XML format</b>..
XML Conversion
CALL TRANSFORMATION id
SOURCE output = it_pernr
RESULT XML xml_out.
APPEND xml_out TO xmltable .
But the applicaton where I need to upload this data is looking for action tag "<b><u>CREATE</u></b>".
<b><i>How can I pass action tag while creating XML file?</i></b>
Looking forward for a usual working solution from you guys, your kind efforts will be highly appreciated and off-course rewards points for the answers...
Best Regards
Aslam Riaz

Answers

Dear Raja,
I applied the code and this the out come.
  <?xml version="1.0" encoding="iso-8859-1" ?>
- <FLIGHTS>
- <item>
  <MANDT>900</MANDT>
<b>  <CARRID ACTION="CREATE">LH</CARRID> </b>
  <CONNID>0400</CONNID>
  <FLDATE>0000-00-00</FLDATE>
  <PRICE>0.00</PRICE>
  <CURRENCY>USD</CURRENCY>
  <SEATSMAX>0</SEATSMAX>
  <SEATSOCC>0</SEATSOCC>
  <PAYMENTSUM>0.00</PAYMENTSUM>
  <SEATSMAX_B>0</SEATSMAX_B>
  <SEATSOCC_B>0</SEATSOCC_B>
  <SEATSMAX_F>0</SEATSMAX_F>
  <SEATSOCC_F>0</SEATSOCC_F>
  </item>
What Required is;
  <?xml version="1.0" encoding="UTF-8" ?>
- <DOCUMENT>
- <USER ACTIONS="CREATE">
  <USERID>AR0001</USERID>
  <PASSWORD>abnamro</PASSWORD>
  <FNAME>Alvarez</FNAME>
  <GNAME>Eduardo</GNAME>
  <OTHERNAME />
  <PERSONTITLE />
  <LEVEL1>GTA</LEVEL1>
  <LEVEL1DESC>GTA</LEVEL1DESC>
  <LEVEL2>LatAm</LEVEL2>
  <LEVEL2DESC>LatAm</LEVEL2DESC>
  <LEVEL3>Argentina</LEVEL3>
  <LEVEL3DESC>Argentina</LEVEL3DESC>
  <LEVEL4>TradeSupport</LEVEL4>
  <LEVEL4DESC>Trade Support</LEVEL4DESC>
  <LEVEL5 />
  <LEVEL5DESC />
  <EMPNO />
  <ADDRESS1>Buenos Aires</ADDRESS1>
  <ADDRESS2>Argentina</ADDRESS2>
  <EMAIL>[email protected]</EMAIL>
  <PHONE />
  <STATUS>0</STATUS>
  <CURRENTPID>AR0001</CURRENTPID>
  <DAPPRAISER />
  <JOINDATE />
  <USERATTR1 />
  <USERATTR2 />
  <USERATTR3 />
  <USERATTR4 />
  <USERROLE>S</USERROLE>
  <JOBTITLE>CTO</JOBTITLE>
  <CATID>25</CATID>
  <LANGPREF>1</LANGPREF>
  <UI>30</UI>
  <PREF1 />
  <PREF2 />
  <CONTENTSERVER />
  <ICONSELECTOR />
  <INITIALURL />
  <EXTAUTHENTICATION />
  </USER>
- <USER ACTIONS="CREATE">
  <USERID>AR0002</USERID>
  <PASSWORD>abnamro</PASSWORD>
  <FNAME>Belmudes</FNAME>
  <GNAME>Julio Luis</GNAME>
  <OTHERNAME />
  <PERSONTITLE />
  <LEVEL1>GTA</LEVEL1>
  <LEVEL1DESC>GTA</LEVEL1DESC>
  <LEVEL2>LatAm</LEVEL2>
  <LEVEL2DESC>LatAm</LEVEL2DESC>
  <LEVEL3>Argentina</LEVEL3>
  <LEVEL3DESC>Argentina</LEVEL3DESC>
  <LEVEL4>Sales</LEVEL4>
  <LEVEL4DESC>Sales</LEVEL4DESC>
  <LEVEL5 />
  <LEVEL5DESC />
  <EMPNO />
  <ADDRESS1>Buenos Aires</ADDRESS1>
  <ADDRESS2>Argentina</ADDRESS2>
  <EMAIL />
  <PHONE />
  <STATUS>0</STATUS>
  <CURRENTPID>AR0002</CURRENTPID>
  <DAPPRAISER />
  <JOINDATE />
  <USERATTR1 />
  <USERATTR2 />
  <USERATTR3 />
  <USERATTR4 />
  <USERROLE>S</USERROLE>
  <JOBTITLE />
  <CATID>25</CATID>
  <LANGPREF>1</LANGPREF>
  <UI>30</UI>
  <PREF1 />
  <PREF2 />
  <CONTENTSERVER />
  <ICONSELECTOR />
  <INITIALURL />
  <EXTAUTHENTICATION />
  </USER>
Best Regards

Read other 13 answers

Tags:

Related Articles

  • XML ACTION TAG "CREATE"November 30

    Dear Experts By the method mentioned below I able to extract the data in <b>XML format</b>.. XML Conversion CALL TRANSFORMATION id SOURCE output = it_pernr RESULT XML xml_out. APPEND xml_out TO xmltable . But the applicaton where I need to upl

  • Xml action file upload problem. No roles createdNovember 30

    Hi all I'm trying to upload to a SAP WAS 6.40 Server an action xml file through visual administration console. My xml action file defines the actions and the roles. I can upload it it has no effects on the system (the roles are not created in my syst

  • XI to read the action xml file and create a SAP notification in PMNovember 30

    Hi All I am new to XI world can you please help me in doing this scenario. I have to read an XML file and create a Notification in PM module of SAP. Step by Step help would be great. Thanks in Advance SaiHi Sai, To send data from XML file to SAP (any

  • Using XML Operation Tags to query by dateNovember 30

    Problem 1: When I use timestamps from items' XML to form queries on repositories, I receive SQL errors. Problem 1 Example: Query the PublishingRepository to find all active projects created on August 16. In Dynamo Administration, navigate to /atg/epu

  • Inspecting XML Action Document in FusionNovember 30

    Hi all, Is it possible to inspect an XML Action Document generated by a Fusion proxy? Our application is receiving this response from Fusion: <IBError>Action document contains an invalid action "IBAttribute". Valid actions are "IBAplA

  • Error While trying to Get XML element(tag) ValuesOctober 11

    We are trying to get XML element (TAG) value from the XML pay load. Example. Getting XML String from a web service and then converting into XML payload. ora:parseEscapedXML(bpws:getVariableData('signOn_Out','signOnReturn')) From this XML payload we a

  • HTTP response does not contain a valid XML root tagOctober 11

    I am running into an error in my trace portion of my XML when executing my application. The error is  "HTTP response does not contain a valid XML root tag". The HTTP request is successful with message 200 so it seems to be accepted by the Integr

  • Can't get out.print to work with XML jsp tagsOctober 11

    <jsp:scriptlet> if(ErrorTrap == true) {      out.println("<tr><td colspan=\"center\" align=\"center\">There was" an error while processing the form</td></tr>");      ErrorTrap = false; </

  • XML File Tags Validation Using Oracle.October 11

    Dear Forum Members, I have a doubt regarding XML File Tags Validation. First I will explain My Requirement. 1. I have to generate an XML File in a Predefined Format. 2. User will add some data in the elements, or he may copy the same elements and cha

  • Full sync reconciliation - no xml file is createdOctober 11

    Hi, I am using Oracle VM Templates for PeopleSoft and OIM I followed exactly the guide here http://download.oracle.com/docs/cd/E11223_01/doc.910/e11205/deploy.htm#BIHEBCCI But my full data publish is not working. no xml file is created in the file no

Copyright (C) 2017 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.121 s.