Name of the DDIC-Entry

Hi NG,
i have one little question. Is there a function/method which delivers the DDIC-Name to a defined Structure/Workarea in a program. For example
Data: wa_struc    type adrs. 
Later in the programmflow i want to know, which DDIC-Object is behind the wa_struc.
Method/function like  ->    IN: wa_struc  out:adrs.
Sounds a little bit strange, but maybe there is one easy solution.
Thanks in advance
Thorsten

Hi Thorsten,
take class <b>CL_ABAP_STRUCTDESCR</b>
(-> look at class documentation!)
e.g. from docu
  REPORT typedescr_test.
  DATA:    descr_ref TYPE REF TO cl_abap_structdescr.
  <b>DATA: wa_struc TYPE adrs.</b>
FIELD-SYMBOLS:
    <comp_wa> TYPE abap_compdescr.
  START-OF-SELECTION.
    descr_ref ?= cl_abap_typedescr=>describe_by_data( wa_struc ).
    WRITE: / 'Typename     :', descr_ref->absolute_name color 6.
    WRITE: / 'Kind         :', descr_ref->type_kind.
    WRITE: / 'Length       :', descr_ref->length.
    WRITE: / 'Decimals     :', descr_ref->decimals.
    WRITE: / 'Struct Kind  :', descr_ref->struct_kind.
    WRITE: / 'Components'.
    WRITE: / 'Name              Kind   Length   Decimals'.
    SKIP.
    LOOP AT descr_ref->components ASSIGNING <comp_wa>.
      WRITE: / <comp_wa>-name, <comp_wa>-type_kind,
               <comp_wa>-length, <comp_wa>-decimals.
    ENDLOOP.
Andreas

Similar Messages

  • Vendor name in the Journal entry PLD

    Hi all,
    I want to print the vendor name in the journal entry pld, what is happening is i have taken the Table as GL Account and the Column as Account Name, it is getting me the control account, but i dont want  control account i want the name of the vendor to be printed.
    And i have checked the system journal entry pld in that the name of the vendor name is printing correctly it has taken table as Journal entry rows and the Column as Bp/Account code i am also taking the same but it is not fetching me the name of the vendor,it is only fetchig the account code. So let me know how to resolve this issue.

    Solved by Myself

  • Calendar now splits my entries into 2 separate entries. 1 entry lists date/time/name. The second entry lists notes

    Calendar now splits my entries into 2 separate entries. 1 entry lists date/time/name. The second entry lists notes and alerts. I can delete the date/time one, but not the alert entry. That means I will get all the alerts even if I deleted the original entry. It shows up as two separate entries for each one entry. This happened after the Yosemite install.

    Calendar now splits my entries into 2 separate entries. 1 entry lists date/time/name. The second entry lists notes and alerts. I can delete the date/time one, but not the alert entry. That means I will get all the alerts even if I deleted the original entry. It shows up as two separate entries for each one entry. This happened after the Yosemite install.

  • Table name for Carry forward entries

    Hi Experts ,
    What is the table for the carryforward entries in FI/CO.
    In which table we can see the carryforward entries.
    Thnx
    Venky.

    hi,
    Table name for the carryforward entries in FI/CO is
    FMSU.
    table is for carry forward entries over a period.
    regards ,
    Brijesh.

  • The TADIR entry for Program name is missing in ABAP report

    Hi,
    I created an  User group , Infoset  & ABAP query, generated a report with the help of ABAP Query.
    However when I did the extended syntax check for the same i got the fatal error.
    "The TADIR entry for <Program name> is missing
    (Message cannot be hidden using comment)"
    Could you please let me know why the above error is being given & how we can remove the same.
    Thanks
    Vinay Pasalkar

    Moved to ABAP General, thanks for pointing this out. In the future you can use the yellow triangle on the top right of each message to report such cases, they will be taken care of.
    Thomas

  • How do I clear out multiple entries for a persons name in the Faces selection?

    Can I get some help clearing up multiple entries in the "Click to Name" dialog box in iPhone 9.6?
    Here's the behavior I'm seeing:
    When I try to assign a name to a Face by clicking the "Click to Name" option, I start typing in my son's name and iPhone is showing me 15 entries for his name.
    Of the 15 options, only 1 of them shows a mini-thumbnail photo of him, and a different one suggests that it's from the Contacts app, but the rest of them are blank.
    This behavior is not happening for any of the other Faces in the library.
    In terms of troubleshooting, I've opened Apple Contacts and ensured there is only 1 contact record for him (there are 2 email address listed). I've selected Library > Faces > And I see one polaroid image in the list for my son. In the past if there were multiple listings here I've seen similar results. I'm not sure what else to try.
    What causes these to be duplicated?

    I spoke with Apple Support today and they provided a workaround:
    I had 7 entries for a person.
    Find untagged photo with person in it. Select Entry 1
    Find untagged photo with person in it. Select Entry 2
    Repeat until you have at least 1 photo tagged with each of the 7 entries
    Now go back to Faces and you'll see 7 polaroids listed.
    Select each of them and merge them.
    Problem solved.

  • Unknown Host Unable to locate the server requested --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no

    Hello,
    Today i tried accessing transitbux.com with mozilla, but i'm getting this kind of a error as mentioned below:
    Unknown Host
    Description: Unable to locate the server requested --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again.
    Can anyone help me please, and the same website is accessible with my phone.
    Help me please. :(
    Regards
    -

    Try http://www.transitbux.com/
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"

  • How to remove the entries of the names of the previously read PDF files in order to not to leak privacy

    How to remove the entries of the names of the previously read PDF files in order to not to leak privacy

    Bear in mind that the files will ALSO be in Windows or Mac's recent document list, and even if they weren't, the files will still be around and available. If they are not available, then just the name may not be much of a security bit (unless the file is called my_secret_bid_for_ibm.pdf or some such).

  • SecLDAP plugin failed to get name for the entry XIR2 SP2

    When a user who is in the ldap store attempts to log into InfoView, after about 10 minutes, he gets a message as follows:
    Account Information Not Recognized: An error occurred at the server: the secLdap plugin failed to get the name for the entry with dn=cn= with what appears to be appropriate information. This user does not appear to have a presence in BO (does not have an inbox, favorites, etc) nor does he appear in the ldap userlist in the CMC.
    Can you describe the functionality contained in this plugin ? It's function ?
    Thank you,
    Vicki Stanfield

    Hi,
    if you need a functional overview, check this SAP Note:
    https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3133383439313526
    You need a S-User for Login.
    Regards
    -Seb.

  • Transport the table not just the DDIC structure

    I had a table in Dev as a local object. I assigned a package to the database table as follows.
    Goto->Object Directory Entry -> Here click on edit mode --and enter the package name.
    When I transported the object to QDF only the DDIC structure was transorted and not the table. How do I transport the table and not just the DDIC structure? Thanks,

    Hi,
    What do you mean by entire table?
    Do you mean that the table contents should also be transported?
    Table contents will be transported only if you have included them in a customising request and you table is of type customising(C).
    Regards,
    Ankur Parab

  • The name cannot be matched to a name in the Address List

    Hi,
    I checked several posts but no luck.
    Problem: We currently have Exchange 2010 and 2003 co-existence, busy migrating to 2010. We have several domains as well. A problem came up in one of our remote access domain where we have Citrix running. After the user has been moved to the new 2010 server
    and you re-create their mail profile in Outlook 2010 then it will give the following error:
    The name cannot be resolved. The name cannot be matched to a name in the address list.
    A popup box appears with the server name exch2010cas.domain.local and the mailbox field =SMTP:[email protected] When you click on Check Name the error keeps popping up. When I change the server to exch2003.domain.local though and click Check Name the
    mailbox gets underlined and the servername changes back to exch2010cas.domain.local in the exchange server textbox.
    I'm pretty sure it must be an AD or DNS problem somewhere but I'm not sure where? I did add some domain suffixes to the new Exchange server so it can resolve hostnames in the local and remote domain. I also looked at the GAL and the entries for the user
    is in there. I'm not sure if it might have something to do with LegacyExchangeDN value either?
    I appreciate any help, thanks.

    Hi,
    I recommend the following troubleshooting:
    1.Verify that the Active Directory account that you use either to create the client profile or to log on to the mailbox has been mailbox-enabled.
    2.Verify that the user can use the Active Directory account to view sibling objects in the Users container (or in the Active Directory organizational unit that contains the user account).
    3.Verify that the user account has been stamped by the Recipient Update Service after you mailbox-enable the user account.
    4.Verify that the user can see both the Global Address List objects that are listed in the
    showInAddressBook attribute and the members of the Global Address List using Ldp.exe
    5.Log on as an administrator, and then verify that there are no duplicates in the
    addressBookRoots attribute of the Microsoft Exchange object under <var>Domain</var>,cn=Configuration,cn=Services
    For more detail steps, you can refer to the following article:
    http://support.microsoft.com/kb/297801/en-us
    Thanks,
    Angela Shi
    TechNet Community Support

  • Print program name for the dunning form F150_FR_DUNN_01 in sapscript

    Hi,
          I am not getting the exact print program name for the dunning form F150_FR_DUNN_01 in sapscript. After an extensive search I have come across few names of print program like SAPF150D2 and SAPLF150. But still I am not understanding which one to use for the form and also how to use it. I am unable to understand which include I should use to write my code.
    Kindly help me.
    Thanking you.
    Pujarini Patra

    Hi,
    Yes, you should be able to assign F150_FR_DUNN_01 in Dunning Forms customizing:
    and yes, I too would absolutely try to go for either a Smartform or even a PDF Form (if i'd have all the necessary setup for them, like Adobe Document Services, in the system already). I have Basis 702 SP  0011and FINBASIS 600 SP 0021, so all the following technicalities refer to those releases:
    The corresponding SAP sample Forms are:
    - F150_DUNN_SF for Smartform; and
    - F150_DUNN_SF for pdf Form (don't let the name confuse you )
    I'm not entirely sure if it's a good idea to try to convert/migrate Sapscript to Smartform and the Smartform to PDF Form - have never done that  myself and don't know how good/usable the migration result is. I just take the interface of Smartform from SAP and do the rest from scratch or by copying over the common parts of our existing custom forms.
    There are the SAP Standard wrapper FMs for SF and PDF forms already in the System:
    - FI_PRINT_DUNNING_NOTICE_SMARTF calling PRINT_DUNNING_NOTICE_SF and
    - FI_PRINT_DUNNING_NOTICE_PDF calling PRINT_DUNNING_NOTICE_PDF.
    So, theoretically, all you had to do to replace SapScripts (or even to enable all three form types) is to assign a custom BTE Event handler FM to event 1720 (for correct Application), which could detect, what type of form is assigned in Customizing and call the corresponding wrapper FM.
    As a sample for coding PDF form wrapper call one could take FI_PSO_EVENT_00001720_PDF (if you have IS-PS) in the system. I'd take out the IS-PS specific "business logic" like posting dunning charges (if it does not apply to my solution) and add the logic to decide, which wrapper to call.
    The confusing part about the customizing (Table T047E) to me is that there seems to be no form type defined anywhere in there... just the FORNR field for form name, which should apparently take the names of all three form types... I'd  try to extend that table with custom Form type field and try to regenerate Table Maintenance dialog for  view Cluster VC_T047_F... That would save the whole effort to try to detect the type for  form assigned...
    Another tip, in case you didn't know it already: you should be able to see all the Customizing paths, where T047E is involved, when you enter table name in SM30 and press "Customizing" and then "Continue w/o Specifying Project":
    The selected entry is the one you are looking for to assing your custom forms, I believe.
    cheers
    Janis

  • Is there a way to remove the .swf extension from the TOC entries in an aggregator project?

    I've created a Captivate 5 aggregator project that includes swf outputs which were also published using Captivate 5. The TOC entries in the aggregator project all show the published file name followed by the .swf extension (see attached image). Is there a way to hide the .swf extension in the TOC entries?

    Yes, a colleague of mine was able to figure it out. Just double-click the chapter title in the .aggr project. It places it into edit mode and allows you to remove the ".swf" extension as well as make any other changes to the name that you want. It's so easy now that we know how to do it, but it was tricky to figure out since the chapter list does not appear editable at first.

  • Is it possible to reference the name of the current table in a formula?

    Hi,
    I am wanting to be able to reference the name of the same table that I am entering a formula into, i.e.:
    =SUMIFS(Net,Event,"CURRENT TABLE NAME HERE",Category,"Publicity")
    Is this possible?
    Thanks,
    Nick

    AppleScript can access the current table name, so it if you are doing a lot of formula entry in different tables you could click once in a table and have a short script insert the formula for you.  Here's a simple example:
    Say you have a data table like this:
    Event
    Category
    Net
    Event 1
    Publicity
    10
    Event 2
    Celebration
    20
    Event 1
    Supplies
    5
    Event 1
    Salaries
    20
    Event 3
    Celebration
    25
    Event 1
    Publicity
    20
    Event 2
    Publicity
    11
    Event 1
    Accounting
    20
    And (important) you have 'Use Header Names as Labels' turned on in Numbers > Preferences.
    You caninsert this formula:
    =SUMIFS(Net,Event,"Event 1",Category,"Publicity")
    ... into a table named Event 1 that looks like this:
    Cat
    Amount
    Publicity
    30
    ...with a script like this:
    -- NB:  the \ "escape" the quotation marks so AppleScript takes them literally
    tell application "Numbers"
      set t to document 1's active sheet's first table whose selection range's class is range
      set c to t's selection range's first cell
      set c's value to "=SUMIFS(Net,Event," & "\"" & t's name & "\"" & ",Category,\"Publicity\")"
    end tell
    The script automatically inserts the name of the table you have clicked in.
    (To use the script just copy and paste into Script Editor, click once in the cell where you want the formula (B2 in the example) and click the 'Run' triangle button in Script Editor.)
    SG

  • How to display a table name in the report

    Hi,
    I have a requirment about the display of pivot table. When we drag a column to see its result, we always see his column name, now what I want to show are both table name and column name..
    like:
    District_D
    Region District
    China Beijing
    India Chennai
    Regards,
    Anne
    Edited by: anne on Oct 25, 2011 2:39 AM

    Hi Anne,
    If you want to implement Dpka's solution (hardcoding table and column values in column heading and add line break in between), you will need to add the below entry in instanceconfig.xml file. Refer http://gerardnico.com/wiki/dat/obiee/hardenxss
    <HardenXSS>false</HardenXSS>
    This will enable the HTML elements to be treated as HTML and not plain text. After adding the above entry in the xml, restart your presentation services and test your solution.
    Thanks

Maybe you are looking for

  • What went wrong ?

    Dear all, I`m trying to figure out what went wrong with my database. During the higher load the users were suddenly getting DBIF_RSQL_SQL_ERROR, no matter what they wanted to do. When checking system I found many messages like: Database error -1000 a

  • Open a new window, draw boxes in the window, and communicate between the two windows

    I'm going to research this, but figured I'd jump start here in case someone can give me a quick link or point me in the right direction on how to do this while I'm looking.  This is an area of Flex I haven't hit on yet. Basically I need to have my fl

  • Which table stores VAT number entered for a company code using T Code oby6?

    Hi Which table stores VAT number entered for a company code using T Code oby6? please advice. Thanks, Vaishnavi

  • Cross Company Third Party Sales related problem

    Dear All, I have the following Third Party Intercompany Sales Scenario - Company Code : A100 -> Plant : T001                            B100 -> Plant : P001 Customer : 1001 under Company Code B100 Business Case - Customercode 1001 of Company Code B10

  • Printing with referenced images

    I have a print component in my Flex application which works fine if I embed the header image to be printed.  But if I merely link it as an external file, it appears to load, but somehow the print code creates the page too rapidly and the header does