How to hide a field from table maintenance view?
Hi,
How to hide a field from table maintenance view?
The field is used for data created date. I need to hide it from display.
Thanks
Chk this link.
http://help.sap.com/saphelp_nw04/helpdata/en/66/33f52010dd11d6999300508b5d5211/frameset.htm
Maintenance Attributes
You can assign a maintenance attribute P to individual fields in the maintenance view definition in the Dictionary (SE11). It can be H (hidden)
H (hidden)
A field flagged H is not displayed on the screen. This field must also be filled in the background by a routine at an event.
The system writes R and H fields to the database like all other fields when a new data record is saved.
Similar Messages
-
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.
-
How to hide a field of the maintenance view?
I want to show not all fields of my table in maintenance view. How to realize it?
Hi Yichao,
Chk these links
https://help.sap.com/saphelp_nw04/helpdata/en/5a/0c889a4d5911d2a5fb0000e82deaaa/content.htm
http://help.sap.com/saphelp_45b/helpdata/en/cf/21ec5d446011d189700000e8322d00/frameset.htm
thanks and regards
srikanth.p -
How to hide the field from the view in the webdynpro application?
Hi Gurus,
I got a requirement where in which ,default layout has the field name Time.......To......... which is (2 input box ) and one lable assigned to the container.........
Now my requirement is to hide this field from the layout for all cases of leave......(all types of leave)....
I got a few inputs from forum that we can achieve this by implementing the following steps..........
Create In context => Value attribute => Say Visibility
Go to its properties
Select com.sap.ide.webdynpro.uielementdefinitions.Visibility
In View Layout
Select UI Element Set Visible property to this context variable Visibility.
In wdDoModifyView() You can set this property to false
wdContext.currentContextElement().setVisibility(false);
Can you people tell me where to create the value attribute........
In the view context or in the component context...........
and field that am talking about is assign to the container you want me to assign this context variable property to all ......Like to input box ,label and the container..........
Please calrify this ASAP...........
Thanks in Advance,
DharaniHi Manoj......
Hi Murutuza,
As per your guidelines I have created the value attribute in View context (which has the field..... which needs to be hide)inside the value node say FieldVisibility.......and attribute name OldTimeDuration......and I set this value with uidefeneitions Visibility .......
and I bind this vaule with the field property visible(Time.......To..........)which I need to hide...........
Now in the view implementation tab ..........I have coded in the doinit method(since my requirement to hide the field from the layout in all cases).........
wdContext.currentFieldVisibilityElement().setOldTimeDuration(WDVisibility.NONE);
But if I deploy the application and see still am getting the same field dispalying in the screen.........
I even tried putting this code in wdmodifyview method.........same results........
Kindly tell me how to hide the field permenantly from the screen............(without any conditions.)
Thanks in Advance,
Dharani -
How i hide a field of a custom view in OAF 11
Hi, im a new developer of OAF11.
What should I do, to customize the Purchase Order screen, if then the requirement is to hide the field that i insert from extended VO.
What I did was modify the XML of the page to add the field and then extended the original AM.
I added the extended view into the custom AM to prevent that fail with the field that i insert.
I must clarify that I modify the path of AM default for the path of the custom AM in the XML, then i upload the XML with the command import, and i see it the field in the page.
I tried to hide another field that i created by customizing the page, but I couldnt do. That´s why i insert directly the field in the XML original.
I Try to customize the driver involved with the page, but nothing happened.
First try it on the controller Father and after the son.
The page is in the POS module (iSupplier), and is POSVIEWPOG (PO Details).
The code that attempts to hide the field is:
OAApplicationModule am = paramOAPageContext.getApplicationModule(paramOAWebBean);
OAViewObject oaviewobject1 =(OAViewObject)am.findViewObject("PosViewHeadersVO");
if (oaviewobject1 != null)
OARow row = (OARow)oaviewobject1.getCurrentRow();
String vCustomType = (String)row.getAttribute("TypeName");
if (vCustomType.equals("Blanket Agreement"))
OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
vHideField.setRendered(true);
else
OAMessageStyledTextBean vHideField = (OAMessageStyledTextBean)paramOAWebBean.findChildRecursive("drbQuantity");
vHideField.setRendered(true);
Can anyone help me?
If im grong other solution that i think is:
How I can put a field on a page with code and how to hide the field with conditions?, consider that the field is from the VO extended.
Thanks!!!Hi Yichao,
Chk these links
https://help.sap.com/saphelp_nw04/helpdata/en/5a/0c889a4d5911d2a5fb0000e82deaaa/content.htm
http://help.sap.com/saphelp_45b/helpdata/en/cf/21ec5d446011d189700000e8322d00/frameset.htm
thanks and regards
srikanth.p -
How to hide a list from SharePoint tree view pro grammatically.
Hi,
I have enabled tree view for a SharePoint 2013 site pro grammatically.
I want hide some specific lists from that tree view like Documents, Workflow, Task List, Calender
Lists which are created default when we create a site.
How could i do that?I know how to hide Quick launch and Enable Tree view with properties in C#.
My question is
hide some specific lists from that tree view like Documents,
Workflow, Task List, Calender
Lists which are created default when we create a site. -
How to hide drilldown field from a OAF page.
Hi,
I have a requirement to hide few drilldown fields from one of the seeded OAF page. through personalization I am able to hide all the fields except the drilldown fields. Can anyone tell me why I cannot hide a drilldown field using personalization. Is there any other way to achieve it other then extending the controller.
Thanks in advance.Let us know whether this forum solve your issue or not?
Re: Hide About this page,Home,Logout,Preferences links
Thanks, Avaneesh -
How to update address fields from a different view?
Hello Everyone,
I have created a context node(Model Attribute) of standard address fields using BuilAddress in a view that doesn't have it and successfully displayed them. This is contacts view where the original address of the contact is not available. Now our requirement is to update the standard address if needed from the contacts view itself. How can I do this? The address fields are available for display only, even if I want to update them using code based on some condtions if not manual entry how can I achieve that?
Did anyone ever use CRM_BP_UIU_SAVE Badi? I see no posts related to this in forum. Can anyone give me a sample code on what can be done in here and what data of BP is accessible in this BADI and how?
Thanks,
SunilHi Murali,
Are you sure I can update the address fields using BAPI's from WEBUI? I have tried this already and the BAPI or Function just woudn't call, always return with error message. I was thinking that BAPI's and Functions for updating just wouldn't work from WEBUI.
To give you more details, I am in the BP_DATA/AccountContactEF view. I added the context node Address and brought in all the fields from BUILADDRESS structure, it generated the get, set methods for me. I want to update a couple of fields like telephone info, street, city etc. In this view I just redefined Create_Contact method and I tried to update the address using BUPA_ADDRESS_CHANGE for the contact person and it never works. I also tried BUPA_ADDRESS_REMOVE to delete and add the new address using BUPA_ADDRESS_ADD, but that wouldn't work either.
So that is why I am exploring the option of using BADI, which I found out is very similar. I was able to access pretty much everything of BP data and Contact data. but there also the functions or Bapi's wont work.
Let me know if you did anything similar. Also as you mentioned the GET_I method, Context node creation Wizard generated it for me and I have the field editable, its just that when I save it , it wont save and the old values are read back and populated. Meaning if I have 'NY' for region and I change it to 'CA' , after save 'NY' comes back.
Thanks for you help.
Sunil -
How to hide fields in table maintenance generator dynamically.
Hello Experts,
I have one requirement and that needs to do dynamically display the fields in table maintenance generator based on the selected radio button.I have written the code in pbo but it is not working properly,can anyone figure me out in this.
Thanks,
Vinod Bhaskar.Hi vinod
when you are creating tmg , you will specific a function group name and sap generate a func group which contains that tmg . you can view in se80 , specifying function group name. In that , screen contains single screen 100 or two screen 100,200 .
screen you can create module in pbo .u can find all field name in that screen.
loop at screen.
if screen-name = ''.
screen-visible = 0.
endif.
modify screen.
endloop.
regards,
vijay. -
How to disable some of the table fields in Table Maintenance Generator
HI,
I am creating one table which contains 10 fields.
But i wanted to disable some 2 fields in Table maintenance generator.
So can any one plz tell me how to disable those 2 fields.Generate a maintenance view for the table,
Goto- Table/Join Conditin Tab-- Put the name of your table
Goto-viewfield tab--- Put the fields whatever you required.
Then generate table maintenance for the view created.
pls chk
Thanks
Anurag -
Hi experts, how to use open sql to read data from one " maintenance view"?
i want to use this part of data within report ,so how to use open sql statement to read data from one " maintenance view"?
Hi
You can't use OPEN SQl statements to fetch data from maintenance view
You have to use only Database views
see the different types of views and the difference
The followings are different types of views:
- Database View (SE11)
Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.
In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
- Help View ( SE54)
Help views are used to output additional information when the online help system is called.
When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
- Projection View
Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
- Maintenance View ( SE54 )
Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
Please have a look at below link. It will help you.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
for more detailed info look on:
http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
Reward points for useful Answers
Regards
Anji -
Disabling fields in table Maintenance generator
Hi Experts,
I would like to restrict some fields in table maintenance generator dynamically/ statically.
Here is the situation.
I have generated table maintenance for the table ZMARA and I have created three transactions for the above single table maintenance generator.
i.e .. Transaction --- Table
ZT1 --- ZMARA
ZT2 --- ZMARA
ZT3 --- ZMARA
I am using above three transactions in my module pool program. Based on the certain conditions I am calling different transactions i.e ZT1, ZT2, etc
Here is my requirement:
Suppose if I call ZT1 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZPRODH.
or remaining fields should disable. User should not allow to change the content, even if it is new entries/existing entries. only ZMATNR, ZMTART, ZPRODH.
Suppose if I call ZT2 transaction, I need to display only few fields. i.e ZMATNR, ZMTART, ZHTSCODE
How can we restrict dynamically when you call table maintenance generator table through transaction
or
How can we generate table maintenance for few fields?
Edited by: r badveli on Mar 16, 2009 4:27 PM
Edited by: r badveli on Mar 16, 2009 4:27 PM
Edited by: r badveli on Mar 16, 2009 4:28 PMHi ,
go to Se11->Table maintenace generation. Double click on screen to edit and assign the field you want to display/hide to groups. In PBO , after the following lines..
LOOP AT EXTRACT WITH CONTROL
TCTRL_ZMARA CURSOR NEXTLINE.
MODULE LISTE_SHOW_LISTE.
ENDLOOP.
Write a new module in PBO and edit the SCREEN as per the Tcode, you are calling,,'
Hope this helps you
Rj -
I define a customize table (maintenance only by cust., not SAP import).
5 of the fields are the table keys.
When I remove 2 fields from the key and adjust the table I get the following errors
Primary key change not permitted for value table ZT7IL60
Activation of Table ZT7IL60 not possible (please check)
Any clue why and how to remove some fields from the key?hi there,
the reason for this error can be any....
may be you are using that field in the foreign key reference of another table. thats y it is not allowing the change option as it will affect other table's values.
another thing can be the one suggested in the above post.
do reply if any of the methods mentioned helps.
Do reward if helpful./ -
How to add Z fields from VBPA in datasource 2LIS_11_VAITM in delta mode
Hi All,
I'm looking for a method to add Z fields from VBPA (ie order reponsible , account manager , ..) in the datasource 2LIS_11_VAITM
Of course these fields should be filled in delta process
Thanks for your help
Regards
SebastienHi,
You would have to enhance the extract structure and write code to populate this:
1.1 First alwas Check if fields can't be added using the standard method - Logistics Cockpit (LBWE)
1.1. Don't think you would be able to fields from table VBPA though which means you have to enhance the extract structure:
2.1 RSA6 - Enhance Datasource
2.2 Double Click on Datasource
2.3 Double Click on Extract Structure
2.4. Click Append Structure & give a name for the append strcture
2.5. Add Z-Fields prefixed with "ZZ"
2.6. Save & Activate
3. Enhance Datasource (RSA6)
3.1 New fields are hidden automatically and you must un-tick "hide" check box
3.2 Save the datasource
3. Write Code in Transaction CMOD or BADI (SE19) to popoule the Z-Fields.
If you search for "enhance 2LIS_11_VAITM" in forum you should get a lot of example on how to do this.
4. Test in RSA3 that your Z-Fields are populated.
5. Replicate Datsource on BW side to ensure that new fields are transfered from the Source System.
6. Maintain Infosource, Transfer Rules, Infocube and Update Rules for the new fields.
Hope it helps. -
Update PRODH field from table T179T
hi,
i want to update PRODH field from table T179T into table VBRP. for this we
need to take selection option also.
selection option will be :
· Sales Organization (field VBRK-VKORG)
· Billing Date Range (VBRK-FKDAT)
· Distribution Channel (Vbrk-vtweg
while i have done this for one field by using hard code but like:
TABLES: VBRP.
CLEAR VBRP.
UPDATE VBRP SET PRODH = 'PLC01' WHERE VBELN = '0008300051'.
SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
WRITE: VBRP-VBELN,VBRP-PRODH.
but this is not the right way. please guide me how to solve this.TABLES: VBRP.
CLEAR VBRP.
UPDATE VBRP SET PRODH = 'PLC01' WHERE VBELN = '0008300051'.
<b>commit work.</b>
SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
WRITE: VBRP-VBELN,VBRP-PRODH.
use commit work after update statement.
But this code would make vbrp-vbeln as plc01 only.
If you want to get the prodh value from t179t, then write a sleect on t179t and then update.
TABLES: VBRP.
CLEAR VBRP.
select single prodh
from t179t
where......
UPDATE VBRP SET PRODH = t179-prodh WHERE VBELN = '0008300051'.
commit work.
SELECT SINGLE * FROM VBRP WHERE VBELN = '0008300051'.
WRITE: VBRP-VBELN,VBRP-PRODH.
Maybe you are looking for
-
How do I use Numbers to develop personal finance and budget spreadsheets?
I recently purchased an IMac and would appreciate advice on how best to use IWork (Numbers) to set up a personal budget and finance spreadsheet program. Please bear in mind that I am not a computer expert and only have average understanding of spread
-
Who can help me to review the question? -"ORA-02019: connection description
Log error was found in Alert.log file in a DB in our production. It shows "ORA-02019: connection description for remote database not found". I check it and find the RECO process prompt this error message. I did the following steps to check the issue:
-
Is it possible to export contacts from Outlook 2011 for Mac and importing this file back into Mac Address Book.? please reply me its urgent
-
Processing for each item SDRQCR21 flag
Hello all, What does mean the flag Processing for each item for ECC report SDRQCR21? Thanks in advance. Januario Faria
-
Web galleries--thumbs and large images not showing after uploading to server
I have created 2 web galleries--one html and one Flash. I saved them to my local drive and they work perfectly. Then I uploaded to our server (I checked to see that all folders/files made it, and they did) and then when I access the index.html file,