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
Similar Messages
-
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.
JayHi,
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 -
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. -
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.! -
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
GiriHi 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 -
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 PMHi 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 -
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 GroverHi 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 -
hi seniors
can any one tell me abt screen exit n thier search.
pls hurry
points will be rewarded
offer valid for today only.
Sameerhi,
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 -
Creation of sales order- screen exit
Hi all,
I have a requirement like while creation of sales order need to develop one screen field in additional data B.i developed that field. and now while creation of sales order it will save in vbak table. now the problem is that screen field will be enable in that particular sales order type only otherwise it will be disable. how to do this. screen exit.Hi
See SAP Note 209278 - Display of customer-specific fields in sales doc
Check also, SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B' and SAP Note 386694 - Additional data not displayed in screen 8459 and 8309
Regards
Eduardo -
Screen-exit for profit center creation - transaction KE51.
Hi All,
Background: The client has the requirement of importing profit centre master data from legacy system into SAP ECC system. Few of the legacy data could not be filled into existing sap fields, hence the requirement has been to populate the data into custom fields.
The client also has the requirement, that the same fields are required during online entry. For this we need to enhance the profit centre creation screen (transaction code KE51) with two additional custom fields.
Requirement: To enhance profit centre creation screen with custom fields. Screen-exit for KE51 transaction.
Pre-work: Program SAPLRKPM in SAP ECC system is the main program. It does not have any screen or sub screen area for custom fields addition. Debugged the program to check for screen-exits, found none.
Below user-exits are not either screen-exits or cannot be used for enhancing profit center screen.
PCA00001 EC-PCA: Document changes for data transfer
PCA00002 Profit Center Accounting: derivation of representative mat.
PCA00003 Derive Partner Profit Center for External Deliveries
PCA00004 Check valuation for invoice verification with transfer price
PCA00005 Check valuation for invoice verification with transfer price
PCASELEK EC-PCA: Selection criteria for data transfer
Solution required for: Could anyone please let me know if it is possible to enhance the profit center creation screen. If yes, please provide the names of the screen-exit/ badi exit.
(Just a thought, modifying the standard seems to be the only solution, this should be the last option and i agree, please provide your inputs.)
Thanks in advance.
Warm Regards,
Goutham.Thank you Manohar for the response.
The requirement is to display custom fields on standard sap screen and there are no screen-exits. So, i suppose the standard screen has to be modified.
Could you please provide brief explanation on
May be you should consider maintaining custom mapping table instead of going for chaning standard.
With Regards,
Goutham. -
Screen exit/BADI for adding custom field in IW31/IW32
Hi all,
The requirement is to add the permit field in the Header component of IW31. Searched SDN and found user exit IWO10018 for the same which includes a screen exit.
The activation of the same is adding a tab in the screen while user wants the field under header Component tab.
How this can be done. Any suggestion.
Thanks
anyaHi,
You can perform append structure to add your custom field(s)in VBAP table. Next step, go to SE51 (Screen Painter)to modify SAP Program SAPMV45A Screen number 4459 for Additional data A or Screen number 8459 for Additional data B to add your append structure custom fields.
Once the above steps done, you can place your logic to populate custom fields in include program MV45AFZZ. i.e USEREXIT_MOVE_FIELD_TO_VBAP.
At the end, please ensure all program and screen are activated. Hope this will help.
Regards
Kiran Sure -
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 -
Fields not greyed out in display mode in screen exit
Hi all,
i am working on an screen exit for CJ02 transaction. the values in the customer subscreen are getting updated in database and even it is reflecting in fields when viewed again. the problem is that in display mode (CJ03) the fields are still editable. though there is no save button, but the fields should be greyed out.
i have tried to modify screen using LOOP AT SCREEN in the function exit provided in PBO.....but it is not picking the subscreen.
please provide any solution as soon as possible.
thanks in advanceIn the PBO in your screen exit:
IF sy-tcode EQ 'CJ03'.
LOOP AT SCREEN .
if screen-name 'your field'
screen-input = 0.
screen-output = 1.
MODIFY SCREEN.
ENDIF.
endif.
what enhancement are you using?
bye -
Add one column to the screen exits
Hi All
I am doing Screen Exits,
here i have to add one column to the screen
and it have to retrive the data from the specified fields
anyone plz give me the solution.Hi
which screen exit?
Max -
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,
VamshiHi,
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.
Maybe you are looking for
-
Acrobat Install Error with 10.9.1
Tried installing Adobe Acrobat XI running Mac OS 10.9.1. Received the following error: "The Installtion Failed. The Installer encountered an error that caused the installtion to fail. Contact the software manufacturer for assistance." The only op
-
Since InstallIng Yosemite on my Macbook I cannot use weTransfer, it says I need to install latest flash but using chrome, already has flash? Looked this topic up, and the same question appears, but with no answer? Can anyone help solve this riddle? T
-
We are using Labview to create a exe file. However when a user reopens the exe all the user settings in the labview exe are lost. These settings are mostly switches either turned on or off. I would like to find a way so that once the switches are set
-
Metro Ethernet Design With Redundant Head Ends
We're getting ready to turn up some metro ethernet circuits that were just installed by AT&T. AT&T has provided a VLAN for each remote site (so each site has its own VLAN), and those VLANs are trunked to our head end switches (Cisco 3750 Metro Switch
-
How to search keywords by synonym (Lightroom CC)
Hi I'm using a hierarchical keywording for animal taxonomy, it is based on the "official" latin names, vernacular names in various languages are included as synonyms. Is there a way to search for keywords using their synonyms? The search box seems to