SAP DME Nodes - Can we have leading/trailing spaces?

Hi All,
I have a requirement to populate a DME node from a REGUP value by offsetting that accordingly.
As an example: I used 1 Exit-Module where I wrote like:
C_VALUE = REGUP-<FIELD>+0(10).      " The node is defined in tree as 10 Characters.
It must work properly. But I found, if REGUP-<FIELD> returns a value like '12345ABCD EFGH' [Mind the 10th position is a space] then the NODE is showing 12345ABCD only and just after immediate 9th position a COMA is coming as I am using COMA delimiter. So, an extra space shoud be there after the D which is missing.
In one word, the Trailing spaces are not coming and same is happening for Leading spaces as well. In between spaces are coming fine.
Can anybody please help me to have that Leading and Trailing spaces in DME output file?
I could not found any suitable 'Conversion Function' for that node. Is there anything?
Can we write custom 'Conversion Function'? Or any Exit/BAdI to manipulate the output?
-Thanks, Arghya

After consulting other ADF experts offline, we have come to conclusion that there is no off-the shelf component which caters to my requirement.
We are now going with complete custom solution to achieve shuttle behavior.
I am marking this query as answered.
Thanks,
Sandeep

Similar Messages

  • Requesting for your kind help...(want to preserve Leading & trailing spaces)

    Hello Team,<br /><br />Can you please help in the following issue:<br />I am trying to preserve white space(leading and trailing  L&T) as is on the User Interface.  We have built our UI using Flex 3.0 SDK. <br /><br />From Java side, I am able to carry the value with L&T spaces till the call goes to Flex .mxml and here response object assigning as  <br /><br /> var metaConfig:XML = event.result as XML;<br />But here L&T spaces are not visible along with value of ID.<br />I used to see it by using Alert.show(event.result.toString());<br /> <br />Flex Output is as:<br /><br />       <allScalarMetadataFields><br />      <id>TEST</id><br />      <name>test name</name> <br />.<br /><br />But from java[in Servlet/in service] side I can see the output as:<br /><br />   <allScalarMetadataFields><br />       <id>   TEST  </id><br />       <name>   test name    </name><br />.<br /><br />Java(Servlet) code is as follows:<br />      OutputStream writer = response.getOutputStream();<br />      OutputStreamWriter outputStreamWriter = new OutputStreamWriter(writer,"UTF-8");<br />JAXBContext context = JAXBContext.newInstance(object.getClass(), object.getClass());<br />         Marshaller m = context.createMarshaller();<br />         m.marshal(object, writer);<br />.Here marshal follow a standard structure for XML to map  it into writer same as what Flex XML follows.....<br /><br />Note, there is no any other issue/fault  with Flex and java except this white spaces.<br /> <br />Flex .mxml code is as:<br /><br />protected var _fieldXml:XML;<br />      public function MetadataFieldWrapper(xml:XML = null)<br />            {<br />                  if (xml == null)<br />                  {<br />       xml = <allScalarMetadataFields xml:space="preserve"><br />               <id /><br />                <name /><br /><br />...<br /><br /> Servlet is getting called as :<br /><br />            _webService = new HTTPService();<br />                  _webService.url = serviceUrl;<br />                  _webService.method = "POST";<br />                  _webService.resultFormat = "e4x";<br />                  _webService.contentType = "application/xml";<br /><br />.<br />_webService.headers = { "serviceName":serviceName, "serviceMethod":serviceMethod };<br />                  _webService.send(param);<br /><br />I want to preserve the L&T spaces along with ID/name .<br />Please help me how to allow these L& T spaces in Flex XML object?<br /><br /> <br />Thanks in Advance.<br />Regards,<br />Venu.

    In the future this type of question should be asked on flexcoders as<br />it doesn't relate to the development of the Flex SDK.<br /><br />To preserve whitespace look at the documentation for XML.ignoreWhitespace.<br /><br />-- Daniel R. <[email protected]> [http://danielr.neophi.com/]<br /><br />On Wed, Nov 12, 2008 at 8:19 AM, venubwal <[email protected]> wrote:<br />> A new discussion was started by venubwal in<br />><br />> Developers --<br />>   Requesting for your kind help...(want to preserve Leading & trailing<br />> spaces)<br />><br />> Hello Team,<br />><br />> Can you please help in the following issue:<br />> I am trying to preserve white space(leading and trailing  L&T) as is on the<br />> User Interface. We have built our UI using Flex 3.0 SDK.<br />><br />> From Java side, I am able to carry the value with L&T spaces till the call<br />> goes to Flex .mxml and here response object assigning as

  • XML leading trailing space in elements removal.

    Hi,
    I am getting an xml file like this.
    <House>
    <Refrigirator> Whirlpool </Refrigirator>
    <WashingMachine> Samsung</WashingMachine>
    <TV> Samsun TV </TV>
    <cooler> L G </cooler>
    </House>
    I have to get the output with out trailing spaces in the XMl elements. No schema restrictions has to be applied on this xml file only either with XSLT/Xquery or any other which suits to this I have to use.
    <House>
    <Refrigirator>Whirlpool</Refrigirator>
    <WashingMachine>Samsung</WashingMachine>
    <TV>Samsun TV</TV>
    <cooler>L G</cooler>
    </House>
    Thanks.
    Edited by: user12679330 on Jul 13, 2011 12:41 AM

    input xml is not enough to correct me
    * <Washing Machine> -> <Washing_Machine>
    * space in xmlelement
    better to change the procedure of forming xml
    but in you case
    try something
    with T as
    (select xmltype(
    '<House>
    <Refrigirator> Whirlpool </Refrigirator>
    <Washing_Machine> Samsung</Washing_Machine>
    <TV> Samsun TV </TV>
    <cooler> L G </cooler>
    </House>') xml from dual)
    select replace(replace(xml,'> ','>'),' <','<') from t
    REPLACE(REPLACE(XML,'>','>'),'<','<')                    
    <House>
    <Refrigirator>Whirlpool</Refrigirator>
    <Washing_Machine>Samsung</Washing_Machine>
    <TV>Samsun TV</TV>
    <cooler>L G</cooler>
    </House>                                                                                                                                                                           

  • How can I format a cell in Numbers to have leading zeros in a number?

    I imported a spreadsheet from Excel (Office 2014, Win 7) through iCloud and some numbers were formatted to have leading zeros (012358) in the original Excel file but the leading zero format was lost in Numbers.  Is there a way to format cells to have a number displayed with the leading zero in Numbers?  The leading zero is part of an identification and is important to the numbers (0027 is not the same as 27 in these records).
    thanks,
    Bob

    James has the formating part, but if you already did the import you can use the following formula to replace the zeros that were leading if you know it is a four digit reference number....
    =right("000" & A2,4)
    copy those values into your text formatted column from James' answer and you got it.
    Jason

  • Can we have SAP R/3 QAT system as source system  for BI dev

    HI ,
    We are doing SAP BI implementation and in our company we have already SAP R/3
    The problem is BI team is doing some development in BI DEV and they want to see some data.
    But unfortunately we don't have much data in DEV enviornment.
    So my question is can we have SAP R/3 QAT system as source system  for BI dev.
    Will there be any issues going forward.
    As per my understanding technically source system is just an RFC connection for BI, so we can point it to QAT as well.
    Do you guys foresee any issues in that?
    Thanks,
    Sumit

    Hello Sumit,
    What Arun said was what my concern was, he explained exactly the scenario that I faced, and that your BI team will face if you arrange your landscape as you said. 
    In my company for a while I had the BI Dev box connected to our ECC SND box.
    It was done that way because of the lack of data in ECC Dev.
    It worked, but it was definately not the best solution.  Today we have BID and ECC Dev connected, BIQ and ECC Q, and BIP and ECC Prd.  We do have data in teh attached ECC systems due to recent refreshes too, a large data set is very nice as it helps the BI team significantly.
    That is the best way to arrange the landscape (and throw a BI SND to ECC SND for the true best practice!)
    Thanks,
    Nick

  • Hi All, can i have some production support issues with rootcasue and resolution for SAP TM?

    Hi All, can i have some production support issues with rootcasue and resolution for SAP TM?
    Thanks,
    Sreenivas

    Hi Sreenivas,
    I would recommend that you read the Rules of Engagement and other documents in the Getting Started link (top right) before posting anymore.  Your Discussion will most likely get reported as non-specific and get removed.  If you have a specific problem with TM, please post it in a new thread with error messages, version and SPs installed, and how the error occurs and what you are trying to get TM to do.
    There are a lot of resources available in the TM Overview page which can help, so start there and maybe also look at some of the MKS (Monday Knowledge Session) recordings which should also be listed.  There are also a lot of experienced people who can help resolve issues your TM installation, but you need to provide enough information on the problems you are having.  If you are just looking for information on past problems, do a Search or simply browse through past Discussions which are marked with a green Check (Correct Answer).
    Regards, Mike
    SAP Customer Experience Group - CEG (and a Moderator)

  • Can I have RAC 1st node in RHEL 5 and 2nd node in RHEL 4?

    Can I have my RAC 1st node in RHEL5 and 2nd node in RHEL 4?
    I am just checking if there is any possibility like that.
    Thanks,
    Mahi

    Even if it works by accident, it wouldn't be supported.

  • SAP B1- Can we have the functionality of Indent to purchase?

    Dear All,
    Can we have the functionality of Indent to purchase in SAP B1-Client? If yes, kindly let me know the necssary steps.
    Thanks in advance..!
    Regards
    Rounak

    Hi Rounak.....
    This is your duplicated thread with same doubt so please close this one...
    Any ways.....
    Hi Rounak......
    Purchase Indent is not as such there in B1 but you can get it done by having approval procedure on Purchase Order level.
    Purchase before approval is nothing but Indent....
    Regards,
    Rahul

  • Can we have a POLL for  UI element Enhancements proposal as in WDJ Forum

    Dear Moderator
    Can we have a POLL where we can suggest  UI element/Functionality enhancements in WDA  like the one we have in Web Dynpro Java Forum.
    This can be useful for next releases of Web Dynpro ABAP.
    Thanks
    Abhimanyu

    Some more.
    6) Currently if we have Cell Variants, they have to be bound to context for the key values of corresponding cell editor.
    If the key value doesnt match to any of the cell editor keys, application dumps saying invalid key. Instead of dumping, can there be a default editor, incase the key doesnt match?
    7) ALV loosing the lead selection, when the view layout has sort order.
         - I understand that this is required up on certain context changes like rebinding complete data. However most of the times, we want to re-select the previous lead selection before ALV Refresh had reset it.
         As this happens inside Modify view of ALV, unless otherwise we use explicit Refresh, there is no other option.
         Is it possible for ALV to throw an event if the ALV services like Sort has lead to any context changes like Lost of Lead selection?
    8) Search helps:
    This requirement came from many users. Users would like to have custom search helps with in DDIC Search Help.
    This can be any popup for performing search not just another DDIC search help. I am not sure but I think this is possible with Screen programming but not in WD.
    Also more control is required to handle to F4 or Simulate F4, i.e. for example, to throw the same DDIC Search help if the user hits Enter.
    The major functionality that users will miss, if they other search helps like OVS or Custom Search help, is the Personal Value List (PVL). Can we have some WD interface methods, that will help to enable/disable PVL with these custom search helps
    9) Mandatory attributes check:
    The current WD utilities mandatory attribute check method, does not return all the mandatory attributes for that View and context.
    Also it works on lead selected data. Assuming there are hundreds of elements in context (for an ALV/Table), and the detail view has some mandatory attributes, this check has to be done every time for each and every lead selection.
    Also, most of the times, the child node data changes based on parent node data. In these situations we will need all the mandatory attributes upfront and required checks has to be executed.
    It will help a lot if the mandatory attributesto are passed back by the WD Utilities method once it calculates.
    Thanks,
    Anand
    Edited by: Anand Nidamanuru on Dec 11, 2009 10:10 AM

  • DMEE : Delete Trailing spaces in the output file..

    Dear Friends
    I am using a DMEE Tree t generate a payment file.
    Everything is fine except that teh bank requires the trailing spaces to be deleted.
    i.e. I am getting an output like below but with spaces in place of dots
    :50H:/09618078222002EUR....................<CR/LF>
    Sana'a............................................ <CR/LF>
    :70:DMEE-TEST14.................<CR/LF>
    Note:The dots represents spaces which I want to remove. The dots are added to show you the output...
    The <CR/LF> is printing at the end of the field length. I mean if the field is 34 Chr long then the
    <CR/LF> is getting printed at 35th Char irrexpective of teh field contents...
    But the bank requires in the below format. i.e. remove the spaces thats all.
    :50H:/09618078222002EUR<CR/LF>
    Sana'a<CR/LF>
    :70:DMEE-TEST14<CR/LF>
    Can anyone help.
    I am working on SAP 4.6C
    Help will surely be reawrded....

    Hello Sam,
    I DO NOT know if i can make you understand the logic, but will give it a try )
    The <CR/LF> is printing at the end of the field length. I mean if the field is 34 Chr long then the
    <CR/LF> is getting printed at 35th Char irrexpective of teh field contents...
    You define an element of length 35 char, then in the "Mapping Procedure" select the "Own Mapping (Atoms)" & set the "Atom Handling" as 01 (Concatenate values in element).
    Then create the ATOMS: one with the value "DMEE-TEST14" & the other atom with the value "<CR/LF>
    ". The output will be a concatenation of the two fields )
    Did you get what i wanted to tell you )
    BR,
    Suhas

  • Several SAP Connect nodes for different email schedules

    // Internal code: 20081013-TWAN //
    Is it possible to define several SAP Connect nodes for email? My client has several application (in BW) that require the sending of email but on a different schedule per application.
    For example:
    - Application 1 requires email once per week AFTER manual checks of the email queue.
    - Application 2 requires automatic email sending every 15 minutes.
    I would like to know if it is possible and how it can be done.

    Hi,
    If you speak about SMTP node from transaction SCOT, it is not possible to define several SMTP nodes in one SAP system.
    You'll have to find a way with 2 different jobs.
    Maybe you will need to write a specific abap program based on RSCONN01 which would only push the specific mails from one application ?
    Regards,
    Olivier

  • Warning Leading or trailing spaces ?

    Hello,
    I have a warning mesg : Presentation column has leading or trailing spaces in it
    What does it mean ?
    Thanks

    hi user,
    Rename the column ....u have some extra space before/after the column remove that
    u can refer this : http://www.obinotes.com/2010/09/leading-or-trailing-spaces-in.html
    thanks,
    Saichand.v

  • How can I have users change textures in acrobat 3d and Reader question tia sal2

    I'm trying to have users in Acrobat reader change textures of a box which I made in acrobat 3d
    how can I do this?
    Example
    I made three textures for a box and I would like the user to have the ability to change the textures if they choose. How can I do this? Any examples?
    Can I have a user select the textures or the layers from a photoshop file in Acrobat 3d?
    Tia sal2

    Yo ratboy,
    You can do this. In order to map the images, they must be attached as a 3D resource. (There is a free plugin for this; search the forum for "Attach3DResource.api"). Once the images are attached, you can use the 3D Javascript API to map them to the meshes you desire.
    For one doc, I attached 25 images in this manner. I then used the script below to create a bunch of empty meshes, and then apply the images to said meshes.
    Hope this helps!
    //3D javascript ========================================
    //create 25 procedural meshes ======
    var leftEdge = -180;
    var horizontalOffset = leftEdge;
    var verticalOffset = 0;
    var myMesh = new Array();
    var myVector = new Array();
    for ( i=0; i<25; i++ ) { myMesh[i] = scene.createSquareMesh(64, 48, "myMesh" + i); myVector[i] = new Vector3( horizontalOffset, verticalOffset, 0 ); myMesh[i].transform.translateInPlace(myVector[i]); horizontalOffset += 74; if ( horizontalOffset > 180 )
    horizontalOffset = leftEdge;
    verticalOffset += 58;
    //create image array and resource objs ============
    var myImageResources = new Array();
    var myImageFiles = new Array("8d91.jpg",
    "ad2e.jpg",
    "barnpond.jpg",
    "Beach01.jpg",
    "Beach04.jpg",
    "Beach05.jpg",
    "Beach06.jpg",
    "Beach13.jpg",
    "bike trailer.jpg",
    "cobra.jpg",
    "cr80xr200.jpg",
    "craigs_place.jpg",
    "Dandrea.jpg",
    "dirtbike.jpg",
    "e027.jpg",
    "f5b5.jpg",
    "f613.jpg",
    "halfdome.jpg",
    "Iceberg.jpg",
    "island.jpg",
    "kx100_gb.jpg",
    "maui_horanhero.jpg",
    "norcal_ocean.jpg",
    "sierraLake.jpg",
    "Smokey Light.jpg",
    "test.txt");
    //create resource objs
    for ( i=0; i<25; i++ ) { myImageResources[i] = new Resource("pdf://" + myImageFiles[i]); }
    //load images on meshes with handler ============
    var myImageObjs = new Array();
    var myImageMats = new Array();
    myRenderer = new RenderEventHandler();
    myRenderer.onEvent = function(renderEvent)
    for ( i=0; i<25; i++ ) { //create image from resource myImageObjs[i] = new Image(myImageResources[i]); console.println("Image = " + i);
    //add image to model
    myImageMats[i] = myMesh[i].material;
    myImageMats[i].diffuseTexture.setImage(myImageObjs[i]);
    //remove handler
    runtime.removeEventHandler(myRenderer);
    runtime.addEventHandler(myRenderer);
    //cause a recalculation of the scenegraph.
    scene.update();
    console.println("Call scene.update()");
    console.println("Created 25 Square meshes: (64, 48, 'myMeshN')");

  • Can I have TWO Extractors for ONE InfoObject ???

    Hi all,
        We have two extractors (Business Content & Generic Extractor for 0WBS_ELEMT_ATTR). Can we have these TWO extractors for 0WBS_ELEMT InfoObject. If yes, can I have the procedure, PLEASE ?
    Thanks.

    Hi Venkat,
    You can try to use Flexible update. For this you will need to make your InfoObject an InfoProvider. See here for an example:
    http://help.sap.com/saphelp_nw04/helpdata/en/87/3fdf9587f211d5b2ff0050da4c74dc/content.htm
    Hope this helps...

  • Can I have multiple activation​s on the same computer?

    I have an Lookout Integrator package activated and running. Question is, I
    also have a 50 I/O Dev. System. Can I have both the 50 I/O and the
    Integrator package activated at the same time, and which one would come up
    when I start Lookout?

    I would think, lookout starts and uses the "best"/most featured license.
    1 window either way
    Mike 
    Mike Crabtree - Lead Developer
    Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
    (866) 964-6948 / (760) 247-9512

Maybe you are looking for

  • How do I test Sender SOAP scenario?

    Hi Soap - IDOC. The authorizations on the WS to send data is not yet provided to me. thus, I m trying to send a sample data from Altova XML spy. For this purpose I have created a WSDL from ID (Tools -> create WS) in Receiver NS, receiver MI, I have g

  • AES_DECRYPT in sql not working?

    hi all ! I have this piece of code in my java servlet SELECT idPaciente, Nombres, Apellidos, DNI_NIF, Sexo, Nacimiento, tlf, tlf2, email," +                 " Direccion, Ciudad, Provincia, CP, Canal, Prescriptor, Cobertura, Seguridad_Social, Alta," +

  • Printing WEB Page

    Hello, I own a Canon MF8580CDW.  It prints normal documents, but does not print web pages.  It states that there is not paper (even though it has paper) in the multi tray.  Second, is there a way to send scan documents to Ever note?

  • FAQ'S ON HR-ABAP

    hi experts please answer me FAQ'S ON HR-ABAP

  • Page Imports in Abstract Portal Component

    Hi, I have created an abstract portal component where I have called a JSP using IResource. The JSP is called and displayed. <%@ page import = "java.util.*;" %> <%@ page import = "com.sapportals.portal.prt.component.*;" %> <html> <body> hello </body>