Automatic population of values in a Characteristic
Hello everyone we have a requirement in the Sales order for a Variant material where if 1 of the characteristic is selected manually then the other should
be populated automatically accordingly.
Is this possible please let me know or do we require dependencies for the same.
Regards
Madan Shetty
Hi Madan,
you need to use a prodecure for example:
$self.characteristic2 = 'value' IF characteristic1 SPECIFIED
When you select something manually for characteristic1 then characteristic2 will get the "value"
Best regards
Tamas
Similar Messages
-
Here is the situation:
I have a row on a form called Finding Risk Rating. In this row are four fields: Probability, Severity, Risk Rating, Color.
Probability is a drop down menu with the following values: 1, 2, 3, 4, 5
Severity is a drop down menu with the following values: A, B, C, D, E
Risk Rating is a field that I have a custom calculation script:
var riskRating = this.getField("Probability").value+this.getField("Severity").value;
event.value = riskRating;
So, when I pick Probability = 1 and Severity = D, Risk Rating will automatically change to 1D, etc. This works fine on the surface as far as I can tell.
The part where I am stuck, is the fourth field Color.
Ideally, I want Color to be automatically populated depending on the value of Risk Rating. For example, for 1E I would want it to say "YELLOW" and the field to change color to yellow. For 1A it would be "GREEN" with the color green, etc.
I tried doing an if else for all cases, but it never refreshes to the correct value. I then checked using app.alert to see what fields riskRating and colorRank are (see code below), and I noticed that riskRating never changes, even though the value in Risk Rating changes. Is there a way to order script(s) so that if I execute one, the other will follow? I'm new to scripting for forms and haven't done any programming in 10+ years, so feel free to rip my code in favor or something more efficient, or direct me to a good resource I can learn from.
Here's the basis of what I have for scripting on Color. It's brief because I wanted to test it out before writing every 'if else' statement.
var colorRank;
var riskRating = this.getField("Risk Rating").value;
if (riskRating = "1E") colorRank = "YELLOW";
else if (riskRating = "1A") colorRank = "GREEN";
else if (riskRating = "5A") colorRank = "RED";
event.value = colorRank;
app.alert("colorRank = " + colorRank + ", riskRating = " + riskRating);
Any help is appreciated. Thanks!One problem is if more than one combo box item has the same number associated with it, you cannot simply set the export value to the corresponding number since they need to be unique (or the user interface behaves weird). One thing you can do is set up an object to associate a list item with a value, and look up the value in code when a list item is selected.
For more information, see: http://acrobatusers.com/tutorials/2007/js_list_combo_livecycle -
Assignment field being automatically populated in Vendor Credit Memo
Dears,
While posting Vendor Credit Memo with Reference Invoice (field Inv.Ref under Payment tab) the Assignment field (field Assign. under Details tab) is being automatically populated with assignment value from the referenced invoice.
Is there a way to disable automatic Assignment field population?
Thanks in advance,
RobertDears,
No sorting keys exist for GL Master Vendor reconciliation account and still assignment is being copied (Data was copied
Message no. F5343)
Substitution is not an option as it's being done when posting, and not at the moment of invoice creation.
Thank you for any ideas.
Best regards,
Robert -
Is this a bug? createdBy populated with value "1"
I have a field in entity object mapped as historical column "createdBy". once I create a new record, this field populated as login user name. -- this works fine.
However, after I specify this field "refresh after inserted/updated". this field populated with value "1" automatically once new record created. -- Is this a bug?
BTW, the historical column "modifiedBy" does not have this problem.
Thanksat javax.swing.JInternalFrame.setMaximum(JInternalFrame.java:890)
at TestInterface.initComponents(TestInterface.java:48)What you posted there cannot be the entire contents of the method. According to the stack trace, your initComponents method, at line 48, calls the setMaximum method of some JInternalFrame object. However, the problem remains: Why a NullPointerException? It's possible there is a bug in the JVM, but that theory doesn't get your problem solved if it's true. And it's more likely (MUCH more likely for most of us) that it's a bug in your program. But what could that be? I looked at the API documentation for JInternalFrame.setMaximum and noticed this:
"A maximized frame is resized to fully fit the JDesktopPane area associated with the JInternalFrame."
I don't know how you would "associate" a JDesktopPane with a JInternalFrame, but possibly if you failed to do that, then references to the JDesktopPane would fail with a NullPointerException. -
Automatic population of Order field in the Account Assignment tab in VA01
Hi Experts,
May i ask if the Order field in the Account Assignment tab in creating Sales Order ( VA01) will automatically populated when the Alt. Int. Ord field in the Additional Data B tab do have values?
If YES, what are the needed configurations to meet this kind of functionality?
Please advise.
LizPlease through some more light on that.
As per my under standing you want to populate the Value from one field to another field.
If is it so you can do that with the help of good ABAPer who can populate the value from one Location to another Z-Location. -
Issue in populating dynamic values in smartform
Hi Experts,
I am facing some serious alignment issue while populating dynamic values in smartform.
Through table, I am populating dynamic values in smart form. If my internal table contains 20 records , first 10 records are populating in first page and remaining records are populating in next page properly. But here issue is whenever that first 10 records are populated in first page system automatically leaves empty row at the end of page. Ideally it should not happen. please tell me how to solve this issue.
thanks
KarthikHi,
I was wondering how are the bold lines output, if you only have one line type... is the Table node executed multiple times under the loop node, where the bold text is implemented as separate text node..? It should IMO actually not affect the output of the table in any negative way if it's done so - just curious
With the "protect" I meant this baby:
You could also try to download and attach only the (upper) node involved in the output of table instead of whole form, if there is something in the form that should not be seen publicly...
cheers
Janis -
Characteristic value '5000000000 ' of characteristic 0MATERIAL is not MATN1
Dear Experts,
I am getting one error message while extraction,when executing the DTP .the messge is :
"Characteristic value '5000000000 ' of characteristic 0MATERIAL is not MATN1 -converted" BRAIN 68 @3R@
what is the meaning of this messege ,Request you to plese suggest me reagarding the same .thanks in advance .Hi Bhullar,
Have you maintained material length as 18 at ECC and BW sides.
at bw side info object 0material conversion routine as MATN1. seems like you may be maintained as ALPHA. if your using as ALPHA conversion routine then at transfer rules for MATERIAL you can pass output data by suing FM - CONVERSION_EXIT_ALPHA_INPUT.
or if possible then change conversion routine to MATN1 for material(info obj) at data source level or info object maintenance(RSD1) level.
Thanks -
No SID found for value 'GB' of characteristic 0CURRENCY
Dear Experts,
When i do the BW data load. I got the error. Seems the error related to no master data is available for SID creation. I got the below error message. Please help me to resolve. Points will be awarded. Your help is much appreciated. Thanks.
No SID found for value 'GB' of characteristic 0CURRENCY
Message no. BRAIN070
Diagnosis
Characteristic value GB does not exist in the master data table of characteristic 0CURRENCY. Therefore, this value could not be transformed into the internal SID.
Procedure
Check whether the value is correct or not. If it is correct, you need to generate the associated master data. Note: For characteristics 0FISCVARNT, 0FISCPER and 0FISCYEAR, there must be a corresponding fiscal year variant (see table T009). In addition, there must be units in table The value for 0FISCPER must be valid according to the fiscal year variants. This means that only the periods 0 to (no. of normal periods + special periods) are allowed. If the fiscal year variant is year-dependent, then only the periods defined for the corresponding year are valid. You can make these settings in Customizing in theactivity Maintain Fiscal Year Variant. T006 and currencies in table TCURC. Also note that the units must be of
Units that refer to 0UNIT must be available in table T006, and currencies that refer to 0CURRENCY in table TCURC. Note that the units must be available in internal format. Owing to the presence of a conversion exit in field MSEHI of table T006, you are only able to see the internal format if you deactivate this exit. ( Settings> User Parameters> Tab DataBrowser > Consider Conversion exit must not be set). Also take a look at note no. 619987.
Regards,
RR.Hi Reddy/Ajeet,
Thanks for your prompt reply.
I followed the steps:
Goto to RSA1-> Source systems--> Transfer Globle settings and Select Currencie, Ubits and Fiscal year, Factor...etc and select Update
Just would like to check with you, currently we are extracting data from SRM & SAP R/3 system.
I got the error while doing the data loading for SRM system. I did the above steps for both systems.
Is that anything else, i need to do....
Currently i am going to do the master data load, then i will do the transaction data & check with the currency error.
could you please elaborate the steps
1)How to check 0currency is getting updated in our system.
2) how to verify custom z program used
3) How to maintain the currency manually in BW.
Advance. Thanks.
Regards,
RR -
No SID found for value '000 ' of characteristic 0UNIT
Hi All,
iam loading to ODS from flat file and iam getting the error"No SID found for value '000 ' of characteristic 0UNIT ". to be more clear the load is taking place and the activation of ods is not taking place .
we added a new key figure to ods and when we add the data of the new field to the flat file we are getting this error . but when we load with the files which does not contain data to the new key figure its successfull .
can some one guide me how to resolve it.
regards,
jayHi All,
the data which i entered for the new key figure is 000 . is it because of it ? so , if i enter some value instead of 000 i may not get this error ....... am i rite? so checking the values means is it for the new key figure or there is an info object 0unit also in my case ?
kindly explain clearly with an example
regards,
jay -
0UNIT - No SID value found for value 'FYR' of characteristic 0UNIT
Dear All,
Request your help for the following issue observed.
Please find below the details of the issue observed:
Scenario: A flat file upload in and ODS with field Alternate Unit of Measure (mapped to 0UNIT)
Issue: While activating the data in the ODS (Transformation, RSDS transaction datasource), it gives an error stating 'No SID found for value 'FOZ' of characteristic 0UNIT'.
Measures tried: Transferring Global Settings, Checking in the table 'T006', Checking the format of the flat file.
May I please request your help for the above issue at the earliest.
Thank you.
Regards,
Kunal GandhiHello,
Same issue here.
I've checked the entries in 0UNIT SID table: The unit "xxx" is not present.
But this unit is present in T006 table, with no specific option.
The update mode for Master Data on SPRO is : "Create master data if Not avalaible (Auto_sid)"
The update mode in infopackage is "Always update data, even if no master data exist for the data"
I've used the "Rebuild tables" mode for Units of measurement for my source system.
The tried the simulate update for my datapackage.
==> No errors
==>deletion of package on the data target
==>manuel update of data from the package
==>change to green
==>check the 0UNIT SID table : The unit "xxx" is now present !
Hope this helps -
Payment Method automatic population in FB60,FB65,FBV0,FV60,FV65 and MIRO
Hi,
We have a requirement of automatic population of payment method from vendor master in transaction codes given.
Do we have any userexit,BADI for this purpose?
Regards,
PraveenDear Praveen,
You could think to put the payment method into the term of payment by OBB8.
And then put the payment terms into Your vendor master data.
I hope this helps You.
mauri -
No SID found for value '0CURR' of characteristic 0CURRENCY
Hello dear friends
I am getting this above error message 'No SID found for value '0CURR' of characteristic 0CURRENCY' when i am trying to load data in my cube from an ODS.
For the Keyfigure that is using the currency i had to write the following routine in the Update Rule fo rthe Keyfigure:
DATA: l_MZPLP1 LIKE /BIC/PMMAT_PLNT-/BIC/MZPLP1,
l_MZPLP2 LIKE /BIC/PMMAT_PLNT-/BIC/MZPLP2.
SELECT SINGLE /BIC/MZPLP1
INTO l_MZPLP1
FROM /BIC/PMMAT_PLNT
WHERE
/BIC/Mplant = COMM_STRUCTURE-/bic/Mplant
AND
/bic/mmat_plnt = COMM_STRUCTURE-/BIC/MMATERIAL.
IF sy-subrc = 0.
RESULT = l_MZPLP1.
ENDIF.
result value of the unit
UNIT = '0CURRENCY' .
Also i checked the 'UNIT CALCULATION IN THE ROUTINE' box.
And under UNIT it does show 'Target Unit' - 'Currency Key'.
Please advise what should i do to resolve this.hi Krrish,
the error message normally indicates the value is not exist in table currency/unit
Note 619987 - No SID for the 0UNIT or 0CURRENCY characteristic
you can try transfer unit and currency from r/3, rsa1-> source system->right click 'transfer global setting', mark 'currency' and 'unit of measurement' (fiscal year and factory calendar also) and option 'update tables' and execute.
you need to schedule this update, better daily before the transaction data load, to do this, from same screen go to menu program and schedule in background.
hope this helps.
Solution
If you do not find the value in the T006 or TCURC table, you must insert it. Note that the initial value is always allowed.
If you nevertheless receive this error message for the initial value, this means that there is an inconsistency in the SID table for the 0UNIT or 0CURRENCY characteristic. You can eliminate this inconsistency by calling the RSDMD_INITIAL_LINE_INSERT function module with I_CHABASNM = 0UNIT or 0CURRENCY.
If units are loaded in the external format, you must either convert these into the internal format in the transfer or update rules or change the extractor/file.The CONVERSION_EXIT_CUNIT_INPUT function module converts the external value of a unit into the internal value. -
Automatically populating a Form from data stored in Access
Hi,
I need help automatically populating a form from data stored in Access. The form needs to have specific fields that are updated from an Access database. I want to be able to enter a site number and have the subsequent list of information (approximately 35 pieces of data) populate. I DO NOT want to update the Access database via the form. The form is for quick viewing and documentation only, not data entry. Currently I've been doing this with VB in Access which exported the data to a Word Document which was then saved as a PDF. It seems easier and less troublesome to go directly to the PDF form, but I can't figure out how!
I have already connected my database to the form using OLEDB.
I don't want a dropdown list and I don't want buttons to scroll through the sites (I've already found out how to do that through this forum).
Any help would be very much appreciated!!Some more help to get started in this.. would be really appreciated..Are you trying to come up with the graphs yourself? IF so, are you familiar with MVC?
-
Value for a characteristic changed with an other value in Query Design
I want to change the value for a characteristic (Type) in Query Design (not the description, the value).
In my cube I have these values:
Customer *** Type
22222********SmallCorp
22223********SmallCorp
22224********MedCorp
The report should like:
Customer *** Type
22222********LEGALENTITIES
22223********LEGALENTITIES
22224********LEGALENTITIES
Or only the "SmallCorp" value should be changed in LEGALENTITIES.
How to do that?
Thanks,
DragosYou can write an exit to replace Type SmallCorp to LEGALENTITIES.
But this will reflect in other queries too....
Or If change in modelling is still an option, you can add one more Type 2 in the cube and update in the transformation with Constant = LEGALENTITIES. Use the Type 2 in the queries. -
Populating static values in addition to database value in select one choice
Hi All,
We are using jdev 11.1.1.2.0.
I am populationg a select one choice based on a read only VO. The vo is populating fine,but in addition to the values from the database I want to add two static values. I want to add 'select customer' and 'all customer'.
Currently I am doing this using UNION in the sql query of my VO. WhenI add union in my sql query its taking more time to load the value from the database.
Is this the proper adf way to do it? Is there someother way to attain it.
Following is the query I am using to populate one of the VO's
SELECT * FROM(
SELECT ID,NAME,3 SORT_ORDER FROM CUSTOMER
UNION
SELECT -1,'SELECT CUSTOMER,1 FROM DUAL
UNION
SELECT -2,'ALL CUSTOMER,2 FROM DUAL)
ORDER BY SORT_ORDER,NAME
Please advice
SusanHi,
You can do this usecase by populating the values to SelectOneChoice Programmatically.
<af:selectOneChoice label="List"
binding="#{MyTestBean.myTestListComponent}">
<f:selectItems value="#{MyTestBean.listOfItems}"/>
</af:selectOneChoice>
backing bean code will be:
public List<SelectItem> getListOfItems() {
List<SelectItem> items= new ArrayList<SelectItem>();
SelectItem si = new SelectItem();
//if u trying to populate data from VO then u have set the values
DCBindingContainer dcBindings = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding iterBind = (DCIteratorBinding)dcBindings.get("DepartmentsView1Iterator");
for(int i=0;i<iterBind.getEstimatedRowCount();i++)
Row row = iterBind.getViewObject().getRowAtRangeIndex(i);
if(row!=null)
si = new SelectItem();
si.setLabel((String)row.getAttribute("DepartmentName"));
si.setValue(row.getAttribute("DepartmentId"));
items.add(si);
//here you can add the static values;
si = new SelectItem();
si.setLabel("Static Value1");
si.setValue("Static1");
items.add(si);
si = new SelectItem();
si.setLabel("Static Value2");
si.setValue("Static2");
items.add(si);
return items;
}
Maybe you are looking for
-
Pl/sql parameter portlet - need some help/advice - how to create
I want to create a pl/sql portlet that accepts a parameter and on submit passes the parameter to other portlets (sql reports) these are then automatically run to display the new data. E.g. parameter portlet = deptno On submit Sql reports then refresh
-
Getting blank space after paragraph in RTF template
Hi there, Thanks so much for all your help for your help. I am running into one issue in RTF template, wanted to share with you to get any input on this. I have paragraph and Idid put in table at the top and there is xml tag that gives names after th
-
Updated from Leopard to Snow Leopard, then upgraded to Lion, now my system is freezing on startup. Can anyone help?
-
"" symbol in flickr contact?
i'm trying to add a flickr contact to my photos, so that their photos will play during the screensaver mode... but the contact's name has a © symbol in it... and there is no option (that i can see) of typing this symbol from the apple tv's "keyboard"
-
Level of IDM integration with SAP
Hello. I'd like to know the amount of integration IDM can have with a SAP ERP system. Specifically, (SAP) role assignment. Can you provision users with their SAP roles from the IDM? I'm also curious as to whether you can control User organizations wi