Module Pool MP000200_CE in Screen Modifications
Hello,
My query is regarding screen modifications table T588M. When the module pool MP000200_CE is used? I know it is used when the Concurrent Employment is active and we have activated Concurrent Employement in our system but when I go to the system - status in IT0002 and check the screen number, it shows MP000200 and not MP000200_CE.
How to activate the screen MP000200_CE for IT0002?
Thanks.
For the infotype 0002 for the modulepool MP000200_CE, only screens
2007 and 2010 are needed. concerning the infotype 0002: the corresponding modulepool (MP000200 or MP000200_CE) will be read according to the country and the table T582ITD. If no entry exists for this country then the modulepool MP000200 will be used for the infotype 0002.
Similar Messages
-
Module pool ( call multiple screens )
hi abapers,
in module pool program ,
iam call one screen into another screen .
ex : screen no . 100
iam designed table control with some column fields .
iam call one of column field of table control into another screen,
at that time last record value of that field will comes to the other screen.
but i want, what of the selected value of field value comes to the other call screen number.Hi Raj,
Use GET CURSOR FIELD FNAME VALUE FVAL.
Whis is a syntax for system can identify yhe record i.e we can able to select one record from screen 100 is transferred to screen 120.
FNAME ---> Field Name
FVAL----->Value Which is selected from that Value (screen 100)..
Regards
Ranga -
Dialog Programming(module pool):call a screen to subscreen area.
Hi experts,
I want to call a screen created in the function group into my
subscreen area of current screen of main program.
I have done the below way :
1. Created a screen 100 in the module pool program z_bpmodule.
2.created a subscreen area SUB in screen 100.
3. I hav created function group :zfungroup
and a screen 300,a function module Z_EXPORT_FUN for exporting the data to the screen 300 from report.
Now my prog is lik below :
PROGRAM Z_SUBSCREEN1.
DATA : ZMATNR LIKE MARA-MATNR.
DATA : DYNNR LIKE SY-DYNNR .
*& Module STATUS_0100 OUTPUT
text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'TITLE'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module EXPORT_DATA OUTPUT
text
MODULE EXPORT_DATA OUTPUT.
CALL FUNCTION 'Z_EXPORT_FUN'
EXPORTING Z_INPUT = ZMATNR.
ENDMODULE. " EXPORT_DATA OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'EXP'.
DYNNR = '0300'.
*ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
and the flow logic is lik this :
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
MODULE EXPORT_DATA.
CALL SUBSCREEN SUB INCLUDING SY-REPID ' 0300'.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
CALL SUBSCREEN SUB.
Now the main problem is i am not able to call the screen from function group to subscreen area...
kindly provide the solution.....
Thanks a lot in adv ....
Brahma.I am just getting the main screen and the subscreen is not at all displaying .....
but when i perform the PAI .. I am getting the dump ..
Short text
Dynpro does not exist
What happened?
Error in the ABAP Application Program
The current ABAP program "Z_SUBSCREEN1" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
The system attempted to use dynpro 0000 in program "Z_TX1".
This dynpro does not exist.
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DYNPRO_NOT_FOUND" " "
"Z_SUBSCREEN1" or "Z_SUBSCREEN1"
"EXPORT_DATA"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
hope i have given the full information.
Thanks a lot. -
Module Pool with Selection Screen
I have a module pool in which I've created a sub screen to accommodate select-options.
SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
select-options: r_matnr for mara-matnr.
selection-screen end of screen 1010.
I've put this selection screen in an include of the module pool.
Now I can't seem to see my variable, r_matnr, in the program. How to I pass the value to the program and what have I done wrong. Perhaps where I placed the selection-screen.
Any help would be appreciated.
PS... I can see my screen but when I put the debug on, no value is in r_matnr.
Thanks MarianneHi Mariane,
Placing the selection screen declarations in an include does not make any issues. Can you please check your code. For your reference, I am placing a simple piece of code, in which I am also calling a selection screen from within a module pool and displaying the output of the select options. Execute this code and check what is the difference between your code and this.
REPORT zabi_test04.
INCLUDE zabi_test04_i001.
INCLUDE zabi_test04_i002.
START-OF-SELECTION.
CALL SCREEN 9000.
*& Module STATUS_9000 OUTPUT
* text
MODULE status_9000 OUTPUT.
SET PF-STATUS 'STAT9000'.
SET TITLEBAR 'TL1'.
ENDMODULE. " STATUS_9000 OUTPUT
*& Module USER_COMMAND_9000 INPUT
* text
MODULE user_command_9000 INPUT.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
LEAVE PROGRAM.
WHEN '&SELECT'.
lv_dynnr = '1001'.
CALL SCREEN 9001.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPUT
*& Module STATUS_9001 OUTPUT
* text
MODULE status_9001 OUTPUT.
SET PF-STATUS 'STAT9001'.
SET TITLEBAR 'TL2'.
ENDMODULE. " STATUS_9001 OUTPUT
*& Module USER_COMMAND_9001 INPUT
* text
MODULE user_command_9001 INPUT.
save_ok = ok_code.
CLEAR ok_code.
CASE save_ok.
WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
LEAVE TO SCREEN 0.
WHEN '&EXECUTE'.
WRITE s_matnr-low.
LEAVE TO LIST-PROCESSING.
ENDCASE.
ENDMODULE. " USER_COMMAND_9001 INPUT
*& Include ZABI_TEST04_I001
TABLES : mara.
DATA : ok_code TYPE sy-ucomm,
save_ok TYPE sy-ucomm,
lv_dynnr TYPE sy-dynnr VALUE '1001'.
*& Include ZABI_TEST04_I002
SELECTION-SCREEN BEGIN OF SCREEN 1001 AS SUBSCREEN.
*PARAMETERS p_werks TYPE t001w-werks.
SELECT-OPTIONS s_matnr FOR mara-matnr.
SELECTION-SCREEN END OF SCREEN 1001.
Regards,
Abijith -
How to create a Drop down with values in Module Pool for a screen field.
Hi all,
I have created a Screen on which one field is created Say Bank Name. I would like to give some spcific value for this fileld where user can select only seeing in drop down cann't enter.
Can anyone tell how can we do it ?Hi,
The selected value key will be stored in the parameter.
eg: Refer below code. Here if i select Vinod then po_name will be 1. After this read i_values WITH this key and get the actual value.
PARAMETERS: po_name(30) TYPE c VISIBLE LENGTH 20 AS LISTBOX.
TYPE-POOLS: VRM.
DATA: i_values TYPE vrm_values,
wa_values LIKE LINE OF i_values.
AT SELECTION-SCREEN OUTPUT.
wa_values-key = '1'.
wa_values-text = 'Vinod'.
APPEND wa_values TO i_values.
wa_values-key = '2'.
wa_values-text = 'Kumar'.
APPEND wa_values TO i_values.
wa_values-key = '3'.
wa_values-text = 'Reddy'.
APPEND wa_values TO i_values.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = 'PO_NAME'
values = i_values
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
START-OF-SELECTION.
READ TABLE i_values INTO wa_values WITH KEY key = po_name.
MOVE wa_values-text TO w_name. " This will be ur actual value.
Thanks,
Vinod.
Edited by: Vinod Reddy Vemuru on Jul 8, 2008 4:16 PM -
Module Pool Programming - noninput screen
Hi Folks,
I have a requirement where i need to have check box.When check box is checked screen fields should be enabled else it should be disabled. Please suggest me.
If the checkbox is checked fields should become mandatory.
Please suggestPROGRAM ZSRK_025 .
DATA : F1 LIKE VBAP-VBELN,
F2 LIKE VBAP-POSNR,
F3 LIKE VBAP-NETWR.
DATA : CH1,
CH2,
CH3.
*& Module STATUS_0100 OUTPUT
text
MODULE STATUS_0100 OUTPUT.
IF CH1 EQ 'X'.
LOOP AT SCREEN.
IF SCREEN-NAME = 'F1'.
SCREEN-INPUT = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF SCREEN-NAME = 'F1'.
SCREEN-INPUT = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
IF CH2 EQ 'X'.
LOOP AT SCREEN.
IF SCREEN-NAME = 'F2'.
SCREEN-INPUT = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF SCREEN-NAME = 'F2'.
SCREEN-INPUT = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
IF CH3 EQ 'X'.
LOOP AT SCREEN.
IF SCREEN-NAME = 'F3'.
SCREEN-INPUT = 1.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF SCREEN-NAME = 'F3'.
SCREEN-INPUT = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100. -
MODULE POOL and selection screen
Hello Friends,
I need some help in ABAP. Please give me the overview, how to go about it?
My scenerio is:
I want to write an ABAP code which will display drop down list(list will have few years mentioned in it) on the first screen.
Thn after selecting the year I would like to display months corresponding to that year(it can be in the same screen or some other screen). Now when the user enters some details as per the months, he should het some output after execution(on the same screen or the other).
Please help me with it, so that I can proceed with my deelopment.
Looking forward for your reply.
Regards,
Lokesh
Edited by: LOKESH_SAP on Mar 9, 2010 10:48 AM
Edited by: LOKESH_SAP on Mar 9, 2010 10:48 AMHi,
Use this link, simple steps to learn to display data in ALV Grid.
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/learn%252bto%252bdisplay%252bdata%252bin%252balv%252bgrid
That was a basic sample code to display data in first alv, now follow the below steps to make it interactive.
When you double-click on any cell of alv grid, use this code to fetch the data of the line that you currently clicked, its working:-
When you double click on the ALV grid line, you will have sy-ucomm = '&IC1'.
So when you define a i_callback_user_command for the FM reuse_alv_grid_display, and create it as:-
FORM command USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
DATA : ok_code TYPE sy-ucomm.
ok_code = ucomm.
CASE ok_code.
WHEN '&IC1'. "for double click on alv grid line
" your code
ENDCASE.
ENDFORM.
As you have used selfield TYPE slis_selfield, the field selfield will hold all the values.
To know on which row you have clicked and to retain that line, use code:-
Suppose you are currently displaying data from internal table itab and corresponding to it you have work area wa.
Now to know the field name that you clicked, use:-
selfield-fieldname " will fetch you the name of field that you clicked
Now using the work-area and the name of field that you clicked, you can easily make out the details of the field i.e., field name and field value and you can code as per your requirement.
Now here you can create a new field catalog and call another FM 'REUSE_ALV_GRID_DISPLAY' to display further information in the next grid based on the value obtained when user double clicks a cell.
Hope this helps you.
Thanks & Regards,
Tarun Gambhir -
Selection- screen in module pool
hi all,
how to create selection screen in module pool programing,
in screen attributes of module pool, 4 screens are present, but selection screen radio button has been disabled.
how to work by using selection screen radio button.
Regards
SuprithHI Suprith,
You ll find a LAYOUT button on the application tool bar just click that button sceen painter sceen will be opend there you have to design your selection screen. Letf side of the sceen painter you see the options use the options as per your requiment and activate . If you are using module pool program go to SE93 create the t-code and give the program name and the screen name which you have created in se51.
hope this will help you...
reward if useful
regards,
sunil kairam. -
Making a screen in module pool program web based
I have developed a module pool program with screens and flow logic. I want to make that application web based. Is there any option to make it web based or I have to write the fresh application in bsp. Please suggest
Sucheta,
You unfortuantely need to re-write that application as BSP. If you separated your business logic from the screen logic, then all you will need to do is rewrite the screen logic and not the whole application.
Take care,
Stephen -
My Requirement is an application to be developed in Module Pool where one screen will be responsible for create,change and display.Let's talk abt an application to create sales order using module pool,this application will have 1 screen where user will input all the required data to create sales order and same screen will be used for displaying and changing sales order . Help is appreciated.
The same screen will be used.
But in Background what is happening...?
If it is create they open the Fields for Input.
if it is change they open the fields for edit/input
if is display then it will be in Display mode.
We can achieve that using LOOP AT SCREEN and modify the screen fields.
If you take the same example
T180-TRTYP contents 'H', "Creation
T180-TRTYP contents 'A', "Display
T180-TRTYP contents 'V', Change
in sales order creation based on the parameter TRTYP , the screens will be changed from Display to Change etc.
According to the Parameter value the coding is done in side sales order application. -
Need help in module Pool programming.
Dear gurus
I'm stuck in a step of Module Pool program
Steps i used for enhancement in XK01.
1) i appended a structure in table LFA1 having two fields A and B.
2) then i went to IMG-> Logistic -> Business Partner-> Vendor -> Adoption of Customer's Own Master Data Fields -> Prepare Modification-Free Enhancement of Vendor Master Record ( Here i created my screen group Z1 without Function Code.
3) then i created below module pool program. of screen 9999 and in layout i added to fields to display A and B which i appended.
PROGRAM ZSNAK_XK01.
TABLES: lfa1.
module status_9999 output.
endmodule. " status_9999 OUTPUT
module user_command_9999 input.
endmodule.
4) After this i wen to IMG-> Logistic -> Business Partner-> Vendor -> Adoption of Customer's Own Master Data Fields ->
Business Add-In: Processing of Master Data Enhancements ( Here i created my implementation on method CHECK_ADD_ON_ACTIVE and added this code
if i_screen_group eq 'Z1'.
e_add_on_active = 'X'.
endif.
5) then i went to IMG-> Logistic -> Business Partner-> Vendor -> Adoption of Customer's Own Master Data Fields ->
Business Add-In: Customer Subscreens. and created my implementation on method GET_TAXI_SCREEN where i have written this code.
e_screen = '9999'.
e_program = 'ZSNAK_XK01'.
e_headerscreen_layout = ''.
After activation when i execute t-code XK01 i see my button there after INFORMATION BUTTON when i click on it i get following error.
Incorrect screen type: Screen is incorrectly defined or used.
The attribute screen type with the values 'Normal Screen' and
'Subscreen' determines the use of the screen. If a normal screen is used
as subscreen or vice versa, an error occurs.
The screen "ZSNAK_XK01" 9999 has, in this respect, an inappropriate screen
type.
Please guide me
Regards
Saad Nisar.I think you have defined the screen 9999 as normal screen. go to attributes tab of the screen and make it as "subscreen' (radio button) and activate
a® -
How can i decleare select-options in module pool table control?
Hi everybody!!
Can anyone tell me how can I decleare select-options in module pool table control screen?. I have declared it in a screen with a table control but a dump is triggered due to an error when generating the selection screen.
Regards...My suggestion will be try to use fm
call function 'FREE_SELECTIONS_DIALOG'
Please search this forum you can find lot of threads related to this.
a® -
Hi All,
I have created 1 module pool program with screen no. 0100. But the statement CALL SCREEN 0100 is not getting executing its showing error i.e ' statement cannot be accessable' even i have created and activated the sceen 0100.
Thanks...
kiranHi kiran,
Open you program in se38 menu bar -> GOTO -> ATTRIBUTES and check wheather it is executable program or module pool program.
if it is exeutable program then u can call the screen 0100 as ur intial screen. if not ur given type as module pool then u have to create a transaction in SE93 and give the screen name in that and prgoram name then it will display the screen which u hv created .
if you want to show the screen 0100 as ur initial sceen in module pool program without using transaction it is not possible so use either executable program and use the stament call screen 0100.
<b>reward if useful </b>
Regards,
sunil kairam. -
Field validation in Module Pool
Hi,
In my module pool, on main screen there are various fields, now out of these i've to give validation for 4 fields through a drop down field such that:
There are 2 items in my drop down, when 1st item of drop down is clicked then out of 4 fields for which i've to give validation, 2 should be Active (should take input) and other 2s should be inactive.
And if I click the 2nd item of dropdown then there shoud be vice versa(inactive ones should b active now and active ones should be inactive now).
Also got the function module VRM_SET_VALUES & a program DEMO_DYNPRO_DROPDOWN_LISTBOX for dropdown but don't know how can I use. If anybody can tell for either of or for both probs then will be a great help.Hi,
As for the question regarding (de)activating fields:
parameters: pa_list ... "your listbox
data: st_first_two type i value 1, "status of first two fields,
st_last_two type i value 0. "status of last two fields
at selection-screen. "in PAI
"determine status of fields depending of what was choosen
if pa_list = '1st_item'. "if first item picked
st_first_two = 1.
st_last_two = 0.
else. "2nd picked
st_first_two = 0.
st_last_two = 1.
endif.
"now change them
Loop at screen.
if screen-name CS 'First_field' or
screen-name CS 'Secodn_field'.
screen-input = st_first_two. "(de)activate first two fields
elseif screen-name CS 'Third_field' or
screen-name CS 'Fourth field'.
screen-input = st_last_two. "(de)activate last two fields
endif.
modify screen.
endloop.
This way you can in turn activate/deactivate your fields depending of the item picked in the listbox.
As for the question, this fm (VRM_SET_VALUES) is used to populate possible entires in the listbox in PBO (AT SELECTION-SCREEN OUTPUT) which user can later pick. It is usually used to fill data with your custom structure, not the DDIC one. Go through this demo and see step by step how data are populated to listobox (just before screen is displayed).
Also refer [this link|http://sap.niraj.tripod.com/id38.html]. It gives quite good explanation how it should be used.
Regards
Marcin -
COPY THE STANDARD SAP MODULE POOL PROGRAM
HOW I CAN COPY THE STANDARD SAP MODULE POOL PROGRAM ((INCLUDING SCREENS) INTO Z REPORT?
Hi,
Go to transactionSE38 ABAP Editor.Type the program name.Click copy.It will ask whether you want copy documentation,screens,etc.,
Check mark it.
Maybe you are looking for
-
Screen locked with non-English keyboard layout selected
Hello, I use two keyboard character sets for keyboard. The switch between them is Command-Space. I also have password requirement for waking up or going from screen saver. Now if screensaver starts with non-English layout selected, I'm not able to lo
-
Photo app on ipad randomly switches to photos not in the album
I added a new album of photos from my pc to my itunes to use as a slideshow to showcase specific photots. It is the oddest thing, part way through the slideshow it will randomly pull photos not included in the album and show them in the slideshow. Ha
-
Indesign library drag drop looses xml attributes of Table tag
Hi all, I have created a Table with 1 row and 3 coloumns, I have text in all 3 cells. I have attaced xml tags to cell text and after that I have added attibutes to Story tag, Table tag and Text tag. I have drag this table frame to Indesign libr
-
How do I get iTunes to sync/backup/store to my D: rather than C: ?
-
Poll: What is Your Web Start Project of the Year 2003?
Hi, The Saturn Times announced the nominations for the "Web Start Project of the Year 2003" award today. The line-up includes: * NetX * OpenJNLP * Xito BootStrap * JDistro/Warf * Web Application Launcher (WAL) * Web Start Services Pack * Apollo * Rac