Dropdown values for field in property editor
Hello Everyone,
I have created one simple entity service and deployed on the server.
I have used property editor pattern for UI generation.
I have used dropdown for one of the ui elements. But i can't get any values in this dropdown field. I don't know how to prepopulate values in this dropdown field.
Waiting for reply.
Thanks,
Bhavik
Hi Aliaksei,
I have created one simple type in the Java dictionary project which is automatically created for my entity service project. I have built and deployed on the server. But when i tested this entity service, it gives following error:
com.sap.caf.rt.exception.CAFBaseRuntimeException: DDIC type does not exist: com.lti.department.Dept_active
at com.sap.caf.rt.ui.cool.metadata.TypedFieldDescriptor.getDataType(TypedFieldDescriptor.java:285)
at com.sap.caf.rt.ui.cool.metadata.TypedFieldDescriptor.getDataType(TypedFieldDescriptor.java:204)
at com.sap.caf.rt.ui.cool.metadata.TypedFieldDescriptor.getDataType(TypedFieldDescriptor.java:392)
at com.sap.caf.rt.ui.cool.generic.ColModelClassPropertyInfo.<init>(ColModelClassPropertyInfo.java:78)
at com.sap.caf.rt.ui.cool.generic.ColModelClassInfo.<init>(ColModelClassInfo.java:149)
at com.sap.caf.rt.ui.cool.generic.ColModelInfo.getOrCreateModelClassInfo(ColModelInfo.java:117)
at com.sap.caf.rt.ui.cool.generic.ColModelInfo.createModelClassesForQuery(ColModelInfo.java:317)
at com.sap.caf.rt.ui.cool.generic.ColModelInfo.createModelClassInfos(ColModelInfo.java:270)
at com.sap.caf.rt.ui.cool.generic.ColModelInfo.<init>(ColModelInfo.java:51)
at com.sap.caf.rt.ui.cool.generic.CAFRepositoryManager.getServiceModuleDescriptor(CAFRepositoryManager.java:72)
at com.sap.caf.rt.ui.cool.generic.CAFServiceManager.getServiceModuleDescriptor(CAFServiceManager.java:443)
at com.sap.caf.rt.ui.cool.generic.CAFServiceManager.getAspectServiceAccess(CAFServiceManager.java:227)
at com.sap.caf.rt.ui.cool.generic.ServiceFacade.getServiceModule(ServiceFacade.java:375)
at com.sap.caf.rt.ui.cool.generic.ServiceFacade.getServiceModule(ServiceFacade.java:146)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.ServiceBrowserCC.getServiceModuleDescriptor(ServiceBrowserCC.java:551)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.ServiceBrowserCC.supplyAspects(ServiceBrowserCC.java:298)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.InternalServiceBrowserCC.supplyAspects(InternalServiceBrowserCC.java:224)
at com.sap.caf.ui.servicebrowser.components.visualizer.controllers.wdp.IPublicServiceBrowserCC$IAspectsNode.doSupplyElements(IPublicServiceBrowserCC.java:1085)
at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:461)
It means simple type i have created, is not available at runtime.
What should be the problem?
Thanks,
Bhavik
Similar Messages
-
Change dropdown values for a field in webdynpro abap
Hi All ,
I need to change dropdown values for a particular field ( Tax code ) in webdynpro component (FITE_VC_RECEIPTS) when selecting expense type. Right now Tax code values are coming with respect to a company code but i need tax code with respect to other company code for two personel numbers .
How can i change dropdown values for this taxcode in webdynpro abap . Please suggest.
Thanks in advance.
Regards,
Sijin K P.Hi All ,
Thanks for reply .
In production taxcodes are coming fine but wrong in dev and quality . ( Australian taxcodes are coming in production for dropdown values but new zealand tax codes in dev and quality )
I have not started doing any changes . Is there any configuration part to change tax codes that can reflect in expense claim portal . Please help ..
Thanks in advance.
Regards ,
Sijin K P. -
Error Enter a value for field BP_GUID
I am using MDG 7.0
When I create a Request for "Create ERP Customer",
I then enter data including the sales Area Data and Company Code data
Then Submit
at the following approval step , Sales Area data and CC data is missing.
I get ERROR message "Enter a value for Field BP_GUID"
Please advise what Table or T-code am I missing values for .
Thanks for your assistance,hi,
See the attached screen shot.
Regards,
Tushar -
Default values for fields in infotype 0017
Is there any way to set default values for fields in infotype 0017? Maybe a
feature? I'm thinking about defaulting values based on pay scale group.
Thanks before.Hi
You can implement what i suggested in my previous post.
Or else, you can do what we did in one of our client requirement.
We created a custom Ztable where we had defined which value of the the employee grouping to be placed for which record.
We did that on the basis of the company code fields.
For eg: IF BUKRS = 'TR01'
then EE Grp Expense Type = '1'.
ENDIF.
Similarly for other fields.
Hope this helps.
Harsh -
FLEET Table, Possible Values For Field IS SI UNIT
Dear experts,
While doing analysis on fleet data I realized that for field IS_SI_UNIT (PM: Vehicle Data in SI Unit (e.g. Dimensions)) in table FLEET in two separate systems we have vehicle records set with different entries for this field.
In one system vehicles are stored with value F: DB Unit set individually (new)
and in other one with value Y: DB Unit set through (new)
Systems are SAP ECC 6.0
Does anyone know what does it mean and what influence this has? In both systems vehicles are created by end users using standard PM creation transaction and those indicators are set in background while equipment is saved so there is not influence by end user.
I could not find much information on SAP support portal about meaning behind possible values for field IS_SI_UNIT in table FLEET so was wondering if anyone knows more here?
Thanks,
IvoDear,
There will not be any impact.Finally system will consider only SI units for fleet equipment consumption calculation.
Kindly read note:366733 - Equipment/fleet: SI units in table FLEET and 372736 - Equipmt/vehicle:rounding error because of SI units
It may help you.
But in my system i can view only "Y"
Regards,
Pardhu -
UDF - Set Valid Values for Field
I have a UDF created in Marketing Docs / row level called UOM_Ordered (alphanumeric, length 2) using Set Valid Values for Field. Values are:
CS
IN
DZ
PC
Above are CS abrev for Case, IN abrev for Inner, DZ abrev for Dozen .................
If possible could I have say for example "IN" not to appear in the drop down if the value in OITM (UDF called U_Inner_Qty) is either NULL or a Zero? It's would be a way to stop mistakes when orders are inputted.
Any help on this would be appreciated.
Thks - ScottHello
You could try the following:
Insert a formatted search on the field, which contain conditions, ie whether the condition that the value is 0 or null, then bring the required data, while if it is not the case, applies the search formatted with the available data.
On the other hand, leave the form with all the options for disabled users. The latter through additional authorizations for users
I hope it will help
Best regards, -
FRM-40212: Invalid value for Field SHIP_TO_ADDRESS1on forms OEXOETEL
I want to customize a form "OEXOETEL". I want to copy some values from another order to a new order.When i navigate to a block LINE i receive this message: "FRM-40212: Invalid value for Field SHIP_TO_ADDRESS1".
cursor c_order(p_header_id varchar2) is
select o.sold_to,
o.order_type,
o.terms,
o.ship_from,
o.SHIP_to_org_id,
o.ship_to_address1,
o.ship_to_address5,
o.customer_number,
o.invoice_to_org_id,
o.INVOICE_TO_LOCATION,
o.SHIP_TO_LOCATION,
o.invoice_to_address1,
o.invoice_to_address5,
o.sold_to_contact
from oe_order_headers_v o,
hz_parties hzp
where hzp.party_name = o.sold_to
and o.header_id = p_header_id;
IF l_block_name IN ('ORDER') THEN
IF p_event = 'WHEN-NEW-RECORD-INSTANCE' THEN
open c_order(name_in('global.header_id'));
loop
fetch c_order into x_order_row;
exit when c_order%notfound;
copy(x_order_row.customer_number,'ORDER.CUSTOMER_NUMBER');
copy(x_order_row.sold_to,'ORDER.SOLD_TO');
copy(x_order_row.ship_to_org_id,'ORDER.SHIP_TO_ORG_ID');
copy(x_order_row.SHIP_TO_LOCATION,'ORDER.SHIP_TO_LOCATION');
copy(x_order_row.ship_to_address5,'ORDER.SHIP_TO_ADDRESS5');
copy(x_order_row.ship_to_address1,'ORDER.SHIP_TO_ADDRESS1');
copy(x_order_row.ship_to_address1,'ORDER.SHIP_TO_ADDRESS1_MIR2');
copy(x_order_row.invoice_to_org_id,'ORDER.INVOICE_TO_ORG_ID');
copy(x_order_row.invoice_TO_LOCATION,'ORDER.INVOICE_TO_LOCATION');
copy(x_order_row.invoice_to_address5,'ORDER.INVOICE_TO_ADDRESS5');
copy(x_order_row.invoice_to_address1,'ORDER.INVOICE_TO_ADDRESS1');
copy(x_order_row.INVOICE_TO_LOCATION,'ADDRESSES.INVOICE_TO_LOCATION');
copy(x_order_row.order_type,'ORDER.ORDER_TYPE');
copy(x_order_row.sold_to_contact,'ORDER.SOLD_TO_CONTACT');
copy(x_order_row.ship_from,'ORDER.SHIP_FROM');
end loop;
close c_order;
end if;
end if;Review Note: 302613.1 - OEXOEORD: Cannot select List of Values From The Ship To Address1 Field
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=302613.1 -
SDIMA: Values for field SUPP_EXIST in condition table CNCCRMPRCUS801 differ
Hi Experts,
when checking condition records consistency between CRM and ERP via transacation SDIMA we get the following error for one of the conditon records: 'Values for field SUPP_EXIST in condition table CNCCRMPRCUS801 differ'. Can anybody explain to me where this message could come from? To my understanding field 'SUPP_EXIST' only exists in CRM condition tables for technical reason. So no way to compare this against an ERP condition table field, is there?
And related to this: I found that this error message is triggered from method CL_CND_DIMA_CRM->COMPARE_MBDOC. As the DIMA-Compare is triggered asynchronously and just setting a break-point is no option therefore, I was wondering if anybody knows a way of debugging this method in order to find out what the coding does in detail before the message is thrown.
Thanks a lot for your help!
Cheers,
JensHi Brian and the other Experts,
thanks for your help. Unfortunately, I don't have a single record with this problem but a lot more. So it is not possible to correct this manually. Also, I would not know how to correct this anyhow as I don't understand what field in R/3 should map to field SUPP_EXIST in CRM condition tables. Let me explain:
From my understanding, in CRM (leave aside scales) we have two database tables for each condition table, a central and a supplemental table. A condition record always creates a data record in the central table and nothing is inserted in the supplemental table in case that the fields form the supplemental table are not needed. However, when there are less common condition features involved (e.g. uppler limits), then an additional data record will be created in the supplemental table with the relevant data. And this is when field SUPP_EXIST comes into play as it is an indicator for the system that a data record exists for that condition record also in the supplemental table.
The condition record data model in R/3 is completely different. For CRM condition table CNCCRMPRCUS801 the following tables in R/3 are involved: A801, KONH and KONP. And there is a data record for each of them for a given condition record. There is no concept of having a supplemental table as far as I understand it so where exactly would I find this SUPP_EXIST in R/3 so that I can make sure it does not deviate from the data in CRM?
Would be great if someone could give me another hint. What am I getting wrong?
Cheers,
Jens -
Multiple values for a given property in a Master Record
I have a requirement to maintain multiple values for a given property of a master data as shown in the above example. Appreciate your help on the above.
Regards
SAP BOSSHi,
As you said
How do I use the property values in my input values.
I thought you are talking about input form, that's why I said you can crate input form using dimension over ride.
But if your requirement is about scrip logic then it is better to ask question with reference to following guide by Vadim Kalinin so that we can understand your requirement properly and you will get right solution.
http://scn.sap.com/community/epm/planning-and-consolidation-for-netweaver/blog/2014/01/31/how-to-ask-questions-about-script-logic-issues
Regards,
Shrikant -
In TXN CO03, extract value for field "To Confirm" under tab "Qty/Activity"
Hi,
Can anyone help to extract value for field "To Confirm" under tab "QTY/ACTIVITIES" in tansaction CO03 at operatin level. There are three Activiti (CC-Set-up,CC-Labor Time & CC-Var-OH) under table control Activities. I need value of the field "To Confirm" for CC-Labor Time.
From where I can fetch this value,
1. Is this field available in some table?
2. Is there any FM with which the same can be extracted.
3. Any other method?
Regards,
Bibhuti.
Edited by: bibhuti kumar on Feb 20, 2008 6:16 AMHi,
pls use below table's and get detals you want
AFKO - Order header details
AFVC - Order operation details
AFVV - Order operation value/date's/qty details
the relation is below
Step1: AFKO; AUFNR-->AFKO-AUFPL
Step2: AFVC; AFKO-AUFPL = AFVC-AUFPL
take filed to APLZL,VORNR
Step3: AFVV;AFKO-AUFPL=AFVV-AUFPL, AFVC-AUFPL = AFVV-AUFPL
take filed to MGVRG,LMNGA,XMNGA,VGW02
Step4: (MGVRG - (LMNGA+XMNGA)) * VGW02
hope this will solve your problem
Regards,
Sankaran -
Changing the dropdown values for one of the fields in CHECK STATUS query
Hi,
We are on SRM 7.1.
In the CHECK STATUS transaction,in the selection screen(QUERY),there is a field called "ROLE" which has teh dropdown values of "APPROVE BY ME","REJECTED BY ME" and "GOODS/SERVICES DELIVERED TO ME".Is there any way some of these drowpdown values can be removed?
Please advise.hi nmsrm1234
i have a document for this issue.
but i don´t find this document in internet. it is called : CUSTOMER-SPECIFIC UI ADJUSTMENTS IN SRM 7.0 WEBDYNRPO ENVIROMENT / META DATA HANDLING CONCEPT.
if you can find it, you will get an idea to resolve this issue, if you will no have luck, please get me your mail, and i will send you the document.
regards. -
Update routine to populate value for field ZDOCCATG(Document category)
Hi Experts,
I need to populate data for field ZDOCCATG(Document Category) based on the value of the below two fields,
1. 0deb_cre_lc(Debit / credit Amount)
2. 0ac_doc_typ(Belegart)
The logic is as follows:
if 0deb_cre_lc > '0'.
if 0ac_doc_typ == 'dz'.
ZDOCCATG = Disputes.
else
ZDOCCATG = Invoices.
end If.
else
if 0ac_doc_typ < '0'.
ZDOCCATG = Credits.
end if.
I need to write the update routine to get the values assigned for Document category based on these two fields. When i open the routine for the field ZDOCCATG, i can see the below screen:
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
$$ end of global - insert your declaration only before this line -
FORM compute_data_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
RETURNCODE LIKE SY-SUBRC "Do not use!
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal table "MONITOR", to make monitor entries
result value of the routine
RESULT = .
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
Please let me know the code to be inserted (based on the logic mentioned above) in the above screen . Thanks
Regards,
Kavitha JagannathHi Kavitha,
Supposing the technical name of fields is /bic/0deb_cre_lc and /bic/0ac_doc_typ use the code below at the marked position.
PROGRAM UPDATE_ROUTINE.
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
$$ end of global - insert your declaration only before this line -
FORM compute_data_field
TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
USING COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
RETURNCODE LIKE SY-SUBRC "Do not use!
ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
$$ begin of routine - insert your code only below this line -
fill the internal table "MONITOR", to make monitor entries
result value of the routine
<----- Paste the code below as shown here --->
if comm_structure-/bic/0deb_cre_lc > 0.
if comm_structure-/bic/0ac_doc_typ == 'DZ'.
result = 'DISPUTES'.
else
result = 'INVOICES'.
endIf.
elseif comm_structure-/bic/0deb_cre_lc < 0.
result = 'CREDITS'.
end if.
<----
>
if abort is not equal zero, the update process will be canceled
ABORT = 0.
$$ end of routine - insert your code only before this line -
ENDFORM.
Regards:
Jitendra
Edited by: Jitendra Gupta on Oct 15, 2009 3:05 PM -
Setting default values for field on screen.
Hello,
I am trying to set default value for one of the fields I have on screen when I execute the custom transaction.
I am doing that in PBO as follows. But the default value is not set for Date field.
PROCESS BEFORE OUTPUT.
MODULE PBO_OUT.
MODULE STATUS_5000.
*& Module STATUS_5000 OUTPUT
text
MODULE STATUS_5000 OUTPUT.
SET PF-STATUS 'NON_SAP_DOCUMENT'.
SET TITLEBAR '001'.
ENDMODULE. " STATUS_5000 OUTPUT
*& Module PBO_OUT OUTPUT
text
MODULE PBO_OUT OUTPUT.
ERDAT = SY-DATUM.
ENDMODULE. " PBO_OUT OUTPUT
Please help.
Thanks.
Regards,
Rajesh.Works Now...
-
Who is Who - dropdown list for fields in the advance search
Hello:
In the advance search of the Who is Who service, we have the Organization Unit and Cost Center as searching fields.
We can't be able to see the dropdown list for these 2 fields from the Portal.
Do anyone have any idea of what configuration is missing?
Thanks.
Regards,hi,
according to my knowledge they don't have Unique ID but unique names attached to them.
open Outlook
go to Tools -> Forms -> Design Form -> select Message then right click on 'To' textbox and chose Advance Properties it has a field 'Name' that name can be used for reference in your development.
hope this helps you. -
Person or Group colum in the SharePoint list retrieves empty value for Mobile phone property
Person or Group colum in the SharePoint list retrieves empty Mobile phone for some users although thoses users have Mobile Phone values in the User Proifles. This happens only for some users. For some users it shows Mobile phone for
some days and after some days it dess not show Mobile Phone though Mobile Phone entries are in the User Profiles for those users.
Appreciate any help to fix this.
Thanks in Advance!
Narayana Reddy
Narayana Reddy GHi Narayana,
According to your description, my understanding is that the person or group column retrieved an empty value for Mobile phone in SharePoint 2010.
Please go to the hidden User Information List using
http://<SiteCollectionUrl>/_catalogs/users/detail.aspx , check the value of Mobile phone.
Please go to CA->Monitoring->Review job definitions, scroll to User Profile to SharePoint Full Synchronization
and
User Profile to SharePoint Quick Synchronization, make sure they work well.
In addition, please take a look at :
http://donalconlon.wordpress.com/2012/03/02/sharepoint-user-information-list-is-not-being-updated/
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support
Maybe you are looking for
-
Calculating values from row to row with pure sql?
Hello, I'm searching for a way to calculate values from row to row with pure sql. I need to create an amortisation table. How should it work: Known values at start: (they can be derived with an ordinary sql-statement) - redemption amount RA - number
-
Hello My name is Paul Baker and I'm from Kalamazoo County Emergency Management in Kalamazoo Michigan. A couple months ago we purchased on line the Adobe product for converting PDF's into Word Documents. Now we've used it several times including onc
-
I can't print from my iPad to an HP 3054 Deskjet.
I can't print from my iPad to an HP 3054 Deskjet. I tried all the solutions suggested by Apple but haven't gotten in touch with HP yet. I can print through WiFi from my MacBook.
-
Cost center object number incorrect
Hi All, During migration, cost centers were created with incorrect object number in master data table (the controlling area was incorrect in the object number). Due to this, the transactional data in CO were updated with the incorrect object number i
-
Tds rates change_ vendor updation
Hi All The new rates for TDS has came in effect from 01.10.2009. I have created the required tax codes. here in our company we are using a different set of tax for basic tax then surcharge and then education cess and finaly l higher education cess. M