Question w/ mapping header text fields from the ORDERS05 idoc - Need help!!

My mapping seems to be combining two header texts categories(IDs) and putting in into the XML target field. That's the first issue.
The 2nd issue is trying to figure out how to only use only a part of the tdline.
The idoc value is: <TDLINE>232828-0 06/25/2009 EDI Vendor Confirmed</TDLINE> .
I only want to use the first part: 232828-0 and ignore the rest(
06/25/2009 EDI Vendor Confirmed).
Would someone have 30 mins to help a newbie out.
I can send screen shots of the idoc coming into PI and the XML file going out as well as my mapping for the field.
Thanks,
Jeff
jschreiber@ballhort .com

Jeff,
I have sent a test email pl send me screenshots.
Issue 2: Did you try to use standard function for texts i.e "substring". Open the mapping in editing mode and all the way down you  can see "Function" from where you can choose std functions.
-Sid

Similar Messages

  • How can I get the "text" field from the actionEvent.getSource() ?

    I have some sample code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.ArrayList;
    public class JFrameTester{
         public static void main( String[] args ) {
              JFrame f = new JFrame("JFrame");
              f.setSize( 500, 500 );
              ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
              buttonsArr.add( new JButton( "first" ) );
              buttonsArr.add( new JButton( "second" ) );
              buttonsArr.add( new JButton( "third" ) );
              MyListener myListener = new MyListener();
              ( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
              JPanel panel = new JPanel();
              panel.add( buttonsArr.get( 0 ) );
              panel.add( buttonsArr.get( 1 ) );
              panel.add( buttonsArr.get( 2 ) );
              f.getContentPane().add( BorderLayout.CENTER, panel );
              f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              f.setVisible( true );
         public static class MyListener  implements ActionListener{
              public MyListener() {}
              public void actionPerformed( ActionEvent e ) {
                   System.out.println( "hi!! " + e.getSource() );
                   // I need to know a title of the button (which was clicked)...
    }The output of the code is something like this:
    hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
    border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
    flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
    disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
    right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
    rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
    I need this: "first" (from this part: "text=first" of the output above).
    Does anyone know how can I get the "text" field from the e.getSource() ?

    System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
    In a real-world application, no.
    In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
    In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
    All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
    Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button).

  • How to remove the automatically generated text fields from the InfoSet

    I followed the procedure by SAP help.
    Automatically generated text fields are marked with a 'T' on the icon in the InfoSet. You can remove the automatically generated text fields from the InfoSet in the initial screen of the InfoSet maintenance under Further Functions -> Delete Text Fields. Cancel the DataSource creation on the next screen and delete the text fields in the InfoSet maintenance transaction.
    I know that there is an option "No automatic text recognition" when I create a new InfoSet, however, I couldn't find out how to change an existed InfoSet. I checked menu Goto->Global Properties, but that option is disabled. Is there a way to remove text fields from an existed InfoSet?

    Hi,
    In the initial screen (when you enter transaction code SQ02) type your infoset name and goto menu: Infoset -> More functions -> Delete text fields. this will delete all text fields.
    I hope this helps to resolve the issue.
    Ram

  • Can't access the web-site in my home folder from the internet.  Need help.

    I am trying to publish a website from the Sites folder in my home directory. The website is made and I can access it from from every computer within my ethernet. But despite a couple attempts I made I can not get the website published on the internet.
    I have an Airport Express station. Two Macs and one PC are using the ethernet. As far as I can tell the Airport Express station is directly connected to the internet. I live in a brand new apartment which has Lan outlets in every room next to the electricity outlets. I have a single designated internet IP address.
    To open my computer to the internet I set the "Default Host Option" in the Airport Administrator Utility and selected the default three digits for the "Default Host option" IP address. Then I updated the Airport Express station, manually set the IP address in the Network preferences on my Mac to the "Default Host option" IP address and activated Personal Web Sharing in the Sharing preferences. By doing so I lost my internet connection. It turned out I still had the same IP address that I had before I selected Default Host Option.
    As I understand with the Default Host Option I designate one IP address within the ethernet to receive all traffic from outside. But how do you now tell the Airport Express station which computer on the ethernet will be the host for the incoming traffic carrying the Default Host Option IP address? Apparently just setting the IP address manually in the clients computer Network preferences to the "Default Host Option" IP address doesn't tell the Airport Express station to change the IP address it has assigned to this client to the Default Host Option IP address.
    In another attempt to make my website accessible on the internet I removed the Default Host Option and instead opened Public Port 80 and Private Port 80 for the IP address of the client computer in the Port Mapping tap of the Airport Administrator Utility. But again, no access to my website from the internet.
    To access the website from within the ethernet I use the following web-link, which works fine:
    http://192.xxx.x.x/~user/index.html
    The internet of course doesn't see the 193 IP address. It only sees the Public IP address. Therefore I used the Public address instead of the Private IP address to connect to my website from the internet:
    http://222.xxx.xxx.xxx/~user/index.html
    But as I said, I still can't access the website from the internet.
    I have the feeling that I conceptually don't understand something correctly. I would appreciate if somebody could help me with this problem.

    See this article:
    http://support.apple.com/kb/HT1866
    Sometimes My Music does not show up in special folders in TweakUI.
    If so, see this post:
    http://discussions.apple.com/thread.jspa?messageID=1731188&#1731188##
    If you would rather not mess with the registry you can often work round with a shift key start.
    Hold down the shift key and start iTunes, keep holding down the shift key until you are asked to choose or create a library. If you already have one, navigate to your iTunes folder and choose iTunes Library.itl. Otherwise create a new library in My music.

  • I need help!!!! i cant reinstall itunes without the itunes64 folder and i already deleted every aspect of itunes from the computer i need help

    ineed help!!!! i cant reinstall itunes with out the itunes 64 folder and i already deleteted every aspect of itunes from the computer!!!!!

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page).
    http://majorgeeks.com/download.php?det=4459
    Here's a screenshot showing the particular links on the page that you should be clicking:
    After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
    Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
    When the dialog appears, choose to save the file.
    (2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • InDesign CS6 quits on startup after buying Adobe Premiere from the cloud. Need help, Adobe will not.

    I bought all the versions of creative suite over the years and now just bought Adobe Premiere from the cloud. From that moment my InDesign CS6 quits on start up and they tell me that they cannot support me on the phone and to go F myself. I erased everything, even the preferences, reinstalled it and still have the same problem. Do you think this is a marketing trap, buy a new one and we will make sure that you have to change everything? Help, I can't work anymore.

    Hi Jeff, here is a transcript of a chat I had with Pradeep. This should get you up to date with the situation. Meanwhile, i actually download the entire software from this address to reinstall the InDesign: licensing.adobe.com
    Pradeep: As I understand you are having trouble with using Indesign CS6.
    Pradeep: Is that correct?
    André Guernon: Yes, it was working fine like the rest of my CS6 premium but after premiere was installed it failed completely.
    Pradeep: Thank you for confirming.
    Pradeep: May I know if you are getting any error message when you try to launch the software?
    André Guernon: Yes, InDesign quit unexpectedly.
    Pradeep: Okay.
    Pradeep: Before you get the error message, may I know if you are able to see the workspace, the menubar and the tool bars of indesign software?
    André Guernon: I see nothing of the interface, the process takes about a quarter of a second.
    Pradeep: I am sorry for the Inconvenience Andre.
    André Guernon: Thats OK, just happy that you are here.
    Pradeep: I wish I could help you with the issue but we (chat support) handle issues with  Download and Installation, Adobe CC products.
    Pradeep: As the issue is regarding an old version, I request you to visit Adobe forums where our experts will be able to assist you.

  • How can i pass the  segments and fields to the ORDERS05 IDOC

    Hi All,
    I want to use ORDERS05 Idoc type for creating sales order. How can I pass the order type, sales org., distr. channel, division, sold-to-party, material and quantity to the Idoc?
    please help me out in this.
    thanks in advance
    jasmine

    Hi,
    Goto WE19 TC and there select your IDOC and there u can pass the data.
    Regards,
    Phani

  • How to refer the 1st page's 2nd text field from the 2nd page in Java scrip?

    Hello
    I am developing an VISITOR info interactive form with webdynpro ABAP, its with 2 pages. Their heirarchy is,
    VISITOR_form
        |
        |
        |------Page_1
        |            |
        |            |
        |            |------Text_Field_A_1
        |            |
        |            |------Text_Field_A_2
        |
        |------Page_2
                     |
                     |
                     |------Text_Field_B_1
                     |
                     |------Text_Field_B_2
    Now, i have selected the 'Text_Field_B_1' of page_2 and writing the Java script, my requirement is; If Page_1's 'Text_Field_A_2' has a value of "Value_ABCD", THEN the 'Text_Field_B_1' of page_2 should be 'readOnly'. Pls let me know Wht is the Java script for this requirement?

    Script is
    if ( Page_1.Text_Field_A_2.rawValue == "Value_ABCD" )
    Text_Field_B_1.access = "readOnly";
    It can be written at the form:ready event of Text_Field_B_1.
    Thanks,
    Aravind

  • Accounting document header text field

    Gurus
    I need some help pulling a header text field from an accounting document. I need to run a report on that. Header text is not stored in a table, can anyone suggest what the best way to do that is?
    thanks!

    Thanks for the tip on those tables. I was able to get some data in STXL -
    FF06010102028000343130320000000063010000121F9D021D331F030303230F90606065C00642187C183C19FC185CD74254AE028BB28029468E7510C17D5033
    It seems like its in hex, i entered "Error Code :1" in the text field and got this stored in the table!

  • How to copy text from Excel to a text field in the form?

    Hi All,
    I want to copy a text from Excel or Word file and paste it in a text field in the form, How?
    I tried to use ctrl+c for copy and ctrl+v for paste but it doesn't work!

    hi, i've seen this problem before but can't remember what the solution was...
    but just by searching on this forum resulted in this link
    Re: Copy and Paste
    hope it helps

  • I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    See this thread:
    http://answers.acrobatusers.com/Is-add-instructional-text-text-field-disappear-clicked-q19 5078.aspx

  • Very important question need immediate answer please very serious, is there any way possible i can get recent text messages from the last 2 days and print them off after they have been deleted from my phone?

    is there anyway i can retrieve recent text messages from the last 2 days and have them printed off after they have been deleted from my phone?  this is seriously important i need this for an attourney!

    click here:
    Re: Can I request to get the content of old text messages

  • Field Length of the text field on the screen

    Hello Experts,,
    I have field with its label on the screen. Now the label text is picked up from data dictionary as defined.
    Data element       J_3ARQDA                       Active
    Short Description:  Requested delivery date
    Length           Field   Label
    Short             10       RqDlv.date
    Medium         16       Req.deliv.date
    Long              20      Requested deliv.date
    Heading         5        Dldat
    Now the text in different laguage say russian is quite bigger in length as compared to english ones. Now on the sales order screen i have the text 'Dldat', but the russian user needs a bigger word than just 'Dldat'.
    Approach :  I changed the heading length to some '25' from '5' to accomedate the russian text in DDIC for data element. But if i have to adjust the same on the screen with new text length i have to extend the screen border as well.
    Is this right approach ? If not how do we actually accomedate the other language texts on the screen with out altering the screen borders ( length and breadth).

    Hi Radhika,
      I tried doing that with a couple of invoices but I dont see the Long text printed on the check after the automatic payment run. Can you please suggest me if I am missing on anything. I inserted a long text and a '*" before this to have it printed on the check which does not seem to work. Can you please suggest me alternative solution.
       Thanks in advance.
    Ramya

  • Outbound Delivery - Header (Text field - Table Name)

    Hi All,
    In outbound delivery header - Texts tab i notice that we can maintain some texts. May i know which table i should refer to read the text entered.
    I can read the text type key from the table TTXTD, but i need to read the actual text entered by the user.
    Hope my question is clear, await your inputs.
    Regards,
    Vivek

    HI,
    SAP has already provided a various functions for read the text element. So you no need to get the value from table directly!
    There is some example
    CALL FUNCTION 'READ_TEXT'
           EXPORTING
              CLIENT           = SY-MANDT
              ID               = T_TEXT_ID
              LANGUAGE     = 'E'
              NAME          = T_UNIQUE_ID
              OBJECT          = T_TXTOBJ
         IMPORTING
              HEADER          = HTEXT
         TABLES
              LINES          = T_READ_LINE
         EXCEPTIONS
              ID               = 1
              LANGUAGE                    = 2
              NAME                            = 3
              NOT_FOUND                      = 4
              OBJECT                         = 5
              REFERENCE_CHECK     = 6
              WRONG_ACCESS_TO_ARCHIVE = 7
              OTHERS                  = 8.
    Let me explains as below parameters.
    T_TEXT_ID - Text id: example - '08000123', also is the document no.
    T_UNIQUE_ID - Text unique ID: example - 'ZD01'
    T_TXTOBJ - Text Object: example - VBBK
    That information can find it on relevant of document. In your case, you can fount it on the below path:
    VF01n/VF02n > GoTo -> Header -> Text -> detail (is the push small button, then it will go to the next screen) -> Goto -> Header.
    Return Value tales - THEXT and Table Line - T_Read_line
    You must declare this variable before,
    DATA: BEGIN OF HTEXT OCCURS 50.
            INCLUDE STRUCTURE THEAD.
    DATA  END OF HTEXT.
    DATA: BEGIN OF T_READ_LINE OCCURS 50.
            INCLUDE STRUCTURE TLINE.
    DATA: END OF T_READ_LINE.
    READ TABLE T_READ_LINE INDEX 1. "read the line value
    I hope this can help, so remembers reward the points

  • Text is not copying into Header Text Type from Contract to Order & Invoice

    Salute Masters!!
    I have done related configuration in VOTXN for Sales Document & Billing.
    After creation of Contract, given Text in New Header Text Type, itu2019s not copying into Sales Order or Invoice.
    Although, which was configured earlier one, for that Header Text Type, text is copying into Order & Invoice both properly.
    Firstly; I have given the same Access Sequence for the New Header Text Type, It was copying the same matter which was given into Old Header Text Type, then I have created new Access Sequence & assigned changed Access Sequence for the New Header Text Type, even then it is not copying.
    I have checked other Configuration those are OK!
    Assignment of Sales Document Type to Text Determination Procedure, it is OK!
    Please provide the solution.
    Thanks in advance.
    Warm Regards,
    Sanjai Srivastav

    Hi
    Hope the issue is resolved , if not please check these settings - VOTXN
    1. Create Text Type for your Sales order -S001 and Billing Invoice - B001
    2. Create Access Sequence - Z001.
    3. Include your Both Text Type in respective Procedures.
    Now
    WHen you will assign the Text into your Text Procedure - Assign same Access Sequence in both the case.
    In your Sales Order text procedure - Assign
    1. Assign Text Type S001  and Access Seq Z001
    2. Select the Access Seq on the left side in the VOTXN T-Code , a POP up will come and then input Your Access Seq into that
    3. You will get another screen, Here give the Seq No-1 and VBBK Header Text and Again Assign TEXT type S001.
    Now go to Invoice Text Procedure
    1. Assign Text Type B001 and Access Seq Z001 and SAVE.
    Once you will do that the step 2 and 3 will automatically get copy in the backend.
    To Check
    2. Select Access Seq on left side and in the Pop Up input access Seq. Now there you will see the system has copied the
    fields from the Order.
    Now try running the scenario. same you can do for Contract and Order.
    Hopefully this will Help you.
    please let me know if any concerns
    Thanks
    RB

Maybe you are looking for

  • IPod Nano error message

    Error message: The registry settings used by the iTunes drivers for importing and burning CD's and DVD's are missing. This can happen as a result of installing other CD burning software (NOTE: I HAVE NOT INSTALLED ANY OTHER CD BURNING SOFTWARE). Plea

  • Is there a way for the Sitegrinder 3 plug-in for photoshop to work on OS X Maverick

    I am receiving an error message when trying to run the MediaLab plug-in (Sitegrinder 3) within Adobe Photoshop CS5. Message: Could not complete the SiteGrinder 3 command because there is not enough memory (RAM). I have already tried adjusting the mem

  • Apple TV Keeps "Forgetting" My Network

    OK - love ATV but c'mon... between the incredibly slow streaming times & the amount of time I wait for streaming to "catch up", you'd think I would be frustrated. Perhaps. But what is really bugging me is that on several occasions, I have turned on t

  • Sourcing CLM-SRM Integration : Supplier mapping

    Dear Experts, We have successfully implemented the CLM-SRM integration in our landscape.Further to this we have some clarifications required regaridng certain possibilities regarding this scenario. 1. Is it possible to have a different vendor names f

  • How can pass the Maximum query String parameter in browser.....?? (URGENT)

    hi Guys, i make the application, in which lots of data record with id, whenever i clicked to the SUBMIT button, it wil forwarded to the next page. But The problem is.....when we pass the 30 id in a query string parameter that' fine but when it is inc