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

Similar Messages

  • Delivery Header text table and feild

    Hi all,
    Can any one guide me where delivery header text is saving i check table STXH ( STXD SAPscript text file header) and field TDID but while i am checking in table i am not getting any text data either based on text or any other combination
    can any one guide me which table its saves .. so
    Thanks
    Rajesh

    Hi,
    It stores in STXH and STXL tables only.
    Which particular header text do you want to find?
    In the delivery; go to the particular header text in edit mode and double click on it to open the text editor.
    The from the menu options Go to-->Header.
    You will get the required information such as
    Text Name
    Language
    Text ID
    Text Object
    Use the same in STXH and STXL table.
    Note that you have to specify the complete delivery number with the initial zeros.
    Regards,
    Ankur Parab

  • Sales Header Text copy to Delivery Header Text

    Hello,
    We want to copy sales order header text to delivery header text.
    We already did the configuration VOTXN in DEV client and it is working.
    When transported to QA client, we're not able to copy sales order header text to delivery header text.  It is still saying Access Sequence missing.  Checked the configuration in QA, and the access sequence is there attached to the Text Field.
    What else could have been missing?

    Hello,
    Have you created Sales order Header Text by using transaction SO10.
    if Yes,then Run the program 'RSTXTRAN' and attach the Text object to your TR.
    Then Transport this Text to Quality.
    There will be 2 workbench request and 2 Cutomising request.
    Please take care of Sequence in order to move it to QAS(As per Condition Technique Determination)
    Revert if not resolved.
    Regards
    Amit

  • 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!

  • Configuration path for Inbound delivery header text".

    Hi,
    I want separate text type for Inbound delivery, in transaction code VL31N.
    Can any body suggest on "Configuration path for Inbound delivery header text".
    Thanks & Regards
    Sudhansu

    Hi,
    Use Transaction VOTXN.
    *Select the radio button next to Delivery. and select Text types.
    *Go to new entries and create your own text ID after creating text ID go back to the previous screen and select change button.
    Create access sequence.
    select the access sequence you have created and double click ACCESS SEQUENCE FOR TEXT ID folder and Enter sequence number, Text object  and teh text ID you have created.
    Double click text procedure
    Select the text procedure which you are using for teh Delivery document type and double click TEXT ID IN TEXT PROCEDURE Folder.
    Assign the sequenec number TEXT ID and teh ACCESS sequence.
    Afer all teh above configuration steps the you can see the text ID in header text of billing document.
    To retrive teh contents of teh TEXT ID use Fuction module READ_TEXT with TEXT ID, LANG, NAME and TEXT OBJECT as input parameters.
    Note: The contents of the text ID will be in multiple lines of 70 characters each.
    Regards,
    Arun.S

  • How to populate Doc Header Text Field & Ref Field in OASV Transaction?

    Hello everyone,
    I need to seek your help regarding, on how can I populate values in "Document Header Text Field" & "Reference Text Field" in OASV transaction, as these fields are invisible and are mandotory at document type.
    (I know we can disable their status in the document type, but we don't want to do so).
    Regards,
    Saurabh Patni

    Hi Mukthar,
    Thanks for the quick reply.
    I had tried to work out with substitution rule for the document type and transaction code, but still no use, the same error persists.
    (In Subsitution I am going with constant value to be replaced), I am defining it for Callup point 1, but it is not working.

  • Header Text field manadatory in Automatic Inv. settlement plan

    Hi Friends,
    We have made field Header text Manadatory (RBKP-BKTXT), so that when we perform LIV you must enter the details.
    Now we are planning to do Invoice plan and in that when performing MRIS system automatically makes LIV as per settings. Because of above settings we couldn't able to perform MRIS. System is throwing error that " Please Enter Text in Doc. Header Text Field"
    How to over come this.
    Regards,
    Sai Krishna

    Hi,
    We have to do thru user exit or do validations thru FI.
    Regards,
    Sai Krishna

  • Delivery Header Text Table

    Hi
    Can any one advice how to extract the Delivery Order Header Text?. Any specific table.
    I used the Read_text function module through se37, but not sucessfull.
    can any advice step by step in detail.
    Thanks
    RG

    Check whether text determination procedure and access sequence is proper. The functional module read_text is generally used for printing the text on the form. The table for text is
    STXH: Texts: Header
    STXL: Texts: Line
    And text object is VBBK
    Hope this will help you
    Thanks
    Krushna

  • SAPscript - output of delivery item text field

    Hello,
    I would like to show an item text field of a delivery (VL02n) on one of the output script forms.
    I've used the function read_text in my print program for the output type:
    DATA: BEGIN OF TEXT_CARTONQUAN OCCURS 20.    
          INCLUDE STRUCTURE TLINE.
    DATA: END OF TEXT_CARTONQUAN.
    CALL FUNCTION 'READ_TEXT'
                 EXPORTING
                   ID        = 'Z005'
                   LANGUAGE  = SY-LANGU
                   NAME      = VBDPL-TDNAME
                   OBJECT    = 'VBBP'
                IMPORTING
                   HEADER    = THEAD
                TABLES
                   LINES     = TEXT_CARTONQUAN
                EXCEPTIONS
                   NOT_FOUND = 1.
            READ TABLE TEXT_CARTONQUAN INDEX 1.
            MOVE TEXT_CARTONQUAN-TDLINE TO VBDPL-USR01_VBLB.
    Now I put this code into my sapscript:
    IL    &VBDPL-USR01_VBLB&
    For some reasons, it does not come up on the form, but I know it should have a value.
    Am I missing something?
    Thanks,
    Anne
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 7, 2009 11:25 AM

    Hello,
    thanks for the answers!
    @Ramiro Escamilla  
    I've tried that already, but for some reasons, the break point doesn't work, it is not stopping during the print out. I've tested if it is using that print program and uncommented the entry subroutine and I got an error message then, so it's the correct print program. Any suggestions why break point is not working?
    @Pawan Kesari  
    I did that and this is working. But the problem is, I need this value within an IF statement, because I only want to give this and some text out, if  INCLUDE &VBDPL-TDNAME& OBJECT 'VBBP' ID 'Z005' has a value. Unfortunately I cannot use the Include statement within an IF statement.
    Thanks
    Anne

  • Delivery Header Text in SAP Query SQ01

    Hi Friends,
    My requirement is that I need to display the Header Text contents in Outbound delivery in a Query report using SQ01.
    As far as I know, we can pull only table fields in SQ01.
    Is it possible to include Text contents in SAP Query? Can we develop or enhance it?
    Regards,
    AK

    You can add structure and code in a dataset using SQ02, then it will be available to use in SQ01, but a long text can consist of many lines, and so you may require to truncate the text - read [SAP Query|http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/d2/cb3efb455611d189710000e8322d00/frameset.htm] documentation
    - [Creating Additional Structures|http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/d9/9958d4c50a11d396f80000e82de14a/frameset.htm]
    - [Further Code|http://help.sap.com/saphelp_NW70EHP1core/helpdata/en/d2/cb4504455611d189710000e8322d00/frameset.htm] (I suggest record processing or after the query get the table with the text id)
    So create a structure with some text fields, and fill it for every record read in futher code part.
    Regards,
    Raymond

  • Delivery header text Y104

    here i am doing smart form .in one of field it has been mensioned to take that value as
    from header text y 104
    what does it mean
    i know hoe to take text using read_text but what does it mean by
    from header text y 104

    Hi Ravi
    Proceed as below:
    For reading any texts in SAP we can use FM: <b>READ_TEXT</b>.
    Required parameters will be: <b>Name, ID, Object and Language.</b>
    To retreive these details,
    1. Goto the document texts in change mode.
    2. Double click on the text area
    3. An Editor screen will be opened.
    4. Via Editor screen, use menupath: Goto-> Header
    5. In the next popup screen, we will find the ID, Object, Language and convention for Name.
    6. Use these details for FM: READ_TEXT to capture the same.
    Your code should be something like below:
    DATA: VBELN TYPE VBELN,
          IT_TLINE TYPE TABLE OF TLINE,
          WA_TLINE TYPE TLINE.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        ID                            = 'Y104'
        LANGUAGE                      = SY-LANGU
        NAME                          = VBELN  " <--- Delivery Number
        OBJECT                        = 'VBBK'
      TABLES
        LINES                         = IT_TLINE
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8.
    And for your second part of the question, header text y104 means the one you can see via menupath: Goto->Header->Texts
    Hope this info gives you some idea of retreiving the details. Once retreived use the same to pass to the FORM and printing.
    Kind Regards
    Eswar

  • Get an outbund delivery header text

    Hello,
    I have the need to get one of the header texts of the outbound delivery to save it in other table too. I'm using the READ_TEXT function in the userexit USEREXIT_SAVE_DOCUMENT, but the function don't return anything because the texts are not saved yet in the corresponding table. This is due to the USEREXIT_SAVE_DOCUMENT is executed before the COMMIT of the outbound delivery.
    Is there any way to achieve this without to modify the standard code?
    Thank.
    Carlos Barragán.

    I coded this in USEREXIT_SAVE_DOCUMENT_PREPARE.
    DATA:  ENTREGA(70) TYPE c,
           v_texto(40) TYPE c,
           Xline like tline occurs 0 with header line,
          lv_lines TYPE n.
         ENTREGA = 'XXXXXXXXXX'.
         call function 'READ_TEXT'
          Exporting
            id                            = 'Z700'
            language                      = SY-LANGU
            NAME                          = ENTREGA
            object                        = 'VBBK'
          tables
            lines                         = XLINE
          EXCEPTIONS
            not_found = 4.
    DESCRIBE TABLE xline LINES lv_lines.
    IF lv_lines > 0.
       READ TABLE XLINE INDEX 1.
       v_texto = XLINE-TDLINE.
    ENDIF.

  • Delivery Header Text not getting updated using Inbound DELVRY03 IDOC

    Hello,
    I am using inbound iDOC delivery DELVRY03. I am attempting to populate a text field with segment E1TXTH8, but I can not get it to work properly. The iDOC gets posted successfully in status 53, but text does not get updated.
    Does anyone know what the values for field FUNCTION are supposed to be?
    Any other suggestions?

    Following are the values
    E1TXTH8
    Function             001
    Text Object          VBBK
    Text Name            0080000210
    Text ID              Z112
    Language             EN
    Text format
    LANGUA_ISO           EN
    Item
    E1TXTP8                     * 12343468912334445424
    E1TXTP8                     * 12343468912334445423
    E1TXTP8                     * 12343468912334445422

  • Dynamic header text in table control - Dialog programming

    Hi All,
    I have a table control on one of my dialog screens.  I need to dynamically change the column header texts on this control in my PBO.  Does anyone know how to do this?  I have found all kinds of ways to modify the other characteristics of the fields at run time in the PBO (active, input/output, invisible, etc.) - but not to change the header text!  Any help is appreciated.
    thanks,
    Matt

    Hi Hymavathi,
    I appreciate your help!  This didn't solve the issue, however,...I have used the method you'd mentioned before (many times) for setting it inside the loop at screen:
    %_<screenname>_%_APP_%-TEXT = <text something>.
    - but only in ABAP reports.  It doesn't seem to recogize it (the table control column header text) within a dialog program.  I keep getting a compile error. (saying that the %_<screenname>_%_APP_%-TEXT doesn't exist.
    I tried the suggestion that you stated below (from lateesh) - yet it only let me place i/o field in title text area (not the column header text).  Am still searching...

  • How to split header text in table view to 2 lines?

    Hello,
    I have a table view that has many fields. There are fields with long header text.
    Is it possible to split the text and have it on 2 lines?
    Foe exsamle: instead of 'ORDER NUMBER'  --->  ORDER
                                                                                 NUMBER
    Thanks,
    Sara

    Hello Sara,
    You can do that using line feed.
    Implement the following code.
    data: lv_constant type string value 'CRM ORDER'.
    data: lv_constant1 type string.
    data: lv_constant1 type string.
    split lv_constant at ' ' into lv_constant1 lv_constant2.
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    lv_linefeed = CL_ABAP_CHAR_UTILITIES=>CR_LF.
    clear lv_constant.
    concatenate lv_constant1 lv_linefeed lv_constant2 into lv_constant.
    I hope this works.
    Thanks
    Vishal

Maybe you are looking for

  • Java Icon in titlebar

    Hi, Could some help me out. I an trying to replace the Java Icon in the title bar. tank you in advance.

  • Desktop Integration Suite

    Hi, I have installed desktop integration suite.I can access through the window explorer and lotus notes.But I am not getting the Oracle UCM menu in Microsoft Word.

  • Sales order / net work

    HI masters Is there any direct link between sales order and net work. as per as my knowledge sales order link with wbs,  can i have the details please thanqu raj

  • PO Item Locked

    Hi Expert, May I know why a PO item that is locked, appear in MD04 but not in MRP run? Thank you

  • Deactivating  Function Module.

    Hi ABAPers, I want to De-activate one Function Module. Can any one Tell how can we de-activate that one. Thanks in Advance, Regards, Ramana Prasad.