Problem in Screen Exit

Hi all,
I have a problem in Screen Exit. My requirement is to create one new field in ME21N transaction code, I did that using screen exit, which offers me a tab of Customer Data. That is working fine. My problem here is when the user enters the value in that(costcenter) field tax jurisdication code should populate automatically for the particular entry. I used user exit for this purpose to update taxjurcode field in the table. But after the user exit execution the rest of the program code executes and it updates the EKPO table which over writes the entries which i was updating using my user exit code. How can i get rid off this problem. Please throw some light on that. Thanks.

You are right. My user exit is also triggering that place only for the ME22n and ME23n...........it is strange for me as it is not working for ME21n. Which is not updating with the statements that i provided in User exits.
  When i am debugging the program after the user exit it is taking me to some std program where the entries were overwritten. That is where i face the problem.
Any suggestions.

Similar Messages

  • Problem with Screen EXITS.

    Hi,
    I need to to some enhancements to my std screen for T.code IE03.
    I found screen exits and Function exits for that .
    I  create the subscreen in screen exit and linking to the functional exit,
    Whem i am activiting it raises the error
    "Incorrect nesting  Before the Statement module structure  introduced by function must be conclude by endfunction."
    Can any one suggest the solution for this problem.
    Points will be awarded.
    regards,
    Jayasimha

    The Problem can be due to incorrect closing of syntex.. either in function module  or in PBO or PAI module. i.e you might have started by saying function but endfunction is missing or same goes for PBO / PAI module do check it and let us know
    No Rewards Pz..

  • Problem in Screen Exit for me21

    Hi,
    I have developed Screen Exit in ME21N ..and facing a problem where to write the code...I have a little bit confused with all the function exits...
    i used move-corresponding...in the function exit but i am getting errors ..if i am trying to activate the code it is activating...
    could you plz help me out guys ..
    points will be rewarded..
    Regards,
    Ravi Ganji

    hi,
    if u want to add new fields in the transaction, this is sample code for CNEX0006 enhancement.
    First create a project in cmod and attach the enhancement CNEX0006 to the project.
    1.go to se11 and in the PROJ table u will find ci_proj include , in this add ur custom fields.
    2.go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dict./Program fields and drag and drop in the screen .
    3. if u want to write any logic before the screen is displayed do it in PBO.
    4. now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic
    move-corresponding sap_proj_imp to proj.
    5.4. now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic
    move-corresponding proj to cnci_proj_exp.
    Activate the project .
    Hope this helps
    Regards
    Syed

  • Problem with Screen Exit (CO01)

    Hello all,
    I implemented screen exit (PPCO0012) for CO01. When I try to open customer screen tab in CO01 it is giving an error " screen SAPLXC01 100 must be an include type (screen error)".
    Can anybody put light on this.
    Thanks..
    Apps

    Hi,
    you need to change screen type of that window. You just need to change it from Normal to Subscreen in SE80. It's writtent in the ehancement documentation.
    Create subscreen SAPLXCO1 0100 with your own fields.
    Cheers

  • Problem in screen exit for Production Order

    Hi ,
    Created a screen with one field RESB-POTX1 and called it from dictioanry directly so the field defaultly assigned as RESB-POTX1. As it is a item text field and am creating in header level screen  .
    in PAI functional module exit am capturing value for this field enter by the user and updating directly to RESB table but the problem is while retreiving data in CO03 am not getting value for this field .
    In PBO when i pass value from varaible ( got through from RESB ) directly like RESB-POTX1 = l_potx1 ( variable )
    it throws an error resb-potx1 not declared . but i declared as tables : resb in pai exit .
       as am updating directly resb am not created in field aufk structure ...how to pass this value

    hi,
    if u want to add new fields in the transaction, this is sample code for CNEX0006 enhancement.
    First create a project in cmod and attach the enhancement CNEX0006 to the project.
    1.go to se11 and in the PROJ table u will find ci_proj include , in this add ur custom fields.
    2.go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dict./Program fields and drag and drop in the screen .
    3. if u want to write any logic before the screen is displayed do it in PBO.
    4. now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic
    move-corresponding sap_proj_imp to proj.
    5.4. now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic
    move-corresponding proj to cnci_proj_exp.
    Activate the project .
    Hope this helps
    Regards
    Syed

  • Problem in Screen exit for MIGO using MB_MIGO_BADI?

    hi all,
    I have customized the MIGO screen to add two fields and the data entered in these fields is saving in a custom data base table using the POST_DOCUMENT method of the BADI.
    The problem is i am unable to write the code to display these values in the MIGO, while displaying the material document.
    Please help me on how to solve this problem by suggesting the method or sample code?
    Thanks,
    Vamshi.

    Hi,
    Under the line modify method declare a flag and set to u2018Xu2019 checking for material document number by which we can set the fields to be in display mode when we open MIGO for display of material document created after doing goods receipt.
    in method IF_EX_MB_MIGO_BADI~LINE_MODIFY
    if not cs_goitem-mblnr is initial.
    flag = 'X'.
    endif.
    Do write the code in PBO of the screen.......which you have created ....
    In order to make the fields to be in display mode during the display of material document, create a module under PBO and import the flag value and the production order number details in the method LINE_MODIFY and if that flag = u2018Xu2019, use  
    LOOP AT SCREEN.
    IF SCREEN-NAME = 'ZZGBAGS'.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Thanks,
    Shailaja Ainala.

  • Problems in screen exit of COR1 and  COR2

    Hi Experts
    I have enhanced the cor1 or cor2 screen using the enhancement PPC00020 AND APPENED THEtwo fields IN AUFK table
    and CAUFVD and i am passing the value through EXIT_SAPLCOKO_006
    and i have added the code like this
    tables : caufvd.
    move-corresponding caufvd to e_coci_aufk
    But it is not saved in the aufk table.
    Please help me
    Regards
    Manoj

    Hi ,
    Write the code in
      MODULE status_0900
    it will creates new include program. In that include program you will definetly get the field you require.
    Syntax :--
    loop at screen .
          if screen-name = '*******'                     " Name of the screen element to deactiive...
                   screen-input = 0.   OR   screen-active = 0.
                   MODIFY SCREEN.
          endif.
    endloop.
    Put a BREAK-POINT at the screen-name statement & check.
    Regards,
    Venu.

  • Problem with screen exit CNEX0008

    Hello,
    Some one activated the exit CNEX0008,because of that it is going short dump.
    Could you please let me know, how to deactivate the exit.
    Thanks and regards,
    Pavan Meda

    HI Pavan,
    Goto SMOD and give this EXIT name there you willl find the function modules when you go into the include programs you find the code, if you want you can comment the code over here or find the project from here in the where used list and take the Project and goto CMOD and deactive the Exit.
    Srini

  • Problem in  transporting MIGO BADI screen exit?

    Hi all,
    I have implemented MB_MIGO_BADI for screen-exit of the MIGO.
    Whem transporting I am getting an error that                                                                               
    Table ZMIGO_BADI_EX_SCREEN_FIELD could not be activated                      
    (E- Routine EXPAND (Table ZMIGO_BADI_EX_SCREEN_FIELD could not be expanded) )
    Table Type ZTY_T_EXTDATA could not be activated                              
    (E- Row type ZMIGO_BADI_EX_SCREEN_FIELD is not active or does not exist ) .    
    But this row type is in the same request number and activated also ?
    I am unable to identify the reason. Please help me to solve this problem?
    Thanks,
    Vamshi

    Hi,
    Go to se80 and display the program name which you might have given in methof IF_EX_MB_MIGO_BADI~PBO_DETAIL and activate the screen which you have created,
    Thanks,
    Shailaja Ainala.

  • Problem activating a project with screen-exit

    Hi!
    Could somebody guide me to activate a project that has the enhancement MM06E005, with many screen-exits?
    In this enhancement, has many screen exits and I only implemented the 0101 screen (it's appears in me23n).
    When I activated the project, the CMOD activated all the screen-exits and put a flag means that all screen exits is implemented, and I only implemented the 0101 screen.
    And the problem is, I send the request with this activated project to production and the transaction ME41 generated a dump cause the screen 0301 not is created (this 0301 screen is in MM06E005 and I'm not use, I'm not implemented, but the CMOD activated).
    I was clear with my problem?
    Thanks in advanced!!!

    Hi,
    That is because it checks whether that exit has been implemented or not.
    In case it finds no screen it doesn't go and look for it.
    My concern is that in Dev if you go and check against that screen which is giving error it should say something like 'there is no screen existing ' or something to that effect but if by mistake when you click it shows a screen then there is an issue.
    Also, for the solution, what you can do is deactivate this enhancement project in production and then in Dev also deactivate it. Delete this project and assign it to a new project and then sent it to Production.
    I am sure this will solve your issue.
    I have also checked in my system and when you activate an enhancement project it put's a 'tick' mark against each screen exit meaning it's implemented even for those which have not been created and we are not experiencing any issue currently in this regard
    Hope this helps
    Regards
    Nishant

  • Screen exit  : Field disable Problem

    Hi all ,
    I am facing  a  problem guys in disabling  the screen field
    In this screen exit  ECSCC001 , i have created a  push buttons and check boxes
    ECSCC001      FI-CA Customer Contact: Sub screen Integration and Field Test
    I am not able to disable those Fields using * loop at screen, screen-input = 0 .modify * 
    My requirement is to disable those fields depending upon the condition
    kindly suggest with a helpful solutions
    Regards

    Hi,
    have a look at transaction OLMRLIST and create a variant for
    program SAPLFDCB
    dynpro   0150
    There you´ll be able to set field INVFO-LIFRE to "Display Only".
    Later you will have to attach this variant to a transaction variant.
    Best regards.

  • 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.

  • Problem while transporting Screen exit object from DEV to QAS client

    Hello All,
    I have developed screen exit for tcode 'ME51N' to add customer field in newly added TAB. To grayout that field in display mode, I have added code on the PBO event of that screen. Code for PBO even has been written inside the include. Exit is working fine on development client.
    After transporting the exit on QAS client the field graying out functionality in diplay mode is not working eventhough the include which contains the code for PBO even is exist on QAS. Also in flow logic if i double clock on the PBO module event, it says object does not exist, eventhough the include which contains the PBO event code exist in QAS.
    Please, help me to understand why the linkage between flow logic PBO event and the include where the PBO code has been written is not getting transported from DEV to QAS.

    Hi,
    First check the TR log if there is any errors. If no errors, then check if all the objects were properly transported or not.
    You might have missed out in transporting the enhancement activation(CMOD).
    Try to Rebuild the object list for updating the navigation index. You can do this from SE80=>Rightclick on function group=>More functions=>Rebuild object list.
    Thanks,
    Vinod.

  • Screen-Exit MM01/MM02/MM03 - Problems when I try to retrieve the data saved

    Hi guys,
    I created a Screen-Exit in the Accounting View of MM01/MM02/MM03 because I need to insert data into the fields of an Append Structure of the table MBEW, that I created.
    So, I can insert the data through an User-Exit. I Export to the Memory the data from my Screen-Exit and I modify the Fields content of MBEW inside of this User-Exit.
    I need to select these data and show it, because the selection is not automatic. I don't know if it could be automatic.
    Inside of the Screen-Exit there are some tables available, but they are empty and I can't retrieve the data because I don't have
    the Material Number nor other data of MBEW. When I run MM02, for example, the User-Exit is not started and so
    I can't export the data to the Memory and after that to select the data. This User-Exit is only started when I save the data...
    I found not any BADI too...
    Please, could someone help me?? How I could solve this question?
    Thanks a lot!
    Regards,
    Marcos Fernando Dotta

    Hello Marcos,
    Please see OSS note 44410 - Integrating cust. - specific fields in matl master.
    Kind Regards,
    Rae Ellen Woytowiez
    Link:  [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=44410]

  • 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

Maybe you are looking for

  • How do I move multiple emails from Inbox to a specific folder?

    I have left a lot of emails in my Inbox that should have been moved to specific folders. How do I move them in bulk to their specific folders other than moving each one individually. I have highlighted the messages concerned by searching and then sel

  • Issue when running acutal Off-cycle payroll in India!

    Dear experts! I have an urgent issue when running ACTUAL off-cycle payroll in India as below: "Payroll already performed once in future". In testing mode, everything is fine. I have tried to check payroll result in pc_payresult and pu01, and Infotype

  • Transaction Code assignment for Query created in SQVI

    Dear All, Good morning I hope you are doing great... Can any body help me out to assign transaction code for Query which was created through SQVI transaction. Regards, Murali.

  • Erasing Time Machine hard drive after formatting for both PPC and Intel

    Ok, I made a mistake. First I formatted a Western Digital 500 gig hard drive for both my wife's PPC G4 laptop and my own Intel MBP laptop, so we could both use Leopard's Time Machine for backing up to the same drive. That wasn't my mistake though, it

  • How to refresh list item values before report is run?

    We have two SELECT LIST items (drop boxes) on our report. One SELECT LIST has values of "World Region" (e.g. NORTH AMERICA, SOUTH AMERICA, EUROPE, ASIA) the other SELECT LIST has values of "Subregion" (e.g. NORTHERN EUROPE, SOUTHERN EUROPE, SOUTHEAST