Change in Dynpro

Hi Experts,
How do you know if there were changes on a dynpro?
That saves some system variable?  That saves some table?
For example
If I have a field with value  'X', delete it,  and put 'X' again, Sap detects whether there has been a change, although containing the same. Does anyone know why?
Thank you.
Edited by: Ivan R on Jun 1, 2010 1:50 PM
Edited by: Ivan R on Jun 1, 2010 1:50 PM

HI
                                                  The DYNPRO Concept
Screen Attributes. The function of the screen attributes is to indicate a screen type and associate the
screen object to the SAP system, such as the ABAP programs which are to be executed when at that
screen. It also describes the screen order within a transaction.
Fields. Fields are the main screen elements. Fields are defined in the ABAP dictionary or internally in
the programs. Field attributes establish relationships between the screen fields as well as define their
behavior when end users are executing the transaction.
Screen layout. This function establishes the layout of the graphic elements on the screen, such as input
fields, labels, icons, radio buttons, check boxes, and element groups.
Flow Logic. This is the main screen definition for controlling the flow logic of the screen, that is, how
it reacts to user inputs and calls associated ABAP modules and programs as defined using the ABAP
program editor.
The DYNPRO Concept
DYNPRO, or dynamic program, has been quite a common term in SAP naming conventions. A DYNPRO
refers to a screen together with its flow logic. Actually, DYNPROs should be considered synonymous with
screens as created by the screen painter.
A dynpro, or dynamic program, consists of a screen and all the associated processing logic.
It contains field definitions, screen layout, validation and processing logic, and so forth.
The processing logic means that the dynpro controls what has to be done before the screen is displayed
(process before output, or PBO) and what has to be done after the user finishes entering information (process
after input, or PAI).
The components in charge of controlling the user dialogs are the dynpros (dynamic programs). The
technology base for the R/3 applications is made up of the interrelation of the dynpro interpreters and the
ABAP language. For their tasks, both use the global image of the data environment of R/3, which is held on
the ABAP dictionary. The runtime environment of the R/3 applications consists of two processors: one for the
dynpros and the other for the ABAP language
Regards from Pakistan

Similar Messages

  • How to change web-dynpro layout in preview ?

    hi there,
    i have a big problem:
    i want to hide fields from a web-dynpro-application. this is possible when i go to content admin, then open the iview with right click and PREVIEW. then with right mouse click + CTRL i get to the editor to hide field, change fields, etc...........
    so far so good, BUT: i have a dynpro, which is displayed after approving absences in ESS.
    i don't get to this dynpro as it is not possible for me to get to this dynpro, as i am (as admin) not a person who can approve such absences.
    how can i change this dynpro, when it does not work with preview ?
    reg, Martin

    Hi SAPTECHED / Evandro,
    You've TWO options to handle the default messages by WD framework:
    1# OnAction Without Validation:
    If you are using any onAction() event for your wdj form validation.. then open the Action method in Edit mode > Check the Without Validation check-box property > Save it. This would avoid calling the default validation messages that comes from Web Dynpro framework.
    2# Dictionary Messages Property file:
    Otherwise modify the messages_en.properties file part of SapDictionaryTypesRuntime.jar located in the server-side (this is usually part of com.sap.dictionary.runtime_2.0.0 plug-in at client-side [WDJ installed machine] system). And make sure you've a ORIGINAL copy of this property file.
    Hope this should resolve your query!
    Thanks,
    MS

  • Change web dynpro expired application url

    Hi everybody,
    DO you know how to change the webdynpro message that appears when the application session has expired to a more friendly message or how to redirect to a the startup page of the webdynpro application
    Regrads ,
    Oren

    Hi,
       Which is the NW version that you are using? If you are not using NW04s, then you can do this:
    1. Open Visual Administrator
    2. Navigate to directory Server 0 0_xxxxx -> Services -> Configuration Adapter -> webdynpro -> sap.com -> tcwddispwda.
    3. Choose the file PropertySheetdefault.
    4. The Visual Administrator opens so that you can edit the values. Look for "sap.sessionExpiredURL". If you have it then you can change the default value to any relative URL of your choice.
    If you don't have it, as is mentioned <a href="https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/com/sap/tc/webdynpro/services/sal/config/api/WDConfigurationConstants.html#GLOBAL_PROPERTY_SESSION_EXPIRATION_URL">here</a>, then I'm afraid you cannot do it.
    Regards,
    Satyajit.

  • SAP Note asks me to change Web Dynpro application

    Hello Gurus,
    Firstly I am very new to WebDynpro - JAVA.
    SAP note asks me to do following
    In netweaver Developer studio IDE, in the project esa~lea  select Fcform in the webdynpro components.
    2. Select the component controller , in the implementation
    go to the method setLeadSelectionForSubtype
    3. Replace the code
    4. save the changes and build and deploy the DC essleasap.com
    Please guide me what setttings I must do in NWDS and how to go about. How to access the project esa~lea, is it local (download from server) or through remote.
    If you can guide me step by step, it would be of great help.
    Best Regards,
    nagendra krishna
    [email protected]

    Hi ,
    If you have already created the webdynpro project,
    Open your component controller by dbl clicking on it and move on to the tab called implementation.
    No find the method called setLeadSelectionForSubtype
    and paste your code with in the space like the following.
    //@@begin setLeadSelectionForSubtype()
        //@@end
    Save.
    Now right click on your project name... build it by choosing
    Development Component  ---> Build
    then next
    Development Component  ---> Deploy.
    Before Deploying first set your server details in which you want to deploy.
    Go to Windows menu- > preferance ->  SAP J2EE Engine -> specify Server ip and port...  _> Apply and Ok..
    Now deploy it...
    Hope it helps....Please reward points if helps...
    Thanks
    avijit

  • BADI for changing Appraisal document application name for Web dynpro ABAP

    Hi,
    For Appraisal document customizing through PHAP_CATALOG_PA, We have BADI HRHAP00_BSP_TMPL  to change the BSP application name which can be used in Web layout for output display. Using this we can change application name from HAP_DOCUMENT to custom BSP application name
    Similarly, what is the BADI for changing Web dynpro ABAP applictaion name? Currently its triggering HAP_MAIN_DOCUMENT.
    how do we change application name to some custom web dynpro application name
    Regards,
    Kothand

    Hi Karim,
    I don't know, if there is any chance to get the Webdynpro application name. At least in the ABAP System fields is no information about the webdynpro application name.
    One remark: I have allways problems with BAPIS / BADIS that behave different depending on the caller. Could it be a good idea to pass some information through the interface / parameters?
    Best regards
    Renald

  • Field type refreshed only once

    Hi there friends.
    I have got a very sad problem.
    DATA: ftype(60) .
    SELECTION-SCREEN BEGIN OF BLOCK main WITH FRAME TITLE text-001.
      PARAMETERS: A(30) .
      PARAMETERS: B LIKE (ftype) .
    SELECTION-SCREEN END OF BLOCK main .
    AT SELECTION-SCREEN .
      CLEAR ftype .
      ftype = A .
    When I launch program and specify in A field a value 'ADRC-NATION' and hit enter - type of field B is changed to ADRC-NATION dynamically
    but when I try to do this second time, by specifying an 'ADRC-TITLE' value in field A, then hit enter - type of field B is not changed to ADRC-TITLE ftype variable contains 'ADRC-TITLE' value but in the screen I still see variable of old parameter ADRC-NATION
    What can be the reason?
    Do you know some alternative way to achieve such effect?
    Will be thankful for help.
    Regards,
    P.

    Hi,
    it's not going work as you would like to. SAP tries to generate correct input field when the screen is called. In case that the text pool ftype is empty then it generates generic input field and change it as soon as ftype gets some value. After that it does not change this field. Maybe you can try to recall selection screen after each change. Dynpro is pretty old technology and it has various limitations. I am not sure if this is possible in your case but you can achieve your requirement easily in webdynpro.
    Cheers

  • Cross-company purchasing

    Hi,
    In my company we have a scenario where one purchasing org serving 2 co.code. This has been set up nicely in ECC, and we suppose to have the same scenario in SRM as well.
    First, I do this:
    a. Create company A and company B
    b. Create org unit below A which is linked to central purchasing org X in backend,
    c. Making sure that attribute BUK (Co.code) A, B assigned to purchasing org X.
    d. Create org unit below purch org X, and linked to purchasing group Y in backend,
    e. Create person Z below purchasing group Y, the attribute BUK of A, B is inherited to him.
    Using user id Z I make a test, create PO using cost center in co.code B, and it works well, the PO created passed to backend using purch org X, co.code B
    When testing creating PO using cost center in co.code A, it fail. It seems that somehow co.code B is defaulted in PO, and it trigger error saying cross-company purchasing not allowed (I think because I'm using PO with co.code B to charge Cost center in A).
    At first I hope that setting BOTH co.code for the purchaser will lead SAP to use location to derive the co.code, but I was wrong. SAP still take the FIRST co.code it found in the attribute.
    Then, I plan to use BADI for document change; and to my suprise there is no way to change the co.code in the BADI. So I'm stuck in here as well.
    Lastly, I did this:
    a. Moving purch org X (and all below, including purch group Y and person Z) to the root,
    b. I remove the attribute BUK in the purchasing org
    With this I hope that SAP cannot find the co.code from attribute and for the last resort derive the co.code from the location.
    Then when creating the PO, I got error message that SAP cannot derive co.code, and cannot continue
    Then I'm in dead end now. Is it really NOT possible to have central purchasing in SRM? This seems to be wrong. I mean as SRM is targeted to make procurement simple and regulated, it sure SHOULD think about central purchasing. Even in ECC we can have a central procurement serving 2 company codes.
    Or is there any other way? Appreciate if someone can shed some light on this.
    Best regards,
    John

    This is related to change co.code in PO. SAP give note 1079525 as how to change web dynpro so field co.code will appear and letting purchaser to choose co.code. This has solved our issue

  • First date field in va01

    Hi all,
       i have a requirement i.e i have to show the FIRST DATE  of sales order line item
    but am unable to find out the table name , when i pressed F1 i found that a structure name i.e. RV45A and field ETDAT but i want database table and correct field name.
    plz its urgent.
    Regards,
    Amit

    Data come from database table VBEP, it is mapped in sap transaction to your desired field :
    CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_OUTPUT'
         EXPORTING                               
              INTERNAL_DATE   = VBEP-EDATU       
              INTERNAL_PERIOD = VBEP-PRGRS       
         IMPORTING                               
              EXTERNAL_DATE   = VB_ETDAT         
              EXTERNAL_PERIOD = VB_PRGBZ.    
    and back if changed in dynpro
    CALL FUNCTION 'PERIOD_AND_DATE_CONVERT_INPUT'
         EXPORTING                               
              EXTERNAL_DATE   = RV45A-ETDAT      
              EXTERNAL_PERIOD = RV45A-PRGBZ      
         IMPORTING                               
              INTERNAL_DATE   = VBEP-EDATU       
              INTERNAL_PERIOD = VBEP-PRGRS
    Regards

  • ECC BUPA BDT: setting default CAM "Communication language"

    Hi,
    I thought I'd better ask for help before I'm starting to feel like I'm loosing sanity... My system is NW 702 SAPKB70211, IS-UT 605 SAPK-60508INISUT, all screens and behaviours from Transaction BP.
    I'm trying to set the defaults for Central Address Management (CAM) Communication language and country for Organizations and Groups (and Correspondence language for Persons). I've done the ISDAT BDT "Event" FM reccomended so often on SCN, setting the busdefault-country and busdefault-langu using  BUP_BUPA_FIELDVALUES_SET, and all seems well - the Address tab at least:
    - for Person:
    - for Org and Group:
    The trouble starts when one tries to create Adress from Address Overview of Org or Group - the default language is just not there, and neither is country:
    It turns out that, after defaults have been taken over in BUA_BUPA_PBO_BUA110 once, SAP standard resets (why, Hasso, why on earth would your guys need to do something like that.!?! ) the busdefault-langu if the BP type is other than Person (and telnr, faxnr_call, mc_city1, country, mc_street, post_code1, house_num1 for all types). In my desperation I even tried to use the SET/GET parameter SPR from FORM d0100_read_address of LSZA1O02. The trouble is - BUPA calls the thousand and one global flags CAM monstrocity so that g_address_is_optional is always set.
    So... before I start controlling what of their glabal data for BUPA defaults SAP logic can or can not modify via implicit inhancement in BUP_BUPA_FIELDVALUES_SET (if the logic is fine with taking those over once per session, why not n times...) does anyone know a straightforward and reliable way of defaulting CAM language and country (for organization and group)?
    I've searched OSS up and down but found nothing appliccable that would be helpful.
    Thank you and cheers
    Janis

    Ok, since the standard logic for BP default values is barely more than "useless" (defaults taken over only once, if the transaction mode for BP is create... meaning, they will not be taken over if you create an address in change mode of BP...), I ended up with:
    - implicit enhancement at the begin of BUP_BUPA_FIELDVALUES_SET protecting (SAPLBUD0)-gl_busdefault against overwriting via this FM (it obviously can't protect from changes within SAPLBUD0 itself... of which there are plenty);
    - implicit enhancement at the end of BUP_BUPA_FIELDVALUES_GET, delivering e_busdefault from the state protected within my singleton;
    - implicit enhancement at the beginning of ADDR_EXP_SUBSCREEN, setting the VALUE(SUGGESTED_VALUES) from busdefault state protected within my singleton for ADDRESS_GROUP 'BP' (I shouldn't really be changing input parameters inside the FM, I know, I know...) AND pushing the protected state back into (SAPLBUD0)-gl_busdefault via BUP_BUPA_FIELDVALUES_SET...
    The latter I needed to fight against standard logic loosing default country for Persons if one navigates to Address overview and deletes the standard address...
    The reason I'm going to such lengths to set this stuff programmatically rather than via SHD0 transaction variants or something similar... I don't want to have to find every transaction within ECC that permits to edit BP and create variants for them; I don't want to have to adjust those variants when something changes in dynpros.
    I'm thorougly fedup with BP and ECC and am ready for "R/4" (or whatever replaces it)
    cheers
    Janis

  • Matchcode on field exit

    Hi
    What are the possible ways to add a matchcode to a standard SAP program if the field doesnt have a matchcode associated and there is no ON VALUE-REQUEST event defined in the dynpro?
    Is it possible to create a matchcode using a field exit?
    Thanks

    Hi
    No! It's not possible.
    You should do:
    - Or to change the dynpro and assign your serch help to that field;
    - Or if the field belong to a dictionary structure, assign your search help to that field in dictionary
    Anyway you have to change a std object.
    Max

  • BID INVITATION FIELDS BY DEFAULT

    Hi There,
    Can anyone tell me how can I set some fields of the BID INVITATION by default? by customizing? With a BADI? is necesary to change the dynpro?
    Scenario:
    When I create the bid invitation from Sourcing I need to set  'yes' by default to the following fields of Bid Invitacion:
    New items by bidder
    Show bidder weighting
    Bid all line items  
    Many thanks for your help!!!
    Regards,
    Sonia Roncero

    Hi,
    Many thanks for your answer!!
    I have done one part via customazing and it already works!!
    But I have another problem, I have a CUF for the field " bid_chg_allowed" that I need to set "yes" by default as well. It is included in the structure bbps_bid_ui_header but I don't know where I can find de CUF. Do you think I can use the BBP_DOC_CHANGE_BADI ?
    I have tried with BBP_BID_DET_PROCTYPE and I have modify the dynpro 1200 but it doesn't work.
    I'm working in SRM 4.0.
    Thanks a lot, regards,
    Sonia

  • PA data migration Strategy for global roll-out

    Hi Guys,
    What is the best practise to load PA data into SAP HCM for a global roll-out? We plan to go-live with 50 odd countries. For country specific infotypes like address, It does not make sense to create country-specific LSMW's for each of the country. We may end up having 100s of LSMWs which does not seem right to me. nearly 20 of these countries have less than 100 employees each. Any ideas what the best practises around this are?
    regards
    Sam

    Create batch input sessions with LSMW as usual.
    Wite a report that reads the batch input session (tables APQI, APQD), gets the country specific dynpro for every PERNR (tables T582A, T588M, feature Pxxxx, ...) and change the dynpro in the APQD. Use debugger to find offset and length of field values in the record.
    Than you can process the batch input.
    I did it that way many times.
    Alternativly you could update the PA tables directly - but difficult to detect errors.

  • Difference between config in administration mode and expert mode

    Hi,
    We can make changes to FPM-based component configuration via administration mode (SE80, menu bar Web Dynpro Configuration > test > Execute in Administration Mode) or expert mode (user parameter FPM_CONFIG_EXPERT = X), to, for example, add a new tab (main view) to a sap standard application (after enhancing the sap std component config).
    I understand that in expert mode any changes are regarded by the system as modifications (as opposed to customisation with administration mode) and hence these modifications could be overwritten by future support pack application.  Correct?
    Is there any advantage to using expert mode over administration mode, given that expert mode config could be overwritten?
    Thanks in advance,
    JP.

    Hey Baskaran,
    Thanks for your reply and further info, I appreciate the dialog between us on this, it helps me and I hope it helps others, as I know from personal experience today that some SAP developers themselves are not clear on the diffrerence.
    With regard to your comment "In both ways the modifications are not lost or overwritten" I quote from the fuller explanation on "Fitting Webdynpro..." I posted earlier in this thread, with the excerpt "Changes made in expert mode are modifications that are overwritten when a new release or enhancement package is imported. Expert mode allows configuration for an application to be launched from that application." of particular interest:
    "The concrete layout of a Web Dynpro application is determined by the application configuration and the configurations of the embedded Web Dynpro components. These configurations can be adjusted or changed at any time. Floorplan Manager uses the concepts for changing Web Dynpro applications that have been prepared by Web Dynpro ABAP:
    Changes to the Web Dynpro built-in and component-defined configurations are stored in administrator mode as delta information in the Customizing layer of Web Dynpro ABAP. Changes in administrator mode are modification-free changes. This is because when a new release or enhancement package is imported, only the Web Dynpro development layer is affected.
    In expert mode, changes to the component-defined configurations are stored directly in the Web Dynpro ABAP development layer. Changes made in expert mode are modifications that are overwritten when a new release or enhancement package is imported. Expert mode allows configuration for an application to be launched from that application.
    The configuration editor for Floorplan Manager is available to you for making changes. This editor can be launched in the Web Dynpro Explorer or from the runtime of the application. For more information, see Calling Up a the Configuration Editor."

  • Add matchcode to standard field

    Hi!
    Is it possible to add a matchcode to a standard field?
    When users create or modify functional location using transactions IL01 or IL02, they want a matchcode for field "Sort field".
    Thanks!
    Cristian

    Hi
    No! It's not possible.
    You should do:
    - Or to change the dynpro and assign your serch help to that field;
    - Or if the field belong to a dictionary structure, assign your search help to that field in dictionary
    Anyway you have to change a std object.
    Max

  • Screen exit QQMA0001

    hi!
    i created new screen 102 in this exit.
    on the screen i have pushbutton that triggers the FM
    f4if_int_table_value_request.
    i need to choose one column and return its value to the screen field.
    i get the value tab field and i see it in the PBO, but when i choose the cell i want to return it to the screen
    but nothing happens.
    i passed the follwing parameters:
    1.DYNPROFIELD = 'QMEL-ZZAENNR1' (the field on screen that i want to return the value to )
    2.RETFIELD = AENNR ( the name of the filed from table value_ tab that i want to return.
    3. value_org = 'S'.
    4.PROGNAME AND SYNAME  i moved sy-repid and sy-dynnr to variables and passed them to the FM
    if someone know what might be the problem it will be big help.
    regards
    yifat

    Hi again,
    1. In the PAI flow logic, write like this :
    PROCESS AFTER INPUT.
    <b>PROCESS ON VALUE-REQUEST.
    FIELD A MODULE MYF4.</b>
    (where A is the screen field name)
    (change A in your case)
    2. Now write one extra module MYF4,
      with this code. (for eg.)
    (u  may change your dynpro field name,
      in my eg, it is 'A'.
    MODULE MYF4 INPUT.
    BREAK-POINT.
    DATA : BEGIN OF ITAB OCCURS 0,
           UNAME LIKE USR01-BNAME,
           END OF ITAB.
    data : RETURN_TAB     LIKE     DDSHRETVAL occurs 0 .
    data : RETURN_wa     LIKE     DDSHRETVAL .
    *PARAMETERS : A(12) TYPE C.
    ITAB-UNAME = 'U01'. APPEND ITAB.
    ITAB-UNAME = 'U02'. APPEND ITAB.
    ITAB-UNAME = 'U03'. APPEND ITAB.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
      DDIC_STRUCTURE         = ' '
        retfield               = 'ITAB-UNAME'
      PVALKEY                = ' '
       DYNPPROG               = SY-REPID
       DYNPNR                 = SY-DYNNR
       DYNPROFIELD            = 'A'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
      tables
        value_tab              = ITAB
      FIELD_TAB              = FTAB
       RETURN_TAB             =  return_tab
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
    break-point.
    ENDMODULE.
    3. then run your module pool.
    4. It will work fantastic.
    regards,
    amit m.

Maybe you are looking for

  • LR3.3 adjustment brush auto mask problem

    I appreciate any and all help with this issue. When I use the adjustment brush in LR 3.3 with the auto mask selected I get a speckled result.  If I deslect the auto mask it works fine.  I was hoping that 3.3 update would fix the issue but no luck. My

  • IPod reconized as camera and music

    My iPod is reconized as a camera on my windows xp, and my friend added some music to my ipod now how to I get that to iTunes

  • Iwork won't launch on new laptop

    Bought a MacBook Pro 17" running mac OS Lion 10.7.5. I use iWork a lot, I have the Family Pack, however, after reinstalling from my DVD discs and updating to the most current version, none of the iWork programs launch properly and none can open an ex

  • How to remove subject from background using brush tool (Adobe Photoshop CS6)?

    A few months ago I successfully extracted a subject from a background. I used a method I found on a tutorial video. All that I can remember from the method was that the initial steps invovled coloring over my subject with a brush tool. Since then, ho

  • I cant text flow using 3 different text files on the same document?????

    Im starting out with 3 different files of text saved as "tab delimited text" from excel, I open a document in ID with 107 pages and create 3 boxes in the master on top of a pdf. I then override all 107 pages so that the text I insert will flow to the