How to hide custom subscreen
Hi,
I need to hide the custom subscreen in a standard transaction depending on the document type created. How can I achieve this?
Thanks in advance.
Hi,
Please do the appropriate coding in an enhancement point where you code the condition.
Regards,
Prosenjit.
Similar Messages
-
How to hide custom metadata field in custom profies ??
hi,
how to hide custom metadata dropdown list in a custom profile based on choosing the security group.
ex: if i choose xxx security group, custom metadata dropdown should not appeared, for remaining security groups it should be visible.
so, Based on criteria, custom metadata should be hidden in custom profiles..
how to achieve it ?? where and how to configure ??
Detail guidance should be required
Thanks in advanceYou cannot do this through profiles alone if I understand you correctly.
If I load a check in page, choose a security group and at this moment want a custom metadata field to disappear then you are beyond what profiles offers.
Rules evaluation can only be based on information that is know at the time the page is requested. That means in order for this to work you would need to make security group an non editable field and have a set of profiles for each security group.
The alternative is to customize the UI with soem DHTML or AJAX
Tim -
How to hide custom fields in Shopping cart depening on user role
Hi,
We have some custom fields in shopping cart for basic view. Every thing works fine. Now client is asking to hide all the custom fields based on user role.
I found some function module to fund roles. now my main problem is unable to find the cusotm filed screen field name.
When I tryed to find the screen field name using BBPSC02/03, its giving 'GT_DISPLAY_100-FIELD'. If I try to use this field, its not working.
Could you pls tell me how to find custom screen filed name to hide in shopping cart.
Thanks,
RamHi Ram,
As Laurent suggested,to hide the custom fields based on the user role,you need to implement the logic in BADi "BBP_CUF_BADI_2".
You have the importing parameter IV_USER in this BADI.
Pass this parameter to tables AGR_USERS and AGR_USERT to get the user role
OR
Use FM: BAPI_USER_GET_DETAIL
with USERNAME= user id and can retrieve Table: ACTIVITYGROUPS Field:AGR_NAME
if you want the otherway around
you can also use FM: RSRA_USERS_OF_AGR_GET
with I_AGR_NAME= role and you can retieve Table: ACTIVITY_GROUPS_USERS Field: UNAME(usr Id)
Then check the value for the User role as obtained using the above steps and accordingly set the property for the custom fields to hide them.
BR,
Deepti. -
How to hide custom tab in crmd_order
hello gurus,
In crm how to hide a custom tab (which is created through EEWB Transaction )for particular order types??
ex: if a tab named ADDITIONAL DATA B is holding the info like contact name ,customer PO etc.,here my requirement is to hide that tab for some order types like CR & DR.
Plz help me out in this issue..
Bye--
PradeepaHello Pradeepa,
2 options to replicate the custom data to R/3:
A- via EEWB, flag the 'R/3' flag
extract from doc:
Field Relevant for R/3 Execution?
Specifies whether you use CRM Sales with R/3 Supply Chain Execution, and whether you wish to transfer the field to the R/3 System.
Use
If you set this flag, the system generates a BAdI implementation that transfers the field to R/3 BAPI structures. If your executing system is an R/3 Enterprise System, the system enhances the BAPI structures and tables for sales orders in the R/3 System so that the field is transferred automatically to the R/3 sales order.
So, with this flag, during generation, the whole flow to R/3 and also the fields in the tables in R/3 are created.
B- write your own integration flow via exits/badi in the middleware to integrate the fields into existing fields in R/3 tables.
Regards,
Fred -
How to hide custom actions from Oracle Worklist Application (Conceptual)
Hi,
I have a conceptual question in relation to Worklist Application and the Oracle Workflow. I will explain, now:
This is the image that demonstrate the situation (worklist app console): http://i53.tinypic.com/34h9ilw.png
As you can see, i have 4 custom actions (ENVIAR_ANALISE_FRAUDE, APROVAR, REPROVAR, ENVIAR_ANALISE_NIVEL2) and i have three main regions in the image
(Action By Menu 1, Action By Menu 2 and Action By Button 3).
I have to make same custom validations when the user to choose any action, then inside of the JSPX file (Human Task Page Generated), i made the following customizations to reach my objective:
1) At the Region 2 (Action By Menu 2) - I delete these lines of code to hide the actions:
<af:group id="g2">
<af:forEach var="childNode1"
items="#{actionAvailable.customActions}">
<af:commandMenuItem textAndAccessKey="#{childNode1.displayName}"
actionListener="#{invokeActionBean.setAction}"
action="#{invokeActionBean.action}"
partialSubmit="false" id="cmi2">
<f:attribute name="ACTION_MENU_ITEM"
value="#{childNode1.action}"/>
</af:commandMenuItem>
</af:forEach>
</af:group>
2) At the Region 3 (Action By Button 3), i change the default action button's to point to my managed bean action and make the required custom validations, in accordance to my requirements. After that i made my validations, i call some lines of code to make with the Oracle Workflow executes your default internal functions when an action is clicked.
<af:commandToolbarButton actionListener="#{myManagedBean.setOperation}"
text="Aprovar"
disabled="#{myManagedBean.isErrorOccurred}"
action="#{myManagedBean.invokeMyCustomizedOperation}"
partialSubmit="false"
visible="#{wf:isCustomActionAvailable('APROVAR', 'bindings.customActions')}"
id="ctb2">
<f:attribute name="DC_OPERATION_BINDING" value="bindings.APROVAR"/>
</af:commandToolbarButton>
public void setOperation(ActionEvent p1){
this.acaoSelecionada = (String) p1.getComponent().getAttributes().get("DC_OPERATION_BINDING");
this.operation = UtilWorkflow.getInstance().getOperationFromHumanTask(this.acaoSelecionada);
this.operation.execute();
InvokeActionBean ia = (InvokeActionBean)ADFContext.getCurrent().getRequestScope().get("invokeActionBean");
ia.setFinalizerJavaScriptName("closeBrowser()");
ia.invokeScript();
3) The great problem for me now is the region 1 (Region By Menu 1), this the part of Oracle Worklist Application and i cannot hide this Menu or change anything inside it. If the user click at the 'APROVAR' action, my custom validations will be ignored and the Workflow will approve my task, without intervention of my validations.
After explaining everything this, here are my questions:
1) Is this the correct way to work with the Oracle Soa Suite ?
2) How can i hide the Region 1 (Action By Menu 1) ? Is possible ?
Thanks,
Victor JaburHi,
I am also in need of hiding or having custom validations for the actions in Region 1. Does anyone have any suggestions? Please help!
Thanks,
Farhana -
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 FIELDS IN A CUSTOM TABLE
Hi all,
I've a requirement where there's a maintainence view attached to a custom created table. Whenever I add new entries via View, on saving the record, 2 of its fields only should appear.
For example, if my table looks like this,
SAP ID OBJECT ID FROM DATE TO DATE
Once i add a new record, when i press save, only 2 of fields say, SAP id and Object Id should appear instead of all the fields.
Can someone throw light on this if you're aware? Any input in this regard will be highly valuable to me and appreciated. If someone is unable to intrepret this question, do let me know, I'll detail it again.
Thanks in Advance,
Vaishnavi Varadarajanhi Vaishu,
Hide parameter / select option in selection screen
We can Hide parameter / select option in selection screen dynamically by manipulating screen object.
SCREEN is like an internal table with a header line. However, you do not have to declare it in your program. Go to debugging mode and then view structure of screen.
You can modify SCREEN in your ABAP program during the PBO event of a screen. Its contents override the static attributes of the screen fields for a single screen call. The only statements that you can use with SCREEN are:
LOOP AT SCREEN.
MODIFY SCREEN.
ENDLOOP.
We can hide parameter by set screen-active to 0.
Here is example of how to hide parameter in selection screen. Write it, and change click on radiobutton to hide parameter.
REPORT ZAALGAL0006.
DATA: d_ucomm LIKE sy-ucomm.
PARAMETERS: p_grpa1(10) MODIF ID A,
p_grpa2(5) MODIF ID A,
p_grpb1(2) MODIF ID B.
PARAMETERS: p_actA RADIOBUTTON GROUP rad1 USER-COMMAND ACT DEFAULT 'X',
p_actB RADIOBUTTON GROUP rad1.
AT SELECTION-SCREEN.
d_ucomm = sy-ucomm.
AT SELECTION-SCREEN OUTPUT.
LOOP AT screen.
IF p_actA = 'X'.
IF screen-group1 = 'B'.
screen-active = 0.
ENDIF.
ELSEIF p_actB = 'X'.
IF screen-group1 = 'A'.
screen-active = 0.
ENDIF.
ENDIF.
MODIFY screen.
ENDLOOP.
START-OF-SELECTION.......
pls refer the below sites for reference. they may help you
http://www.blogtoplist.com/software/blogdetails-14026.html
http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html
https:/.../servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/905e3d36-0301-0010-30ac-b55865545635
thanks
sagar
reward me points if usefull -
How to hide subscreen in module pool
hello expert.
i created one Box, and inside box i created one subscreen in Module pool ->layout.and two radio button out side of the Box.
if i select 2nd radio button , want to hide subscreen.
how to hide subscreen. could you please send me the solution asap , it's urgent.
i written below code but not working.
LOOP AT SCREEN.
IF rad2 Eq 'X'
IF SCREEN-NAME = 'SUB1' .
SCREEN-INPUT = 0.
SCREEN-INVISIBLE = 1.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
Regards
srinivasexample:
BOX1
MATNR [ ] (Normal screen)
BOX2
BOM [ BOM-OW] TO [BOM-HIGH] (subscreen)
BOX3
radio buttons
push button
selection screnn etc..
if i selection 2nd radio button i will get.
BOX1
MATNR [ ] (Normal screen)
BOX2
empty
BOX3
radio buttons
push button
selection screnn etc..
my requirement is:
BOX1
MATNR [ ] (Normal screen)
BOX3
radio buttons
push button
selection screnn etc.. -
Hide alv grid PR custom subscreen
Hello All,
I have a custom subscreen on PR ( bulit via screen exit) with ALV grid and some screen elements ( to get input data from user) on it.
In create and change PR mode, I need to get the input ( could be multiple rows with the help of create next icon )from user and update ALV grid with the input values. But in PR display mode, I need to hide the ALV grid.
I tried using desctructor method FREE, but dint work.
Any suggestions?
Thanks,
ChandraI have a similiar problem:
I have a dynpro where there are different possibilities for ALV grids to be shown. I have 10 containers (that's the maximum number of ALV grids that can appear) and want to use the highest first. Now, it might be that I want to show another ALV in a container I have had an ALV before, therefore I must hide / delete / destroy the previous ALV in this container.
I use the FREE( ) method of the alv controls, I clear and free all references, but still, even after leaving and accessing the dynpro again, the ALV is shown. That's why I'd need some help here too...
Thanks in advance, Christopher -
How to hide combination (CUSTOMER / MATERIAL) in VK11
Hi Experts,
Please guide how to hide combination (Customer/Material) at the time update Excise duty condition in VK11.
BK GAIKWDPl refer this link for procedure
Transaction Variant - A Step by Step Guide for Creation
http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation -
How to Hide fields on customized DispForm.aspx in SharePoint 2010
Hi There,
I have been facing with this issue since 4 weeks, let me explain my requirement first.
I want to hide 2 fields on DispForm.aspx of a custom template.
Following are the lines of code written for customizing DispForm.aspx using ListFieldIterator SP control.
<SharePoint:ListFieldIterator runat="server" ExcludeFields="PublishingStartDate">
<CustomTemplate>
<tr>
<td class="fp-ms-vb2">
<SharePoint:FormField ControlMode="Display" DisableInputFieldLabel="true"
runat="server">
</td>
</tr>
<tr style="height:5px;"><td></td></tr>
</CustomTemplate>
</SharePoint:ListFieldIterator>
those 2 fields are also generated using ListFieldIterator control.
Can someone suggest me how to hide specific fields.
Thank you in advance,
Vikram
vikram padigalaTo add more
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/4c366cd9-dd84-440c-bdbc-30ee2c81876e/conditionally-hide-a-field-in-a-custom-form-using-sharepoint-designer
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/7aef4e74-63f1-4f02-96d7-21f9549fc924/how-to-filter-the-field-based-on-condition-using-conditional-formatting-in-sharepoint-designer-2010
http://johnliu.net/blog/2011/2/23/spd-2010-conditional-formatting-to-hide-columns-based-on-a-r.html
Please remember to click 'Mark as Answer' on the answer if it helps you -
How to show my customer-subscreen for CV01N tcode?
Hi.
There is a line:
CALL CUSTOMER-SUBSCREEN scrcust INCLUDING 'SAPLXCV110' '0100'.
at '0200' screen's PBO.
I create a project in CMOD for CV110001enhansment. Then I create a screen '0100' in XCV110 func. group and write some stuff there. Then I activate my project in CMOD but nothing happen with the main screen...
What should I do to activate my customer-subscreen correctly?
Thanks. Bye.Hi,
Have you added the enhancement for the Tcode in you project created. and this enhancements should be the screen exit and fm exit for the new screen provided by SAP itself.
Hope this might help you.
Pooja -
How to hide/unhide the all Treenodes on Treeview based on Checkbox changed event?
Checkbox(Control)
1.Checkbox Checked:(Action below like)
if user click on Checkbox, all the treenodes on treeview is hide.
2.Checkbox Unchecked(Action below like)
If user uncheck the Checkbox all the treenodes on treeview is unhode.
Could you please help me how to do above one.
BadriHi,
According to your post, my understanding is that you want to hide/show the TreeView when the Checkbox checked/unchecked.
We can use jQuery to achieve it, the following script for your reference:
<script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$("input[type=checkbox]").click(function () {
if (this.checked) {
$("#TreeViewID").hide();
} else {
$("#TreeViewID").show();
</script>
More information:
http://dineshsharepoint.blogspot.com/
Best Regards
Dennis Guo
TechNet Community Support -
How to hide "View in Browser" and "Edit in Browser" from ECB injected by Office Web Apps Feature
Hi,
i am currently using custom_AddDocLibMenuItems to implement a custom ECB menu for my document library. I need to activate Office Web Apps. My custom_AddDocLibMenuItems has two items
-> custom dialog
-> open in office web apps
After activating the Office Web Apps Feature at the SiteCollection Level, this Feature "injects" in my custom menu the following
additional menu items:
-> View in Browser
-> Edit in Browser
Its curious to see that, cause implementing the js function custom_AddDocLibMenuItems with
return true should be the way to impolement a custom ECB menu without having other features/solutions injecting things in this menu!? Or did i misunderstood something here?
My question is: How can i prevent this ...
a) without deactivating the Office Web Apps Feature
b) without modifying the core.js
I hope someone can help!
Best Regards
Bog
Developers Field Notes | www.bog1.deMay be this can help
http://extreme-sharepoint.com/2011/10/29/hide-menu-ecb/http://pholpar.wordpress.com/2011/07/24/hiding-ecb-custom-actions-based-on-specific-list-properties-using-the-client-object-model/Or tryhttp://stackoverflow.com/questions/13795858/how-to-hide-view-in-browser-in-document-library-in-sharepoint-2010-using-javascr $(document).ready(function(){
$('.ms-MenuUIPopupBody').live('blur', function() {
var elm = $("div.ms-MenuUIULItem a:contains('View in Browser')");
elm.remove();
$("div.ms-MenuUIULItem a:contains('Edit in Browser')").remove();
It is hiding menu only on focus or blur or mouseover
I wants it to be hide on load AS soon as i Click on "V" option on right side of document it should hide View in Browser and Edit in browser
When I click on V option ![I wants As soon as i Click on v option right side of test it should hide view in Browser and edit in browser][1]
If this helped you resolve your issue, please mark it Answered -
Button is generated at runtime how to hide it in WD4A
Hi Experts,
i am using SAles processing application thru Portal , there i have Customer search in the customer search iview i want to hide create sales order button.
i found the technical details by using personalization option
Technical Information for UI Element
General Information About the Application and Component
Application: POWL
Web Dynpro Component: SALV_WD_TABLE
Window Information: TABLE
View Information: VIEW_TABLE
Configuration ID: O200705080740527294200
Information on Field
Field ID: F_CREA
Type of UI Element: TOOLBAR_BUTTON
UI Element Library: STANDARD
Attributes of UI Element
List of Attributes
Attribute Name Value Context Path Type
COLLAPSIBLE
DESIGN standard (00)
EXPLANATION
TEXT Create Sales Order
IMAGE_FIRST X
IMAGE_SOURCE
TEXT_DIRECTION inherit (02)
ENABLED
TOOLTIP
VISIBLE visible (02)
ON_ACTION
VALUE_HELP_KIND
VALUE_HELP
what i found is Create sales order button is generated dynamic at runtime , how to hide dynamic generated button.Hi,
First you need to figure out where the button is being dynamically generated. Then you can use the enhancement framework to hide the button (Change the visibility of the button) once it is generated. The enhancement framework allows you to add code at certain positions within the application. You will have to find a point after the button is generated.
Hope this helps
Wenonah
Maybe you are looking for
-
ITunes error in Windows (Vista)
I am constantly getting the following error: "The itunes library file cannot be saved. An unknown error occurred (-48)." I am running on a Vista Ultimate machine connected to a small business server. My library is stored on a redirected My Documents
-
Copy the nodes from one Document obj to another Document Obj.
Hi All, I have two Document Objects created out of the same InputStream source.Both of them have the same DTD, namely SourceDoc and TargetDoc. Now when I try to replace a node in TargetDoc with that in SourceDoc, it is giving me the below exception.
-
QM in procurement - Inspect partial quantity
Hello all, In our incoming quality process we have the following requirement: when we do the GR we want only part of the lot to be put in quality stock. The rest should go to unrestricted use. Samples don't seem to cover this requirement. Do have any
-
Want to start learning Oracle or PL/SQL from scratch.
Hello All, Please guide me as how to start learning PL/SQL and Oracle from scratch. Whether I should follow a particular book and go on as given in the book or should I directly take the queries and all and start solving them. Thanks in advance...
-
Buen dia, un cliente me esta preguntando como quitar el BEEP que tiene SAP BO cada que se arranca la aplicacion o hay un error, ¿hay alguna forma de hacer esto? Gracias