Getting short text of data element

Dear Friends,
Is there is a function module,where if a field is
given the corresponding short text of the data element
is got.
kind regards
kaushik hegde

Hi,
-> select table DD04L / DD04T
-> or fm DD_DTEL_GET
regards Andreas

Similar Messages

  • FM to read CSN short text and Date of its creation

    Hello Experts,
            I need an function module that takes CSN number as input and returns the short text and date of creation of the CSN. If you know of any such function module then please let me know.
           Thanks in advance
    Regards,
    Prafful

    Hi,
    use this FM....
    BAPI_CUSTOMER_GETDETAIL
    Regards,
    Siddarth

  • Getting error while updating data element using Xquery Automator

    Hi,
    I am getting following error while i am trying to update a data element in my task.
    <Nov 28, 2011 5:02:40 PM IST> <Error> <oms> <BEA-000000> <automation.AutomationDispatcher: Failed to execute
    on/plugin/external/ACOI_TMIP_POC/1.0.0/CLARIFY_Task.automatedtask.acoi_tmip_poc.ResponseAutomation] due to E
    hile running Script resource [file:///D:/AshishWorkspace_WithOrchestration/ACOI_TMIP_POC/resources/CLARIFY_R
    exception location: ; SystemID: module with no systemId*; Line#: 15; Column#: -1*
    com.mslv.oms.automation.AutomationException: Exception thrown while running Script resource [file:///D:/Ashi
    rchestration/ACOI_TMIP_POC/resources/CLARIFY_Response.xquery]; exception location: ; SystemID: *module with
    e#: 15; Column#: -1
    the Xquery that i am using is pretty simple:
    declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptSenderContextInvocation";
    declare namespace context = "java:com.mslv.oms.automation.TaskContext";
    declare namespace log = "java:org.apache.commons.logging.Log";
    declare namespace oms="urn:com:metasolv:oms:xmlapi:1";
    declare namespace prop = "OSM_POC";
    declare variable $xmlnsosm7POC := "";
    declare variable $log external;
    declare variable $automator external;
    declare variable $context external;
    let $CLFY_XML := //CLFY_XML
    let $Id_Number :=//Id_Number
    return
    automator:setUpdateOrder($automator,"true"),
    log:info($log,fn:concat('ID request number is: ', $Id_Number)),
    <ord:OrderDataUpdate xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:odu="http://www.oracle.com/OMS/OrderDataUpdate" targetNameSpace="http://www.oracle.com/OMS/OrderDataUpdate" xmlns:ord="urn:com:metasolv:oms:xmlapi:1">
    <ord:Add path="/CLFY_ID">{data($Id_Number)}</ord:Add>
    </ord:OrderDataUpdate>
    Can anyone please tell me the reason due to which this error is coming.
    Thanking in advance
    Ashish Garg

    Hello.
    Ok I need you to tell me a little bit more about your automator, did you config an Xquery Automator with Event Type: Internal?
    You should declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptReceiverContextInvocation";
    instead of
    declare namespace automator = "java:oracle.communications.ordermanagement.automation.plugin.ScriptSenderContextInvocation";
    And let my ask you, what are you trying to do with the next lines:
    let $CLFY_XML := //CLFY_XML
    let $Id_Number :=//Id_Number
    Becouse I think you are trying to acces the data on the task, If that is the reason, you should better use something like:
    let $order := ..//oms:GetOrder.Response
    let $orderId := $order/oms:_root/oms:orderHeader/oms:orderId
    with the above lines you are accesing the data that has been added to the task and the just acces the node that you nedd, for example here Im accesig the node
    orderId under OrderHeader
    Another thing is that if you want to update node which already exists in the task data, then you have to use something like:
    <OrderDataUpdate xmlns="http://www.metasolv.com/OMS/OrderDataUpdate/2002/10/25">
    <Update path="/orderHeader/orderId">{$orderId}</Update>
    </OrderDataUpdate>
    But if you have to add a new path you should have something like this:
    <OrderDataUpdate xmlns="http://www.metasolv.com/OMS/OrderDataUpdate/2002/10/25">
         <Add path="/OrderHeader">
              <Transaction>
                   <Name>{$orderId/text())}</Name>
              <ComponentKey>{$controlData/text()}</ComponentKey>
              </Transaction>
         </Add>
    </OrderDataUpdate>
    For the above transaction you should have in the dictionary the structure, OrderHeader in the root, and inside this the structure another node with the respective names
    <Transaction>
                   <Name>{$orderId/text())}</Name>
              <ComponentKey>{$controlData/text()}</ComponentKey>
              </Transaction>
    Another thing is that you should have all this structures in the Task Data of this Task.
    Hope this help
    Lucas.

  • Dynamic text in Data elements

    Hi all,
              Can we populate the data element text dynamically.
             For eg: we have field  TXT whose data element is ZTEXT and the short text that appears in the table is TEXT.
            Now we want to create two other fields TXT1 and TXT2 and the text that needs to appear should be other than TEXT (could be TEXT1 & TEXT2) is it possible to do such kind of modifications..
          To boil down, we want to use one data element across different fields but that text needs to be diffferent.
    Thanks in Advance,
    Regards,
    Kishore Yerra.

    The text is inherited from the data element. While creating tables you have 2 options 'Data Elements'   OR  'BUILT-IN  / PREDEFINED' see the button next to SEARCH HELP button in the table - toolbar.
    In such case why you want to use the Text element, you can use th BUILT-IN  / PREDEFINED Types, You can direcly give the field name and type along with required texts.
    Hope it will help.
    Regards,
    Vishal

  • How to get short text of a exception thrown by abap rfc

    Hi buddy,
    I use jco to communicate with backend, an abap function module will raise a exception. I can catch that exception,
    The example exception is:
    <b>Exception</b>     <b>Short text</b>
    Test                   This is exception test.
    e.getKey()
    will return TEST.
    Does any know how to get that short text "This is exception test." from the exception I caught?
    Thanks
    Austin

    Hi Austin,
    There are 2 methods to raise errors in function modules.
    1) Using the raise Exception statement
    2) Using a return structure like BAPIRET to populate the message details like type, error number, error text etc.
    Generally method 1 is not recommended for any RFC/BAPI function modules because it causes the calling program to crash if the function raises an exception. Method 2 is the recommended way and is used in all standard BAPI's. ABAP programmers are advised to code RFC's as per method 2, but some times it would not be possible as the function would already be used and could be barred from changes.
    But whatever method the RFC uses to raise an exception, web dynpro can handle it in the following ways,
    Method 1) If the RFC raises an exception using RAISE EXCEPTION,
    Dont catch Exception class in your code, instead do the following,
    catch (WDDynamicRFCExecuteException e) {
                      wdComponentAPI.getMessageManager().reportException(
                            e.getLocalizedMessage(),
                            true);
    Method 2) If the function returns the errors in the standard bapi return structure, you can do the following
                IWDMessageManager MsgMgr = wdComponentAPI.getMessageManager();
                for (int i = 0; i < ReturnNode.size(); i++) {
                      if (Types.indexOf("S") != -1
                            && ReturnNode.getElementAt(i).getAttributeAsText("Type").equals(
                                  "S"))
                            MsgMgr.reportSuccess(
                                  ReturnNode.getElementAt(i).getAttributeAsText("Message"));
                      if (Types.indexOf("W") != -1
                            && ReturnNode.getElementAt(i).getAttributeAsText("Type").equals(
                                  "W"))
                            MsgMgr.reportWarning(
                                  ReturnNode.getElementAt(i).getAttributeAsText("Message"));
                      if (Types.indexOf("E") != -1
                            && ReturnNode.getElementAt(i).getAttributeAsText("Type").equals(
                                  "E"))
                            MsgMgr.reportWarning(
                                  ReturnNode.getElementAt(i).getAttributeAsText("Message"));

  • CATS - adding WBS Short Text to Data Entry Section

    i got the wbs short text to appear in the work area but it's not showing up in the data entry section. It's all setup in CAC2 under worklist and data entry. Am I missing something else ?. There looks to 5 core fields in the data entry section and using CAC2 - i can take any of those fields away and add them back but cant add any other columns to be displayed
    thanks in advance,

    Hi,
    Thankyou for your response.
    The Short text i mentioned is not the text of the attendance / absence code. It is the additional message one may want to associate with the record being entered.
    It can be seen in a pop-up window in CATS whenever the hours field of such a record is double-clicked.
    When i try to transfer such a record with an additional short text assigned to it in CATS to HR (CAT6/CATA), the short text does not transfer.
    Could you help me find a way to transfer such short texts to respective HR infotypes (IT2001  /  IT2002)
    Thanks for your help!
    Thanks and regards,
    Shreyasi.

  • Get short text of component in packing instruction

    Hi,
    i need to get the short text of Components tab in transaction POP3 (packing instruction). How can i do it?
    Best regards.

    As u r using T u need to use READ_TEXT and pass following..
    Language = E
    Text Id = 0001
    Text name = PACKINSTR
    Text object use FM VHUPODB_PACKOBJ_READ_EXT
    passing
    POBJID_I                        12        
    PACKTYP_I                       P         
    PRE_LOCK_MODE_I                 2         
    POST_LOCK_MODE_I                2         
    ALL_LANGU_I                     X         
    GET_ITEMS                       X         
    GET_TEXT                        X         
    concatenate PACKNR and HDCOUNT

  • Problem in getting long text in Cash receipt.

    Hi all,
    I want long text in my form print but as a programming i am not getting long text in description Field I am getting short text.  So can you please kindly tell me when we entered long text in transaction FBCJ this long text save in which table. And how can i fetch this data in my smartforms.
    Thanks in Advance.

    Hi Keyur,
    when you see the detail text in the transaction, use menu goto -> header. Here you see the details to use for an include staement in sapscript. Note that the text name may be a concateneation of client and document number. Prepare the details in print program, fill in variables to be used in sapscript.
    Hope these details are enough.
    Regards,
    Clemens

  • Data Element Doubt

    Generally we will specify three types of descriptions(Long,Meduim,Short) in the data element along with the data element description.
    1. In which cases those three types of texts are used ?
    2. I think the description of data element comes to the field description in the table .... Right ?

    hi manjunath,
    the reson for specifying 3 texts are that
    1) used in screen elements based on DATA element.
        there is something called program parameter OR
        Dictionary parameter
        when you take dictionary parameter based on the screen field size the appropriate text is shown on the screen - i.e either in push buttons or other elements
    2) in ALV you may build a field catalog manually where in the output columns should have a text.
    for this you can either doctionary texts(S,M,L) so then the Texts maintained against the Data element are shown in output.
    OR when you use the FIELDCATALOG MERGE Function Module to create your Field Catalog based a structure or Internal table then the Column Texts are displayed based on the user interaction on the output columns.
    Second Question - Yes the Description you write for a  Data Element will be Used as you Field Description as you know that whenver a FIELD in a table is created you can specify the length of the field either through Predefined Direct Types or Trhough Data Elements.
    When you define thorugh DATA elements the Data Elements Description is taken as Field Description
    ELSE
    When you take Direct Type then you need to also Manually Write the Field Description.
    Hope this clarifies what you have been looking for.
    Encuorage others to answer your queries by suitably rewarding them.
    Thanks
    Venugopal

  • Use of documentation flow in data element!!!!

    hi experts,
      what is the use of documentation flow in data element.
    if that field is selected then where will be changes reflected ?
    thanks in advance,

    Hi,
    Changing Data Element documentation (F1 help text)
    SAP allows you to modify data element documentation (F1 help text), this could be useful if you want to add/remove information from the F1 help text. E.g. If you are using the field to store info it was not intended for.
    Step 1
    Using transaction CMOD chose the following menu option
    Menu Goto->TExt Enhancements_>data elements->list cust docu.
    Enter the data element that you wish to change the documentation text for, then click the change icon(Pencil in 4.6c and tick in 4.6b). You will then be presented with the following screen, which allows you to create new versions of the data element documentation. Simply click on the Change button and enter a name within the customer name range.
    Regards

  • Finding data element

    hi
       i m new to idoc.i m trying to create the segment.in that i have 5 fields but i m not getting how to find data element for those fields.In y requirement they have just given fields like 
    Idoc   field                         XT01 message                          Description      
    FUNLOC_OWNER     C069_StockOwnerFunloc     STOCK OWNER FUNLOC
    M, 1      Format          Value
    M     N6     fixed value '000000'
    so how to find the data element of this field..plz help me...
    thnx

    Hi,
    Go to se11 -> give any datatype name > Press F4> serach for dataelements --> popup will come 'Press Information system and give datatype and length. --> you can find your dataelement.
    Regards
    Bhupal Reddy

  • XPath expression for getting nodes based on date

    Hello,
    using javax.xml.xpath.XPath (Java 5) I want to get only nodes with dates (element pubDate) greater then some provided date. What is the expression for getting, say only first two <item> nodes? Is it at all possible?
    Example XML document:
    <?xml version="1.0" encoding="utf-8"?>
    <rss version="2.0">
         <channel>
              <title>Channel title</title>
              <link>http://www.foo.bar</link>
              <description>Channel description</description>
              <item>
                   <title>title 1</title>
                   <link>http://foo.bar.org/1</link>
                   <author>author 1</author>
                   <pubDate>Thu, 15 Jun 2006 13:14:00 GMT</pubDate>
              </item>
              <item>
                   <title>title 2</title>
                   <link>http://foo.bar.org/2</link>
                   <author>author 2</author>
                   <pubDate>Thu, 15 Jun 2006 13:11:00 GMT</pubDate>
              </item>
              <item>
                   <title>title 3</title>
                   <link>http://foo.bar.org/3</link>
                   <author>author 3</author>
                   <pubDate>Thu, 14 Jun 2006 13:03:00 GMT</pubDate>
              </item>
              <item>
                   <title>title 4</title>
                   <link>http://foo.bar.org/4</link>
                   <author>author 4</author>
                   <pubDate>Thu, 13 Jun 2006 12:59:00 GMT</pubDate>
              </item>
         </channel>
    </rss>Thanks for any hints!

    I would simply assign value to a variable inside package and use the value in the expression. You can also add variable to configuration if you want to pass a value from outside. You can also add another variable to determine whether you need yesterday or
    specific date and set expression accordingly so that you expression will look like
    (DT_WSTR,30)([User::DateCategory] == "Specific Date"? @[User::Date]:(DT_WSTR, 4) DATEPART( "yyyy", DATEADD( "dd" , -1, GETDATE() ) ) + Right("0"+(DT_WSTR, 2)DATEPART( "mm", DATEADD( "dd" , -1, GETDATE() ) ),2) + Right("0"+(DT_WSTR, 2)DATEPART( "dd", DATEADD( "dd" , -1, GETDATE() ) ) ,2)) +"_*.TXT"
    DateCategory variable should be of type string
    and Date should of type date
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Short Text in PO change History

    Hi Experts,
    I am developing a report for changes in PO History.
    I have fetched each and every field except the  the field for short text
    The way to see the PO history change is
    Tcode: ME23n
    Select any item from item details, and follow the path in menu bar Environment-->Item Changes.
    A new window will get open.
    There the third field is of short text description. I want this field. 
    Plz tell me the table nameu2026
    hav a gr8 day ahead..
    Regards,
    Apoorv sharma

    Hi Apoorva,
    To get short text, you have to get the fieldname and tablename and that you can get from CDPOS. After getting that :
    1.Pass Table name and fieldname to DD03L table and get field value of fieldname 'ROLLNAME'.
    2.Pass this value to table DD04T and get field DDTEXT.
    For example, you want to get the short text and Table name has EKPO and fieldname has MENGE. Then once you pass field name MENGE and table name EKPO to table DD03L, then you will get field DD03L-ROLLNAME as BSTMG.With DD03L-ROLLNAME as BSTMG pass to table DD04T and get field DDTEXT, you will get Purchase Order Quantity.
    Thanks & Regards,
    Faheem.

  • How to control required and optional data elements

    I am developing a web service using a stateless EJB. By default, when I use servicegen, the WSDL contains nillable="true" for all elements. How can I modify my EJB code so I can specify which elements are required vs optional?
    Thanks.

    Hi,
    Use Function Module READ_TEXT to retrive the long text.
    Pass below values for parameters
    text name - <data element name>
    text id - 'TX'.
    text object - 'DOKU'.
    <b>Reward points for helpful answers</b>
    Satish
    Message was edited by:
            Satish Panakala

  • How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.

    I have to display the short text in my report output.
    How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
    Is there any function module availble to get this short text or is this stored in any data base table ?
    Please help me. Your help will be highly appreaciated.
    THANKS.

    Hi,
    Use FM 'READ_TEXT' to get this values.
    Say for exampele my material is  1900001 and batch is 0000000517.
    Then my parameters to the FM will be as follows:-
    Text Name       000000000001900001    0000000517
    Language        EN
    Text ID          VERM
    Text Object     CHARGE
    This information you can get as follows.
    Open the short text window in the text editor.
    Here you can enter the long text.
    In the editor Go to Header and you will find the details.
    Please note that the text name will comprise of
    Material
    Batch
    Plant
    Stor. Location
    if all the details are given.
    I hope this helps you.
    Regards,
    Ankur Parab

Maybe you are looking for

  • How to put two devices on one Data plan?

    I've had my phon with a 2gb Data plan for about a year and just recently bought a Jetpack with a 6gb Data plan to replace my original and be shared between the two. A month later I get my bill and find im still being charged for both. I kind of expec

  • (401) Unauthorized Error on Consuming Web Service

    Hi I consumed my web service in JSP but when I deploy the page. I get this error. Application error occurred during request processing. Details:   java.rmi.RemoteException: Service call exception; nested exception is:      com.sap.engine.services.web

  • Same Record Repeating in table used in adobe

    Hi Folks, I am developing a WebDynpro application, in which i am retrieving Questions in adobe form via adaptive rfc in a Table. A specific request no. contains three questions which i am able to get in table used in interactive form. But problem is

  • Why can't I open iTunes on brand new iMac?

    My wife has a brand new iMac running OS X Lion. She already has an iTunes account which she accesses on a year old iPad. She can not access her itunes library or even get the page to open on her iMac. Going to Finder - Applications, shows iTunes as o

  • ADOBE ILLUSTRATOR MUST HAVE A BEZIGON TOOL

    i found out that freehand is an easier tool for drawing because of its bezigon tool (draws path using automatic curvature.). for an illustrator who's using mouse, it is very helpful to use the said tool. i hope adobe add this tool on illustrator.