How to pull stars for SSN field in PA30 screen
Hi all,
When user display the Employee Personal Details (0002) using PA30.
I have to display the SSN field with stars.
ex: If original SSN is 123 45 6789
I have to display it as *** ** 6789
Thanks in advance
The only thing I can think of is finding a BAdI or user exit (screen exit) in which this field can be accessed / changed. Otherwise you might be looking at a modification of standard SAP.
Do you try and find some display options in customizing?
Similar Messages
-
How to create tcode for modulepool program with selection screen?
hi,
How to create tcode for modulepool program with selection screen?
thanks,
sagarHi,
We need to goto SE80.
In our program we right click on object name and goto create
-> transaction. Enter the module pool program and screen number and save and activate.
Or by SE93 also we can create a transaction code for our program.
Hope ths helps.
plz reward if useful.
thanks,
dhanashri..
Edited by: Dhanashri Pawar on Jul 22, 2008 8:29 AM -
How to give References for the field in the Abap Query
Dear Freinds,
I am not able to get Text for Cost Centre which iam using in My custom infotype , when iam calling the Custom infotype in abap querry i dont find the T symbol for my field Cost Centre , since i have created in my custom infotype for Cost Centre similar to the infotype 0001. When i look at the
infotype 0001 fields in my abap query i can see that there is T field for P0001-KOSTL and again if i double click on it i can see that in the REFERENCES Tab i can see " Function Module:HR_TXID_KOSTL" . Could any one let me how i can assign to my custom field "Function Module:HR_TXID_KOSTL " in the References Tab.
Regards
divyasolved the problem
-
How to show asterisk for required fields in a table row?
Hi Folks,
For showing the asterisk (*) for required fields in a form, I used to give required="true" for the component and surround the component with a af:panelLabelAndMessage for which I set showRequired="true". How to do this for a component in a table row. For a component in a table, there is no label per se. The required=true flag in the component shows proper error message saying that it is required but there is no (*) for that component.
Thanks
VishalTable does not have any required attribute.But column has showRequired property .You can used this.If column has input text then also you put required true on this component.And set your required messages there .
It will resolve your problem
Thanks
Prateek -
How to extract data for these fields from R/3 ?
Hi frnds,
My requirement is to extract the following fields which
are related to MM: Condition type, condition
value, Bill of lading, Qty in external delivery note,
Different invoicing party, Invoicing document from R/3 to
BI. But i found that they are not in any purchasing
datasources or inventory datasources ( Except different
invoicing party but the values are not picking up through
standard extractors ).
Anyone please tell me are there any standard datasources for extracting these fields ?
If not, if i want to enhance datasources for these fields
which datasource do i need to enhance i.e
2lis_02_itm,2lis_02_scl,2lis_02_s012 or 2lis_03_bf,
2lis_03_um ?
Full points will be assigned.
Regards,
Bhadri M.Hi.......
I think you have filled the set up table..........and you have replicate the datasource also.......and after replicating you have activated in the BI side........
Then it should extract the data............
Are you in BI 7.0...........
You try one thing...............
Replicate the datasource again............and then activate the transfer rules using program : RS_TRANSTRU_ACTIVATE_ALL...........
Also check the selection tab of your Infopackage........may be you are giving some selection.........also check if it is coming till PSA..........if it is coming till PSA.....then check your transformation and DTP.......
It may help you...........
Regards,
Debjani..........
Edited by: Debjani Mukherjee on Sep 21, 2008 11:18 AM -
Reg:how disaplay selection range for date field
hi all
can you please let me know how to write the code in wdabap to display a date field with range option.i mean in abap we use at selection screen ,but coming to wdabap can you help how to write the code in wdabap.
Thanks in advance
DeepikaTo simplify the requirement, let me consider the followign understanding:
1. You need few fields in the selection screen. They need to be select options and some parameter fields.
2. The user clicks the button. You need to read teh user entered data.
Once, you have teh data in your code, assign it to the context node - attributes. later, you need to decide what you shoudl do with that data.
Sol: 1. To obtain fields into selection screen, use the component "wdr_select_options" and *** the interface view into your window. Make the view as default.
Now, you need to build the select options. Firstly create a method or insert the code in init().
DATA: lr_componentcontroller TYPE REF TO ig_componentcontroller,
l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
create the used component
l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ).
IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
l_ref_cmp_usage->create_component( ).
ENDIF.
wd_this->m_wd_select_options = wd_this->wd_cpifc_select_options( ).
init the select screen
wd_this->m_handler = wd_this->m_wd_select_options->init_selection_screen( ).
wd_this->m_handler->set_global_options(
i_display_btn_cancel = abap_false
i_display_btn_check = abap_false
i_display_btn_reset = abap_true
i_display_btn_execute = abap_false ).
Adding a block (type Tray) to the select-options
wd_this->m_handler->add_block(
i_id = `BSC01`
i_block_type = if_wd_select_options=>mc_block_type_tray
i_title = `Selection Screen` ).
Adding a parameter field to the created block
Create a reference to the type of customer number KUNNR
CREATE DATA lr_field TYPE kunnr.
Sets the airline code initial value
ASSIGN lr_field->* TO <fs_field>.
Add the parameter to the group
wd_this->m_handler->add_parameter_field(
i_id = `KUNNR`
i_within_block = `BSC01`
i_obligatory = abap_true
i_value = lr_field ).
FREE lr_field.
Adding a select-options field to the created block
Create a reference to the material number range table
lr_field = wd_this->m_handler->create_range_table( `MATNR` ).
Add the select-option to the group
wd_this->m_handler->add_selection_field(
i_id = `MATNR`
i_within_block = `BSC01`
it_result = lr_field ).
FREE lr_field.
The code with method "set_global_options" is used to make the buttons visible or disappear.
Its convinient to create your own button with an action instead or subscribing to the action of exceute button.
Sol. 2: Read the data.
FIELD-SYMBOLS:
<fs_sel_item> LIKE LINE OF lt_sel_item,
<fs_kunnr> TYPE kunnr,
<fs_matnr> TYPE ranges_matnr.
wd_this->m_handler->get_value_of_parameter_field(
EXPORTING i_id = 'KUNNR'
RECEIVING r_value = p_kunnr ).
Get the selection-screen items
wd_this->m_handler->get_selection_fields(
IMPORTING et_fields = lt_sel_item ).
Retrieve the values from the select-options items
LOOP AT lt_sel_item ASSIGNING <fs_sel_item>.
CASE <fs_sel_item>-m_id.
WHEN `MATNR`.
ASSIGN <fs_sel_item>-mt_range_table->* TO <fs_matnr>.
WHEN < Other sel-option'
ENDCASE.
ENDLOOP.
Obtain a reference to your context node and assign the field symbols to the attributes.
Finally, you would have the data in your nodes. Now, you need to handle the coe as per your req.
Regards,
Sharath
Edited by: Sharath M G on Aug 27, 2010 9:45 AM -
How can I add a new field in selection screen for this report
*& Report ZGS_BARKODLA_HIZLI_GIRIS
report zgs_barkodla_hizli_giris.
tables: mara,
mseg,
mch1,
*mch1,
mkpf,
mchb ,
makt.
type-pools: esp1.
data: i_message_tab type esp1_message_tab_type,
wa_message_tab type esp1_message_wa_type ,
sc_count type i.
ALV
type-pools: slis, kkblo.
data: gs_layout type slis_layout_alv ,
gt_fldcat type slis_t_fieldcat_alv with header line,
gt_header type slis_t_listheader with header line,
gt_sortin type slis_t_sortinfo_alv with header line,
g_repid like sy-repid .
define add-fieldcat.
gt_fldcat-fieldname = &1.
gt_fldcat-ref_tabname = &2.
gt_fldcat-seltext_s = &3.
gt_fldcat-seltext_m = &3.
gt_fldcat-seltext_l = &3.
gt_fldcat-reptext_ddic = &3.
gt_fldcat-ddictxt = 'M'.
append gt_fldcat.
clear gt_fldcat.
end-of-definition.
types: begin of titab,
sel type xfeld,
matnr type matnr,
maktx type maktx,
charg type charg_d,
menge type menge_d,
erfmg type erfmg,
end of titab.
data : witab type titab.
data : itab type table of titab.
data : ok_code type sy-ucomm.
controls: tc_itab type tableview using screen 0100.
data: gv_header like bapi2017_gm_head_01,
gv_code like bapi2017_gm_code.
BAPI export parameters
data: gv_headret type bapi2017_gm_head_ret,
gv_matdoc type bapi2017_gm_head_ret-mat_doc,
gv_matyear type bapi2017_gm_head_ret-doc_year.
data : lv_objek like inob-objek .
data : ls_inob like inob .
data : imseg type ty_t_mseg.
data : wmseg type mseg.
data : answer.
data : count type i.
data : v_atinn type atinn.
BAPI movement details
data: i_goodsmvt_items type bapi2017_gm_item_create occurs 0
with header line.
data: i_return type bapiret2 occurs 0 with header line.
start-of-selection.
call function 'CONVERSION_EXIT_ATINN_INPUT'
exporting
input = 'Z_ORAN'
importing
output = v_atinn.
call screen 100.
*& Module status_0100 OUTPUT
module status_0100 output.
set pf-status '100'.
set titlebar '100'.
mseg-werks = 1000.
mseg-umwrk = 1000.
**added
sc_count = sc_count + 1.
if sc_count eq 1.
mseg-bwart = 313.
endif.
mkpf-budat = sy-datum.
**added
describe table itab lines tc_itab-lines.
endmodule. " status_0100 OUTPUT
*& Module user_command_0100 INPUT
module user_command_0100 input.
data field(20).
data: line_t like sy-index.
data: lines like sy-index.
data line_count like sy-loopc.
data: begin of cols,
screen like screen,
index type i,
selected(1) type c,
vislength like icon-oleng,
invisible(1) type c,
end of cols.
case ok_code.
when 'DELE'.
delete itab where sel eq 'X'.
when 'ENTE'.
check *mch1-charg is not initial.
read table itab into witab with key charg = *mch1-charg.
if not sy-subrc is initial.
witab-charg = *mch1-charg.
select single matnr from mch1 into witab-matnr
where charg eq witab-charg.
if not syst-subrc is initial.
set cursor field '*MCH1-CHARG'.
message e115(12) with *mch1-charg.
endif.
select single maktx from makt into witab-maktx
where matnr eq witab-matnr
and spras eq syst-langu.
witab-erfmg = 1.
concatenate witab-matnr witab-charg into lv_objek .
clear ls_inob .
select single * into ls_inob
from inob
where objek = lv_objek and
klart = '023' and
obtab = 'MCH1' .
select single atflv from ausp into witab-menge
where objek = ls_inob-cuobj and
klart = '023' .
append witab to itab.
**added
clear *mch1-charg.
**added
endif.
when 'SAVE'.
if mkpf-budat is initial.
set cursor field 'MKPF-BUDAT'.
message e055(00).
endif.
if mseg-lgort is initial.
set cursor field 'MSEG-LGORT'.
message e055(00).
endif.
if mseg-umlgo is initial.
set cursor field 'MSEG-UMLGO'.
message e055(00).
endif.
if mseg-bwart is initial.
set cursor field 'MSEG-BWART'.
message e055(00).
endif.
refresh imseg.
loop at itab into witab.
move-corresponding witab to wmseg.
append wmseg to imseg.
endloop.
call function 'ZMM_POPUP_WITH_DATA'
exporting
imseg = imseg
importing
answer = answer.
if answer eq 'Y'.
perform create_goods_movement.
endif.
when 'P--'.
clear ok_code.
perform paging using 'P--'.
set cursor field 'MARA-MATNR' line 1.
when 'P-'.
clear ok_code.
perform paging using 'P-'.
set cursor field 'MARA-MATNR' line 1.
when 'P+'.
clear ok_code.
clear lines.
perform paging using 'P+'.
set cursor field 'MARA-MATNR' line 1.
when 'P++'.
clear ok_code.
perform paging using 'P++'.
set cursor field 'MARA-MATNR' line 1.
when 'SORA'.
read table tc_itab-cols into cols with key selected = 'X'.
if sy-subrc is initial.
field = cols-screen.
field = field+5(10).
sort itab ascending by (field).
endif.
when 'SORZ'.
read table tc_itab-cols into cols with key selected = 'X'.
if sy-subrc is initial.
field = cols-screen.
field = field+5(10).
sort itab descending by (field).
endif.
when 'PRNT'.
perform write_alv.
endcase.
endmodule. " user_command_0100 INPUT
*& Module read_table OUTPUT
module read_table output.
mara-matnr = witab-matnr.
makt-maktx = witab-maktx.
mch1-charg = witab-charg.
mseg-menge = witab-menge.
mseg-erfmg = witab-erfmg.
line_count = sy-loopc.
endmodule. " read_table OUTPUT
*& Module write_table INPUT
module write_table input.
witab-matnr = mara-matnr.
witab-maktx = makt-maktx.
witab-charg = mch1-charg.
witab-menge = mseg-menge.
witab-erfmg = mseg-erfmg.
modify itab from witab index tc_itab-current_line.
endmodule. " write_table INPUT
*& Module exit INPUT
module exit input.
leave to screen 0 .
endmodule. " exit INPUT
*& Form create_goods_movement
form create_goods_movement .
clear : gv_header, i_return[], i_goodsmvt_items[].
gv_header-doc_date = gv_header-pstng_date = mkpf-budat.
gv_header-pr_uname = sy-uname.
GM with reference to reservation
loop at itab into witab.
i_goodsmvt_items-material = witab-matnr.
i_goodsmvt_items-entry_qnt = witab-erfmg.
i_goodsmvt_items-entry_uom = 'ST'.
i_goodsmvt_items-move_type = mseg-bwart.
i_goodsmvt_items-plant = mseg-werks.
i_goodsmvt_items-stge_loc = mseg-lgort.
i_goodsmvt_items-move_plant = mseg-umwrk.
i_goodsmvt_items-move_stloc = mseg-umlgo.
i_goodsmvt_items-batch = witab-charg.
append i_goodsmvt_items.
endloop.
find BAPI processing transaction
if gv_code is initial.
perform determine_bapi_code using mseg-bwart
changing gv_code.
endif.
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header = gv_header
goodsmvt_code = gv_code
importing
goodsmvt_headret = gv_headret
materialdocument = gv_matdoc
matdocumentyear = gv_matyear
tables
goodsmvt_item = i_goodsmvt_items
return = i_return[].
cancel blocking process
loop at i_return where type eq 'E' or type eq 'A' or type eq 'X'.
exit.
endloop.
if sy-subrc ne 0.
refresh i_message_tab.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'.
wa_message_tab-msgid = 'M7'..
wa_message_tab-msgty = 'S'.
wa_message_tab-msgno = '060'.
wa_message_tab-msgv1 = gv_matdoc.
wa_message_tab-msgv2 = ''.
wa_message_tab-msgv3 = ''.
wa_message_tab-msgv4 = ''.
append wa_message_tab to i_message_tab.
else.
refresh i_message_tab.
call function 'BAPI_TRANSACTION_ROLLBACK'.
write a message as there is an unexpected error.
loop at i_return.
wa_message_tab-msgid = i_return-id.
wa_message_tab-msgty = i_return-type.
wa_message_tab-msgno = i_return-number.
wa_message_tab-msgv1 = i_return-message_v1.
wa_message_tab-msgv2 = i_return-message_v2.
wa_message_tab-msgv3 = i_return-message_v3.
wa_message_tab-msgv4 = i_return-message_v4.
append wa_message_tab to i_message_tab.
endloop.
endif.
call function 'C14Z_MESSAGES_SHOW_AS_POPUP'
tables
i_message_tab = i_message_tab.
endform. " create_goods_movement
*& Form determine_bapi_code
form determine_bapi_code using p_bwart type bwart
changing p_code type bapi2017_gm_code.
data: lt_t158b type table of t158b with header line.
clear p_code.
select tcode from t158b into corresponding fields of table lt_t158b
where bwart eq p_bwart.
loop at lt_t158b.
select single gmcode from t158g into p_code
where tcode eq lt_t158b-tcode.
if sy-subrc is initial.
exit.
endif.
endloop.
endform. " determine_bapi_code
*& Form paging
form paging using code.
data: i type i,
j type i.
case code.
when 'P--'. tc_itab-top_line = 1.
when 'P-'.
tc_itab-top_line = tc_itab-top_line - line_count.
if tc_itab-top_line le 0.
tc_itab-top_line = 1.
endif.
when 'P+'.
i = tc_itab-top_line + line_count.
j = tc_itab-lines - line_count + 1.
if j le 0.
j = 1.
endif.
if i le j.
tc_itab-top_line = i.
else.
tc_itab-top_line = j.
endif.
when 'P++'.
tc_itab-top_line = tc_itab-lines - line_count + 1.
if tc_itab-top_line le 0.
tc_itab-top_line = 1.
endif.
endcase.
endform. " paging
*& Form write_alv
form write_alv .
perform find_list_header.
perform fill_field_cat.
perform fill_sortinfo.
g_repid = sy-repid.
gs_layout-colwidth_optimize = 'X'.
gs_layout-zebra = 'X'.
answer = 'Y'.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_buffer_active = ''
i_callback_program = g_repid
i_save = 'A'
i_callback_top_of_page = 'TOP_OF_PAGE'
is_layout = gs_layout
it_fieldcat = gt_fldcat[]
it_sort = gt_sortin[]
tables
t_outtab = itab[].
endform. " write_alv
Form find_list_header
form find_list_header.
data : v_datum(10),
v_datlo(10),
v_dathi(10),
v_uzeit(8).
clear: gt_header, gt_header[].
gt_header-typ = 'H'.
gt_header-info = sy-title.
append gt_header.
clear gt_header.
gt_header-typ = 'S'.
gt_header-key = 'Çalıştırma Zamanı : '.
write syst-datum to v_datum.
write syst-uzeit to v_uzeit.
concatenate v_datum '/' v_uzeit into gt_header-info.
append gt_header.
endform. " find_list_header
Form fill_field_cat
form fill_field_cat.
refresh gt_fldcat.
clear gt_fldcat.
gt_fldcat-key = 'X'.
add-fieldcat 'MATNR' 'MARA' ''.
add-fieldcat 'MAKTX' 'MAKT' ''.
add-fieldcat 'CHARG' 'MSEG' ''.
gt_fldcat-do_sum = 'X'.
add-fieldcat 'MEINS' 'MARA' 'Olcu Birimi '.
gt_fldcat-do_sum = 'X'.
add-fieldcat 'ERFMG' 'MSEG' 'Adet'.
endform. " fill_field_cat
Form fill_sortinfo
form fill_sortinfo.
gt_sortin-up = 'X'.
gt_sortin-fieldname = 'MATNR'. append gt_sortin.
endform. " fill_sortinfo
Form top_of_page *
form top_of_page.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
i_logo = 'ZKUTAS'
it_list_commentary = gt_header[].
endform. " top_of_pageHI,
if it is a normal report program then you can directly create a Selection screen field.
After the Type-pool you can use Parameters or Select-options to create the selection screen field..
If it is a Modulpool program then you can create a selection scren field like
SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN.
PARAMETERS: p1(10) TYPE c.
SELECTION-SCREEN END OF SCREEN 1100.
defines a selection screens 1100 as subscreens.
The next screen number of screen 100 is 100 (statically-defined).
PROCESS BEFORE OUTPUT.
MODULE status_0100.
CALL SUBSCREEN area INCLUDING sy-repid number.
PROCESS AFTER INPUT.
MODULE cancel AT EXIT-COMMAND.
CALL SUBSCREEN area.
MODULE user_command_0100.
look at the below link
http://help.sap.com/saphelp_nw2004s/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm
Regards
Sudheer -
Search help for input fields in a screen
Hi,
Pls help me
how to set search help property for the I/O fields in screen in se80?
1. do we want to add any property for search help in the property window?
2.do we want to create a MODULE PROCESS ON VALUE REQUEST ?
PLS tell me how to set search for the I/O field in se80?pls tell me the process?
i want to set the search help for more I/O fields in se80 but all the fields belongs to the same table?
can i create a single search for all these fields and use that for all the I/O fields ?
elementary search help or collective search help?
thanks & regards in advance,
vsnl.Hi,
Input Help on the Screen
Within the Screen Painter, you can define two types of input help:
1. The FIELD statement with one of the additions VALUES or SELECT.
2. Linking a search help directly to a screen field.
If you link a search help directly to a screen field, it overrides the additions of the FIELD
statement. However, the input check [Page 581] functions of the FIELD statement remain
unaffected.
Input Help in Flow Logic
The following input help methods are obsolete and should not be used. They are still supported
for compatibility reasons.
In the screen flow logic, you can specify a value list for a screen field <f> as follows:
FIELD <f> VALUES (<val1>, <val2>,...).
The value list contains a series of single values <vali>. The NOT and BETWEEN additions for the
input check [Page 581] are not appropriate for input help.
You can also create a value list by accessing a database table as follows:
FIELD <f> SELECT *
FROM <dbtab>
WHERE <k1> = <f1> AND <k2> = <f2> AND...
In the WHERE condition, the fields of the primary key <ki> of the database table <dbtab> are
checked against the screen fields <fi>. The WHENEVER addition, used with input checks [Page
581], is not necessary for input help.
If you have used a ABAP Dictionary reference for field <f>, the selection and the hit list formatting
may be affected by any check table attached to the field.
Attaching a Search Help
Search helps from the ABAP Dictionary can be attached to a screen field [Ext.]. To do this, enter
the name of the search help in the corresponding field in the attributes of the screen field in the
Screen Painter. This assigns the first parameter of the search help to the screen field. It is only
possible to place a value from the hit list onto the screen.
Input help on a screen.
REPORT DEMO_DYNPRO_F4_HELP_DYNPRO MESSAGE-ID AT.
DATA: CARRIER(3) TYPE C,
CONNECTION(4) TYPE C.
CALL SCREEN 100.
MODULE CANCEL INPUT.
LEAVE PROGRAM.
ENDMODULE.
The next screen (statically defined) for screen 100 is itself. It has the following layout:
602 April 2001
Cancel
Airline
Flight number
Screen field with search help
Input help in the flow logic
The input fields have been adopted from the program fields CARRIER and
CONNECTION. The function code of the pushbutton is CANCEL, with function type
E. The search help DEMO_F4_DE with the search help parameter CARRID is
assigned to the screen field CARRIER. The search help uses the database table
SCARR.
The screen flow logic is as follows:
PROCESS BEFORE OUTPUT.
PROCESS AFTER INPUT.
MODULE CANCEL AT EXIT-COMMAND.
FIELD CARRIER VALUES ('AA', 'LH').
FIELD CONNECTION SELECT *
FROM SPFLI
WHERE CARRID = CARRIER
AND CONNID = CONNECTION.
When the user chooses the input help for the individual fields, the following input
help is displayed:
For the Airline field, the search help displays the names of the airlines and places the airline
code in the input field for the chosen line. If the airline code is not one of those listed in the
VALUES list of the screen flow logic, the input check triggers an error message in the PAI
event. So the search help overrides the VALUES addition for the input help, but not for the
input checks. This is therefore not an appropriate place to use the VALUE addition.
For the Flight number field, the flow logic displays the selected entries from the database
table SPFLI and places the selected line in the input field.
Regards,
Bhaskar -
Is it possible to hide the detail for a field in infotype screen for users
Hi,
My requirement is that.
1) For a group of users in IT0002 screen the content of SSN field would be shown as XXXXX where for some users it will show the actual value in PA20,PA30. This is not MOLGA specific, this would be user specific.
Is it possible to do that. I was trying with the exit ZXPADU01 but not working. I believe T588M will also not work in that case.
Please suggest on that.
Thanks & Regards,
SandipHi,
Instead of presenting the SSN as XXXX, you can simply hide the field using screen modifications and feature P0002. The key here is using field group USERG (user group) in the decision tree. The prerequisite is assigning the set of users to a user group (UGR parameter) through SU3. That value will be the return value under USERG in the feature.
Hope this helps.
Donnie -
How to add order reason code field to selection screen of VL10
Hi,
How to add Order reason code(vbak-augru) to the selection screen of VL10.
1. How to find enhancement for it?
2.I want to display Order reason code field on output list also?
3.Pls give steps i am new to enhancements
thanking u advance...
suryaHi,
there is no user exit available for this report program, one alternative is copy the program associated with this standard program i.e. RVV50R10C to a Z program and modify it as per your requirement or if you want to modify the standard program you need access key.
Regards,
Raghavendra -
How to add Material type(MTART) field on Selection screen of MB5B transaction code.
Hi All,
Please let me know how to add material type field on selection screen of MB5B transaction
For that i made copy ZMB5B_COPY of original report RM07MLBD.
Thanks in adv .
SamadhanHi,
Once you copied the standard report to Z report, you can MTART in selection screen like below.
and in order to inlcude the same in programming logic, we have three option.
1) Check all related select queries, and include MTART in SELECT query using inner join with MARA.
2) In START-OF-SELECTION event fill MATNR as shown below.
3) If user entered any value in MTART, then before displaying the report just check material type of each material in the final internal table(which is used to display report) delete enteries from internal table accordingly.
START-OF-SELECTION.
IF MTART[] IS NOT INITIAL AND MATNR[] IS INITIAL.
SELECT MATNR FROM MARA INTO MATNR-LOW WHERE MTART IN MTART.
MATNR-OPTION = 'EQ'.
MATNR-SIGN = 'I'.
APPEND MATNR.
CLEAR MATNR.
ENDSELECT.
ENDIF.
The above option has one limitation: The selection screen variables has some restriction, please read the below thread.
Facing problem in select statement dump DBIF_RSQL_INVALID_RSQL CX_SY_OPEN_S
Getting Dump in the select query has more than 2000 entries
Hope this will work for you .
regards,
Rajesh Sadula. -
Matchcode Object for ORGEH field in Selection-Screen
Hi,
I need to create a Matchcode Object for ORGEH field in my Selection-Screen. But, I want to have the selection Criteria as the Tcode: Po10 does. Please guide me how to do it. Is there any Standard Matchcode Object provided by SAP for this kind of functionality?. Please provide some kind of solution. I am in urgent need of this.
Thanks in advance,
Exertive.Hi,
You can try the following are the search helps (matchcode objects) available for ORGEH (Org Unit).
HRBAS00OBJID
RESP_ORG_UNIT
H_T527X Help View for Organizational Units
H_T527X_1 Seach help for T527X
Regards,
Suresh Datti -
Drop down in Dialog programming for a field on the screen
Hi Friends !
I have 2 screen fields zfield1- Indicator and zfield- answer .
The user wants a drop down for indicator as X or Blank to choose from and for answer the user wants YES or NO as the dropdown .
How do i create these dropdowns for the fields ?
Do I need to create search help or does dialog give other options to add these dropdowns.
Please advise .
Thanks!!set zfield1 up where it's data element is using the domain YESNO.
For answer I use this routine a lot.
PERFORM get_dd07t_value USING 'ZLMCONTTYPE'
out_rec-ctype
out_rec-ctype_desc.
*& Form get_dd07t_value
-->P_DOMNAME text
-->P_KEY text
-->P_RESULT text
FORM get_dd07t_value USING p_domname
p_key
p_result.
CLEAR p_result.
SELECT SINGLE ddtext INTO p_result
FROM dd07t
WHERE domname = p_domname
AND ddlanguage = sy-langu
AND domvalue_l = p_key.
IF sy-subrc NE 0.
p_result = 'None'.
ELSE.
p_result = dom_rec-ddtext.
ENDIF.
ENDFORM. " get_dd07t_value -
How do I compensate for display objects jumping when screen scaling
I am building an application that is to run at 2 difference stage sizes. 960x640 and 1024x768 (for those paying attention, you may note that those are the high res settings for the iPhone and iPad2)
The app was designed and build to run on a stage of 960x640 and when running at this size, there are no problems.
When the app loads in the 1024x768 window, it "strechs" the stage to fill the window, but keeps the aspect ratio. Everything looks good and the application runs without any problems expect for one thing.
Sometimes, display objects on the stage "jitter" when moving or animating. I have discovered that this is because the stage is "scaling" the x and y values, and is not pixel snapping the objects on the screen, even though the x and y values of the display object are indeed whole numbers.
A prime example of this is I have 2 bitmapData images. bmData_s and bmData_h.
bmData_s is 192x388 in size.
bmData_h is created from a copy of bmData_s with a glow filter stroke on it, resulting in a image that is 198x394 (6 pixels bigger due to a 3 pixel stroke)
I place it on the screen using the following code:
(Background is a bitmap object that is 960x480 and places at 0,0)
(ObjOffset is a point in my app data to position the object, it's a point set to 53,195)
MyObj.x = Background.x + ObjOffset.x + (bmData_s.width/2);
MyObj.y = Background.y + ObjOffset.y + (bmData_s.height/2);
now, when the mouse rolls over the object, I have an event listener to change MyObj.bitmapData to bmData_h
MyObj.bitmapData = bmData_h;
MyObj.x = Background.x + ObjOffset.x + Math.floor(bmData_h.width/2);
MyObj.y = Background.y + ObjOffset.y + Math.floor(bmData_h.height/2);
and back to the _s image on mouse out.
Now, when the app runs on the iPhone which is a 960x640 screen size, or on the PC which is using a window of similiar size, the image doesn't appear to move at all... the "stroke" appears and disappears exactly as it is suppose to
However, when I run it in a window that is 1024x768, the _h image appears to "jump" one pixel up.
I have encountered many other similiar things that only occure when the stage is scaled. There is a spot in the app where I am animating a bitmap by manipulating it's scrollrect x and width (have it's do a wipe in from right to left like a peice of paper unrolling on a table) and due to the scaling, the right edge of the image jumps left and right 1 pixel... but on 960x640 screens, it looks perfect.
Does anyone know how I can compensate for this effect so that this jumping doesn't occur when the stage is stretched to fit the window it's running in?Sounds like a x-browser rendering problem
my guess would be to scale down the inner div's so they add up to less than 100%.
If you floated div's and gave them a %, give one of the div's a smaller.
ie: 2 divs floated in a Header, give one 50% and the other 49.5% -
F4 help for Time field in Webdynpro Screen
Hi Experts,
I'm using TIMS data type for my Time field. In ECC we will have F4 function for the same data element, but in Webdynpro screen, am not getting the F4 help.
I got some information from SCN that I need to go for some custom search help. But with which reference to the table, am I want to create it.
Please let me know, is there any other possible way to create F4 for time field for webdynpro.
Even I tried to use some standard search help, but am getting an error as 'Sending of dynpro ' ' not possible. No window system type specified'.
Expecting valuable information from you experts.
With Regards,
RAM.Hi RAM,
For time field, there is no SAP delivered search help in WDA , so we need to go for freely programmed search help.
Please refer the below link, in which Mr. Thomas, has provided the links for search help document you can follow and create new search help component
and also nugget of the component which can be imported using ZSAPLINK program.
search help for time
Regards,
Rama
Maybe you are looking for
-
Java language enhancement for method and field
similar to the way FooClass.class works in the language, i would like to see the following code constructs also supported by the java language: [FooClass.]someMethod.method [FooClass.]someField.field i thought i had read that something like this was
-
Ok, so I may not be the sharpest tool in the shed....
....and this is my first "pad" type device....but this thing is causing me a freakin' migrane.... Why can this thing go thru it's initial setup without a wireless connection....??? Did somebody seriously believe that that was a good idea...??? Of cou
-
Adding aspx file to main content
I have a client that has been provided three aspx links to their suppliers that they would like to include on their site. They were told that they could be used inside their own template to make it look like it is within their site. How do I make t
-
WMI Win32_PerfFormattedData_PerfOS_Processor 0x80041017 error
WMI query when executed remotely reports 0x80041017 intermittently. select PercentProcessorTime from Win32_PerfFormattedData_PerfOS_Processor where Name like '_Total' WMI Diagnosis Tool doesn't show any errors in reports. Thanks, Sandy Dev
-
Cant login-pwd prompt says email is wrong, but it's not
AT https://h30495.www3.hp.com/user_login?next=/ I try to login w. my newly created password and username. My password gets rejected, so i go to "forgot password," and put in my emial . then I get a message that says this email is not associated w.