Display/Change toggle option in custom transaction

Hi all,
I have created a custom transaction with 3 screens . Now the requirement is, I have to provide the user an option to toggle between Display/change mode. As per my idea, I have to identify all the fields to be toggled , assign them as a group in attributes and get it done using below code.
Loop at screen.
if screen-group1= 'XXX'.
screen-input = 0/1.
modify screen.
endif.
endloop.
But , in my case , I have table control and some other fiedls on my screens.
So, I have to use the above code twice in the PBO (once for all other fiedls and once for Table control fiedls).
And I have to repeat this process in each screen.
Is there any way to provide toggle option from display/change vice versa at complete transaction level in an easiest way?
Thanks

Other idea would be switching whole subscreens (I guess your custom program consists of them, right?). In these alternative screens you would need the same table controls with read only fields set by default. So you would switch from one to another back and forth.
If you need to stick to same approach you have, the easiest would be creating a routine which loops through screen and turns on/off each group/screen fields given as parameters. Then you just call it in several places you need.
Draft
form turn_on_off using i_input type i
                             i_fieldname type csequence
                             i_group type csequence.
   loop at screen.
      if screen-group1 = i_group.
          i_screen-input = i_input.
      endif.
      if screen-name = i_fieldname.
           i_screen-input = i_input.
      endif.
      modify screen.
   endloop.
endform.
"PBO first screen
perform turn_on_off using 0 space 'XXX'.
"PBO second screen
perform turn_on_off using 0 'FIELD1' space.
"PBO third screen
perform turn_on_off using 1 'FIELD2'  'XXX'.
As you see you can use different combination of group/field/input options.
Regards
Marcin

Similar Messages

  • Change the description of Custom transaction

    Hi All
    Business requirement is to change the description of custom transaction. I have changed in SE93.
    But, now this change should appear in all the roles(single and composite) wherever this transaction used.
    Do I need to update each role or Do we have any option to refresh the description of transaction in roles?
    Thanks in advance.
    Srini

    Hi Srinivas,
    I first recommend to identify the # of roles in which the custom transaction code exists. If you find the tcode in only few of the roles, you can modify them individually from the role menu and transport them back.
    If you have more roles, alternative is to use eCATT scripts. But, make sure that you use the search option in the role menu, rather than selecting the tcode manually.
    The last option is as recommended above. Maintaining the values in the table is not recommended though
    Regards,
    Raghu

  • How to pass values to select options of custom transactions?

    I have to call custom transaction-ZMM_POST  from my custom report.
    I have to pass values to select options(Not to parameters) of ZMM_POST  from my report only.
    Please tell me how to pass values to select options of custom transactions?

    Have you tried this?
    DATA: T_RSPARAMS TYPE STANDARD TABLE OF RSPARAMS WITH HEADER LINE.
    T_RSPARAMS-SELNAME = "S_BUKRS".
    T_RSPARAMS-KIND = "S".
    T_RSPARAMS-SIGN = "I".
    T_RSPARAMS-OPTION = "BT".
    T_RSPARAMS-LOW = "100".
    T_RSPARAMS-HIGH = "300"
    APPEND T_RSPARAMS.
    SUBMIT Z_DUMMY WITH SELECTION-TABLE  T_RSPARAMS.
    Greetings,
    Blag.

  • Change documents for the custom transaction

    hi,
    how could we trap the changes in our custom transaction to CDHDR,CDPOS tables.
    we had created the object and generated update information.
    where exactly we should call our  write_document function module (generated in the object class ) in our module pool program.

    Activate the 'Change document' checkbox for data element. You must updating some table by your program. So just check the 'Change document'  checkbox for those dataelement that you are updating in the table.
    You will find the 'Change document' checkbox in the following path : dataelement-> farther element->'Change document'  checkbox.
    Now, if that checkbox is checked, the CDHDR and CHPOS table will be updated whenever you do any chnge in the table.
    Now you can readthe table with a date to find out whether the bable is modified.
    Now performance wise it is better to use change pointer instead of change document. Change pointer also do the same functionality as the change document.
    To do that go to BD52, give a message type andd all the table and fields for which you are updating through your program.
    Now you can use 'Change_pointer_read' FM to read the values that are change.
    Ex:
            CALL FUNCTION 'CHANGE_POINTERS_READ'
              EXPORTING
                message_type                = gc_message_type
                creation_date_high          = s_erdat-high
                creation_date_low           = s_erdat-low
                creation_time_high          = gc_time_high
                creation_time_low           = gc_time_low
                read_not_processed_pointers = 'X'
              TABLES
                change_pointers             = lt_chgptrs_tab.
    gc_message_type message you have given in BD52 and you will get all the chaged element in lt_chgptrs_tab.
    Now after reading the values to update the fact that you have read those values you have to call another FM.
              CALL FUNCTION 'CHANGE_POINTERS_STATUS_WRITE'
                EXPORTING
                  message_type           = gc_message_type
                TABLES
                  change_pointers_idents = gt_pointer_id.
              COMMIT WORK.
    gt_pointer_id will have all the change pointer ids from lt_chgptrs_tab table that you have already reead.
    The table for change pointer is BDCP.

  • Display changes for classification in customer master data

    Dear Experts,
    In Customer master data, FD03, we have additional classification (Extras - Classification).
    My question is, if we changed the classification in master data, how to know when the display changes of the classification?
    I have checked through tcode FD04 but no display changes found of classifications.
    Kindly advice.
    Thank you

    Hi Suhas,
    Thanks for your reply.
    I have checked but environment-doc changes is grey.
    I thougt its a authorization issue but after checked from /nsu53, my authorization is already completed.
    Kindly advice.
    Thank you

  • Display/Change setting per dashboard

    Steps
    1) Start at project dashboard.
    2) Click "User Settings" button.
    3) Look at "Processing Mode" option.  It has two values in the drop down:  Display and Change.
    We are of the understanding that if we make the setting for this field "Display" then whenever we enter a project or task we will be in display mode and not able to edit until we click the "Display/Change" toggle button that displays when we are looking at a project element.
    Our team is wondering if we could make this setting such that a user is always in display mode when they enter a project from the project dashboard.  In addition to this, we always want a user to be in change mode if they enter a task from the task dashboard.
    Is anyone aware of a way to make this display/change user setting dashboard specific?
    Thank you,
    Wendy

    Hi
    You can do this setting while maintaining the user. This settings are user specific.
    goto SU01=>enter your user=>Personalization tab=>double click the Personalization object key DPR_USER_SETTINGS=> One new window will open in that under General you can define the Processing mode either Display or Change as per your requirement.
    Please try with this.
    Regards
    Yogesh
    Please award points if answer is useful
    Edited by: Yogesh  Pande on Nov 19, 2008 11:31 AM

  • Custom Transaction Types, Subject Profiles etc...

    Hi all,
    Did anyone worked on custom Transaction Type on SDCR? 
    I know that this is CRM specific stuff to configure, but want to check what are the implications in modifying exisiting SDCR..  Well, in the meanwhile, we need to work on custom Code Groups, Subject Profiles etc..
    What is the impact on upgrades if we modify the SAP defined Transaction Types SDCR?
    Please correct me if I am wrong in my approach.
    Response is greately appreciated.
    Regards,
    Mike.

    Thanks for response.
    I tried to copy and modify the subject profiles, catalogs etc.  I could able to create Change Request with the custom transaction type, but not able to authorize the change request.  And I am using SAP defined action profile for custom transaction type.
    And also little bit confused how to attach the custom change request to support message (we need to select the action item "create change document").  It seems there are lot of modifications to be done all the way from support message to urgent/normal correction.
    Please advice.
    Regards,
    Mike.

  • Create custom transaction on the base of RSDMD to populate bw master data

    Hello All,
    my client is asking me if there is a possibility to create a custom transaction on the base of standard transaction RSDMD to populate the master data manually allowing the users to see only selected master data.
    we have a SAP BW and APO on the same system.
    the client ask if we can have a control level if the master data call other infoobjects for example (hierarchy market call the infoobjects LEV1, LEV2 etc)  we can do in a manner that is not possibile to insert new valus but only to combine existed values?
    Thanks for All
    Bilal

    Make all master data infoobjects authorization relevant and custom profile accordingly to the users in the standard authorizations and analysis authorizations.
    This will enable users to see only certain master data in their queries ( analysis authorizations ) and in their data display ( standard authorizations) instead of custom transaction.

  • How can I disable display/Change Button on transaction code VL03N

    Dear Guru,
      I found problem about transaction code vl03n because I define authorize for a user that can only display delivery document by transaction code VL03N. But this transaction have display/change button that when user click this button they can change delivery document. Please help me how can I solve this problem?
    Best regard,
    wipaporn

    Wipaporn,
    This should be done authorizations only. Although the button is displayed, is the user able to change and save the Delivery document?
    Regards,
    Ravi

  • Enable change password option in masthead for the custom role

    Hi Experts,
    In our project we have to provide change password option to the custom roles. However we don't have to use eu_role or admin role. Could you please let me know how to go about it.
    Regards,
    RK

    Hi
      Please Refer this thread
        Password Change - Personalize in EP7.0
    You can use old persouserpassword screen after setting the UME property
    ume.admin.wdactive to false using the configtool
    Regards
    Ganesan S

  • Track changes to any field in Custom transaction and then call pop-up FM ?

    Hi Friends,
    I have created a custom transaction with 2 screens. Only if user has made some changes to any of the 40 fields in those 2 screens, I should ask user if they want to save by calling pop-up function module ? Rather than checking each field content with database content, is there any easy way to monitor the changes and call pop-up function module ?
    Any help is suitably rewarded.
    Niranjan

    Thanks Amit for the reply.
    I have 2 questions
    1) Is there any easy way that SAP will keep track by itself, say in SYST structure, and I can just check in SY structure if something has changed ?
    2) Along with 40 fields, I have 2 more sub-screens; Text editor AND table control. I need to check contents of these also and then call SAVE pop-up function module.
    Pl let me know,
    Niranjan

  • Tracking of Attached file by File name in display changes option

    Hi All,
    i have a requirement where user wants to track the deleted file from document.
    when we go to environment-->display changes, system shows only format(wrd,xls etc) of the file which was created and deleted but how to track the file by file name once created and/or deleted.
    Thank You,
    Manoj

    Hi,
    I have created new profile and even activated, after deleting attachment from one of DIR there's no log showing for deleting the particular attachments in environment-->display changes..
    Thank You,
    Manoj

  • Custom transaction to be displayed/accessed via ITS

    Hi,
    just a quick question for understanding. If we have a custom transaction (copied form an existing one and enhanced) and want this integrated into the ENterprise Portal via ITS, would we need to create an ITS Template or something like that or will the integration work without any additional development work?
    Basically my question is, do we need to implement a ITS/HTML Template?
    Thanks for any response,
    Erik

    Hi Jothi,
    we have not yet installed the ITS, that is why we do not know yet, how the custom transaction looks like in the webgui / ITS screen. We want to know what effort it might be to rearrange the screen elements (layout) if necessary (i.e. too many scrollbars, etc.).
    Thanks for your anwsers.
    Erik

  • SE16 Custom Transaction

    Any idess to create custom transaction for SE16? I have read many forums but didn't get a straight answer. My requirement is to provide 100 + tables access to business without SE16/SE16N. I can create custom authority check to validate table name before displaying the table contents. Tried copying RS_TABLE_LIST_CREATE function module and studied S_TABU* authorizations, no luck. Also I dont wanted to create query for each table and creating individual table access transactions (variant transaction). Please help me to give a straight answer, I would really appreciate it. Thank you.

    Hi,
    You can restrict the tables by following either of the 2 methods. But this will work only for pre-defined tables only as you need to provide table names.
    1. Create a Z- set using GS01. And maintain all the relevant table names. Later on inside the program you can evaluate the set from table 'SETLEAF'. If the table name is maintained then check will pass and you can display the table else provide an error message.
    2. In your custom auth object have one field named say TABNAME. While assigning authorization to the user you can maintain the relevant table names against this field.
    I would suggest to go for the 1st option as it will be more flexible in nature and can be maintained in the client directly (authrization to limited users only like some central team). Maintaining in roles will be a bit more tedious as it will involve modification to the roles each time you change table names.
    Hope this will solve your purpose.
    Regards
    Pradipta K Mishra
    Edited by: Pradipta Kumar Mishra on Mar 5, 2012 5:10 AM

  • Toggle Option in Process Chain not working

    Hello SDNers,
    I am experiencing the below scenario with one of my process chain.
    Process Chain FLow
    Start
    |
    |
    Local Chain (To delete the already existing file from Application Server(ZFTP))
    |
    Local chain to rename the file
    |
    |
    Local chain (Load data to cube)
    |
    |
    Local chain to backup a file from Appl. Server
    In the above flow, the step 2 has been set to proceed further even if there are no files to delete in the application server. To achieve this I am using a toggle option between the step 2 and 3.
    At times, the chain progress further when there are no files to delete as expected but not all the times.
    I am trying to figure why the step which is supposed to progress further is not progressing some times even though it has been set to move further.
    Any advice would be helpful.
    Regards,
    Vinoth

    Hello Venkatesh,
    Thank You for your Patience.
    I have BW systems both running in the SAP_BW Versions 730 & 701.
    I have checked the folders " Other BW Processes " & "Other" and below are the process types.
    Other BW Processes
    Attribute Change Run
    Adjustment of Time-Dependent Aggregates
    Deletion of Requests from PSA
    Deletion of Requests from the Change Log
    Execute Planning Sequence
    Switch Realtime InfoCube to Plan Mode
    Switch Realtime InfoCube to Load Mode
    Reorganize Attributes and Texts for Master Data
    Execute Analysis Process
    Update Explorer Properties of BW Objects
    Other
    Event in SAP CPS
    Job in SAP CPS
    Last Customer Contact Update (Retraction)
    Regards,
    Vinoth V

Maybe you are looking for

  • Can I get a refund or better yet an exchange on a download that I did not want

    I bought and downloaded Chris Cornell live "clean" version C.D. by mistake I wanted to download the "uncut, explicit" version instead. I did not know there were 2 choices on  the same C.D. Will apple exchange this or am I stuck with it?

  • Error releasing transport request for change document object

    Hi Gurus, I created a new change document object for a Z-table. When i try to release the transport request in the development system it terminated with a message "Export application-defined objects       17.12.2009 11:07:45 Not yet executed". The tr

  • Prob a stupid question

    Hello, I work for a soecial needs school and have been tasked with creating a web site about the school. I have designed other small websites but have never come across this problem. Even tho I have fixed the page width to 700 pixels and made sure th

  • How to run toplink in english?

    I'm currently running windows in french. I just installed Toplink 10g and noticed that now mapping workbench is also working in french. I would like to run workbench in english. Do you know ho to do it? thanks in advance, Chris

  • CS5 apps quit unexpectedly

    Illustrator, photoshop and indesign. Not sure what's triggerring it, but it's been going on for weeks. I tried reinstalling but that did nothing.