Doubt in Screen Exit SAPMM06E

HI All.
I added one input field as reasons for Order (referred EKPO- BSGRU) by Screen exit SAPMM06E of the Enhancement MM06E005.Now I have to update this value in table EKPO- BSGRU. Where have to do the code? How?
Thanks in Advance
Regards.
Jay

Hi,
generally you should not be able to change this field using enhancement SAPMM06E. Have a  look at documentation of this enhancement in SMOD. There is written:
You cannot:
o   Change standard fields
You can try to cheat and use trick with ASSIGN to change value of the field EKPO-BSGRU but you have to be careful. You don't want to create any inconsistencies. You need to identify name of the program and variable where the field BSGRU is stored and then access it via field symbol.
Example:
* FM called from XD01. Get name
      ASSIGN ('(SAPMF02D)KNA1-name1') TO <name>.
      IF sy-subrc EQ 0.
        MOVE <name> TO l_name1.
      ENDIF.
Once again, it is not officially supported and you can create lots of troubles. Maybe you should look for better user exit.
Cheers

Similar Messages

  • Purchase order screen exit SAPMM06E,screen number 0111

    Hi
    I am working on purchase order screen exit SAPMM06E and screen number 0111
    i am able to see customer screen in transaction but program control is not going to flow logic
    due to that i couldn't able to fetch data into custom fields.pls suggest me wat to do.
    Thanks & Regards
    Vinay

    Hi Vinay ,
    I think you are implementing the screen exit with the enhancement component 'MM06E005'.
    if thats the case you add your fiels in the screen area provided
    in the screen 'SAPMM06E' 0111 by creating the subscreen in the SE51 with the name space 'SAPLXM06' 0111 with then will be reflected (fields added) in the ME21n transaction .
    You have to write your logic in the EXITS provided in that enhancement component
    You have to write your logic in the exit 'EXIT_SAPMM06E_008'
    as it imports data from screen field which you placed in the tcode.
    Revert back to me for any queries.
    Reward points if useful.
    Thanks ,
    Surya Pydikondala.

  • Doubt on Screen exit

    Hi All,
    Im working on a screen exit, i need to have some 7 fields in one subscreen and i need to display this subscreen based on EKKO-EKORG,but this value will be given by user in previous screen,how can i fetch this field in my screen exit,coz if i check ekko-ekorg ='0001' value is not coming in this field, shud i need to check this condition in PBO or PAI and how?

    Hi
    I don't know if you're using enhancement or BADIs, if the first case you have the exit EXIT_SAPMM06E_006 to read header data, if you use the BADI u can use the method OPEN to get header data.
    MAx
    Message was edited by: max bianchi

  • Change log data is NOT captured for PO screen exit fields

    Hi,
      We created a new tab at item level for PO Screen(ME21N) for the purpose of STOs(Document Type UB) & created 3 New fields in that new tab through Screen Exit( SAPMM06E, SAPLXM06 0111 ).
      When we are entering data in those 3 new fields while creating new STOs, those data are captured in EKPO table.
      When we are changing the OLD STOs for those 3 new fileds, data is modifying in EKPO table. But changes are NOT inserted in CDHDR and CDPOS table for those 3 new fields.
      <b>Please help us to track the changes in those 3 new field data changes for old  STOs.</b>
      Please let me know if you need any further clarification regarding this.
    Thanks & Regards,
    Mani.

    Hai Naimesh Patel,
          Thanks for your promptly reply.
          Now My issue has been resolved successfully with your help.
          I rewarded Points for your reply.
    Thanks & Regards,
    Mani.

  • Screen exit in SAPMM06E

    Hi everyone,
    I'm working as an ABAP-developer since a few weeks, so I still have a lot of things to learn. At the moment, I'm trying to get a screen exit to work. I created a project, activated the screen exit, activated the user exit that is linked, but now I want to transfer data from the 'original screen' to the screen from my screen exit.
    It is screen exit 311, user exit exit_sapmm06e_016.
    I tried to search for relevant topics on the forum and on the help, but I'm still confused on how to transfer data...
    Thanks in advance !!

    Hi Sid,
    I think it's easier for you when you post your question in a new thread. That way, everyone knows there's a new question.
    Concerning your question : This wasn 't (yet) part of my problem, so unfortunately, I cannot help you...
    KR
    Björn

  • Doubt in user exit for transaction MM03

    Hi Friends,
        I have a doubt in user-exits. I have to add a button in MM03 which when clicked should open a particular URL taking material no. as the parameter.I have got the function for opening the URL, I just want to know which user exit should I be calling and in what way?Can anyone please give me step by step procedure as I am new in user exits.Thanks in advance....

    VA01 is a dialog program.  The use of WRITE statements in dialog program is really not done.
    You will need output your values to existing screen fields or create new ones in SE51.
    Sounds like you might want to review dialog prog in general.
    Also - the TABLES statement is for database tables.  It has nothing to do with internal tables.

  • How can i add field to screen exit ?

    ver 4.7
    trans.  me21n
    add field in screen exit .
    i implement screen exit MM06E005->SAPMM06E->0111
    in the layout i try to add field  by pressing
    button in the toolbar ( dictionary field window ) ,
    but when i press "save" in me21n  ,
    i get message "No data changed".
    i choose in the dialog window
    field from structure "ci_ekpodb" , field that i already
    been add  .
    thanks .

    Hi
    You have to implement the exit to import/export the data into/from screen-exit:
    EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018
    Max

  • Doubt in  " Screen "

    hi Sap Guru's !
    In case of user-exits
    for a Screen Exit it have 2 Function modules for
    1. PBO
    2. PAI.
    wat the Case about Screen enhancement in Badi ?
    can we update the field values in database of newly added Custom fields.
    pls send any better example regarding screen exit using Badi ?
    Regard's
    Rajesh!

    hi Experts ?
    can any one give me clear picture about my doubt ?
    Regards,
    Rajsh.!

  • Screen exit of  Po header

    Hello Friends ,
    I have added new tabstrip in PO header with two new fields which are appended to Ekko table by append structure.
    1) When creating the PO, the changes to these new fields are not getting updated into Ekko table
    2) After doing the changes to these new fields in Me22n, if i am trying to save the Po it's giving the information message 'No data changed' and the changes to these new fields are not getting updated in Ekko table.
    Could you please advice me regarding this problem.
    Thank's in advance,
    Arvind.

    Hello Friends,
    The screen exit is shown below ,here in 101 screen i have added two new fields
    SAPMM06E                       0101 CUSTSCR1 SAPLXM06                       0101
    To update the new fields in the new tab strip , i have written the code in the user exit of PO header (EXIT_SAPMM06E_006) as shown below.
    Note:The two new fileds are check boxes ,depending on some conditions we need to mark the  check boxes.
      TABLES:CI_EKKODB.
    if not I_LFM1-ZZINTLIF is initial.
      CI_EKKODB-ZZINTLIF = I_LFM1-ZZINTLIF.
    endif.
      IF ( I_EKKO-BSART = I_LFM1-ZZEDIBSART1 ) OR
         ( I_EKKO-BSART = I_LFM1-ZZEDIBSART2 ) OR
         ( I_EKKO-BSART = I_LFM1-ZZEDIBSART3 ) OR
         ( I_EKKO-BSART = I_LFM1-ZZEDIBSART4 ) OR
         ( I_EKKO-BSART = I_LFM1-ZZEDIBSART5 ) .
        CI_EKKODB-ZZEDI = 'X'.
      ENDIF.
    But these two new fields i.e. ZZINTLIF and ZZEDI  are not getting updated in the table Ekko and the changes are not reflected on screen also.
    Please help me regarding this issue.
    Thank you,
    Arvind.

  • Screen exit deletion problem

    Hi gurus,
    i implemented a screen exit, and tranported to QAS.
    then requirement changed so i deleted the screen exit in DEV and transported to QAS.
    in DEV the transaction is working fine and in QAS it goes DUMP and says DYNPRO_NOT_FOUND.
    i check all objects in QAS, structure, screen, include , CMOD project everything deleted.
    any ideas will be really appreciated.
    Thanks
    Giri

    Hi Siva Reddy,
    For developing a screen exit you will be creating a project in CMOD or you will creating it through SPRO.
    For every exit that you are implementing, it will definitely consists of function module exits. I mean if you are going for implementing screen exits then you will be provided some screen areas. So directly from the components tab you can find all these things. When you click on the necessary screen area then it will take into SE51 and there in the PBO and PAI you can implement the code.
    In some cases when you dont find any screen areas then you will be going through SPRO configuration. You can implement through BAdi also. You can create your own subscreens as per your requirement.
    You are saying you are not able to find the screen 1000 in your transaction. You once check whether it is activated or not first.
    Still you find any more doubts there you go to SE51 and check whether the screen 1000 is activated or not, if so go to flow logic and activate all the modules. If you find inconsistency again then you delete the screen there itself in SE51.
    Then you deactivate your project first and check and then check it once again.
    Cheers,
    Swamy Kunche

  • Screen exit deletion

    Hi Experts,
    I created a sub screen with number '1000', and i assigned it to the screen exit, for transaction 'EEDMIDESERVPROV01'  but in the screen exit for this the pai and and pbo modules not working, the include ZXSERVPROVZZZ not triggering with that transaction, because of screen '1000' its not working or else, i am unable understand.
    if we want to delete this screen exit how can we delete. existing screen.
    i have seen that when we assign a screen it will generate code in standard function group for that screen, if we delete exit project also the code will delete from the standard function group, how resolve this problem.
    could any body please provide solution, how can i do the screen exit.
    Regards,
    Sivakumar.
    Edited by: siva reddy on Jul 18, 2008 4:53 PM

    Hi Siva Reddy,
    For developing a screen exit you will be creating a project in CMOD or you will creating it through SPRO.
    For every exit that you are implementing, it will definitely consists of function module exits. I mean if you are going for implementing screen exits then you will be provided some screen areas. So directly from the components tab you can find all these things. When you click on the necessary screen area then it will take into SE51 and there in the PBO and PAI you can implement the code.
    In some cases when you dont find any screen areas then you will be going through SPRO configuration. You can implement through BAdi also. You can create your own subscreens as per your requirement.
    You are saying you are not able to find the screen 1000 in your transaction. You once check whether it is activated or not first.
    Still you find any more doubts there you go to SE51 and check whether the screen 1000 is activated or not, if so go to flow logic and activate all the modules. If you find inconsistency again then you delete the screen there itself in SE51.
    Then you deactivate your project first and check and then check it once again.
    Cheers,
    Swamy Kunche

  • Screen Exit for ME23n.

    Hi Gurus,
    I hace created a project in CMOD for adding a tab in the header data.
    The screen exit used is the following:
    SAPMM06E                       0101 CUSTSCR1 SAPLXM06                       0101
    can anyone guide me as to which runtime structure has the same when i am doin ME22N.
    Best Regards,
    Navin Fernandes.

    Hi, NAVIN
    You can find these fields in Structure EKKO, I_EKKO
    Thanks and Regards,
    Faisal

  • Updating Ekpo by adding item level Screen Exit

    Hi,
    I added 2 fields at the item level of the ME21N  Screen using the following screen exit.
    ( SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item. )
    Now I just want to update EKPO table.,. How to proceed. any body know guide me.
    Thanks & Regards.
    Balajee.J

    Hi Mou,
    In this there are four methods
    1)ACTIVATE_TAB_PAGE
    2)TRANSFER_DATA_TO_SUBSCREEN
    3)TRANSFER_DATA_FROM_SUBSCREEN
    4)PASS_FCODE_TO_SUBSCREEN
    In thw first method pass the tabname,screen no,position all.
    fcaption = 'C Form Details'.
    fprogram = 'Z_VLO1N_HEAD'.
    fdynpro = '0200'. This is the screen created and kept all custom fields
    Here you the concept set and get data and move and get the values.
    TRANSFER_DATA_TO_SUBSCREEN
    set PARAMETER ID 'Z' FIELD  f_vbrk-ZCF.
    TRANSFER_DATA_FROM_SUBSCREEN
    get PARAMETER ID 'Z' FIELD   fvbrk-ZCF.
    Pass all these parameters it will resolve your issue.Check and post if need help.
    Regards,
    Madhu.

  • Runtime error in MIRO while using User/Screen exit

    Hello,
    I have implemented an exit in ABAP for MIRO which when transported to Quality server through runtime error.
    I have used EXIT (SMOD) : LFDCB001 which contains FM -> EXIT_SAPLFDCB_001 and include -> ZXM08U31. In this exit I have written my code to disable Inv. Party field. This field exist in Details Tab in Miro Transaction.
    Location of the field: MIRO -> Details (tab) -> Inv. Party (Field)
    Code written in include ZXM08U31 is:
    LOOP AT SCREEN.
      IF screen-name = 'INVFO-LIFRE'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    This exit is assigned to a project in CMOD and I tested the same in Development system. It is working perfectly.
    Now I transported the TR (Includes program ZXM08U31 and Customer enhancement projects ZMIRO). Now when I run MIRO in quality server it triggers the my logic and then through runtime error.
    Runtime error says:
    Short text
        Dynpro does not exist
    Error analysis
        The system attempted to use dynpro 0400 in program "SAPLXM08".
        This dynpro does not exist.
    I agree that screen 400 does not exists in program for MIRO but it does not exists in development system as well. So if the runtime error is valid in QEC server then why not in DEV server. And when it can run successfully in DEV server why cant it run in QEC server.
    Hope I have explained all the things in detail.
    Please provide me the solution since user can bombard anytime for the MIRO dump everytime in QEC.
    Regards,
    Harjeet Grover

    Hi Harjeet,
    Reason of your Dump is that the enhancement "LFDCB001" which you used contains one Function module exit "EXIT_SAPLFDCB_001" and another one screen exit in calling screen  "SAPLFDCB" number 0150.
    So when you activate your project these above mentioned both components were activated.
    So when you execute transaction SAP looks for called screen "SAPLXM08" No-0400 but as you havn't created and program go for DUMP.
    Solution - Just Create called screen  "SAPLXM08" No-0400 and activate.
    Thanks,
    Vijay

  • How to find out a screen exit

    hi seniors
    can any one tell me abt screen exit n thier search.
    pls hurry
    points will be rewarded
    offer valid for today only.
    Sameer

    hi,
    How to Find a Screen Exit in a Given SAP Standard T-code
    Program
    REPORT YSMOD2 .
    TABLES: MODSAP, MODACT, TSTC.
    PARAMETERS: INPUT1 LIKE TSTC-TCODE DEFAULT ' ',
                INPUT2 LIKE MODSAP-TYP DEFAULT ' '.
    DATA: SEARCH1(6),
          SEARCH2(3),
          SEARCH3 LIKE MODSAP-MEMBER.
    DATA : FIRST_ROW VALUE 'Y'.
    CONCATENATE: '%' INPUT1 '%' INTO SEARCH1,
    '%' INPUT2 INTO SEARCH2.
    SELECT * FROM TSTC WHERE TCODE LIKE SEARCH1.
    FIRST_ROW = 'Y'.
    CHECK TSTC-PGMNA NE SPACE.
    CONCATENATE '%' TSTC-PGMNA '%' INTO SEARCH3.
    SELECT * FROM MODSAP WHERE TYP LIKE SEARCH2
    AND MEMBER LIKE SEARCH3.
    SELECT SINGLE * FROM MODACT WHERE MEMBER = MODSAP-NAME.
    IF FIRST_ROW EQ 'Y'.
       WRITE: /0 TSTC-TCODE, 6 TSTC-PGMNA, 16 MODSAP-NAME, 32 MODSAP-TYP,
              45 MODSAP-MEMBER, 70 MODACT-NAME.
       FIRST_ROW = 'N'.
    ELSE.
       WRITE: /16 MODSAP-NAME, 32 MODSAP-TYP, 45 MODSAP-MEMBER, 70 MODACT-NAME. 
    ENDIF.
    CLEAR : MODSAP, MODACT.
    ENDSELECT.
    IF SY-SUBRC NE 0.
       WRITE : /0 TSTC-TCODE, 6 TSTC-PGMNA, 30 'No exits found'.
    ENDIF.
    CLEAR TSTC.
    ENDSELECT.
    END-OF-SELECTION.
    CLEAR: SEARCH1, SEARCH2, SEARCH3.
    Regards
    Sudheer

Maybe you are looking for