How to display only the description of a combobox.
Hi All,
I have a combobox on a grid.
The value of it, is the adresses of BP.
Example :
string sQuery = "SELECT CRD1.Address FROM CRD1 WHERE CRD1.AdresType='S' AND CRD1.CardCode='" + oGrid.DataTable.Columns.Item("U_IFC_PP").Cells.Item(pVal.Row).Value.ToString() + "'";
SAPbobsCOM.Recordset oRec;
oRec = (SAPbobsCOM.Recordset)SBO_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
oRec.DoQuery(sQuery);
SAPbouiCOM.ComboBoxColumn oCBB;
oCBB = (SAPbouiCOM.ComboBoxColumn)oGrid.Columns.Item("U_IFC_ADR");
while (!oRec.EoF)
oCBB.ValidValues.Add(oRec.Fields.Item("Address").Value.ToString(), "");//, oRec.Fields.Item("Address").Value.ToString());
oRec.MoveNext();
When i click on the combobox, it's display the value and the description like this :
value1 - Adr1
value2 - Adr2
i want to display only the description like the field "Ship To" in the folder "Logistics" in the Sales Order form.
It is possible ?
And what is the size limit of the parameter oCombobox.ValidValues.Add(ByVal Value As String, _
ByVal Description As String _)
Thanks for your response.
Best Regards.
Michael
Hi Michael,
actually you can't show only the description when you click into it.
the lenght of the description is usually around 50.
(but it depends also how long you made the value.)
the best is to do it so:
keep the value short with numbers
and cut the description at 42 (to be on the safe side)
lg David
Similar Messages
-
Displaying metadata, how to display ONLY the Date
I would like to display the Date below each image in Aperture 3. When I select "Date" in the Browser & Viewer Metadata window, the result is a very long string with the Date, the Time and the Time Zone. meaning that most of the time I see nothing because the string is much too long to be displayed...
How to display ONLY the Date ?
Thank you.
Olivierom28 wrote:
I will do that but still... if the Date could be ONLY the Date "without time and time zone", I would be able to display more information.. and it will look nicer.
I said at the top of my first response above: +Afaik, there is no way within Aperture to change the date format of the date metadata overlay.+
Send Aperture feedback to Apple via "Aperture→Provide Aperture Feedback"
In the past I used Expression Media and the config for displaying such info was better.
Aperture has a strange interface for it (and for other parameters), it does not behave at all like an Apple software (for the GUI), probably an external development team... but I agree it is more complex than iPhoto.
Aperture is 10x more complex than iPhoto.
If you want to see a rigid, boxed, "engineer"-style image database interface, take a look at Lightroom 3. It's a great program -- but it's a very different concept of information presentation and interaction.
Thanks again. -
How make display only the amount field in table control(infotype 0008)
Dear Freinds,
have to make display only the amount field (Q0008-bet01) on table control in infotype 0008 , could you tell me how to make it display only.
i have tried the below coding it is not working in PBO & PAI of the user exit
ZXPADU01 and ZXPADU02. For the table control is there any othe method??
loop at screen.
screen-name = 'WA_P0008-BET01'.
screen-input = 0.
screen-output = 1.
modify screen.
endloop.
i have tried like this as well
loop at screen.
screen-name = 'Q0008-BET01'.
screen-input = 0.
screen-output = 1.
modify screen.
endloop.
in the both the above methods it is not working. Could any one plese suggest me how to make display only the amount field in infotype 0008.
regards
syamlaDear Freinds,
have to make display only the amount field (Q0008-bet01) on table control in infotype 0008 , could you tell me how to make it display only.
i have tried the below coding it is not working in PBO & PAI of the user exit
ZXPADU01 and ZXPADU02. For the table control is there any othe method??
loop at screen.
screen-name = 'WA_P0008-BET01'.
screen-input = 0.
screen-output = 1.
modify screen.
endloop.
i have tried like this as well
loop at screen.
screen-name = 'Q0008-BET01'.
screen-input = 0.
screen-output = 1.
modify screen.
endloop.
in the both the above methods it is not working. Could any one plese suggest me how to make display only the amount field in infotype 0008.
regards
syamla -
How to display only the duplicate records
Hi friends,
I have a query that provides me with a set of data,which has some duplicate rows. I require to display only the duplicates.
This is the result I have:
card_no cust_no address paymnt_mode
1234 A123 XYZ CQ
1234 A234 nmb CC
9876 B123 mnnjn cc
5678 A123 XYZ CQ
5678 A123 XYZ CQ
7876 Mk89 mku CC
From the above ,
I require to display something like this:(Duplicates based on card number alone)
card_no cust_no address paymnt_mode
1234 A123 XYZ CQ
1234 A234 nmb CC
5678 A123 XYZ CQ
5678 A123 XYZ CQ
Please share some ideas,
Thanks a lotwith data as
select 1234 as card_no, 'A123' as cust_no, 'XYZ' as address, 'CQ' as paymnt_mode from dual union all
select 1234, 'A234', 'nmb', 'CC' from dual union all
select 9876, 'B123', 'mnnjn', 'cc' from dual union all
select 5678, 'A123', 'XYZ', 'CQ' from dual union all
select 5678, 'A123', 'XYZ', 'CQ' from dual union all
select 7876, 'Mk89', 'mku', 'CC' from dual
select card_no, cust_no, address, paymnt_mode
from
select card_no, cust_no, address, paymnt_mode, count(*) over (partition by card_no) as cardinality
from data
where cardinality > 1;
CARD_NO CUST_NO ADDRESS PAYMNT_MODE
1234 A123 XYZ CQ
1234 A234 nmb CC
5678 A123 XYZ CQ
5678 A123 XYZ CQ Change the column list in the partition by clause if you want to check over other columns as well. -
PSE6 Organizer... How to display only the hidden pics
Since deleting bad pics is very slow in my PC, in PSE5 I began using an alternate method; I hit Alt-F2 to hide unwanted pics and then selected the Hidden tag, selected all the pics and deleted them all in one batch. But now in PSE6 there is no Hidden tag! (at least I have not found it).
Is there a way in PSE6 to apply some sort of filter to ONLY display hidden pics?See http://www.adobeforums.com/webx?14@@.3c05ca57/0 .
-
ALV: how to display only subtotals and total rows in the output
ALV: how to display only subtotals and total rows in the output
i am getting output
i am getting subtotals for respective fields
but i want to display only subtotals and totals rows in the output
i have tried the
totals_only parameter in slis_layout_alv
but it is not working.hi,
For TOTAL
For the amount field / quantity field in the field catalog give DO_SUM = 'X' for WHOLE total
For SUBTOTAL
For subtotal you will have to create an internal table sort..Let's say you want to do subtotal for each customer..
DATA: lt_sort type SLIS_T_SORTINFO_ALV,
ls_sort type slis_sortinfo_alv.
CLEAR ls_sort.
ls_sort-spos = 1.
ls_sort-fieldname = 'Give the field name that you do the sum'.
ls_sort-up = 'X'.
ls_sort-subtot = 'X'.
APPEND ls_sort TO lt_sort.
fieldcatalog-do_dum = 'X'.
for subtotals
WA_SORT-FIELDNAME = 'ERSDA'.
WA_SORT-SPOS = '2'.
WA_SORT-UP = 'X'.
WA_SORT-SUBTOTAL = 'X'.
APPEND WA_SORT TO IT_SORT.
Refer
http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e056d52611d2b468006094192fe3/content.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/doesnt-function-event-subtotal_text-in-alv-713787
regards,
Prabhu
reward if it is helpful -
How to display COMPANY CODE DESCRIPTION ON THE TOP LEFT OF PAGE
How to display COMPANY CODE DESCRIPTION(Field BUTXT) ON THE TOP LEFT OF EVERY PAGE OF THE REPORT GENERATED.
Actually I have collected BUTXT using
'select butxt into table itab from t001 where bukrs = p_bukrs'
where p_bukrs is the selection screen field.
REQUIREMENT: Depending on what company code we give on the selection screen, corresponding company code description(butxt) should be displayed at the top left of every page. how would i display it in TOP-OF-PAGE EVENT.Hi
It's very simple, but what is the need to use <b>into table itab</b> in your select query.
Rather, define a variable
data: v_butxt type t001-butxt.
Select butxt into v_butxt from t001 where bukrs = pbukrs.
TOP-OF-PAGE.
write :/ v_butxt.
Regards
Surya. -
How can i print the description about the field?
dear folks
i want to develop a report in that i want to display all fields in MM03 for all views.
there i want to display first Field description (not field name), then field value.
ie, for MATNR:
Material Number = xxxx (value)
for SPART:
Division = d1.
how can i print the description about the field?CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
tabname = 'MARA'
FIELDNAME = 'MATNR'
TABLES
dfies_tab = t_dfies
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
you will get all the info for the field in t_dfies in that u have the field description also
run the above FM from se37 and pass tabname = MARA and fieldname = MATNR
see the results in DFIES_TAB in internal table -
Query needs display only the recent record that was updated into BW.
Hi Gurus,
I have a question related to query creation.
I hve one Infoset which was built on top of Opportunities data and Activities data cubes. Tthey are linked using Opportunity GUID. And in the query I am displaying the Opportunity ID(from Opportunity cube), Sales order Number from the Activities data and a keyfigure No of Doc headers from the opportunities cube. Everything is fine. I want to display One Opportunity ID and One Activity associated with it. I mean I want to display only the activity ID which is very recent. But the query displays all the activity IDs which are associated with the opportunity ID. We are not using any time characteristics too as the query has to display all the data that is there in the cubeI just want to see the recent activity that has got updated into the cube. Kindly advice on how to achieve this..
THanks in Advance
Mohan KumarHi mohan,
try to do some restriction by using request ID (0requid) and variable 0S_RQMRC (Most current data on 0requid).
for example a restriction on activiy id by most current request ID.
hope it helps. -
Hi,
In one of my list there are 33,000 records.
It gives message "Displaying only the newest results below. To view all results, narrow your query by adding a filter."
I don't want to change my threshold limit. Can anybody please tell me steps to resolve this issue?
Regards,
Amit KhatriI have a list of 11,000 items. Even though I have setup filters on it and it shows all 10 records based on that filter, it still shows that warning on top. For some items, even with those filters, I don't see the list items at all. How do I deal with
this situation. I don't want to change my threshold limits from CA either. Please help.
MAK -
I have a list with almost 10000 items. I have a view that should be returning 8 items. For me, the Farm Admin, I see the full set of expected values. The message "Displaying only the newest results below. To view all results, narrow your query by
adding a filter" shows for other users. This makes no sense -
there ARE filters on this view. I'd rather not increase the throttle limit.
Anthony KellyHi Ajk,
Check that the list is not scoped by an audience; but, I'm afraid that either way admin, (e.g. non Farm admin or site collection admin)
I'd recommend exporting to excel, create two new spreadsheets and then import as custom lists.
Best of luck and cheers,
Stacy Anothersharepointblog.blogspot.com -
How to find out the description for the given field?
Hi All,
How to find out the description for the given field?
I mean ETTYP Desription is VTEXT. This we can find in TVEPT Table. So, How canwe find this?
Thanks in Advance
Sri...Hi Avi,
If i want to disply the fields like AUART and 'Description of AUART',
Suppose based on my query i will take AUART from T184 table. And the description of AUART is available in TVAKT table.
my question is if i have given T184-AUART and how do u find out AUART Description ?(How do u know which table is having Description of AUART)?
Thanks in Advance
Sri... -
ALV: how to display only subtotals lines in theoutput
hi
in the alv list output
if we display subtotals based on 3 feilds out of 10
we see subtotals (sum) based on the end of each field
now i want to display only the lines which are displayed as subtotals in the output
we have parameter
totals_only(1) type c, " show only totals
in the structrure slis_layout_alv
i have used it but i can see no change in the outputhai
data : GT_SORT TYPE SLIS_T_SORTINFO_ALV,
ABAP List Viewer
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = G_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_STRUCTURE_NAME = 'ITAB1'
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT = GT_SORT[]
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = GT_EVENTS[]
IT_EVENT_EXIT =
IS_PRINT = GS_PRINT
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = ITAB1
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
ENDFORM.
DATA SORTING AND SUBTOTAL
DATA: GS_SORT TYPE SLIS_SORTINFO_ALV.
CLEAR GS_SORT.
GS_SORT-FIELDNAME = 'FIELD1'.
GS_SORT-SPOS = 1.
GS_SORT-UP = 'X'.
GS_SORT-SUBTOT = 'X'.
APPEND GS_SORT TO GT_SORT.
CLEAR GS_SORT.
GS_SORT-FIELDNAME = 'FIELD2'.
GS_SORT-SPOS = 2.
GS_SORT-UP = 'X'.
*GS_SORT-SUBTOT = 'X'.
APPEND GS_SORT TO GT_SORT.
ENDFORM.
regard
nawa -
Char displaying only the first three characters in the cube
Hi Experts
I have a char with lenth 60 and it's active.I am updating this char via the update routine whereby i am reading data from an active table of an ODS as i update in the update rules.
But surprisingly,once the load is succesful and complete,upon checking the data in the active table it's displayin the way it should be the problem comes in when I view the data on the cube which displays only the first three chars even if the descriptionis a 60 character field.
Please helpHi Herbert,
Have you checked in the infosource or transfer rules, what is the length of the infoobject, if you are loading the data to PSA, please check there it self, whether it is displaying 60 characters or only 3 characters.
Thanks
Sat -
RSS Feed from rss generator's new app has changed the feed. Now the description of apps is not showing. the rest is the same. Anyone has an idea why ? and how do I get the description? if I fetch it from itunes pages would that be considered violation of apple's terms and conditions? Please help
See this post.
tt2
Maybe you are looking for
-
I have noticed that when using Tigers disk utility to format an external USB flash drive I only have the choice of FAT ( when formatting for use on a Windows machine ) and not FAT32. I have found that USB FLASH drives formatted as FAT do not always
-
Converting between tables in an Oracle Lite Database
We have a standalone application that uses Oracle Lite. A requirement we have from a new customer is to use their Oracle Lite database structure or to come up with a mechanism that sends the data between the 2 different structures. Both the structure
-
PROBLEM REGARDING GUI_DOWNLOAD IN .TDF FORMAT
hi , i am append the data into one internal table (iresult) . and internal table contain data row by row . when data is downloaded into destop it is storing in .TDF FILE FORMAT IS NOT DOWNLOADING IN .TDF FORMAT FILE AS IN FORMAT OF INTERNAL TABLES L
-
Magic mouse click problem.
Hi all, Couldnt find any solution yet for my problem. It is always either not click or in click(can see the dragging box). No problem with connecting & tracking. I'm using iMac
-
having problems with Aperture 2 using canon pixma mp 470 and when printing photos are too light, or they give me a washed out look , no problems except in Aperture and have used the quality photo selection w only minor improvement..any ideas?