For abap-hr i need datatype and length for the fields which i selected

hi seniors,
      I got one task for which i have to get the data type and length for the fields of a table in abap-hr. I am using dd03l table, but my team leader told me to not to use this. So, please anybody can help, i will be thankfull.
      I have to select PA30 fields in which pernr and choic, subty and whatever i have selected the infotypes fields. If there is any function module to find data type and length or else any other table.
thanks,
sekhar.

Hi,
Try using the Function Module "DDIF_FIELDINFO_GET". You can use this for fetching the complete details of a structure or, a specific field.
Input:->
TABNAME        PA0001
FIELDNAME     PERNR
Output:->
Check the DFIES_TAB  it will contain all the details you need for the specific field.
Sample--->
CALL FUNCTION 'DDIF_FIELDINFO_GET'
  EXPORTING
    TABNAME              = 'PA0001'
*   FIELDNAME            = ' '
*   LANGU                = SY-LANGU
*   LFIELDNAME           = ' '
*   ALL_TYPES            = ' '
*   GROUP_NAMES          = ' '
*   UCLEN                =
*   DO_NOT_WRITE         = ' '
* IMPORTING
*   X030L_WA             =
*   DDOBJTYPE            =
*   DFIES_WA             =
*   LINES_DESCR          =
TABLES
   DFIES_TAB            = MY_DFIES_TAB
*   FIXED_VALUES         =
* EXCEPTIONS
*   NOT_FOUND            = 1
*   INTERNAL_ERROR       = 2
*   OTHERS               = 3.
Hope this was of some help.
Best regards,
Sagar.

Similar Messages

  • How can I search the attribute including type and length of the field in the SD table or form such as sales executive table through debug?

    Some users show that  the sales docment external name is not printed completely in the form of delivery form printing, so I want to find how much length of the field is there through debugging. I am very expected to gain some suggestion from you.

    for exploding the bom if you know header material use
      CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
        EXPORTING
          CAPID                 = 'PP01'
          DATUV                 = SY-DATUM
          MEHRS                 = 'X'
          MTNRV                 = P_MATNR
          WERKS                 = P_WERKS
        TABLES
          STB                   = I_BOM
        EXCEPTIONS
          ALT_NOT_FOUND         = 1
          CALL_INVALID          = 2
          MATERIAL_NOT_FOUND    = 3
          MISSING_AUTHORIZATION = 4
          NO_BOM_FOUND          = 5
          NO_PLANT_DATA         = 6
          NO_SUITABLE_BOM_FOUND = 7
          CONVERSION_ERROR      = 8
          OTHERS                = 9.
    now check PLPO & PLKO table for routing or AFVC and AFVV for routing.
    if production order created you have to check in afvc and afvv else check in plpo and plko.
    for checking with plpo and plko you have to check MAPL table.
    for bom and material link
    MAST,STPO,STKO.
    stlnr is the common field
    regards
    shiba dutta

  • For ABAP to Excel need all 1320 characters of a field not just 255

    I need to launch Excel from an ABAP program (in ERP).  One field is 1320 characters.  Using MS_EXCEL_OLE_STANDARD_DAT or
    XXL_SIMPLE_API or XXL_FULL_API
    I only get 255 characters.  Is there another utility available?

    May be try with use fm RKD_WORD_WRAP and wrap your 1320 character strings into 255 character strings chunks and append to the next line and then pass thru XXL_FULL_API.

  • Is their any function in sql to identify datatype and length of each column

    Hi
    i need to identify datatype and length of each column in a table by using SQL query.
    plz assist me reagard the same.
    thanks

    Try this:
    SELECT column_name,
           data_type,
           data_length,
           data_precision
    FROM   user_tab_columns
    WHERE  table_name = <table_name>

  • Can someone please tell me the exact screen measurements (width and length) for the 13 and 15 inch macbooks?

    Can someone please tell me the exact screen measurements (width and length) for the 13 and 15 inch macbooks?
    I've got a 13 inch Air but I need to know the visible dimensions of the 15.4 macbook pro.
    Thank you

    You should be able to identify the MagSafe adapter and cord from Support page:
    •Intel-Based Apple notebooks: Identifying the right power adapter and power cord
    •Apple Portables: Troubleshooting MagSafe adapters
    Hopefully this helps. If you have a defective adapter, take it along if you happen to
    have access to an Apple Store or Authorized Apple Service Provider, to match it.
    PS: there is a MagSafe plug adapter to use one kind of MagSafe with later model
    http://eshop.macsales.com/item/Apple/MD504ZMA/
    PPS: MagSafe 85W Adapter compatible with your computer, see specs:
    http://eshop.macsales.com/item/Apple/MC556LLA/
    PPPS: Six foot AC power cable, replaces duck-head:
    http://eshop.macsales.com/item/Apple/PWRCBLMSA/
    Good luck & happy computing!
    edited 2x

  • R/3 Field name for "Pipe Length" and "Length" for SD Billing

    Dear Gurus,
    I require the R3 tables and fields for "Number of pipes" and "length".
    These Fields are used in Billing Document Data: Items (As of 2.0B) (ZS2LIS_13_VDITM) for BI report.
    Your Help is greatly appritiated.
    Thanks and Regards,
    Sharath

    Hi Sharath:
    Some questions for you:
    - What is the exact Technical name of the DataSource? Is "ZS2LIS_13_VDITM" or "2LIS_13_VDITM"?
    - Can you see the "Number of pipes" and "length" fields in Transaction Code LBWE? What are their Technical Names?
    Those field descriptions don't ring any bell for me, so my guess is that you're dealing either with a Generic Extractor or an Enhacement to the Standard Extractor.
    Regards,
    Francisco Milán.
    Edited by: Francisco Milan on Jan 21, 2011 10:23 AM

  • How to use same Data Type and Length for two fields

    How to use same data type and length for two fields when using 'FOR ALL ENTRIES IN' in a select statement? For instance the select queries are :
    SELECT bukrs gjahr belnr lifnr budat bldat zlspr dmbtr waers shkzg
    FROM bsik
    INTO TABLE it_bsik
    WHERE bukrs = p_bukrs
    AND lifnr IN s_lifnr.
    IF it_bsik IS NOT INITIAL.
    SELECT belnr gjahr awkey awtyp
    FROM bkpf
    INTO TABLE it_bkpf
    FOR ALL ENTRIES IN it_bsik
    WHERE belnr = it_bsik-belnr
    AND gjahr = it_bsik-gjahr.
    IF it_bkpf IS NOT INITIAL.
    SELECT belnr gjahr lifnr xblnr
    FROM rbkp
    INTO TABLE it_rbkp
    FOR ALL ENTRIES IN it_bkpf
    WHERE belnr = it_bkpf-awkey+0(10)
    AND gjahr = it_bkpf-awkey+10(4).
    ENDIF.
    ENDIF.
    Here it gives an error in the 3rd select query that 'When you use the addition "FOR ALL ENTRIES IN itab", the fields "GJAHR" and "IT_BKPF2-AWKEY+10(4)" must have the same type and the same length.'
    Kindly clarify.

    Hi Saurabh,
    Please see the example code that I have developed for you. It will help you solve the problem.
    REPORT ZTEST_3 .
    tables : BKPF.
    data : begin of it_bkpf occurs 1,
             belnr type RE_BELNR,
             awkey type awkey,
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf.
    data : begin of it_bkpf1 occurs 1,
             belnr type RE_BELNR,
             awkey type gjahr,              " change the data type
             awtyp type awtyp,
             gjahr type GJAHR,
           end of it_bkpf1.
    data : begin of it_rbkp occurs 1,
             belnr type BELNR_D,
             gjahr type gjahr,
             lifnr type LIFRE,
             xblnr type XBLNR,
           end of it_rbkp.
    select belnr
           awkey
           awtyp
           gjahr
           from bkpf
           into table it_bkpf
           where BUKRS = 'TELH'.
    loop at it_bkpf.
    it_bkpf1-belnr = it_bkpf-belnr.
    it_bkpf1-awkey = it_bkpf-awkey+10(4).           "Here only append the required length.
    it_bkpf1-awtyp = it_bkpf-awtyp.
    it_bkpf1-gjahr = it_bkpf-gjahr.
    append it_bkpf1.
    clear it_bkpf1.
    endloop.
    select  belnr
            gjahr
            lifnr
            xblnr
            from RBKP
            into table it_rbkp
            for all entries in it_bkpf1
            where belnr = it_bkpf1-belnr
    This is just an example. Change the fields according to your requirement.
    Regards
    Abhii
    Edited by: Abhii on Mar 9, 2011 9:08 AM

  • I need indesign and Photoshop for my final year of university

    I need indesign and Photoshop for my final year of university and possible after when i have graduated. Are there are any monthly pay plans available instead of the upfront payment of hundreds of pounds as i simply cannot afford that as a student.
    Any help would be great thank you , as i am a little confused with all of the plans and options online.
    I want to buy photoshop and indesign so that they will permanently be on my laptop not only for a period of time.

    Creative Suite 6
    Beyond that there is no way to selectively just get ID and PS for student pricing, but you could of course get them on separate commercial single-app plans. Either way, it's a catch 22...
    Mylenium

  • HT204053 What are the pros and cons of 1) choosing to use the SAME Apple ID for iCloud services on one side, and purchases on the iTunes Store, App Store, and iBookstore, on the other side; or 2) to have and use two separate Apple Ids for these "two sides

    All is in the title, so I repeat it below with a better identation.
    What are the pros and cons of
    1) choosing to use the SAME
                                                  Apple ID for iCloud services on one side, and
                                                  purchases on the iTunes Store, App Store, and iBookstore, on the other side; or
    2) to have and use two separate Apple Ids for these "two sides"?
    P.S.
    I have loads and loads of free podcasts in iTunes in my iMac, that are certainly more thant the 5 gigas the iCloud provides for free, so I don't want those to go to the cloud. But this is perhaps a different question...
    Also need to mention that I have itunes on a mac, a pc and an iphone.
    Sorry to look so silly with this question, but I don't get the "big picture".

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • Trying to open Premiere elements 12 for the first time even though I had it loaded for a while.  It gives me a message that I need to be connected to the internet (which I am) or that my clock is off (it is correct).  Any suggestions?

    Trying to open Premiere elements 12 for the first time even though I had it loaded for a while.  It gives me a message that I need to be connected to the internet (which I am) or that my clock is off (it is correct).  Any suggestions?

    First we need to check , whether the LAN settings is set to detect settings Automatically or not.
    Follow below steps .
    1)Open Control Panel and then click on the option "Network and Internet" .
    2)Click on Internet options, click on 'Connections' tab.
    3)In the 'Connections' tab, select 'LAN' settings, you will be able to view the Local area network settings box.
    4)Check the box-"Automatically Detect Settings" and then "uncheck" all the other check boxes like 'Use automatic configuration script', 'Use a proxy server' , Bypass proxy server' ,then click on ok button .
    5)Click on "LAN settings" button again , make sure "Automatically Detect Settings" is the only option selected, keep the LAN properties window open.
    Then launch Premiere Elements 12 and try to sign in.
    If the settings were already set like that or you face same issue after signing in , let me know

  • TS3899 "cannot get mail" in iphone5 suddenly. been using iphone to check 2 email accounts for months now, one is gmail and not troubled. the other is thunderbird and i get this error message now. no settings have been changed or anything! ideas?

    hey all, I have been getting the "cannot get mail" error message on my iphone5 suddenly.
    ive been using iphone to check two email accounts for months now, one is gmail and not troubled. the other is mail from thunderbird and i get this error message now saying it is not responding. no settings have been changed or anything, it just suddenly stopped receiving mail on my device as of Tuesday afternoon.
    Does anyone have iny ideas about why? i have yet to update to the new OS7 yet, could that be it?

    'The installer has insufficient privileges to modify this file C:\Program Files (x86)\Common Files\Apple\Apple Application Support\Web kit.resources\inspector\Images\Spinner Inactive Selected.gif.'
    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • What can I do about paying for Office from a commercial store, and itunes charging $100 for smart converter, ms office package and pack for ms office $41.99? It surely looks like double dipping

    Hi folks, I am puzzled when looking at my itunes account. I bought a store office 365 package for $100, and in the process of installing it, somehow ended up with fees for smart converter, ms office package and pack for ms office, totalling another $90 from itunes. Isn't this double dipping and if so, how do I go about a refund? Thanks jby

    Well, MS Office 2004 is available for the Mac and being a user of both the Windows and Mac versions, I think that the Mac version has a slight edge. The only downside is that it does not come with MS Access so if you use that then you have to stay with the PC version.
    But... if you are set on mainly using Windows then paying a substantial premium just for a computer that looks good rather than on the fact that it runs OSX and hence great packages such as iLife etc is probably a waste. This is especially true when you have to remember that Apple will not give any technical support to users running Windows.. nil, nada, nowt! Likewise, Microshaft (sorry Microsoft) also seem unwilling to give support at this time since (for some strange reason) they don't like the idea of Windows on a Mac.
    As I see it, the main reason for Apple to release the ability to run Windows was to:
    a> Produce an 'official' version rather than have an unauthorised version 'in the field' which if problematic, could give Apple a bad name.
    b> Give people who would like to have a Mac but have the occassional program which has to be run under Windows, the ability to switch to a Mac.
    Option b was the reason why I switched from years on a PC to the Mac.

  • Is it possible to install ios 5 on a 2nd gen touch,i would love to give this to my daughter for her to play games with and none of the games are supported

    is it possible to install ios 5 on a 2nd gen touch,i would love to give this to my daughter for her to play games with and none of the games are supported

    Sorry, no. 4.2.1 is the highest possible for that model.

  • I have been charged for an app i dont have and judging by the name i wouldnt be interested in having, how can i get my money back?

    I have been charged for an app i dont have and judging by the name i wouldnt be interested in having, how can i get my money back?

    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    iTunes Purchase Problems: How to Report a Problem to iTunes Support
    http://tinyurl.com/7tscpa7
    iOS: Troubleshooting applications purchased from the App Store
    http://support.apple.com/kb/TS1702?viewlocale=en_US&locale=en_US
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Getting Refunds for your iTunes Store Purchases
    http://www.labnol.org/software/itunes-app-store-refunds/13838/
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • For five days bought iphone 4s and out of the blue loses the signal on the network and makes it very regularly, I have upgraded to version 5.0.1 if you can help me

    for five days bought ipione 4s and out of the blue loses the signal on the network and makes it very regularly, I have upgraded to version 5.0.1 if you can help me.
    I had the previous model and forced to buy 4s to catch a better signal, the network I have is cosmote and where it is full house is important, I want your help

    Hi ChrisBell,
    my Pixi shows me the missed calls in a list of its own? I don't have many, so maybe I'm missing something. But I agree with your half-ranting to some degree. As a long-time Palm-user (my last phone was a Treo 680, terrible form factor, good UI), I am really disappointed with the standard software on this phone. Memos and Tasks, which AFAIK were there and useful even on the first Newton's, have regressed beyond the point of usefulness now (solution: Toodledo and Done!, at least for now).
    But ChrisBell: if you feel up for it, you could start tinkering. Many people love these phones so much they have started developing patches to solve the obvious problems skimmed over by developers. Try looking up "webosquickinstall" and "preware", and you will find over 300 patches and a lot of free software to help you out. I am not a computer wizard myself, but I am not scared of them either, and I have been able to make good use of all these extras made available by the community.
    just a thought, might help you out on a few of your half-rants

Maybe you are looking for