Screen enhancement in ME51N - control is not passing to PBO and PAI of exit

HI ,
I am doing screen Exit for the Tcode : Me51N / Me52N.
I have to add 3 Text fields in item level, i am using Enhancement:MEREQ001(in CMOD).
Initially i added those 3 fields in Structure CI_EBANDB.
Then i designed Screen in Screen Exit:SAPLMEGUI Screen Num:111.
Here in the PBO and PAI Module
MODULE STATUS_0111 , MODULE USER_COMMAND_0111.
the control is not going , i tried with break-point inside these modules.
But while executing ME51N , debugger is not working.
Code i wrote in both PAI and PBO
MODULE STATUS_0111 and MODULE USER_COMMAND_0111.
loop AT SCREEN.
       screen-output = '1'.
       screen-input = '0'.
       MODIFY SCREEN.
endloop.
I need to display the three screen in Display format not in editable format.
Thanks and Regards,
Prakash K

Hi
You need to write the code in PBO of that screen based on TRANSACTION TYPE.
there is a method call 'get_transaction_state' from this you will get the transaction type (H -  create , 'V'-  change  'B' -display) at run time.
If run time transaction type = B
  LOOP AT screen.
      IF screen-name eq c_name . "field names
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
endif.

Similar Messages

  • While updating my ipad to ios7, I could not pass the terms and conditions screen where I had to agree or disagree. It just didn't move pass that screen. I can't do anything to go forward or back. It's just stuck there.

    While updating my ipad to ios7, I could not pass the terms and conditions screen where I had to agree or disagree. It just didn't move pass that screen. I can't do anything to go forward or back. It's just stuck there.

    Try to reset the device:
    Device Reset (won't affect settings/data/music/apps/etc)
    1. Press and hold (& continue to hold) BOTH the Sleep/Wake button & the Home button.
    2. Continue to hold BOTH (ignoring any other messages that may show) until you see the Apple logo on the screen.
    3. Release BOTH buttons when you see the Apple logo and allow the device to boot normally.

  • Why do we need to code  loop statement in both PBO and PAI in Table control

    Hi friends,
    i have 2 questions-
    Q1-why do we need to code a loop and endloop statement in both PBO and PAI in Table control,sometimes even empty as well?
    Q2-what r d dynpro keywords?

    Hi,
    It is required to pass information from internal table to table control so we loop it in PBO and to get the updated information back, we loop in PAI and update internal table content.
    To get more knowledge on Table controls check these threads -
    table control
    Table Control
    Hope this helps.
    ashish

  • Screen exit for co11n and problems in writting the PBO and PAI Logic ?

    Hi People,
    I am developing a screen exit for transaction co11n. I have found the exit ( CONFPP07 ) ... I created a project and have
    assigned this exit and activated the project. I have created a field named SHIFT  on clicking this field i have to give three
    possible values (a,b,c  ) and i have to store these values in some table .......... now my problem is in which include i
    have to write PBO and PAI logic ... should i have to write pbo logic in the include provided in the exit
    EXIT_SAPLCORU_S_100 and PAI in EXIT_SAPLCORU_S_101.......or .........Can any tel me what should i have to do to
    meet the requirements... and in which structure i have to add this field so that it gets stored in some table.
    Thanks in Advance.

    Hi,
    Use the includes in the program SAPLXCOF given in CONFPP07 Exit.
    You may use include zxcofzzz ( for Subprograms and Modules )
    by creating it upon double click.
    Regards,
    Wajid Hussain P.

  • "Mission Control" does not show space row and I cannot add a new space (27 inch screen)

    Firstly, "Mission Control" does not show upper row with spaces. I have configured Dashboard as space, but it is not showed either.
    Second, I cannot add a new space because the upper right corner wont show an empty space.
    In system I have configured (Mission Control) the upper right corner as "mission control".
    I do run a 27-inch screen

    I'm having the exact same problem. I have a Macbook Pro that I connect to a 27inch iMac through the mini display port. Whenever I attempt to launch Mission control to move a program to a different space, the "Spaces" dont appear at the top of the screen. Is anyone have an answer for this?
    Also, does anyone know of a 3rd party program to bring "Spaces" back? That was my #1 favorite thing of Snow Leopard, and I need to get that functionality back.
    Thanks

  • How to implement screen enhancements with table control in sales document

    I want to add a table control in sales document head and items, is there a good solution for this, thanks

    Hi Zhang Jie,
    There are some reserved screen for you in sales order.
    screen enhancement: for header is SAPMV45A 8309 and 8310.
                                    for item is SAPMV45A 8459 and 8460.
    you can add your table control in those screen.
    regards,
    Archer

  • Screen enhancement with table control IW31, IW32, IW33.

    Hi Gurus,
    I am facing issues with enhancement implementation for Maintenance Orders transaction IW31, IW32, IW33. (SAP basis version 4.7)
    1) I have implemented enhancement IWO10018 for creating an Enhancement tab in transactions Iw31/ 32/ 33. This tab has got a table control which has 4 columns: -Operations, Operation short text, Estimated Cost and Currency Unit.
    First two fields are non editable and are populated for all the Operations in Operations tab. Last two columns are editable and value entered in these are stored in the database on saving. Now the issue is I am able to fetch all the operations from  AFVC table but these are the one which have been saved. Suppose I navigate between the tabs Operations and Enhancement and enter a new operation in Operations tab, I should get the same in my Enhancement tab table control field as well.
    Though we can obtain one value from structure (SAPLCOIH)AFVGD but this gives only one value. If we need to get the table of values, is their any option ???
    P.S. Assumption in this requirement was that there can be at max 50 operations in an order and 200 new fields are created for this in include CI_AUFK in table AUFK.
    2) In standard report transction IW39 to display the orders and operations, if we need to display additional columns for displaying Estimated Costs and Units per order, how do we need to implement enhancement IWOC0004. Do we need to add all custom fields in structure RIHAUFK_LIST as well. If you could please elaborate its implementation, it would be helpful.
    3) In standard report transaction IW49N, is there any enhancement available to add new fields in ALV display. (SAP basis version 4.7).
    I would be grateful if i can get a quick response as I am stuck in middle of something important.
    Edited by: shreya tagra on May 12, 2010 8:32 PM

    Hey All,
    To my questions further, I had found the runtime internal table where Operations are stored before saving.
    It is AFVGD_BT and its main program is SAPLCOBO. So it can be accessed through (SAPLCOBO)AFVGD_BT[].
    Also for 2 and 3 question, the given enhancement would work and we need to update fieldcatalog with custom fields.
    For this add our fields in RIHAUFK_LIST.
    Now, I am facing another issue. Since the enhancement tab is a subscreen, i am not able to get its okcodes. eg: When I click enhancement tab, sy-ucomm is 'CUK', when I scroll up or down again it is 'CUK', if I press enter again it is '+CUK'. To enable scrolling functions I need to get correct okcodes and differentitaed ones because on each user command, a different action is required. Any pointers how can this be achieved.
    Will post my solution once i m completly done with it. Till then your pointers are awaited..
    Thanks,
    Shreya

  • My ipad has a screen up that says icloud has not been backed up and it will not let me do anything

    My iPad has a screen up that says icloud has not been backed up in a while. I can not get that screen to close or turn off my iPad. What do I do?

    Do you mean it says,
    "This iPad has not been backed up in 2 weeks.
                Back up now?"
    Did you try the home button?

  • Screen enhancement with table control

    Dears,
    I'm using enhancement IWO10018 to add a new tab on IW32 screen. I've added a table control to this tab. The problem is that retreived data from database do not appear on the table and it is appeared as empty fields. When tring to add any other input/output field on the same subscreen the data appear correctly on it! Please advise
    PROCESS BEFORE OUTPUT.
      MODULE fill_req_itab.
      LOOP AT req_itab
        WITH CONTROL serv_req_tab.
        MODULE move_to_screen.
      ENDLOOP.
    MODULE fill_req_itab OUTPUT.
      CLEAR: req_itab[].
      SELECT * FROM zcs_serv_req
        INTO CORRESPONDING FIELDS OF TABLE req_itab
        WHERE aufnr = order_no.
      DESCRIBE TABLE req_itab LINES serv_req_tab-lines.
    ENDMODULE.                 " FILL_REQ_ITAB  OUTPUT
    MODULE move_to_screen OUTPUT.
      MOVE-CORRESPONDING req_itab TO zcs_serv_req.
    ENDMODULE.                 " MOVE_TO_SCREEN  OUTPUT
    *&  Include           ZXWOCTOP
    DATA: mark TYPE c LENGTH 1.
    CONTROLS: serv_req_tab TYPE TABLEVIEW USING SCREEN '0900'.
    DATA: req_itab TYPE TABLE OF zcs_serv_req WITH HEADER LINE,
          zcs_serv_req LIKE LINE OF req_itab,
          order_no TYPE aufnr.

    Thanks a lot for your reply...
    I've added the below code on the mentioned include and I've commented it on the PBO but I still have the same problem. On debug mode I can see that required data retreived correctly till end.
    *&  Include           ZXWOCU15
    order_no = sap_caufvd_imp-aufnr.
    CLEAR: req_itab[].
      SELECT * FROM zcs_serv_req
        INTO CORRESPONDING FIELDS OF TABLE req_itab
        WHERE aufnr = order_no.

  • Screen enhancement in ME51N/ME52n/ME53N

    Hi All,
    I want to display 2 additional tabs in the line item of ME52N tcode. There is already an enhancement MEREQ001 created in a project named MEREQ001. I tried to do the changes in the existing screen after deactivating the project, But after creating the tabs in the screen & when i try to save it I am getting an information message "Object can only be created in SAP package" , and after clicking continue i get the error "SAP object FUGR XM02 cannot be assigned to package ZMM". But even if I try to save it in any other namespace I am getting the error "Object belongs to function group with customer exit", and it will come out of the screen layout deleting the changes made the screen layout.
    My requirement is to display 2 tabs in the Tcode Me52n, and the user must be able to fill data in these  tabs & the data should be saved  in the database on clicking save.
    Is it possible to use Badi "ME_PROCESS_REQ_CUST"  ?, if yes then please advice how.
    Thanks in advance.

    Hi,
    You can't use the BADI " ME_PROCESS_REQ_CUST.
    The main purpose of this badi is use to validate the PR at different levels. If you see the methods of that BADI  for eg :
    1. Process_header : This for validating the header part.
    2. Process_item : This for validating the line item details.
    Like that there are so many methods are there inside this BADI.
    You mentioned that you deactivated the Existing Project of PR and i want to know in which package you have mentioned.
    If that existing project is not needed you can delete the old one and incoporate the new logic and the old logic in the new project.
    Hope you got some idea now.
    With Regards,
    Sumodh.P

  • My macbook restart everytime. it does not pass starting sound and white screen

    I my using macbookpro 13, i7 processes 2.9 GHz , 8 GB ram, 750 HDD
    Serial no: C1ML2H0YDTY4
    OS : 10.9.5
    Now it restart or not, I don't no. but Starting sound continuously give and white screen.
    What to do?
    What is the Problem?
    It Hardware or Software Issue
    Please Help me out

    First try SMC and PRAM resets:
    http://support.apple.com/en-us/HT201295
    http://web.archive.org/web/20140711222006/http://support.apple.com/kb/ht1379
    Then try a Safe boot:
    http://support.apple.com/en-us/HT201262
    Any change?
    Ciao.

  • Ipod touch screen shows connecting to itunes when not connected to computer and will not go to start screen  also will not connect to itunes get message that passcode needs to be entered but cannot get to that screen on ipod

    ipod touch shows connecting to itunes on screen even when not connected to computer.  cannot get to start screen to enter my passcode

    Place the iPod in recovery mode to bypass the passcode (and essentially erase your iPod)  and then restore via iTunes on your computer.

  • Use of loops in pbo and pai events when a table control is on the screen

    asap.

    Hi Feroz,
              What is the very purpose of using table controls and tab strips in module pool programming.
    Rgds,
    kha

  • Data not passing between two Views in FPM-GAF

    Hello All
    I have first screen (view) configured with Initial screen and second view with main step using FPM GAF. But data is not passing from first screen to second screen. All  views/Windows contains in the one component.
    Example: In First Screen contains Employee Data in table , selecting the row clicks on button it is navigating to other screen (Mainstep) BUT selected data is not passing.
    BR
    -CW

    Hello Williams,
    CarlinWilliams wrote:
    > From FPM Intial Screen of data is not passing to the second screen. Where as in other Steps data is passing.
    I'm bit surprised to hear that this is working in other screens. As per the FPM concepts (my understanding), for the parent component that is used in child component, it will create a new instance and it wont re-use the instance of the Parent Component that is already embedded in the Initial Screen.
    In your case, you have embeded the parent component in Initial Screen. So FPM framework will create a new instance at runtime. while navigating to the Main Step, since child component is using parent component, the FPM wont re-use the instance of parent component. Rather it will create a new instancs of parent component. Since new instance is created, the data entered in the previous step/screen wont be available. this behavior is same for all the steps.
    anyway comming to your question and solution for the same.
    1. In the child component, create another window (say PARENT_WINDOW) and embed the view that was exposed by the parent component (basically interface view of the parent component)
    2. in the GAF component configuration, for the initial screen, embed the child component and view as PARENT_WINDOW
    3. for the main step, embed the child component and view as acutal view of the child component.
    Here same component is used in both the places. Now the FPM will try to reuse the instance of the child component. As a result, the data entered in the Initial screen will be available in the Main Step as well.
    Other approach would be to use the singleton class and share the data between these two components.
    Hope this solves your problem.
    BR, Saravanan

  • In SharePoint 2013, some of the userswith contribute or full control rights are not able to edit and save office doucuments to SharePoint library.

    In SharePoint 2013, Office 2010 and IE 8. Office web apps is not configured.
    Some users with Contribute or full control are not able to edit and save documents back to SharePoint library.
    When they try to save they are getting following error:
    1. https://.....pptx is read-only. Do you want to save changes to a different file name?
    2. Project canot access "https://...." 
       Try one of the following
    The file may be temporarily open by another program. wait a momoment and try again.
    A file with the same name may already exists. Save it with a different file name.
    You may be trying to save to a read only folder. Save to a different folder instead.
    Please help me with this issue.
    will be waiting for any suggestions or solutions.
    Thanks
    Krish
    99

    Thanks again for quick response.
    I have requested users who are having this issue to try check in/ check out, and share the results.
    Result with CheckIn/CheckOut:
    User was able to check out but no edit option.
    'Edit Document' option under 'Files' tab was greyed out. I did check permissions every thing seems fine he has full control over the site and document library.
    Please advise.
    Thanks
    Krish
    99

Maybe you are looking for