Product Category field in basic list be edit mode.
Hi Expert,
We are using SRM 5.0.
In basic data we have a field Product Category which is gradeout mode(not editable).
my requirement was to make it editable.
please help me.
Thank and reagrds,
Tirumala
Hi Experts,
In module pool we made changes and it is working fine.
Thanks and regards,
Tirumala.
Similar Messages
-
Enable the product Category field as dropdown in Approval page of shopping
Dear All
Can anybody tell me how we can make the "Product Category" field enable as a drop down in the Approvers page. I have a requirement like this. I need to make only that field in "Basic data" as enabled and capture what the user selects in the dropdown. I tried using the badi BBP_UI_CONTROL_BADI (method BBP_SC_UI_CTRL) but could not help me. Please suggest me in this regards.
Thanks
Vijay.MThanks, resolved.
-
Hyperlink on field in Basic list of ABAP Query
Dear All,
Could somebody tell me, if its possible to have a hyperlink on a field in the Basic list of ABAP Query (SQ01,SQ02).
Example :- There is a basic list which has the field MARA-MATNR displayed.There should be a hyperlink on this field, such that when the user clicks on it , the transaction MM03 is called.
Thanking You.
RanuHi,
Loop at itab.
write:/ itab-matnr hotspot,
itab-maktx.
hide: itab-matnr.
endloop.
data: c_field(16).
at line-selection.
get cursor field c_field.
if c_field = 'ITAB-MATNR'.
check not itab-matnr is initial.
set parameter id 'MAT' field itab-matnr.
call transaction 'MM03' and skip first screen.
endif.
This is one example to call the transaction.
If this helps you award points.
Thanks,
Deepak. -
Deactivated Product Category Still Showing On List
EBP 4.0, SAPKU40006
I have deactivated a product category within the extended attributes tab for all users but it still appears on the list when creating a free text cart.
Has anyone got any ideas as to why this would be happening?
Thanks
KeithHi
Depending on your SRM system version, Please go through the links, which will definitely help ->
Re: Shopping cart creation category dropdown selecting the most used category
Restricting product category
Do let me know.
Regards
- Atul -
Version category field for material type trading goods in mm01
hi everyone,
In MM01 for trading goods material type, we have version category field in basic data1 as list box, but there is no values in it. As we are using SAP DBM 7.0. can anyone tell me how to get or configure those values in list box?
Thanks in Advance!!!I could only find that this tcode can be used for maintaining the version types. VTCU.
Could not help u much as this version is not activated in my system -
"Add to Shooping cart" button does not work when changing Product Category
Dear all, we are running SRM 4.0 Classic scenario and we have a strange problem with Product Category field. When click on the "Describe Requirement", it opens the shopping cart page with the Product Category field and the default value is coming from favorites. As long as you dont change this value , enter the other fields and click on the "Add to shopping cart" button, then it works. If the users try to change this value on this page to select a different value from the drop down, then the "Add to Shopping Cart" button does not work. Has anyone encountered this problem before. Users are getting frustrated with this behaviour. Any help to fix this issue is appreciated. Thanks in advance.
Regards
Gabriel BertrandDear Disha, this is what is the behaviour.
Suppose, if for a particular user, there are 4 items listed as favorites in the Product category and one of them is a default value. If you don't make any changes to this value and then click on Add to Shopping Cart, it works. If you try to select a different value other than the default from the favorites, then the Button does not do anything.You click on it nothing happens and cannot go to the next page. Also all the links are disabled (ie Describe Requirement / Old Purchase Order and Template)
If we dont change the value for Product category and go to the next page (with default value) and then change the Product category here, it works (Continue button works and were able to Order or Hold).
Thanks
Regards
Gabriel -
Product Category Rules in Shopping Cart
Hi All,
Currently trying to figure out the logic behind how the SRM system fills in the Product Category field in the Shopping Cart when taking an item from a Punch-Out Catalog. From what I've researched so far, how it is supposed to work is:
If a valid value is passed through NEW_ITEM-MATGROUP[n] then SRM should populate this.
If no value is passed then default value maintained in Ext. Attributes of Org. Structure is taken.
Are there any other rules that I'm missing? What if the catalog passes a valid Product ID, but no Product Category, will the system take the associated Product Category from COMMPR01, or will it take the default from org structure? In our tests we found that is taking the default from org structure, and I'm not sure if this is a bug, standard, or configuration issue.
Regards,
Andrew BondarevHi Richardo,
Thanks for the response. We have already checked the table, and it doens't seem that there are duplicate entries for the Product Category.
We did just have a breakthrough though in that if we supress the fields NEW_ITEM-ext_schema_type and NEW_ITEMEXT_CATEGORY_ID[n], then the proper value is populated in SRM.
Note: We are performing the mapping on the APC side, so the value in NEW_ITEM-MATGROUP[n] is already the Product Category found in COMM_HIERARCHY. No mapping should be needed in SRM. I'm guessing that by passing a schema type and ext. category ID, SRM is looking for some mapping in SRM, but can't find it so it uses the value in the Org. Structure.
Now the issue is figuring out how to allow for the values for Schema and Ext.Category to still be passed from APC, but have SAP ignore them.
Regards,
Andrew -
Hello Does any one knows how to configure the Product Category Field in Telesales.
For Version 11.5.10
I already do what it say in Metalink Note Note:279920.1 but it dosen´t Work.
thanksYou need to have Advanced Product Catalog and which is a mandatory step.
Metalink Ref: Note:330141.1
HTH -
Selection screen in Non-EDIT mode
Hi all,
I have a selection screen in which the user wants a field to be in Non-EDIT mode. How to do it?
PARAMETERS : s_vkorg like vbrk-vkorg default '1000'.
(The above parameter shud be in non-editable mode)
select-options : s_vtweg for vbrk-vtweg.
select-options : s_spart for vbrk-spart.
Pls reply.
Thanks in advance.
VijayVijay,
Use the code below.
REPORT zscreen.
TABLES: vbrk.
SELECT-OPTIONS : s_vtweg FOR vbrk-vtweg MODIF ID mo1.
SELECT-OPTIONS : s_spart FOR vbrk-spart MODIF ID mo1.
* At selection Screen Output Event
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'MO1'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP. -
Exit for CJO2, Some fields should me only in display mode
Hi Experts,
I have to do certain field of CJ02 IN non EDITABLE MODE( Only Display) .
Please suggest me which user exit can be used ?
Rgds
MohitDone, Using Enhancment Points
-
I'm trying to make my pages look like documents on Lotus Notes/Domino.
That is : the page displays first with the texts, and no input fields, but with an Edit button at the bottom.
Once the Edit button has been pressed, you can see the fields, and modify them. At the bottom of the page you have a Save button that saves the information you entered in the beans, and toggle back the read mode.
The problem is that the EditMode bean can't be sotred in the session because then the edit mode would be toggled for the other pages you migh have open in other browser windows.
Here is a snipset from my application :
faces-config.xml
<faces-config>
<managed-bean>
<description>
This bean is used to change the state from edit fields, to simulate read and edit modes.
</description>
<managed-bean-name>editMode</managed-bean-name>
<managed-bean-class>com.seanergie.faces.EditMode</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
</faces-config>
In the jsp :
<f:view>
<h:form id="editAdvertiser">
<h1>Advertiser ${advertiser.name}</h1>
<label><h:outputText value="Name"/></label>
<h:inputText id="name" value="#{advertiser.name}" size="50" rendered="#{editMode.edit}"/>
<h:outputText value="#{advertiser.name}" rendered="#{editMode.read}"/>
<h:commandButton value="Edit" actionListener="#{editMode.switchMode}" rendered="#{editMode.read}"/>
<h:commandButton value="Save" actionListener="#{advertiser.save}"/> rendered="#{editMode.edit}"/ >
</h:form>
</f:view>
The edit mode bean :
public class EditMode {
private boolean edit = false;
public EditMode(){}
public EditMode(boolean edit){
this.edit = edit;
public boolean getEdit(){
return edit;
public void setEdit(boolean edit){
this.edit = edit;
public boolean isEdit(){
return edit;
public boolean isRead(){
return !edit;
public void switchMode(ActionEvent event){
edit = !edit;
public static void setMode(boolean editMode) {
java.util.Map scopeMap = FacesContext.getCurrentInstance().getExternalContext().getRequestMap();
scopeMap.put("editMode", new EditMode(editMode));
//Following Doesn't work if the bean hasn't been referenced yet
//FacesContext context = FacesContext.getCurrentInstance();
//Application application = context.getApplication();
//ValueBinding binding = application.createValueBinding("#{editMode}");
//binding.setValue(context, new EditMode(editMode));
}This works fine if the editMode bean has a session scope, but if it has a request scope (as it needs to be), it doesn't work anymore.
The advertiser.name isn't updated, as the default value for the editBean is false (read mode), and the input tag for the name field as rendered="#{editMode.edit}", when the view is restored, the input tag is hidden, and so, the new name value isn't commited in the apply requested values phase.
Is there a way to have this working ?
This would be really nice, as it allows to have the same page for editing and displaying customer info for example, and it would greately reduce the amount of coding and maintenance for our project.
Thank you,
SylvainI made it work using the MyFaces x:saveState tag :
Just add <x:saveState
value="#{editMode.edit}"/> in the page and it
works :-)Hi Sylvain,
Could you send me example your form?
I'm working on almost same thing and had similar problem.
I have several ideas in area editing data and ready to send you some of them.
I'm creating form that used RowSet.
For example I found solution for delete row from table by button that located outside dataTable.
Vladimir -
Product category: add description2 field to SC screen
Hi,
We are running on SRM 5.5(classic)..My query is on the SC screen....
In the SC screen if we do drop down list for Product cateogry..we will see the Product category id and product category description...so i want to add one more description2 to that...how can i add that field to that ITS scree..
experts..please help on this..
ThanksHi
You to configure in SRM SPRO
Go to--> SRM --> SRM server > technical basic settingsDefine Backend product category
Add the items here and save
Create SB you will get that
Try and confirm
G.Ganesh Kumar -
What is the Category field for and how do I edit it?
In the iTunes music list, there is a category field. However, I do not see it in the get info window. Not surprisingly, although the category field shows in my iTunes music list, none of my songs have anything entered for the category. What is this field for and how do I edit it? Thanks.
The only items I have that show a category are some iTunes U downloads.
You can see a list of iTunes U category and subcategory codes and associated names here: http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/iTunesUintheiTunesSt ore/chapter13_section3.html -
Product category: Add description field to the search help
Hi experts,
My requierement is to add the material group description field 2 in search help.
Analysis: While creating the shopping cart it will ask product category . when we click on the drop down list we can find the ...type if u click on that it will move to other screen where we can search.after that it will show the product category description , category ID, Logical system.
I want to add one more field to that ( product category description 2 field.
let me know how can i proceed further on this.
Thanks,
Prashanth.Hi Neha,
Thanks.
but i want to know which search help is using....(IN ITS )
please help me to find the exact search help.
Thanks,
Prashanth. -
How to edit particular field in alv list display-urgent
HI ALL,
my requirement is i am displaying output using alv list display. now my rewuirement :
i am displaying out in edit mode only. when user clicks one particular field
for example record is like
runrate a01 maheed -> if user clicks on a01 this field should be editable. i have a following code
w_field-edit = w_edit.
w_field-input = 'X'. -> using this code i can able to display entire colomn in edit mode. this not suits my requirement.anybody can send me the sample code please.
thanks,
maheedhar.tCan you please send me the sample code plz.
i am sending my code below.
type-pools : slis.
tables : zuser_secobjects.
data : t_header1 like zuser_secobjects.
data : begin of it_secobjects occurs 0.
include structure t_header1.
data : checkbox type c value 'X',
action type c,
end of it_secobjects.
data : begin of it_secobjects1 occurs 0.
include structure ZUSER_SECOBJECTS.
data : checkbox type c VALUE 'X',
end of it_secobjects1.
data : wa_ita like line of it_secobjects.
data : i_field type slis_t_fieldcat_alv with header line.
data : w_field like line of i_field.
data : i_sort type slis_t_sortinfo_alv.
data : w_sort like line of i_sort.
data : it_filt1 type slis_t_filter_alv with header line.
data:
i_tabname type tabname,
i_repid like sy-repid,
is_lout type slis_layout_alv.
data : it_filt type slis_t_filter_alv with header line,
it_evts type slis_t_event with header line.
DATA : is_vari type disvariant.
constants : c_default_vari value 'X',
c_save_vari value 'U',
c_checkfield type slis_fieldname value 'ACTION',
c_f2code type sy-ucomm value '&ETA'.
data : chk_box type slis_fieldname.
selection-screen: begin of block b1 with frame title text-t01.
parameters : p_appln type zuser_secobjects-appln.
parameters : p_user type usr02-bname, "zuser_secobjects-appln_user,
p_partnr type zuser_secobjects-appln_partner,
p_ptype type zuser_secobjects-partner_type default '02',
p_upostn type zuser_secobjects-user_position,
p_sdate like likp-erdat default sy-datum,
p_edate(10) default '12/31/9999',
p_revnum type zuser_secobjects-revnum,
p_cted type zuser_secobjects-created_by,
p_cdate type zuser_secobjects-creation_date,
p_ctime type zuser_secobjects-creation_time,
p_chnby type zuser_secobjects-changed_by,
p_cdate1 type zuser_secobjects-changed_date,
p_ctime1 type zuser_secobjects-changed_time.
selection-screen: end of block b1.
form user_command using p_ucomm like sy-ucomm
rs_selfield type slis_selfield.
case p_ucomm.
when 'SELECT_ALL'. " SELALL is the FCODE of ur push button
loop at it_secobjects into wa_ita.
wa_ita-checkbox = 'X'.
modify it_secobjects from wa_ita.
endloop.
rs_selfield-refresh = 'X'. "<- ADD THIS
when 'DESLCT_ALL'.
loop at it_secobjects into wa_ita.
wa_ita-checkbox = ' '.
modify it_secobjects from wa_ita.
endloop.
rs_selfield-refresh = 'X'. "<- ADD THIS
is_lout-f2code = c_f2code.
is_lout-box_fieldname = c_checkfield.
is_lout-get_selinfos = 'X'.
is_lout-detail_popup = 'X'.
is_lout-detail_initial_lines = 'X'.
maheed-start.
*when 'SAVE'.
*LOOP AT IT_SECOBJECTS WHERE CHECKBOX = 'X'.
MOVE-CORRESPONDING IT_SECOBJECTS TO IT_SECOBJECTS1.
APPEND IT_SECOBJECTS1.
CLEAR IT_SECOBJECTS1.
DELETE IT_SECOBJECTS.
*ENDLOOP.
*DELETE ZUSER_SECOBJECTS FROM TABLE IT_SECOBJECTS1.
WHEN 'DELETE'.
loop at it_SECOBJECTS where checkbox eq 'X'.
delete it_SECOBJECTS.
endloop.
*RS_SELFIELD-REFRESH = 'X'.
maheed-end.
maheed-start. apr 13
WHEN 'DELETE'.
loop at it_SECOBJECTS where checkbox eq 'X'.
MOVE-CORRESPONDING IT_SECOBJECTS TO IT_SECOBJECTS1.
APPEND IT_SECOBJECTS1.
delete it_SECOBJECTS.
endloop.
RS_SELFIELD-REFRESH = 'X'.
when 'SAVE'.
DELETE ZUSER_SECOBJECTS FROM TABLE IT_SECOBJECTS1.
commit work.
refresh :IT_SECOBJECTS1.
maheed-end. apr 13
*when 'SAVE'.
*LOOP AT IT_SECOBJECTS WHERE CHECKBOX = 'X'.
MOVE-CORRESPONDING IT_SECOBJECTS TO IT_SECOBJECTS1.
APPEND IT_SECOBJECTS1.
CLEAR IT_SECOBJECTS1.
DELETE IT_SECOBJECTS.
*ENDLOOP.
*DELETE ZUSER_SECOBJECTS FROM TABLE IT_SECOBJECTS1.
ENDCASE.
endform.
*& Form delete
form delete.
data : begin of is_secobjects occurs 0.
include structure zuser_secobjects.
data : checkbox type c.
data : end of is_secobjects.
is_secobjects-checkbox = 'X'.
modify is_secobjects
from it_secobjects
transporting checkbox
where checkbox = 'X'.
endform.
*& Form get_data
form get_data.
select * from zuser_secobjects
into table it_secobjects.
endform. " get_data
*& Form prepare_fieldcatalog
text
--> p1 text
<-- p2 text
form prepare_fieldcatalog." USING w_edit TYPE any.
data : w_edit type c.
clear w_edit.
clear: w_field,i_field.
refresh:i_field.
i_field-key = 'X'.
i_field-col_pos = 1.
i_field-ddictxt = 'S'.
i_field-seltext_s = '@11@'.
i_field-checkbox = 'X'.
i_field-input = 'X'.
i_field-fieldname = 'HEADER'.
i_field-outputlen = 0.
append i_field.
clear i_field.
w_field-fieldname = 'APPLN'.
w_field-tabname = 'IT_SECOBJECTS'.
w_field-seltext_l = text-m01.
w_field-outputlen = '10'.
w_field-EDIT = 'X'. "maheed
w_field-col_pos = 1.
append w_field to i_field.
clear w_field.
w_field-fieldname = 'APPLN_USER'.
w_field-tabname = 'IT_SECOBJECTS'.
w_field-just = 'C'.
w_field-seltext_l = text-m02.
w_field-outputlen = '7'.
w_field-col_pos = 2.
append w_field to i_field.
clear w_field.
w_field-fieldname = 'APPLN_PARTNER'.
w_field-tabname = 'IT_SECOBJECTS'.
w_field-just = 'C'.
w_field-seltext_l = text-m03.
w_field-edit = w_edit.
w_field-input = 'X'.
w_field-outputlen = '7'.
w_field-col_pos = 2.
append w_field to i_field.
clear w_field.
w_field-fieldname = 'INACTIVE'.
w_field-tabname = 'IT_SECOBJECTS'.
w_field-just = 'C'.
w_field-seltext_l = text-m02.
w_field-outputlen = '7'.
w_field-col_pos = 3.
append w_field to i_field.
clear w_field.
endform. " prepare_fieldcatalog
*& Form ALV_LIST_DISPLAY
text
--> p1 text
<-- p2 text
form alv_list_display.
DATA : LC_GLAY TYPE LVC_S_GLAY.
LC_GLAY-EDT_CLL_CB = 'X'.
i_repid = sy-repid.
is_lout-box_fieldname = 'CHECKBOX'.
it_filt-fieldname = 'ACTION'.
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_callback_program = i_repid
i_callback_pf_status_set = 'PF_STATUS_SET'
i_callback_user_command = 'USER_COMMAND'
is_layout = is_lout
it_fieldcat = i_field[]
it_filter = it_filt[]
it_events = it_evts[]
i_default = c_default_vari
i_save = c_save_vari
is_variant = is_vari
tables
t_outtab = it_secobjects.
endform. " ALV_LIST_DISPLAY
*& Form display
text
-->P_I_OBJECT text
form display using object.
case object.
ENDCASE.
endform. " display
thanks,
maheedhar.t
Maybe you are looking for
-
I've wondered this for a long time-is there a way to set up Lync so that I can have users sign in with just the sign in address, and not have to specify the username as well? Things tend to go like this: User launches lync client-types sign in addres
-
Cancelled (detached) events showing on shared calendar - help!
I can't figure out how to remove cancelled events from showing in iCal on a shared calendar. We use Zimbra for mail, etc. I subscribe to my boss' calendar and it is showing his cancelled (detached) events. They do not show in his iCal on his computer
-
Activity Templates inside Service Request Templates
I have run into a problem and I was hoping there is an easy solution. I have built Activity Templates for Access Requests, one template per application. Then I have Service Requests for per Job Code, which include up to 20 of those Activity Templates
-
Cursor - Output in Continous form
Hello Experts, I have the following cursor; i need to print the values continuosuly. How can i do it? declare reference_name varchar2(256); cursor reference_names is select distinct name as data from title and rownum <=5;
-
Adobe Premier Pro CS6 unregistering (and uninstalling?) itself
Hi, We are a university and in one of the labs have 13 Adobe Premier Pro CS6 installs, installed and registered some 12 months ago. We've just found 2 PCs where the software has dropped back into trial mode, and had to be re-registered. Even more str