Drop Down Values are invisible
Hello All,
i have a drop down which is filled by the data from R/3. When i run my Web Dynpro appliocation, the drop down is getting populated, but when i run in the portal initially the drop down shrinks such that it dosent have any values but there are values in the drop down and upon refreshing the value are shown.
What could be the problem?
Thanks
Gopal.
When i click on the drop down i was able to see the values. The thing is initial values is not shown as the selected value upon refreshing only the value shown as the selcted value.
I was not able to see the tabs in the tabstrips only after refreshing am able to see the available tabs.
This problem exists only in portal not in the standalone Web Dynpro application.
Any clues?
Thanks
Gopal
Similar Messages
-
Hi all,
I am using the function module "KCD_EXCEL_OLE_TO_INT_CONVERT" to upload the excel template to an internal table but i am not getting the complete excel data into the table the fields which contains the drop down list values those values are not coming in to the table.
Is there any other function module which can read even the drop down list values? can any one please provide me the solution.
Thanks in advance
** FYI...i am using the below code:
* upload excel file to a generic table
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = l_filename
i_begin_col = 1
i_begin_row = 1
i_end_col = 150
i_end_row = 65000
TABLES
intern = lt_intern
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks,
KoushikHi all,
I am using the function module "KCD_EXCEL_OLE_TO_INT_CONVERT" to upload the excel template to an internal table but i am not getting the complete excel data into the table the fields which contains the drop down list values those values are not coming in to the table.
Is there any other function module which can read even the drop down list values? can any one please provide me the solution.
Thanks in advance
** FYI...i am using the below code:
* upload excel file to a generic table
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = l_filename
i_begin_col = 1
i_begin_row = 1
i_end_col = 150
i_end_row = 65000
TABLES
intern = lt_intern
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks,
Koushik -
PDF evaluation Form with drop-down - values are not averaging correctly
Can someone help me modify my form so that it averages the value in the drop down menu correctly? One of the items in the drop should have no value at all - not even 0. I cannot figure out what to do in the document to get the other ratings in the drop to average ,but want the NR - No rating label to have no value at all. Im on deadline and in someone of a panic.
Can anyone hep?Then the overall rating for that section would be left blank. Can you assist me with creating the Javascript? Do I continue with using the adobe acrobat 10 or do I need to use the adobe lifecycle. This is completely new to me.
I have watchted videos, but none have explained the steps for this process step by step. Thanks in advance.
The rating options for the user in the drop down boc will look something like this:
NR- Not Rated
1- Needs Development
2- Below Expectations
3- Competent - Meeting Expectations
4- Role Model
5- Exceptional -
Drop down values for table in a view not getting populated dynamically
Hi Experts,
The problem which i am facing is as follows
In an existing web dynpro component , i already have a view and it consists of table which has 3 columns.All the three columns are non editable
MATERIAL MAT_DESC MAT_DEL_FLAG
ABC
EFG
HIJ
Now i need to add 2 more columns after the MAT_DEL_FLAG.These two PLANt and STORAGE LOCATION columns must have drop down values
The context refers to a standard Database ZTABLE to which these two fields are added.
MATERIAL MAT_DESC MAT_DEL_FLAG PLANT STORAGE_LOCATION
ABC
EFG
HIJ
The Plant column must have the drop down values based on Material .
If we select some value for Plant , then based on the value of plant the storage location drop down values must be populated.
So as per this logic , the drop down values for plant for each row must be different.
Please let me know how to achieve this.
This is a normal table and not an ALV table.
Also please let me know whether the drop down field must be drop down by key or drop down by index.
This is very urgent.
Thanks in advance
SindhuRefreshing things again for you -
1. As I have already pointed, create 2 context attributes for VALUESETS for both plant and St.loc.
2. Create dropdown by indexes for both of them, assign valusets to respective attributes using node information.
3. Go to the plant dropdown and create the action for it ONSELECT event - when you chagne the dropdown of plant then populate the respective storage loc.
4.Now, As you are selecting a row (leadselect) you have populated the plant and loc details....write the code for lead selection event of the table
You will get the lead selection index right using node interface (IF_WD_CONTEXT_NODE)
LOOP AT ITAB INTO WA_ITAB.
if sy-tabix eq lv_lead_index.
clear wa_valuset.
wa_valueset-key = 'X'. "plant
wa_valueset-value = 'X'.
append wa_valueset to it_valueset1.
* popultae the storage location valuset based on the plant selected (bydefault it is 1 right in dropdown)
clear wa_valuset.
wa_valueset-key = 'XX'. "storage loc
wa_valueset-value = 'XY'.
append wa_valueset to it_valueset2.
else.
* Fill the valusets for all other rows as different or as per your requirement.
endif.
wa_itab-valuset1 = lt_valueset1.
wa_itab-valuset2 = lt_valueset2.
modify itab from wa_itab transporting valuset1 valuset2.
clear wa_itab.
ENDLOOP.
lo_node->bind_table ( it_tab).
Now for that Row, if a plant value is changed, respective storgae loc has to be filled right...then in that ONSELECT of plnat drodpwon again you need to write a piece of code...using the same code with a little modifications.
Hope this is clear.
Check this article on the same - but here ALV is used...the concept is same use it for your table -
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0cbdde3-fe58-2c10-fcbc-8db18e693877?QuickLink=index&overridelayout=true
the above code you hvae pasted - i think it fills only for the 1st time....
Regards,
Lekha.
Edited by: Lekha on Dec 20, 2011 12:00 PM -
We have three drop downs (ddlRotation, ddlOnCallType and ddlHospital) in our webpart. All values are being populated dynamically. One from list (ddlHospital) and other from tool part properties. For dropdown populated from list, we are storing values in
View State.
WebPart is working fine in development environment (single machine) while on production ( 1 front end, 1 index and 1 db server), drop down values disappear after post back. Below is the code.
protected void Page_Load(object sender, EventArgs e)
try
if (!Page.IsPostBack)
LoadData();
if (!string.IsNullOrEmpty(webPart._rotationDetail))
ddlRotation.Items.Add(new ListItem("All", "0"));
int i = 1;
string[] strRotationDetail = webPart._rotationDetail.Split(':');
foreach (string str in strRotationDetail)
ddlRotation.Items.Add(new ListItem(str, i.ToString()));
i++;
if (!string.IsNullOrEmpty(webPart._onCallTypes))
ddlOnCallType.Items.Add(new ListItem("All", "0"));
int j = 1;
string[] strOnCallTypes = webPart._onCallTypes.Split(':');
foreach (string str in strOnCallTypes)
ddlOnCallType.Items.Add(new ListItem(str, j.ToString()));
j++;
catch (Exception ex)
private void LoadData()
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite spSite = new SPSite("SITE_URL"))
using (SPWeb spWeb = spSite.OpenWeb())
SPList oList = spWeb.Lists[webPart.destListName];
SPListItemCollection setuplistItems = oList.Items;
if (setuplistItems != null && setuplistItems.Count > 0)
DataTable dtSetupData = setuplistItems.GetDataTable();
if (ViewState["SetupData"] != null)
ViewState.Remove("SetupData");
ViewState.Add("SetupData", dtSetupData);
else
ViewState.Add("SetupData", dtSetupData);
LoadHospitalCombo();
dateControl.SelectedDate = DateTime.Now;
else
// some error message
private void LoadHospitalCombo()
if (ViewState["SetupData"] != null)
DataTable dt = (DataTable)ViewState["SetupData"];
DataView dv = dt.DefaultView;
ddlHospital.Items.Clear();
ddlHospital.DataTextField = "TITLE";
ddlHospital.DataValueField = "TITLE";
ddlHospital.DataSource = dv.ToTable(true, "TITLE");
ddlHospital.DataBind();
ddlHospital.Items.Insert(0, "All");
Any help?
http://farhanfaiz.wordpress.comRunning your code in try/catch and doing nothing on exception, is not a good idea. Please try to put logging in your code as I believe your code is throwing exception. It's difficult to say seeing such a code what's wrong. Maybe the list doesn't exist or
exists with different name/title, or viewstate is disabled or webpart properties are not populated... there's so many possibilities. Also if possible refactor your code as shown below:
//Your Code, you are loading all items from database and then counting it
SPListItemCollection setuplistItems = oList.Items;
if (setuplistItems != null && setuplistItems.Count > 0)
//Refactored Code
if (oList.ItemCount > 0)
Thanks,
Sohel Rana
http://ranaictiu-technicalblog.blogspot.com -
SCAC Field Should have Drop Down Values and ASN should have Storage locatio
Hi ,
We have a requirement while creating ASN in which we have to add SCAC ID in the SCAC field ( Carrier) this SCAC ID comes in Shipping details - We want to have drop down values in this field and also if we dont enter value in this field An Error Message should come like " Maintain SCAC code.
And also the PO's coming from ECC are not carrying Storage location information - Is there a specific config / enhancement to be done.
And in ASN can we have Storage location ?
Thanks,
MaheshHi Mahesh
Regarding adding fields to UI
Refer below links
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0b0e544-7a06-2d10-539d-f8648358ba67?quicklink=index&overridelayout=true
http://wiki.sdn.sap.com/wiki/display/SCM/SAPSupplyNetworkCollaboration%28SAP+SNC%29
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/908c1e69-0a01-2d10-e7a6-98ca00f19aa6?quicklink=index&overridelayout=true
Not sure how to maintain it as a drop down, a developer could help you easily with that.
Regarding Storage location from PO ECC.
If you are using idocs, the standard SAP xml conversion will not be able to transfer this(if you download standard content)
You can find the field in your IDOC ORDERS05, Data records-Segement-E1EDP01FIELDLGORD
In order to transfer this, you need to rewrite the xml format in integration builder of XI/PI and then add some UI fields in Webui
to show.
But xml PurchaseOrderERPReplenishmentOrderCollaborationNotification as of SAP ECC EHP4 can carry this information in its payload document(SXI_MONITOR---INBOUND MESSAGE ---PAYLOADS) Under the node INVENTORY MANAGED LOCATION
Not sure where this field is mapped to .........
I will let you know once i find........Mean while you can ask any developer who worked on webdynpro .
Yes we can have this field once we find where it is mapping, if you are using idocs then even the XML has to be build in PI
accordingly.
Best Regards
Vinod -
Hi experts,
I want to create a Drop down in forms with values from Web dynpro Abap Node(0..N) and enable / disable other fields based on selected Drop down value. I binded the data source to DD but values are not populated in it. Please help me to fill values and do validation on selected dd value ....
-RKHi RK ,
I made an dropdownlist link with a parameter of the interface without trouble, so i thnik the only way to solve your problem is to populate an internal table which is send to the forms thru the interface.
Hope this help you
Regards -
Drop down values in Adobe print form, WDA.
Hi All,
I would like to know, how we can dynamically display drop down values in an interactive form developed either through report programme or WD ABAP.
I passed an internal table, but it didnt work.
I tried the ISR way, even then i couldnt get much success.
I even tried using the dynamic properties.
As per my understanding, i need to pass the values as index- text pairs and add some script to the field.
Kindly help on the steps i need to follow. Any suggestions are welcomee [:)]. I require to fetch the DDL values from database tables.
Kind Regards,
- anto.hi,
to populate the dropdown list you can do it...
1). manually or
2). by code
1). <b>manually</b> go to interactive form->edit
go to Object tab->field tab ->
you must see something like
List Items :
Text + x
click on the green + sign...
it promps you to type. type in the value press enter... and so on...
2) <b>by Code...</b>
//set up contents of a drop down list dynamically...
IWDAttributeInfo countryInfo = wdContext.nodeTravelData().getNodeInfo().
getAttributeInfo().getAttribute("DestinationCountry");
ISimpleTypeModifiable countryType =
countryInfo.getModifiableSimpleType();
IModifiableSimpleValueSet countryValueSet =
countryType.getSVServices().getModifiableSimpleValueSet();
countryValueSet.put("1","Germany");
countryValueSet.put("2","UK");
This will work....
regards,
-amol gupta -
Drop down values in Adobe Forms vanishes upon Check and Send in HRAS
Hello
The drop down values in Adobe Forms vanishes upon Check and Send while initiating the process.
I also get the error , u2018 The Entered Value is not on the List of Valid Valuesu2019 when I select the values again and try to SUBMIT.
We are in EHP4u2026 and I am seeing many Notes has been released to address these issues in EHP3 itself..
Request your help and supportu2026.
Thanks
Meena VenkatesanHello
Thanks for the swift response.
We applied the Note 1413209 and 1403266. The fix didnu2019t work.
I noticed the SAP Note 1403266 mentions a prerequisite Note 1346443 which is for SP4.
We are currently in SP5 and our system mentions Note 1346443 as u2018Cannot be Implemented. u2018
Please advise. -
Technical names for drop down values through webui
Hi All, I have ECC 6.0 (SAPKH61705) transactions being launched in CRM 7.0 (SAPKU71305) through the transaction launcher. We are able to display technical names for values in ECC through the gui, and in CRM in both the gui and webui. Is it possible to display the technical names for ECC through the webui? Apologies if this is not the correct forum, I was not sure where to post. For further clarification of the issue, I hope these screen shots assist: ECC gui with 'display technical names' activated: qui - tech names on.jpg CRM webUI with 'display technical names' activated in both ECC and CRM: webui - tech names not visible.jpg Assistance appreciated.
Hi Amy,
Yes, it's possible.
You can achieve it by coding. Instead of passing only the description to your drop down values, we can send technical name and description simultaneously to your drop down value. That's it.
BR,
RAM. -
Dynamic change of drop down values
hi gurus,
I got a peculiar senario.
i have three fields on modlue pool screen which are having drop downs.
based on the selected value in the first drop down second drop down values has to display.
suppose.
first drop down displays the bellow values.
technical documents.
type test.
if techincal documents is selected then display the bellow values.
test1
test2
test3
if type test is selected then display the bellow values.
test4
test5
i got the above logic.
one problem is what ever the value i am selecting is reflecting at the end of drop down .
second problem is bellow one.
now suppose that 'type test' is selected in first drop down and 'test5' is selcted in the second drop down.
if suppose again first dorp down selection is changed to 'technical documents' in the second drop down i am getting the bellow values.
test1
test2
test3
test5
already existing value on the screen is reflecting at the end.
but i have to get
test1
test2
test3 only
hope i am clear .
kindly sugest the solution.
thanks in advance ,
padmaja.Assuming your problem is related to custom/z development, i guess abaper might be able to help. In the program clear the internal tables before displaying the values.
rgds -
Web ICons in Drop down values.
Hi,
I would like to add Web icons as drop down values. like have the three LED's in the
dropdown along with textx say - Successs, failure etc (an eg:).
or can i have the back ground color or the text color differ for each of the drop down values..
Any suggestions/ innovative ideas are appreciated :).
Thanks in Advance,
Anto.Hi ,
U can use ToolbarButtonChoice Control instead of dropdown , in that u can add the menuaction items , for every menuaction item u can five the image source and text ,
first create a group than add toolbar in it than this control.
Hope this will solve ur problem.
Regards
Yashpal
Message was edited by:
Yashpal Gupta -
Drop Down value missing in MSA
Hi Experts,
I am not getting dropdown values(combo values)in fields for Transaction Type OPPORTUNITY in Mobile Sales Application Client. Does any know as what could be the problem as we we create and replicate opportunity from CRM enterprise.
Also while ceating Visit Planning in MSA we are not getting drop down values in field STATUS
Please help & Thanks in Advance
Regards,
Rahul
Message was edited by: Rahul Jagani
Message was edited by: Rahul JaganiHi Rahul,
You probably haven't downloaded all the customising to your mobile client. You need to assign the customising subscriptions to your site after you have done an initial load to the CDB.
Suggest following the best practice guides.
Cheers
Andrew -
I have created a PDF form with multiple drop downs, all with the same drop down values. When I select a value from 1 of the drop down fields, it replicates in all of the others - which I do not want. Can I fix this?
I'm fairly new to this, but I think it has to do with the way you have the drop downs named. Did you copy one then keep pasting it in each field? If so, that is the problem. You should rename each one with a different number: Dropdown1, Dropdown2, etc. I think that might solve the issue.
-
HCM F&P - How to set the field as Required based on drop down values
Hi Experts,
I have a requirement to set the Date field as mandatory when a particular value is selected in drop down list. I have already tried with MessageBox though it displays the error message but process moves further i.e. on clicking Check & Send button it throws an error message but still it moves further and i can see only Send button. Ideally it should halt there itself.
Thanks & Regards,
Jitesh TalrejaThanks for your valuable inputs
Chintan
I have already tried this. It only highlight the field with the red border but still allow to move further.
Mukesh
Yes, we can definately control this from the backend but that would be the last option i should execute. Ideally, this is something to be controlled in front end itself
Poornima
By setting the field attrbiute Required will set the field mandatory as a whole irrespective of drop down values or any other UI element.
Regards,
Jitesh Talreja
Maybe you are looking for
-
External hard drive that stored music has crashed. How can I safely get my songs from my I Pod back onto computer into a new external drive?
-
Images pixelated in iDVD main screen
hi all, i create an annual dvd with slideshows and videos. this is my 8th one and i've never had this problem before! i'm using the idvd them "portfolio". when i first started populated the drop zones, everything was fine. the photos i'm using are hi
-
Can I use the iMac Screen as an external screen for a PC laptop ?
can I use the iMac Screen as an external screen for a PC laptop ?
-
Computers log onto neighbours network rather than my own
I am running an Extreme network with 2 Express stations attached for routing music. My Mac mini and my iBook (4 users) log's onto my neighbours network each time I log in resulting having to manually change to my own network. My network is WEP protec
-
hi all how to use existing purchase order smart form...whats the name and whats the print program for that. rgds anu