Material Characterstic values and its text
HI,
I need material Characterstic values and its texts
CABN Characteristic Detail
AUSP Characteristic Values
CAWN Characteristic Values
CAWNT Characteristic Value Texts
KSML Characteristic Allocation to Class
But my AUSP table dont have all material numbers which i need to give the condition ausp-OBJNUM = mara-matnr and my mara-atinn filed also blank to fetch the values directly.
But the CABN,CAWN,CAWNT holds the data
Any new inputs and conditions other than these
Regards
Rashed
Hi,
You need to search the object number in INOB(Link between Internal Number and Object) table first then you will get the record from AUSP.
In INOB you can put the material number in objek field
sample attached
MANDT CUOBJ KLART OBTAB OBJEK
013 000000000000021515 001 MARA 000000000000905030
Hopefully It should solve your probelm.
Regards,
Atul
Similar Messages
-
Getting the UPDATEd value and its primary key
I have two procedures, proc1 and proc2.
In proc1 there is an update happening like
CREATE OR REPLACE procedure proc1
as
TYPE NumList IS TABLE OF employees.employee_id%TYPE;
enums NumList;
TYPE NameList IS TABLE OF employees.last_name%TYPE;
names NameList;
BEGIN
UPDATE emp set sal=900 WHERE department_id = 30
RETURNING employee_id, last_name BULK COLLECT INTO enums, names;
DBMS_OUTPUT.PUT_LINE('Updated ' || SQL%ROWCOUNT || ' rows:');
FOR i IN enums.FIRST .. enums.LAST
LOOP
DBMS_OUTPUT.PUT_LINE('Employee #' || enums(i) || ': ' || names(i));
END LOOP;
END;
/In proc2 which is getting executed just after proc2 i want to SELECT the sal column values and its primary keys(employee_id) which got updated in proc 1.
How can i achieve this?add two out parameters from proc1 so that you can pass them into proc2 (obv. you'd need to add two in parameters to proc2 if they aren't there already)
-
Peoplecode to get dropdownlist box value and its description
Hi,
I have assigned a value and its description to dropdownlist box. when try to get the value and description in somewhere, i didn't get the description. i got only the value of the current row in a rowset. but i want to fetch the description which i assigned to the dropdownlist for the corresponding value. Is there any way to get the description?Since it is not a XLAT bound to the field, you cannot use the field class properties.
What is the source of the dropdownlist?
If it comes from a database record, you could fetch the description from the database using the &Field.Value as input.
But this would cause a lot of database roundtrips.
You could store the value and description in a two dimensional component array variable and load this array with the values and descriptions at PostBuild Event.
This will only fires ones during the component build.
Suppose the values are "hardcoded", something like this
/* Create component 2-dim array */
Component array of array of string &DropdownArray;
&DropdownArray = CreateArrayRept("", 0);
&DropdownArray.Push(CreateArray("value1", "descr1");
&DropdownArray.Push(CreateArray("value2", "descr2");
&DropdownArray.Push(CreateArray("value3", "descr3");
After this populate the dropdownlist with values and descriptions from the array.
For &i = 1 To &DropdownArray.Len
&Field.AddDropDownItem(&DropdownArray[&i][1], &DropdownArray[&i][2]);
End-For;
Whenever you need to fetch the description of the dropdownlist value, first find the value by &Field.Value and then search within the array for the description.
/*Get value from dropdown */
&Value = &Field.Value;
/*Find index for value*/
&Ind = &DropdownArray.Find(&Value);
/*Get description (second index in subarray)*/
&Descr = &DropdownArray [&Ind][2];
I am writing the code without an environment, so typos could exist
Hope this helps. -
Hi All,
When the material is created via MM01, depending upon the specific class, characterstic values, the material long text is updated.
My requirement is, is there any FM or BAPI which can give me the values of the class and characters which are in Buffer. I am using the user exit present for MM01 transaction to do this.
Please help on how to retrive characterstic values which are in buffer.
Reagrds,
ShahuHi,
Check this sample code, if it helps. Also the BAPI is well documented. If you have any question regarding parameter, please have a look at the documentation.
DATA: begin of lt_valchar OCCURS 0.
include structure BAPI1003_ALLOC_VALUES_CHAR.
data: end of lt_valchar.
DATA: gt_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
p_matnr LIKE BAPI1003_KEY-OBJECT,
OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
EXPORTING
objectkey = p_matnr
objecttable = 'MARA'
classnum = 'CL000099' " Give Class number
classtype = '001' " Give Class Type
keydate = sy-datum
TABLES
allocvaluesnum = lt_valnum
allocvalueschar = lt_valchar
allocvaluescurr = lt_valcurr
return = gt_return.
Regards -
How to fetch Junk values and its columns dynamically
Hello,
Can anyone help me in writing a procedure/dynamic SQL to fetch the column where the junk values appears and its value. Eg: If emp table contains ID and Name columns, and ID column contains junk values, the result should be the Id column and the junk value/s. It should be dynamic because next time if the other column contains junk values(like $,%...), the query should display the other column too..
Thanks in advance..Can anyone help me in writing a procedure/dynamic SQL to fetch the column where the junk values appears and its value. Eg: If emp table contains ID and Name columns, and ID column contains junk values, the result should be the Id column and the junk value/s. It should be dynamic because next time if the other column contains junk values(like $,%...), the query should display the other column too..1. define "junk" values.
2. usually it does not matter what values are in ID, because it is used internally by application, to maintain uniqueness or relations, not having any semantical meaning. End users usually should not see IDs, such IDs are generated automatically. There is no need to cleanse them from "junk" values.
3. If you made a typo, and you are looking for "junk" values in Name column, it is a different story. You can use TRANSLATE to search such values, as already advised, translating all "junk" characters to one "junk" character and searching for the latter.
select id, name from T where translate(name,'?@#$%^<>','~~~~~~~~~') like '%~%';
Edited by: Mark Malakanov (user11181920) on Jan 4, 2013 11:40 AM -
How to edit a path and its text wrap of zero simultaneously?
When I try to select a point on a polygon - with a Text Wrap of zero - I merely select a point on the Text Wrap instead. The Text Wrap path appears to be above the polygon path to which it is attached. How do I select an actual polygon point?
The larger problem is editing a polygon (point or points) and the Text Wrap simultaneously - rather than the two paths acting independently.
At the moment, I have to switch the Text Wrap off, edit the shape, then switch the Text Wrap of zero back on. Surely, the most common use of Text Wraps on polygons is to push text away from a polygon that follows the outline of an image - why, therefore, is it default that you can move a Text Wrap point(s) without moving the parent point(s) on the polygon – and vice versa – at once? How can they be connected so when one moves, the other moves?For me - in CS6 - the Text Wrap path can behave as though it is above the polygon path which is frustrating if the Text Wrap is set to Zero. Though it is irregular......
Try this ...polygon with Text Wrap of Zero - nothing selected - select a point - move the point - works! (in that the polygon path moves and the Text Wrap path moves with it) - but then (without de-selecting the polygon) - select a different point - move the point - only the Text Wrap has been moved and, from then on, the polygon and Text Wrap are disconnected (unless the whole thing is selected).
I realise if the Text Wrap is set to something other than Zero, this is not an issue as the two paths are easily distinguished and, unless you deliberately choose a Text Wrap path point and adjust it, the two paths remain happily connected, but having it set to Zero gives me the most precise control. At the moment, I switch Text Wrap off and on repeatedly whilst adjusting the polygon otherwise I end up with lots of wires everywhere. I think it should be harder to disconnect a Text Wrap from its parent polygon - not sure why anyone would want to disconnect the two in any case! -
MS 12.0.1: How to control inital location of value and refdes text?
When I use an opamp part from the master database, the part number (value?) and refdes are always initially located well away from the symbol. When I create my own opamp, the part number and refdes are located right by the symbol, typically blocking some pins. I do realize I can move the text. What I'd rather do is know what to do when creating the part that makes the text pieces be initially well away from the pins.
Thanks!
Regards,
WhoOK, thanks. I'll try that. However, it doesn't seem very practical to create a part, then have to mess around with the symbol so that the text fields don't get in the way when placed.
When I create a footprint in UB, I can control whether or not the component value and/or refdes will show up on the silkscreen layer, and if they do display, I can control their initial position.
When I create a component in MS and I choose to edit the symbol in the symbol editor, I should be able to control the same thing.
Regards,
Who -
Who to use "xfa.event.newText" for value and not text
Hello,
What is the righr method for returning the value from a "list".
xfa.event.newText return's the texte value i want le value.
exemple :
Text = USA Value=us
Text=France Value=fr
ThanksHi,
A sample is here: https://acrobat.com/#d=eBF-l8sBTVN6-jqDUDw6lA
It shows how to access the display value and the bound value.
Good luck,
Niall -
How to get selected item value and display text in selectOneChoice ?
Hi
Thank you for reading my post
I bind the a selectOneChoice component to my backing bean so i have an object which represent this component in the backing bean.
now i need to find which item is selected by use , i know that i can use
getSelect_service().getValue.toString() , but it will return the value of the selected item, how about its display text ?
I should say that i create an static list for selectOneChoice items.
thanksUsing JDeveloper 10.1.3.1, freshly downloaded off OTN. I used the following code to try and identify the problem you are encountering. I attempted to use a valueChangeListener in combination with af:selectOneChoice components that use SelectItems and the singular SelectItem. I could not reproduce the error in either case. Please post more information about your development environment.
<af:selectOneChoice label="Label 1"
binding="#{backing_test.selectOneChoice1}"
id="selectOneChoice1"
valueChangeListener="#{backing_test.valueChangeListener}"
autoSubmit="true" immediate="true">
<af:selectItem label="1" value="1"
binding="#{backing_test.selectItem1}"
id="selectItem1"/>
<af:selectItem label="2" value="2"
binding="#{backing_test.selectItem2}"
id="selectItem2"/>
<af:selectItem label="3" value="3"
binding="#{backing_test.selectItem3}"
id="selectItem3"/>
</af:selectOneChoice>
<af:selectOneChoice label="Label 2"
binding="#{backing_test.selectOneChoice2}"
id="selectOneChoice2" valueChangeListener="#{backing_test.valueChangeListener}"
autoSubmit="true" immediate="true">
<f:selectItems value="#{backing_test.items}"
binding="#{backing_test.selectItems1}"
id="selectItems1"/>
</af:selectOneChoice>
public void valueChangeListener(ValueChangeEvent evt){
// returns a UISelectOneChoice object
System.out.println(evt.getSource().getClass().getName());
// returns a string
System.out.println(evt.getNewValue().getClass().getName());
public Map getItems(){
items = new HashMap();
items.put("11","11");
items.put("12","12");
items.put("13","13");
return items;
} -
Raw Material price change and its effect in costing of Quotation.
I have a scenario in which the Quotation is given on 11th May, and the costing of the Order is done where the Raw materials Details along with overhead costs is determined, and then sales value is quoted, after the production is done after 2 months, and at the time of dispath there is a change in the price of raw materials. The user wants to known that the net loss or profit against that order due to price change in the Raw material.
Will it be possible at the sales Order Level and whether it will give the costing as per the current RM rates.I think the best way is to use a Make to order scenario with cost calculation in the order. the calculated cost is then stored in EK02 condition, the at invoicing time you can calculate the variance in CO/PA between real cost and estimated cost.
You have to ask the help of smart CO guy to do this.
Roberto -
Hi all,
While migrating to analysis authorization, I am finding it extremely difficult to comprehend the use of the activity values in RESECADMIN. There are so many of them. Apart from the common ones like 03, 23 the others are vague. Is there any documentation on where these values may be used i.e. in which scenario?
ThanksHi,
There are only 2 valid values for 0TCAACTVT that is 02 (change) and 03 (display).
By default 03 (display) is set.
02 (change) value is provided for the scenarios where there are planning reports and user write back value from the reports into the BI system.
Such users require to have 02 (change) value in their authorization.
Also, following link will take you to a presentation by Marc bernard on Migration of Authorization to Analysis Authorization where there is mention of the same.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/ac7d7c27-0a01-0010-d5a9-9cb9ddcb6bce
This might help you !
Cheers
-RJ -
Group characteristic values and display text
Hello,
I would like to group some characteristics into a new variable. For this I've used structures without any problem. Now I would like to display the characteristic texts I've grouped.
For exemple I would like:
Group1...Text1
.............Text2
.............Text3
Group2...Text4
.............Text5
When I add into my row selection texts I get as results a repetition of all texts inside all groups, even if I don't have any value:
Group1...Text1
.............Text2
.............Text3
.............Text4
.............Text5
Group2...Text1
.............Text2
.............Text3
.............Text4
.............Text5
Can someone help me?
Thanks,
BenoitHi, Have you done Zero suppress, it will automatically take care of this.
Now logic behind why query behave like this.
Here you have created a structure on Text , so Structure is Fix Component of Query. Now while you put Group Before this, it means you are drill down query on Groups, at that time after every group, Fixed structure will repeat. Just think How query knows which part of structure is attached with which group? -
How to find custom parameters and its values?
Hi,
Please let me know how to find the list of custom parameters with its possible values and its use in programs?
Thanks.There is no validation for the values that can be input so you can put anything in the value field. For example, try "BUK" and
then a value for a company code you know does not exist.
When you run a transaction with that it will default that value. -
Planned value and Basis in Sales Deal VK11/12/13
Hi Friends,
I am creating Sale Deals condition type record in transaction VK11. I attached material in deal condition and when I go to "Detail" of that attached material item I am not able to see "Planned Values" frame and its component in screen. Could you please help solve this problem?
Steps for Reconstruction
1. Execute transaction VK11
2. Enter condition type as "Sales Deal" (KA00)
3. In next screen enter appropriate " Sales Org", "DC", and "Customer"
4. In the same screen look at "Customer/Material with release status" frame of table control
5. Enter appropriate material and amount and hit <Enter>
6. Select the item/row of the entered material and hit <F6> or click <Detail> icon in application toolbar.
7. In the next screen the frame < Planned Values> and its fields like <Planned Basis> and < Planned Value> are missing.
Does anyone know about this situation and can help on this?
Thanks and Best Regards, ManojHi,
Try this..Go to t-code V/04 -Change condition table of ur appropriate access sequence..input ur Table number which description u want to change and press enter...
inside u can see table number on top and its description..near to this description u can find "propose/maintain text icon" enter ur description and save...
Now try in VK11..
Reg
JJ
Edited by: Jagsap on Jul 14, 2009 10:52 AM -
Hi All, In which tables the packages , programs and program texts stored
Hi All ,
I want to display all the programs under a package with its package name , program name , program text and the created user if possible table ..for that i need in which tables all the packages will be store and in which i need program and its text will be stored and also created user's .
Please provide the solution ASAP.
Thanks & Regards,
BharatHi,
Check These..
TDEVC : Packages
REPOSRC : Report Source Code
TADIR : Directory of Repository Objects
Arunima
Edited by: Arunima Rudra on Nov 20, 2008 9:34 AM
Maybe you are looking for
-
Errror while deploying ESS Business Package.
Hi, I'am deploying ESS SP11 Business Package and while deploying it in SDM it is giving me an error in the intial stage,when i press Start Deploymet option it is giving the error <b>"None of the available containers recognized the components of ap
-
My iPad 3 has lost the speaker sound after updating to iOS 6.1, headphones are working fine. Please help me out, done all the troubleshooting like restarting, side switcing, cleeaning the headphone jack etc.,
-
After I use the Develop module in LR4 I edit in PS-CS4, now the develop module changes do not show in CS4.
-
How to set column names when not using object of row data in constructer
hello i am using JTable constructer as public JTable(int numRows, int numColumns) can i set column names for the columns .How?
-
Hello, I have a quick question: I'm finishing my website, and I'm customizing my system pages. When I enter in a system page (like lost my password), all my links in the header are not working because the URL changes for www.mypage.com/_system/system