/fre/exc Selection Exception workbench add new field
Hi,
We have a requirement in which new selection criterion needs to be added for tcode /fre/exc. It should be in Selection Identifier.
The new field required is RP TYPE.
Based on this new field the filtering should occur when we go to REDETERMINE ALERTS.
Is there some BADI/User Exit by whcih this can be achieved.
Or some configuration?
Please help.
Hi,
I think, checkName should not throw an exception at all. The task of this method is to check the name. There are two results: good or bad, which maps pretty well to a boolean return value. You could then pop up a JOptionPane with the error message and ask the user again to enter correct values. Do this in a while loop, until checkName returns true (or the user presses some "cancel" button).
You should throw an exception only, if a method cannot complete its task. E.g. setWage or setHoursWorked could throw an IllegalArgumentException, when a negative value is given. checkName however can always completely do what it is supposed to do. BTW: perhaps it should also check, whether FName == null and LName == null to avoid a NullPointerException?
Similar Messages
-
Add new field infotype "z" in logical database selection screen pnp
Can add new field infotype "z" in logical database selection screen pnp
I could explain how to realize
ThanksIn case to somebody it interests to him: TO EXTEND SCREEN OF SELECTION WITH OPTIONAL DELIMITERS The case that can be given in a screen of selection of a logical data base it does not appear a certain field that we need in the filter, the steps that will be due to follow are the following:
u2022 To create a view of selection in agreement with the fields that we want to show To review the following Link http://help.sap.com/saphelp_46c/helpdata/es/6e/6ed638e70ef679e10000000a114084/content.htm u2022 To assign the view of selection to a class of report
u2022 In the code of report to create select option in the selection screen that allows to introduce imput to leak and after start-of-selection to put the following code,
"Allocation operative area to optional delimiter
IF NOT p_aroper IS INITIAL.
DATA: lt_texpr TYPE rsds_expr OCCURS 0 WITH HEADER LINE,
wa_texpr TYPE rsds_expr,
lt_rsds_expr_tab LIKE rsdsexpr OCCURS 10 WITH HEADER LINE,
wa_rsds_expr_tab LIKE rsdsexpr.
REFRESH lt_rsds_expr_tab.
wa_rsds_expr_tab-arity = '0'.
wa_rsds_expr_tab-fieldname = 'OBJID'.
wa_rsds_expr_tab-option = 'EQ'.
wa_rsds_expr_tab-low = p_aroper.
wa_rsds_expr_tab-high = '00000000'.
MOVE-CORRESPONDING wa_rsds_expr_tab TO lt_rsds_expr_tab.
APPEND lt_rsds_expr_tab.
REFRESH lt_texpr.
wa_texpr-tablename = 'PA9004'.
wa_texpr-expr_tab[] = lt_rsds_expr_tab[].
MOVE-CORRESPONDING wa_texpr TO lt_texpr.
APPEND lt_texpr.
pnpdynse[] = lt_texpr[].
ENDIF.
English is the forum language.
Edited by: Rob Burbank on May 18, 2011 11:41 AM -
I want to add new field to this list
hi all,
i want to add new field to this list.
kostenstelle from table zfmkstel
*& Report ZFM_MOBLIST *
REPORT ZFM_MOBLIST.
TABLES: zfm_handy , pa0002.
TYPE-POOLS : slis.
DATA: g_repid LIKE sy-repid,
gs_print TYPE slis_print_alv,
gt_list_top_of_page TYPE slis_t_listheader,
gt_list_end_of_page TYPE slis_t_listheader,
gt_events TYPE slis_t_event,
gt_sort TYPE slis_t_sortinfo_alv,
gs_layout TYPE slis_layout_alv,
gt_fieldcat TYPE slis_t_fieldcat_alv,
fieldcat_ln LIKE LINE OF gt_fieldcat,
col_pos TYPE i.
*DATA : BEGIN OF it_moblist OCCURS 0.
INCLUDE STRUCTURE zfm_handy.
*DATA : nachn TYPE pa0002-nachn,
vorna TYPE pa0002-vorna,
END OF it_moblist.
DATA : BEGIN OF IT_MOBLIST OCCURS 0,
TELNUM TYPE ZFM_HANDY-TELNUM,
KARTNR TYPE ZFM_HANDY-KARTNR,
ZUTART TYPE ZFM_HANDY-ZUTART,
PERNR TYPE ZFM_HANDY-PERNR,
nachn TYPE pa0002-nachn,
VORNA TYPE pa0002-vorna,
ZDATE TYPE ZFM_HANDY-ZDATE,
PINNR TYPE ZFM_HANDY-PINNR,
PUKNR TYPE ZFM_HANDY-PUKNR,
TARIF1 TYPE ZFM_HANDY-TARIF1,
TARIF2 TYPE ZFM_HANDY-TARIF2,
TARIF3 TYPE ZFM_HANDY-TARIF3,
GTYPE TYPE ZFM_HANDY-GTYPE,
IMEI TYPE ZFM_HANDY-TARIF1,
twincard type zfm_handy-twincard,
twinbill type zfm_handy-twinbill,
einbau type zfm_handy-einbau,
beschr type zfm_handy-beschr,
text1 type zfm_handy-text1,
text2 type zfm_handy-text2,
text3 type zfm_handy-text3,
end of it_moblist.
DATA : BEGIN OF IT_zfm_handy OCCURS 0,
TELNUM TYPE ZFM_HANDY-TELNUM,
KARTNR TYPE ZFM_HANDY-KARTNR,
ZUTART TYPE ZFM_HANDY-ZUTART,
PERNR TYPE ZFM_HANDY-PERNR,
ZDATE TYPE ZFM_HANDY-ZDATE,
PINNR TYPE ZFM_HANDY-PINNR,
PUKNR TYPE ZFM_HANDY-PUKNR,
TARIF1 TYPE ZFM_HANDY-TARIF1,
TARIF2 TYPE ZFM_HANDY-TARIF2,
TARIF3 TYPE ZFM_HANDY-TARIF3,
GTYPE TYPE ZFM_HANDY-GTYPE,
IMEI TYPE ZFM_HANDY-TARIF1,
twincard type zfm_handy-twincard,
twinbill type zfm_handy-twinbill,
einbau type zfm_handy-einbau,
beschr type zfm_handy-beschr,
text1 type zfm_handy-text1,
text2 type zfm_handy-text2,
text3 type zfm_handy-text3,
end of it_zfm_handy.
*DATA : BEGIN OF it_zfm_handy OCCURS 0.
INCLUDE STRUCTURE zfm_handy.
*DATA END OF it_zfm_handy.
DATA : BEGIN OF it_pa0002 OCCURS 0,
pernr TYPE pa0002-pernr,
nachn TYPE pa0002-nachn,
vorna TYPE pa0002-vorna,
pernr TYPE pa0002-pernr,
END OF it_pa0002.
INITIALIZATION.
g_repid = sy-repid.
PERFORM print_build USING gs_print. "Print PARAMETERS
START-OF-SELECTION.
PERFORM data_selection.
PERFORM build_fieldcat.
PERFORM eventtab_build CHANGING gt_events.
PERFORM comment_build CHANGING gt_list_top_of_page.
PERFORM call_alv.
*& Form TOP_OF_PAGE
FORM top_of_page.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = gt_list_top_of_page.
WRITE: sy-datum, 'Page No', sy-pagno RIGHT-JUSTIFIED.
ENDFORM. "TOP_OF_PAGE
*& Form END_OF_PAGE
FORM end_of_page.
WRITE: /.
WRITE AT (sy-linsz) sy-pagno CENTERED.
ENDFORM. "END_OF_PAGE
### PRINT SETTINGS
FORM print_build USING ls_print TYPE slis_print_alv.
ls_print-print = ' '. "PRINT IMMEDIATE
ls_print-no_print_selinfos = 'X'. "NO SELECTION INFO
ls_print-no_coverpage = ' '. "NO COVER PAGE
ls_print-no_new_page = ' '. "NO NEW PAGE
ls_print-no_print_listinfos = 'X'. "NO PRINT LIST INFO
ls_print-reserve_lines = 2. " FOOTERLINE
ENDFORM. "PRINT_BUILD
*& Form data_selection
text
--> p1 text
<-- p2 text
FORM data_selection .
data : n(8) type n.
SELECT * FROM
zfm_handy
INTO CORRESPONDING FIELDS OF TABLE it_zfm_handy where pernr ne space.
IF NOT it_zfm_handy[] IS INITIAL.
loop at it_zfm_handy.
n = it_zfm_handy-pernr.
it_zfm_handy-pernr = n.
modify it_zfm_handy.
endloop.
SELECT pernr nachn
vorna
FROM pa0002
INTO TABLE it_pa0002
FOR ALL ENTRIES IN it_zfm_handy
WHERE pernr = it_zfm_handy-pernr and endda = '99991231'.
SELECT pernr nachn
vorna
FROM pa0002
INTO TABLE it_pa0002
FOR ALL ENTRIES IN it_zfm_handy
WHERE pernr = it_zfm_handy-pernr and begda le sy-datum and endda ge sy-datum.
ENDIF. " not it_zfm_handy
LOOP AT it_zfm_handy.
MOVE-CORRESPONDING it_zfm_handy TO it_moblist.
clear it_pa0002.
READ TABLE it_pa0002 WITH KEY pernr = it_zfm_handy-pernr.
if sy-subrc = 0.
move it_pa0002-nachn to it_moblist-nachn.
move it_pa0002-vorna to it_moblist-vorna.
move it_pa0002-pernr to it_moblist-pernr.
ENDIF.
APPEND it_moblist.
CLEAR it_moblist.
*endif.
ENDLOOP.
ENDFORM. " data_selection
*& Form BUILD
text
--> p1 text
<-- p2 text
FORM build_fieldcat .
Explain Field Description to ALV
DATA: fieldcat_in TYPE slis_fieldcat_alv.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'TELNUM'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'TELNUM'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'KARTNR'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'KARTNR'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'ZUTART'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'ZUTART'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'PERNR'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'PERNR'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'NACHN'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'NACHN'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'VORNA'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'VORNA'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'ZDATE'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'ZDATE'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'PINNR'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'PINNR'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'PUKNR'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'PUKNR'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'TARIF1'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'TARIF1'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'TARIF2'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'TARIF2'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'TARIF3'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'TARIF3'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'GTYPE'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'GTYPE'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'IMEI'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'IMEI'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'TWINCARD'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'TWINCARD'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'TWINBILL'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'TWINBILL'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'EINBAU'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'EINBAU'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'BESCHR'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'BESCHR'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'TEXT1'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'TEXT1'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'TEXT2'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'TEXT2'.
APPEND fieldcat_ln TO gt_fieldcat.
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'TEXT3'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'TEXT3'.
APPEND fieldcat_ln TO gt_fieldcat.
DATA SORTING
DATA: gs_sort TYPE slis_sortinfo_alv.
CLEAR gs_sort.
gs_sort-fieldname = 'TELNUM'.
gs_sort-spos = 1.
gs_sort-up = 'X'.
GS_SORT-SUBTOT = 'X'.
APPEND gs_sort TO gt_sort.
CLEAR GS_SORT.
GS_SORT-FIELDNAME = 'KARTNR'.
GS_SORT-SPOS = 2.
GS_SORT-UP = 'X'.
*GS_SORT-SUBTOT = 'X'.
APPEND gs_sort TO gt_sort.
ENDFORM. " BUILD
*& Form EVENTTAB_BUILD
text
<--P_GT_EVENTS text
FORM eventtab_build CHANGING lt_events TYPE slis_t_event.
CONSTANTS:
gc_formname_top_of_page TYPE slis_formname VALUE 'TOP_OF_PAGE',
gc_formname_end_of_page TYPE slis_formname VALUE 'END_OF_PAGE'.
DATA: ls_event TYPE slis_alv_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = lt_events.
READ TABLE lt_events WITH KEY name = slis_ev_top_of_page
INTO ls_event.
IF sy-subrc = 0.
MOVE gc_formname_top_of_page TO ls_event-form.
APPEND ls_event TO lt_events.
ENDIF.
define END_OF_PAGE event
READ TABLE lt_events WITH KEY name = slis_ev_end_of_page
INTO ls_event.
IF sy-subrc = 0.
MOVE gc_formname_end_of_page TO ls_event-form.
APPEND ls_event TO lt_events.
ENDIF.
ENDFORM. " EVENTTAB_BUILD
*& Form COMMENT_BUILD
text
<--P_GT_LIST_TOP_OF_PAGE text
FORM comment_build CHANGING gt_top_of_page TYPE slis_t_listheader.
DATA: gs_line TYPE slis_listheader.
DATA: today_date(10) TYPE c.
CONCATENATE
sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO today_date.
CLEAR gs_line.
gs_line-typ = 'H'.
gs_line-info = 'MOBLIST DETAILS'.
APPEND gs_line TO gt_top_of_page.
CLEAR gs_line.
gs_line-typ = 'S'.
gs_line-key = 'Date:'.
gs_line-info = today_date.
APPEND gs_line TO gt_top_of_page.
GS_LINE-KEY = 'User:'.
GS_LINE-INFO = sy-uname.
APPEND gs_line TO gt_top_of_page.
CLEAR gs_line.
gs_line-typ = 'A'.
gs_line-info = 'ACTION'.
APPEND gs_line TO gt_top_of_page.
ENDFORM. " COMMENT_BUILD
*& Form CALL_ALV
text
--> p1 text
<-- p2 text
FORM call_alv .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
is_layout = gs_layout
it_fieldcat = gt_fieldcat
it_sort = gt_sort
it_events = gt_events
is_print = gs_print
TABLES
t_outtab = IT_MOBLIST
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM. "CALL_ALV.Hi,
add:
1) to IT_MOBLIST
text3 type zfm_handy-text3,
kostl type csks-kostl,
end of it_moblist.
2)...
CLEAR fieldcat_in.
fieldcat_ln-fieldname = 'KOSTL'.
fieldcat_ln-tabname = 'IT_MOBLIST'.
fieldcat_ln-no_out = ' '.
fieldcat_ln-seltext_l = 'KOSTL'.
APPEND fieldcat_ln TO gt_fieldcat. -
Add new field (Check number) in Txn FBL1N
Hi SAP,
Is there any way or configuration i need to do so that i can add new field (Check number) in vendor line item (Txn FBL1N)?
Here the details of the field (Check number):
Field name: CHECT
Table name: PAYR
Program name: SAPMFCHK
Appreciate your help. I will give points who help me solve this problem.
TQ
Regards,
NazrulHi,
For that you Go through this below method.
I tested this senario it is working properly.
Go T.code O7E4
IMG > Financial A/cing > Accounts Receivable and Accounts Payable > Vendor Accounts > Line Items > Display Line Items > Define Line item without ALV>Choose Selection Fields
Account type K
Insert Field Name whichever you want
Save
Next Go to the FBL1N.
Select change layout button and select check number from
Save the layout
That is enough For that
If Have any doubt regarding this feel free to ask
May be this information is useful to you
Regards
Surya -
Query: How to add new fields in ABAP query?
Hi All,
Can any one tell me how to add new fields in the ABAP query output?
We have to add the new fields using query design or we have
to add those in the background program(automatically generated behind query) by selecting new fields in the code?What kind of report? Usually, you have to add the field in the table declaration and then also in the SQL query. After that, include the field in what kind of report you are using.
-
How to add new fields in SAP-Query
Hi,
Can any body tell how to add new fields to the existing query.
Thanks a lot,
Bhaskar.hi,
when we create internal tables like. in final table you can include the extra fields.
data : begin of itab_mara,
matnr like mara-matnr,
erdat like mara-erdat,
end of itab_mara.
data : begin of itab_marc,
matnr like marc-matnr,
werks like marc-werks,
end of itab_marc.
data : begin of itab_final,
matnr like mara-matnr,
erdat like mara-erdat,
werks like marc-werks,
date like sy-datum,
status(10) type c, * new fields
end of itab_final.
<select statement>.
Append all the fields to itab.
loop at itab_final.
write :/ itab_final.
endloop.
Reward with points if helpful.
Message was edited by:
Vinutha YV -
Cannot Add new fields to standard QM datasource
Hi
I got this erro when I try to add new fields from LBWE.
Field ZZRFKIMG cannot be selected because of unit field VRKME -> see long text
Message no. MCEX032
Diagnosis
Field ZZRFKIMG cannot be transferred, since its unit field VRKME is either not in the communication structure, or was purposefully excluded from the selection.
Procedure
If you have chosen your own field, you must also create a user-defined unit field in the append and use it accordingly.
How can I resolve it.
thanksHi,
My Understanding is that if the field is available in the Pool in LBWE then no need to enhance the datasource.
In my case the field is available in LBWE though it is ZFIELD (ZZRFKLMG and ZZNETPRC).
In RSA6 I added the this unit
ZZMEINS MEINS UNIT Base Unit of Measure
ZZWAERK WAERK CUKY SD Document Currency
I went back to LBWE and try to add the following Zfieds (ZZRFKLMG and ZZNETPRC) and the error is same.
Now I try to add the the field directly in the append structure * ZZMC05Q02ITM* but its asking to maintain the ref table and ref field.
I added ZZMC05Q02ITM as ref table and ZZRFKLMG as ref unit and I still get errors.
I am are that if I maintain it in RSA6 then I need to write user exit in CMOD but since it is available in LBWE I want to get it from the pool.
I have tried this and there was no errors during activation
ZZRFKLMG ZZRQE_RFKLMG QUAN QMFE ZZMEINS Notification quantity in base units
I gave the table name and Unit.
Despite adding it, I still get data even though I did not used LBWE pool.
thanks alot SUV123
Edited by: Bhat Vaidya on Oct 14, 2009 10:44 AM
Edited by: Bhat Vaidya on Oct 14, 2009 11:06 AM -
CRM - Add New Field in Competitor Product Screen
We are looking for the right way to enhance the competitor product screen (object prod_cp) in CRM 7.0. We have explored several options and we would like to have a confirmation that we selected the right option for the CRM level we are on now. We checked enhancement options via eewb and aet. However, in transaction axtreg there are 129 objects that can be enhanced but object prod_cp is not part of that list so I assume both tools mentioned cannot be used to enhance the competitor product screen (we want to add new fields and put business logic behind it). Is this a correct conclusion? I based the conclusion on post below:
AET enhancement capabilities
Found a OSS note 1088910 which looks like something we could use instead in CRM 7.0:
appl enhancement component view for customer
Competitor products (PRDCP) PRDCPOV/CustomHeader
Is this correct?
If this is not correct, how can we enhance the competitor product screen without changing the sap standard code (like append a Z structure to table comm_product_idx and then....are there any enhancement sports for this screen where we can add our custom code?). Do we have to use the framework enhancement concept?
Also found OSS note 1448299 that provides information about business functions for the Application Enhancement Tool (AET) in SAP Enhancement Package 1 for SAP CRM 7.0 and I saw that we will be able to enhance the competitor product screen as soon as we have upgraded to Ehp 1 just by switching on business function crm_inf_1. Is that correct?
Rgds,
JosephineHi Josephine,
You can enhance any standard CRM 7.0 component. follow this wiki on how to enhance standar CRM7.0 components
http://wiki.sdn.sap.com/wiki/display/CRM/HowtoGuide-EnhancingtheUIinCRM+7.0
You have two options to add new field to the competitor product screen
1. Using AET. Application Enhancement Tool, require very limited technical knowledge and i believe even function person can add a new field on the webui screen using AET. Search sdn with AET and you will find lot of information.
2. Create a z table with the new field value and product id (unique key).
Create a value node in the standar component.
On load of the webui screen fetch the details of the new field from the ztable and display it
On the save of the webui screen if the value of the new field has changed update the z table.
Regards -
I have a form that was made by someone else. I need to move fields and add new fields in the same box. How do I do that?
If the form was created in Acrobat and you have Acrobat, you should be able to edit the fields by selecting: Tools > Forms > Edit
This is for Acrobat 11. If the PDF has security restrictions that prevent editing or was created with LiveCycle Designer, you won't be able to edit it in Acrobat. If security was applied, you'll need to know the password in order to remove it to allow editing. -
Im trying to add new fields to Advanced search in WHO's Who settings which are customs fields Z from infotype 1008; I customized new infoset copy from standard adding this infotype, but im getting error when i run de query on ESS, anyway Who's who don't Show fields from infotype 1008 on output field details, Anybody Knows How I can add custom fields in Who's who infoset and how the hell can I read infotype 1008 from infoset on PCH DataBase?
Thanks in advanceHi,
Here is the catch, when you add the custom infotype make sure it has the primary key same as other infotypes used in the Query.
For example make Pernr as the primary key in the custom infotype.
I tried the same in our landscape and it worked fine.
The steps I did are as below:
In SQ02 - EDIT - Change Info-Type Selection - Add the Custom Infotype to the Query
In SQ03 created a custom user group and assigned Infoset to the User Group.
In SQ01 create the query and click on Change - From the top selected Basic List and added the fields which I want to see in list and also the selection criteria.
Once done with this execute the Query and see if the data is populated from the Custom Infotype.
There is no coding needed to populate the data.
Make sure the join is right and it should get the data. And the above link shows how to include the Custom Info-type fields in WHO'S WHO search.
Hope this helps.
Cheers-
Pramod -
Want to add new field in QA32/QA11 transaction under inspection lot stock
Dear Experts,
I want to add new field in QA32 transaction under inspection lot stock tab or under characteristic tab.
The reason behind is: Depends upon UD decision i want to assing customer name. So already we are having one Z Report for all the lots against this lot we have to display customer name.
So in order to fetch customer name in the Z report we want to assing customer through F4 selection in the usage decision screen.
I know this is possibe for Make to order scenario, but our senario is make to stock.
Please advice your valuable inputs.
Regards.Hi Sujit,
Can you please elaborate it,coz i'm using the same but if i place the break-point in PBO of sub screen,the break-point won't be triggered.and is there any additional step to get the data from function group? if yes, please explain me indetail.
If possible please provide the sample code for this.
Thanks Inadvance.
Madan
Edited by: Madan.ngt on Mar 3, 2011 7:16 AM
Edited by: Madan.ngt on Mar 3, 2011 7:17 AM -
Need to add new fields in transaction UDM_DISPUTE.
Hi Friends,
This is regarding UDM_DISPUTE transaction in FSCM.
I need to add new fields (drop down lists) in transaction UDM_DISPUTE.
Program Name: SAPLSRMCLFRM2
Screen Number: 100
Can any one please suggest me with the name of exit using which I can add these new fields.
Or another way through which I can add these new fields viz., BADI or classes.
Thank You in Advance!
Regards,
TejaswiniExecute the below code to find the userexits the t-code is using
REPORT yuserexit_vin NO STANDARD PAGE HEADING.
TABLES : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
TABLES : tstct. DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECT SINGLE * FROM tstc WHERE tcode EQ p_tcode.
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR' AND object = 'PROG' AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir WHERE pgmid = 'R3TR' AND object = 'FUGR' AND obj_name EQ enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
SELECT * FROM tadir INTO TABLE jtab WHERE pgmid = 'R3TR' AND object = 'SMOD' AND devclass = v_devclass.
SELECT SINGLE * FROM tstct WHERE sprsl EQ sy-langu AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ', 20(20) p_tcode, 45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline, 2 'Exit Name', 21 sy-vline , 22 'Description', 95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt WHERE sprsl = sy-langu AND name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline, 2 jtab-obj_name HOTSPOT ON, 21 sy-vline , 22 modsapt-modtext, 95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
* *---End of Program -
How do I add new fields to the 'Customer Data' tab under the BP
I had previously found a screen in the SAP GUI to add fields so that they would show up on the 'Custmer Data' tab under the Business Partner screen. I thought it had been somewhere in se80 but I cannot find it again. Does anyone know where this is? Thank you!
Hi Mark,
You can do this using transaction EEWB. This is the Easy Enhancement Workbench.
within this, you can use the wizard which will guide you through a step by step process to add the fields you need. Basically, there are 2 ways to add new fields :
1. Add new fields - this adds fields to table BUT000, but places the fields on a new tab called 'Customer Data'
2. Add new attributes table - creates a new table and links it to BUT000 using the partner number.
Hope this helps you.
Cheers,
Rishu. -
Add new fields to default view when creating fields via REST in sharepoint 2013
Hello,
When I add new fields via REST in a list, they don't appear in the default view for that list.
Here is my code in case you need it:
public function creeChamp(nomListe:String, champ:String, type:int, requis:Boolean):void
postURL.data = JSON.stringify({ '__metadata': { 'type': 'SP.Field' }, 'Title': champ, 'FieldTypeKind': type,'Required': requis, 'EnforceUniqueValues': false,'StaticName': champ});
thanksYou need to add the field to the view as well.
Here is the API.
Our code looks pretty different because I'm working in AngularJS, but here's a snippet from a working example:
$http.post(siteUrl + "/_api/web/lists/GetByTitle('" + listName +
"')/Views/GetByTitle('All%20Items')/ViewFields/addViewField('" + columnName + "')",
// POST data is empty for this request
}, getPostConfig())
.then(function (response) {
deferred.resolve("Added column to view");
.catch(function (response) {
deferred.reject('Error ' + response.status + ': ' + response.data.error.message.value)
Bottom line is you just POST to this URL however you normally do - except no data:
"/_api/web/lists/GetByTitle('" + listName + "')/Views/GetByTitle('All%20Items')/ViewFields/addViewField('" + columnName + "')",
Hope this helps!
- Bob -
Screen Exit - add new field (VBAK-VBELN) in VC01N
hi friends,
how to add new field (VBAK-VBELN) in VC01N tcode
Tcode: VC01N Sales Activity
Table: VBKA
Field: VBELN
Requirement: New field in screen ( VC01N )
Description:
Prospective projects are to be linked to the sales activities whenever they are created.
Prospective Project VA12
Table: VBAK
Field: VBELN
Doc Type: ZPRO
Doc Category: A
Place the new field VBAK-VBELN under the u2018Commentu2019n in the VC01N.
urgent plz reply
thanks and regards
Poorna
Edited by: poornambika sivaramakrishnan on Nov 21, 2008 11:28 AMHi...
You can definitely do it...provided if screen exit is there ...
Below is the program to find the exit whether present or not in your transaction,
Just give your tcode in the program , it will show all the exits in your transaction.
Regards
RachelArun
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
u2022 Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
u2022 Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
u2022 Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
u2022 Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Maybe you are looking for
-
In the English environment does not correctly display the Chinese
I design query in the English environment to input Chinese characters. It can be run correct in the excel, but in the web page or portal display incorrect. My environment of language is English, but I want to display Chinese in the portal. How can I
-
Document library : rating (stars) feature not showing for folders.
Hi, Trying to figure out when rating feature will show starts icon for rating folders. It is showing for individual files but not for folders. Attached is the scree-shot. all names are folder names.
-
Deleted delivery order tracking
Hi experts, I wanted to find out whether there is any way to find out all the deleted delivery orders. Any table stores these data?
-
Setting null values to view.attributes
Hi all, I am getting following NPE posting form to server. Below I m writing snippet of code which causes the issue: SEVERE: value is null for a not available property: test java.lang.NullPointerException: value is null for a not available property:
-
Outlook 2013 with Office 365 and Google Apps Sync.
This is the scenario, hopefully somebody can give me some insight on how to resolve this. Outlook 2013 with gapps. Both updated. Outlook profile with an office 365 email account (which is as an exchange account) and google apps with our main account.