Field hide in the Maintanence View
Hi all,
I have created a maintanence view for a table.For a composite primary key field I need to have a pop-up display when the Tcode for the table is run and the same field should not be shown in the maintanence view afetr value is entered in the Pop-up.
For pop up I used the value 'S' in the P- column while view creation, but how to hide the field ?
Ur ideas appreciated.
Thanks,
Stock
Hi all,
I have created a maintanence view for a table.For a composite primary key field I need to have a pop-up display when the Tcode for the table is run and the same field should not be shown in the maintanence view afetr value is entered in the Pop-up.
For pop up I used the value 'S' in the P- column while view creation, but how to hide the field ?
Ur ideas appreciated.
Thanks,
Stock
Similar Messages
-
How to display the field name in the tabulated view for a content query web part
I have added a content query web part changed the web part file to include custom columns imported and reffered itemstyle.xsl
to include the tabulated view for the content query.
However the way it is displayed is such that only the content is displayed.
As i am using a tabular view wto display the data, i want to display their field names as well.Hi ,
According to your description, my understanding is that you need to display the field in the tabulated view for a content query web part.
For your issue, please refer to the code as below:
<xsl:template name="VendorCustomStyle" match="Row[@Style='VendorCustomStyle']" mode="itemstyle">
<html>
<table width="100%">
<xsl:if test="count(preceding-sibling::*)=0">
<tr>
<td width="8%" valign="top"><div class="item"><b>Vendor ID</b></div></td>
<td width="12%" valign="top"><div class="item"><b>Vendor Name</b></div></td>
<td width="50%" valign="top"><div class="item"><b>Vendor Description</b></div></td>
<td width="10%" valign="top"><div class="item"><b>Vendor Country</b></div></td>
<td width="10%" valign="top"><div class="item"><b>Vendor Date</b></div></td>
<td width="10%" valign="top"><div class="item"><b>Created By</b></div></td>
</tr>
</xsl:if>
<tr>
<td width="8%" valign="top"><div class="item"><xsl:value-of select="@VendorID" /></div></td>
<td width="12%" valign="top"><div class="item"><xsl:value-of select="@Title" /></div></td>
<td width="50%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Description" disable-output-escaping="yes" /></div></td>
<td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Country" /></div></td>
<td width="10%" valign="top"><div class="item"><xsl:value-of select="@Vendor_x005F_x0020_Date" /></div></td>
<td width="10%" valign="top"><div class="item"><xsl:value-of select="@Author" /></div></td>
</tr>
</table>
</html>
</xsl:template>
For more information, please have a look at the blog:
http://www.codeproject.com/Articles/756834/Customizing-the-Content-Query-Web-Part-and-Item-St
http://msdn.microsoft.com/en-us/library/ms497457.aspx
http://clarksteveb.hubpages.com/hub/Customized-Content-Query-Web-Part-CQWP-in-SharePoint-2007-with-results-Tabbed-Grouped-and-in-an-HTML-Table
http://blog.sharepointexperience.com/customitemstyle/
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Problem in sorting of maintanence view contents-
Hi ,
I have created the maintanence view for one DB table in the dictinory.the view contains the fields as floows.
CUPNO CUPNAME GUPNO GUPNAME.
Data it is displaying correctly.But user want CUPNAME and GUPNAME should be in the sorted format(alphabetical) .How i need to sort the CUPNAME and GUPNAME in the maintanence view.Can any body please help.
Thanks,>
rammohan venkata wrote:
> Hi ,
>
> I have created the maintanence view for one DB table in the dictinory.the view contains the fields as floows.
>
> CUPNO CUPNAME GUPNO GUPNAME.
>
> Data it is displaying correctly.But user want CUPNAME and GUPNAME should be in the sorted format(alphabetical) .How i need to sort the CUPNAME and GUPNAME in the maintanence view.Can any body please help.
>
> Thanks,
Hi Ram,
Go to table Maint. generator -> Modification and in source code you can sort on the basis of user requirement .
Thanks
NK -
Action reference in the MAIN view for other Views
Hi Experts,
I have created a view(MAIN) that contains SUBMIT button and also included four other views(Using ViewContainerUIElement) in the MAIN view itslef. So am calling the respective view based on some certain condition from MAIN view.
Now my problem is, am using check_mandatory_attr_on_view() method which is being called on SUBMIT action from MAIN view of WDDOBEFOREACTION. But it is not checking Required Fields from other views. It checks the Required Fields only in the MAIN view.
I know that I want to call the reference of other views in MAIN view, but how can I do it?
Please help me, as how I can check the Required fields on action of SUBMIT button in MAIN view for other views.
BR,
RAM.Hi,
Though am in MAIN view, If i clicks the submit button it checks the Required fields on both MAIN and Sub views, where still I have not called the Sub view.
If you didn't call the sub view, the WDDOINIT method of your sub view wouldn't have been triggered and so the sub view reference is not set in the component controller, isn't it.?
OR you are calling sub view separately in the initial state and get the reference and then in your MAIN view calling the sub view based on condition in the View Container UI..?
If so, create an attribute in your Main view (say sub_view_name of type string) and then use the below code to get the current sub view name and then pass the corresponding sub view reference:
DATA:lr_view_controller type ref to IF_WD_VIEW_CONTROLLER,
lr_main_view_usage type ref to IF_WD_RR_VIEW_USAGE.
lr_vc_assignment type ref to IF_WD_RR_VIEW_CNT_ASSIGNMENT.
lr_view_usage type ref to IF_WD_RR_VIEW_USAGE.
lr_t_views type WDRR_VCA_OBJECTS.
lr_s_view like line of lr_t_views.
lr_view type ref to if_wd_rr_view.
lr_view_controller = wd_this->wd_get_api( ).
lr_main_view_usage = lr_view_controller->GET_VIEW_USAGE( ).
lr_t_views = lr_main_view_usage->GET_VIEW_CNT_ASSIGNMENTS( ). "This will return all the View Container assignments.
* Now loop over all the View containers and get the reference of embedding view.
loop at lr_t_views into lr_s_view .
lr_vc_assignment = lr_s_view-VIEW_CNT_ASSIGNMENT.
lr_view_usage = lr_vc_assignment->GET_DEFAULT_VIEW_USAGE( ). " This will return view usage reference
lr_view = lr_view_usage->get_view( ). " This will have the meta info of view
wd_this->sub_view_name = lr_view->get_name( ).
endloop.
Now in onAction submit,
CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
EXPORTING
view_controller = lr_view_controller " MAin view reference
case wd_this->sub_view_name.
when 'SUB_VIEW1'.
CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
EXPORTING
view_controller = wd_comp_controller->gr_emb_view1.
when 'SUB_VIEW2'.
CL_WD_DYNAMIC_TOOL=>CHECK_MANDATORY_ATTR_ON_VIEW(
EXPORTING
view_controller = wd_comp_controller->gr_emb_view2.
Or, alternatively; create all the nodes(of sub views) in component controller, then map all those to MAIN view, then read the required node attributes and validate manually.
hope this helps u,
Regards,
Kiran -
Querying data from the maintenance view.
Hi Experts,
Well, i need the STEXT field value from the maintanance view V_T591A created for the standard table T591A.
Table T591A has the field Subtype but doesn't have the field Stext, which consists the description of the subtype. The Stext field is there in the maintenance view V_T591A.
So, if i want to query the respective description of the specific subtype, how do i get the values from the maintenance view?
Please advice.
Thanks in anticipation to all!
Cheers,
Sundar.Atish,
It is not possible that way! U cannot Query directly from MV as a DB table.
Anyways, i managed to find the answer.
Thanks though.
Regards,
Sundar. -
How to dynamically hide the Field Label in the overview page's form view?
Hi Experts,
How to dynamically hide, for certain condition, the Field Label in the overview page's form view?
Please reply me.
Regards,
VishalHi Vishal,
It is not possible to dynamically hide/display fields if the UI is build using configurations.
The work around is to have multiple configurations, and based on the condition, load the
corresponding configuration at runtime.
The other approach is to code the complete htm view(htm coding) without using the configuration provided by the framework.
Regards,
Leon -
How to hide a field in the maintenance view (URGENT) ???
I have created a custom table with following fields:-
MANDT (mandatory)
KOKRS (mandatory)
KHINR (mandatory)
KHINRNAME
KOSTL (mandatory)
KOSTLKHINR
I have a requirement that i should get a pop-up to fill the value of KOKRS but user should not be able to see its value in the maintenance view.
I have given the maintenance attribute 'S' to KOKRS field so that pop-up should be there , now please advice on how to prevent KOKRS field to be shown in the maintenance view.in SE51 try to change the attributes of the field in the screen. Either visible length to be 0 or check and see if any other attribute would be of help.
-
Workflow not working if the trigger field isn't in the list view!
I have a list that displays important dates, and I have set up a reminder date column which calculated the reminder date by adding 7 days on to the set date. I then have a workflow that emails out reminder of this task if the reminder date matches today.
I have noticed that if I include the reminder date column in my list view, the workflow works fine. But as soon as I remove the reminder date field from the list view my workflow no longer works. It's obviously quite confusing to other having this reminder
date column there when it is only needed to trigger a workflow, so how do I trigger the workflow without having it on view?
Thanks!Hi Sarah,
As I understand, you have a Date column for user to set date, then you want a reminder date to add 7days to Date column. Then you would like to trigger a workflow if reminder date matches today.
If you do not want reminder date in the list, you could use the workflow 2013 action Core Actions > Add time to Date, to set a workflow variable to replace reminder date, and compare with today. Then you could omit reminder date column.
If you do want reminder date in the list, please try hide reminder date column in the list and test the issue again.
http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2013/06/03/how-to-hide-a-sharepoint-list-column-from-a-list-form.aspx
Regards,
Rebecca Tu
TechNet Community Support -
Date fields in the Maintainence View.
Hello friends,
I created a maintanence view which of 2 steps. This view contains a DATE field of data element type 'DATS". Now the problem is -"
1. In the first screen of the viewI am not able to see only the DATE field(Over view scr).
2. But I able to see the same field in the 2nd screen(Maintanence Screen).
Not only to my View I maintained ' Table Maintanence Generator" to some more tables.There also I am not able to see the date field in the first screen, unless it is a key field.
Thanks in advance.Hi
Step 1: Create & Maintain Table (SE11)
Screen 101: ABAP Dictionary: Initial Screen
Screen 102: Maintain Table -> Delivery and Maintenance
Screen 103: Maintain Table -> Fields
[] SE11: Enter Table Name -> Create
Enter Table Description (Mandatory Field)
Select Delivery Class
Set maintenance level
Enter Fields, Assign Data Elements
Save Entries
Check Inconsistencies
Activate Table
Go To Technical Settings (SCREEN 104)
Delivery Class: The delivery class controls the transport of table data when
installing or upgrading, in a client copy and when transporting between customer
systems. The delivery class is also used in the extended table
maintenance.
There are the following delivery classes:
A: Application table (master and transaction data).
C: Customer table, data is maintained by the customer only.
L: Table for storing temporary data.
G: Customer table. The customer namespace must be defined in table TRESC. (Use
Report RDDKOR54 here).
E: System table with its own namespaces for customer entries.
S: System table, data changes have the same status as program changes.
W: System table (e.g. table of the development environment) whose
data is transported with its own transport objects (e.g. R3TR PROG, R3TR TABL,
etc.).
Data Browser/Table View Maint.: This indicator specifies
whether it is possible to display/maintain a table or view using the maintenance
tools Data Browser (transaction SE16) and table view maintenance (transactions
SM30 and SM31).
MANDT field is mandatory for Client dependant tables
Technical Settings: The technical settings control, for example, table buffering.
Indexes: To speed up data selection, you can create secondary indexes for the table
Append Structure: Append structures are used for enhancements that are not included in the standard.
Screen 104: Maintain Technical Settings
Select Data Class (Mandatory) [APPL0]
Select Size Category (Table size - No. of records - Mandatory) [1 to 6]
Specify Buffering [allowed / not allowed]
Save
Check Inconsistencies
Activate & Go Back to Maintain Table Screen
Data Class: The data class defines the physical area of the database (for ORACLE
the TABLESPACE) in which your table is logically stored. If you choose a data
class correctly, your table will automatically be assigned to the correct area
when it is created on the database.
The most important data classes
are (other than the system data):
APPL0 Master data
APPL1 Transaction data
APPL2 Organizational and customizing data
Size category: The size category determines the probable space requirement for a table in the database.
Buffering: The buffering status specifies whether or not a table may be buffered.
Screen 105: Maintain Table
Screen 106: Maintain Enhancement Category (ECC 6.0 onwards)
-> Extras -> Enhancement Category
Select Enhancement Category
Enhancement Category: Structures and tables that were defined by SAP in the ABAP
Dictionary can be enhanced subsequently by customers using Customizing includes
or append structures. The enhancements do not only refer to structures/ tables
themselves, but also to dependent structures that adopt the enhancement as an
include or referenced structure. Append structures that only take effect at the
end of the original structure can also cause shifts - in the case of dependent
structures - even within these structures.
Screen 107: Maintain Table -> Table Maintenance Generator
Screen 108: Generate Table Maintenance Dialog: Generation Environment
-> Utilities -> Table Maintenance Generator OR [] SE54
Specify Authorization Group [&NC&]
Select Maintenance type [One Step/Two Step]
Mention Screen Numbers [1/2]
Save & Go Back
Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details. -
What are the important views or field in vendors master record
All,
We are converting two different companies into our SAP. We are at blue printing stage. I was assigned to gather vendor master data requirements in SAP. I sent them all the fields that we are currently using in SAP. I sent them a template of General, Company code data and purchasing views. The legacy team is coming to meet with our it team one to one to discuss the importance of the fields. Now my team manager asked us to submit a presentation about all the questions we should be asking the legacy team as well as the important information we should be discussing from SAP point of view. Can someone guide me here please. It's important.
Thanks,Hi The task is pretty simple. You would need to create a mapping from the legacy data to SAP data. You would go through every field of the legacy data and identify which field it will map to. there is nothing like important field. Ideally you would get all the fields. Identify the recon account that the vendors should go to.
Hope this helps
Points will be appreciated.
Regards,
Zaid Azam -
Hi All,
My users require the ability to select a sharepoint group from a drop down list and then be able to select a user from a people picker based on the drop down selection. The best solution I was able to up with, was create a people picker
for each drop down selection and set the Sharepoint group field to the selected group. All people picker filed are hidden except the one that matches the drop down selection. When creating an entry from the sharepoint list this method
works perfectly.
However, when I add the list onto a site page using an "Listview webpart", then add an infopath web part and then finally connect the two parts, I get a "List View Lookup Threshold" error when selecting an entry from the list. I
understand from the error and reading that this error is related to the number of People pickers in the list. Is there a way to exclude temporary people picker fields from a site page query, as they are only temporary fields to allow the users
to select a person and then assign the name to another field.
DwayneHi Dwayne,
In SharePoint 2013, we could manually create a list for all users. Here are the reference:
Go to Site Settings > People and Groups > SiteMembers
Modify url
http://sitename/_layouts/15/people.aspx?MembershipGroupId=8 to
http://sp/sites/tutu/_layouts/15/people.aspx?MembershipGroupId=0 , now you will see All people in this site.
Change the view to List view, and copy the listview id in the url
http://sitename/_layouts/15/people.aspx?MembershipGroupId=0&View={viewID}
Go to Settings > List settings, copy the list id in the url
http://sitename/_layouts/15/listedit.aspx?List=listeid&Source=....
Now type the address in IE:
http://sitename/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=[LISTID]&View=[VIEWID]&CacheControl , such as
http://sp/sites/tutu/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=f3958d27-9c2f-4f8d-b221-89466e816667&View=696BFDC5-0C6E-4E27-818F-0E6292A18407&CacheControl=1
Save the owssvr.jqy from SharePoint site
Now you could see the file in your desktop with all users, save it as allusers in Excel.
Then import it to your SharePoint site, add an app > find an app > import spreadsheet
Regards,
Rebecca Tu
TechNet Community Support -
I have been trying to add time to an event i already added but the time field does not exist.
this happens only when I add the event from the month view while I press a date. in no other senario does this happens.
may be its a bug in the calendar.
if I press the + sign then it's normal.
any suggestions on how to fix this?there is edit button; however, my problem comes after that. if the event was added using the above method then there is still no way to change the time of the event in that date. if the event was added in any other way then I can change the time.
and I just realized my iphone3gs with ios5.0.1 has the same exact bug. -
Value put in the maintenace view for field of DOC type gets divided by 100
Hi all,
We have a product table ZPROD_T which contains one quantity column (QUANT) of the data type DOC. We have also created a view and a maintenance view for this table.
The problem is that when we add new values to the table using the maintenance view, the value that we add to the QUANT field gets devided by houndred. E.g. if we put in 4 in the QUANT field (type DOC), the value that we later see in the table is 0,04!
How do we go about to solve this problem and get the correct value in the table? Should we change the maintenance view somehow or change the data type in the QUANT field from DOC to something else?
All help is greatly appriciated!
BR,
ArminYes, that would be an option, but I was kinda hoping there was another way to solve this problem. Namely, when we would like to have ability to have decimal values in that field, e.g. if we have quantity in sqr meters or meters. Also if we change data type to QUAN than we need to put values in the "Currency/Quantity fields" in the table ZPROD_T, and at the time we are not sure about what unit of measure we are gonna have!
Is it possible to keep DOC data type and still get the correct values in the table?
/Armin -
Issue : In sharepoint 2013, I am experiening below error while using filter in the list view due to the number of items in this list exceeds the list view threshold, which is 10000 items. Tasks that cause excessive server load (such as those
involving all list items) are currently prohibited.
Error :cannot show the value of the filter.The Field may not be filterable or the number of items returned exceeds the list view threshold enforced by administrator
Could you please suggest a way to avoid this issue apart from incrementing the list view threshold limit .
PrashanthReorganizing content, or creating more specific views. sharepoint is warning you that the content is structured in such a way that it can cause performance issues, which should be addressed in some way.
Kind regards,
Margriet Bruggeman
Lois & Clark IT Services
web site: http://www.loisandclark.eu
blog: http://www.sharepointdragons.com -
How can we hide the non key field values in the sm30 display
hello experts,
I have to protect the non key field values in the sm30 display , can u help me out wat changes i have to do in the layout.Hello Gopal,
What do you mean by 'protecting' your non-key field value?
1) You want to display it, but make it non-changeable
A - Make the field as output-only in screen, as already answered by a preivous collegue
2) You do not want to display this field at all
A - Goto the DDIC definition of the view (not possible for a table directly), and maintain the required field as a Hidden. After activating, remember to re-generate the maintenance dialogue. Also, please maintain Event 21, in case you want to access/change the value of this field in background.
3) You want to maintain special validations/checks for the field
This can be easily done by introducing your modules within the CHAIN-FIELD commands in the PAI of the generated screens.
Best Regards,
Rekha
Maybe you are looking for
-
Error while transporting Infocube and Update rules
Hi , My infocube is having warnings for 4 key figures as "InfoCube contains the key figure 0DSCT_PCT1 with the impermissible aggregation NOP" .But when I ma trying to transport I am getting eroors in transport but still The cube got migrated in a
-
Slow/clunky display since 23" screen purchase
My black macbook has been running fantastically well since I bought it earlier this year but since recently connecting it to a 23" Apple cinema display I've noticed that things seem a little clunky. For example, opening pictures in iPhoto is rather c
-
Column length of a LONG RAW column
How to find out the column length of a LONG RAW column, to compute the average row size in Oracle 7.3.4 Thanks.
-
Suggestions for keeping app from shutting down in background?
I'm almost done a messaging app for android that's using p2p cirrus to transfer messages. It works great and i'm really happy being able to use this service on an air for android application. If the phone is asleep, using another application, or anyt
-
How do you copy a volume (automation)
how do you copy a volume (automation) in a selected region into another region