How to find field name based on screen field name

Hi all,
I need to find field name at run time based on screen field name for doing some check.
Eg, if i have P_CUST on screeen which refers to KUNNR . Then i should be able to find KUNNR based on screen name ie P_CUST during run time.
Thanks in advance.
Thanks and Regards,
Taranam

Hi
ex:
PARAMETERS :
  p_carrid LIKE spfli-carrid,
  p_connid LIKE spfli-connid.
DATA:
  T_DYNPRO TYPE
  STANDARD TABLE
        OF DYNPREAD
      WITH HEADER LINE,
  W_PROG LIKE D020S-PROG,
  W_DYNP LIKE D020S-DNUM.
CLEAR: FIELD_VALUE, T_DYNPRO.
  FIELD_VALUE-FIELDNAME = 'P_CARRID'.
  APPEND FIELD_VALUE TO T_DYNPRO.
w_prog = sy-repid.
w_dynp = sy-dynnr.
***TO READ VALUES on screen
CALL FUNCTION 'DYNP_VALUES_READ'
       EXPORTING
            DYNAME                   = W_PROG
            DYNUMB                   = W_DYNP
            TRANSLATE_TO_UPPER       = 'X'
       TABLES
            DYNPFIELDS               =  T_DYNPRO.
Reward if helpful.
Best Wishes,
Chandralekha

Similar Messages

  • How to find workarea ID for the work area name.

    Hi Experts..
    How to find workarea ID for the work area name.(Work area name CCIHT_WAH-WAID and I want to fetch characteristic data from table AUSP matching the OBJEK field,but I only have Work area name).Can anybody help me to find tables or relationship between Workarea ID and Workarea name for the same.I am using TCODE - CHIB02.Once I select a workarea and click on IHS Data button,I get data for that workarea.I need to find where this data comes from and How is this fetched.
    Points would be rewarded for helpful answers..
    Thanks
    Kunal Halarnakar

    U want to fetch the workarea description ?
    we can fetch it from CCIHT_WALD table with the RECN value.
    The informations are stored in AUSP table with the characterstic(ATINN) value.

  • How to find and replace data in form fields in acrobat xi, its not allowing to do so while trying, a

    how to find and replace data in form fields in acrobat xi, its not allowing to do so while trying, asking for adobe livecycle to get installed. please help.

    Easiest way to do it is the following:
    - Open the PDF file in Acrobat.
    - Go to Tools - Forms - More Form Options - Export Data.
    - Save the form data as an XML file somewhere on your system.
    - Open XML the file in a plain-text editor (I recommend Notepad++).
    - Let's say you want to replace all the years in the dates from "2013" to "2014". Do a global Search&Replace of "2013-" to "2014-" (I added the dash just to make sure that only date fields are edited).
    - Save the XML file (maybe under a new name).
    - Go back to the PDF file, and now go to Tools - Forms - More Form Options - Import Data.
    - Select the edited XML file and import it.
    - Done!

  • How to display negative values in a screen field of a screen

    Hi All,
    Please let me know how to display negative values in a screen field of a screen.
    thanks

    Hi Kishore,
    You can do this method. In the screen , create a text field of CHAR instead fo creating an INT4 field.
    I have created a field of CHAR of name say TEXT.
    In the main program,
    declare a variable of the same name ie. TEXT.
    data: TEXT(5) TYPE C.
    In PBO, just assign the negative values.
    It will work.Since there is automatic conversion between character and integer data types, it will work for positive values as well.
    Regards,
    Sylendra.

  • How to find a routine with it's technical name

    Hello!
    I am wondering how to find a routine with it's technical name (e.g. "ROUT 7QAXE7SDXIVW4BJ2S2UL3HLAS" as shown in the error message in a transport log).
    So I would like to find out, where this routine is located (w.g. which characteristic/key figure in which transfer/update rule).
    Any ideas welcome. Thanks, Thomas

    Hi Thomas,
    You can try the following:
    Look up table <b>RSUPDROUT</b>with the GUID of your routine (like 7QAXE7SDXIVW4BJ2S2UL3HLAS)in the ABAP Code ID field selection. This will show you the InfoObject it is created on, and the GUID of the update rules. If you click on the Check Table button, you can find out the data target and InfoSource of the Update Rule.
    In table <b>RSAROUTT</b>you can again use the GUID of your routine to check the description assigned to the routine during its creation.
    I am not sure if this works for the routines of transfer rules....still checking it and will update if anything turns up.
    Hope this helps...

  • How to find a materail based on Sales Area ??

    Dear All,
    How to find a materail based on Sales Area ??
    please let me know ..
    Thanks
    Venkat

    Hi Venkat
    Its actually the other way round- you extend a material to a sales area
    The quickest way to find all the sales areas to which a material is extended,  is to go to  transaction SE16 and give table MVKE and then give the relevant parameters.
    Please reward points if this helps you

  • Find the folder name based on the View Name

    Hi ,
    I need to find out a Folder name based on a View Name . Basically i know the view Name and want to find out the Folder that is created in Discovrer based out of that view.
    Does any one know of any EUL table that stores this relationship.
    Thanks in advance for your help
    Sunny

    Hi,
    Your requirement can be fulfilled using the following script:
    SELECT bas.ba_name,
    bas.ba_id,
    obj.obj_name folder,
    decode(obj.obj_type,
    'COBJ',
    'Complex',
    'SOBJ',
    'Simple',
    'CUO',
    'Custom',
    'Unknown') AS obj_type,
    decode(obj.obj_hidden,0,'Bare','Hidden') IS_HIDDEN,
    obj.sobj_ext_table folder_source_object
    FROM eul10g_us.eul5_ba_obj_links bol,
    eul10g_us.eul5_objs ; obj,
    eul10g_us.eul5_bas ; bas
    WHERE obj.obj_id = bol.bol_obj_id
    AND bas.ba_id = bol.bol_ba_id
    BUT
    As you can see from the SQL, only simple folders are mapped to objects.
    This means that if the object is used inside a custom folder or complex folder you will not see it.
    Tamir

  • How to Add F4 Help To a Screen Field In a Module Pool Program

    Hi Friends,
    1. How to Add F4 Help To a Screen Field In a Module Pool Program?
    2. How to select a single cell in ALV report output for interactive reporting ?
    Kindly give code example.
    regards,
    Pradeep

    Hi,
    Try using the fm 'F4IF_INT_TABLE_VALUE_REQUEST'.
    Refer the link below for selecting  single cell.
    alv
    Reward points if useful.
    Regards
    Rose

  • How to find text or paragraph by giving style name?

    Hello,
    can any body tell me,How to find text or paragraph by giving style name?actully i have so many styles which is applied on document.
    i want to find text in the document which have particular style name.is any method to find text by giving name of style?

    Any of the various findText methods, plus your paragraph style name in FindTextPreferences: http://jongware.mit.edu/idcs5js/pc_FindTextPreference.html
    Use Google to locate exact samples, as this has been done countless times before.

  • How to fill internal table with selection screen field.

    Hi all,
    i am new to sap . pls tell me how to fill internal table with selection screen field.

    Hi,
    Please see the example below:-
    I have used both select-options and parameter on the selection-screen.
    Understand the same.
    * type declaration
    TYPES: BEGIN OF t_matnr,
            matnr TYPE matnr,
           END OF t_matnr,
           BEGIN OF t_vbeln,
             vbeln TYPE vbeln,
           END OF t_vbeln.
    * internal table declaration
    DATA : it_mara  TYPE STANDARD TABLE OF t_matnr,
           it_vbeln TYPE STANDARD TABLE OF t_vbeln.
    * workarea declaration
    DATA : wa_mara  TYPE t_matnr,
           wa_vbeln TYPE t_vbeln.
    * selection-screen field
    SELECTION-SCREEN: BEGIN OF BLOCK b1.
    PARAMETERS : p_matnr TYPE matnr.
    SELECT-OPTIONS : s_vbeln FOR wa_vbeln-vbeln.
    SELECTION-SCREEN: END OF BLOCK b1.
    START-OF-SELECTION.
    * I am adding parameter value to my internal table
      wa_mara-matnr = p_matnr.
      APPEND wa_mara TO it_mara.
    * I am adding select-options value to an internal table
      LOOP AT s_vbeln.
        wa_vbeln-vbeln =  s_vbeln-low.
        APPEND  wa_vbeln TO  it_vbeln.
      ENDLOOP.
    Regards,
    Ankur Parab

  • How to find Ledger, LE, Op units, Org(All) names and IDs ?????

    How to find Ledger, LE, Op units, Org(All) names and IDs ?????
    Regards:
    Shahzad M. Saleem

    Dear Rajen!!
    How can i link GL_SETS_OF_BOOKS  & XLE_ENTITY_PROFILES ??? as Gl Sets of books has ledger ID whereas XLE_ENTITY_PROFILES has legal entity id???
    I want All LE and all of there ledgers, units and orgs.
    Regards:
    Shahzad M. Saleem

  • Fetch the operating unit name based on the country name

    Hi all,
    I want to fetch the operating unit name based on the country name, there is no link between fnd_territories(_tl) and hr_all_organization_unis(_tl) tables.
    Can any one know how to get this thing.
    any help or idea is appreciable.
    Thanks,
    Giri

    Giri,
    I don't think you will find such a link. One country can be used by multiple operating units.
    Hope this helps,
    Sandeep Gandhi

  • Making a DFF field mandatory based on another field

    Hello All,
    We have a requirement where in we need to make a DFF field mandatory based on another field.
    example:
    DFF has two fields :
    Filed1 : values 'Email', 'Fax'
    Filed2
    If 'Email' is selected in 'Field1' then Field2 should become mandatory.
    Any inputs on this will be really helpful.
    Thanks & Regards,
    Satya.

    hi kumar3a,
    recently, i spent considerable amount of time wracking my brain on a similar problem. the nearest i came to a solution was when i used a forms personalisation. mind you, forms personalisation will not work directly on the DFF window, so it has to be approached in a roundabout sort of way.
    i got this information from an Oracle Support personnel - MOS Note 1078348.1.
    i would start with the flexfield segment as "not required", and then using Forms Personalization, i would make it "required". i would try to figure out how to establish a condition where the previous 'required' flexfield segment's value is checked to see if this 'not required' segment needs to be made 'required'. in theory, this should solve the issue. i gave up on it because the forms personalisation would need to cover WHEN-VALIDATE trigger event, and we had close to 100 validations going on through other preexisting forms personalisations, which rendered it near impossible to employ this method.
    best regards.

  • How to save a form based on a field name

    Hi I am new to this form so please bear with me.
    I would like to set up a form and based on the employee name field use that as the recomended file name under the save as function.
    Also how can I stop a user from saving the form ontop of the template. IE saving the file with confidential information on the original file name.
    Thanking you in advance for you help.

    Hi I am new to this form so please bear with me.
    I would like to set up a form and based on the employee name field use that as the recomended file name under the save as function.
    Also how can I stop a user from saving the form ontop of the template. IE saving the file with confidential information on the original file name.
    Thanking you in advance for you help.

  • How to find keyword object based on name

    I have a CSV file with file name and keywords.
    XXX_201300511_08765.CR2,Amsterdam
    These keywords already exist in Lightroom.
    Sample: Europe->Netherlands->Amsterdam
    I understand that with photo:addKeyword ( keyword object) I can add keywords to photos.
    How can I find the keyword object in Lightroom.
    For the example, how can I find the keyword object of Amsterdam.

    Thank you John!, I was afraid that that would be the only solution.
    Imho the API of keywords should be extended with a function / method to retrieve all keywords objects based on the name description. I will make the suggestion apart.
    It is possible to find all photo object when supplying the name, like catalog:findPhotos and catalog:findPhotoByPath. Similar functions for keywords would be great.
    Are there code recipes for such a table implementations?

Maybe you are looking for

  • NULL and Empty String

    Hi There, As far as I know, Null is not the same as an empty string; however, when I try this out, I get some unexpected results (well, at least unexpected for my liking): SQL> CREATE TABLE TS (MID NUMBER,   2  MDESC VARCHAR2(20) DEFAULT '' NOT NULL)

  • How can i refresh JFrame at regular intervals to display in intervals

    I have a query which is : String query = "select FIRSTNAME, MIDDLEINITIAL, LASTNAME from user" ; now i have executed the above query ResultSet rs = stmt.executeQuery(query) ; Suppose i get 2000 rows in my resultset after execution. If i want to displ

  • Ripple effect missing in imovie

    Just wondering what happened to the Ripple effect in imovie. Can it please be put back in an upcoming update. Sorry if this is posted in the wrong section! Thank you

  • IDVD 5 - Make DVD to play immediately without a start button or theme

    Is there a procedure within iDVD 5 that will allow me to not choose a theme and to cause the burned DVD to play the video/audio content immediately upon being placed in a DVD player for playback?

  • Baseline iMac 2.0ghz for iMovie/iDVD/iPhoto

    I plan to use my baseline 2.0ghz iMac with the standard specs for iMovie projects with my firewire camera(most videos would be 30mins-1hour long....burning the edited videos with iDVD...and using iPhoto to organize 5000 photos... 1) is iMovie going t