Finding Short Text for selected Data Element
Hi all,
I need to find the short description using a data element (technical name) as a search criteria, where you can use trxn SE12 to search for its short description.
e.g. KEY = 'Synchronization key'
SPRAS = 'Language Key'
VBELN = 'Sales and Distribution Document Number'
In my ABAP program, I have a list of data elements (technical name) but I want its short description to be displayed.
Can someone shed of light of how to achieve the above?
Thanks and regards,
Patrick
Field DDTEXT Table DD04T will return the short description of the data element. Also pass language 'E' in DDLANGUAGE field and data element name in ROLLNAME.
For short description use field: DDTEXT
For Short Field Label use field : SCRTEXT_S
For medium Field Label use field : SCRTEXT_M
For medium Field Label use field: SCRTEXT_L
For heading Use Filed: REPTEXT
Similar Messages
-
Where we can find Short Text data type attachment
Hi,
file type attachements are store in fnd_lob.
Where we can find Short Text data type attachment in oracle apps.
RegardsHi,
You can find short text data type attachments in FND_DOCUMENTS_SHORT_TEXT table.
Please also refer link:
Oracle Apps Gurus: Attachments in Oracle
Attachments in Oracle Applications
Hope this helps!!!
Best Regards, -
Finding short text description of Fixed values for value range for domain
Hi,
When I got to Dictionary: Dispaly Domain and click on tab value range; I get the template showing Fix. Val and its associated short text.
I want to fetch the short text for a particular fix. val for a domain.
How can I do that ? What table can I use it ? Or do I need to use some function module ?
Lets say I want to fetch the short text for a given Fix val. for domain VBELN.
Please help me out.Hi,
You can use Function Module 'FM_DOMAINVALUE_CHECK' to get the fixed values of any domain.
Regards,
Atanu -
Devloped an ALV report for daily cash receipts for selected date range
hi,
how to devlop an ALV report for daily cash receipts for selected date range.for this report what are the tables and fields we have to use.what is the selectionscreen&what is logic.give me sample report.Hi,
You can develop simple reports using Report Painter.
You may be also interested in:
Check report SAPMF05A for credit memo
See the following Std reports on Payment Advices execute the Tcodes:
S_ALR_87009888
S_ALR_87009889
S_ALR_87009890
S_ALR_87009891
S_ALR_87009892
S_ALR_87009893
S_ALR_87009978
S_ALR_87009979
S_ALR_87009980
S_ALR_87009981
S_ALR_87009982
S_ALR_87009983
S_ALR_87010056
S_ALR_87010057
S_ALR_87010058
S_ALR_87010059
S_ALR_87010060
S_ALR_87010061
S_ALR_87010066
S_ALR_87010067
S_ALR_87012106
S_ALR_87012107
S_ALR_87012108
S_ALR_87012109
S_ALR_87012110
S_ALR_87012111
S_ALR_87012116
S_ALR_87012117
S_ALR_87012200
S_ALR_87012201
S_ALR_87012202
S_ALR_870122
S_ALR_87012204
S_ALR_87012205
S_ALR_87012350
S_ALR_87012351
S_ALR_87012352
S_ALR_87012353
S_ALR_87012354
S_ALR_87012355
sample ALV report:
tables:
marav. "Table MARA and table MAKT
Data to be displayed in ALV
Using the following syntax, REUSE_ALV_FIELDCATALOG_MERGE can auto-
matically determine the fieldstructure from this source program
Data:
begin of imat occurs 100,
matnr like marav-matnr, "Material number
maktx like marav-maktx, "Material short text
matkl like marav-matkl, "Material group (so you can test to make
" intermediate sums)
ntgew like marav-ntgew, "Net weight, numeric field (so you can test to
"make sums)
gewei like marav-gewei, "weight unit (just to be complete)
end of imat.
Other data needed
field to store report name
data i_repid like sy-repid.
field to check table length
data i_lines like sy-tabix.
Data for ALV display
TYPE-POOLS: SLIS.
data int_fcat type SLIS_T_FIELDCAT_ALV.
select-options:
s_matnr for marav-matnr matchcode object MAT1.
start-of-selection.
read data into table imat
select * from marav
into corresponding fields of table imat
where
matnr in s_matnr.
end-of-selection.
Now, we start with ALV
To use ALV, we need a DDIC-structure or a thing called Fieldcatalogue.
The fieldcatalouge can be generated by FUNCTION
'REUSE_ALV_FIELDCATALOG_MERGE' from an internal table from any
report source, including this report.
The only problem one might have is that the report and table names
need to be in capital letters. (I had it )
Store report name
i_repid = sy-repid.
Create Fieldcatalogue from internal table
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = sy-repid
I_INTERNAL_TABNAME = 'IMAT' "capital letters!
I_INCLNAME = sy-repid
CHANGING
CT_FIELDCAT = int_fcat
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = i_repid
I_STRUCTURE_NAME = 'marav'
I_DEFAULT = 'X'
I_SAVE = 'A'
TABLES
T_OUTTAB = imat.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC .
ENDIF.
Hope this will help.
Regards,
Naveen. -
Wrong short text for sales order item
Hi guys,
I have an issue for the short text for sales order item. It is werid that I get the different short text depends on how we enter the material. If we only enter the material #, we get the short text for sales order item from material master data. If we enter the material #, plant and storage location, we get the short text for sales order item from customer material infor record. However, the customer material infor record is only maintained for inter-compnay transaction. System should not pick it for third-party transaction.
I found a code in FV45PFAP_VBAP_FUELLEN:
Bei Primärbedarfen ist MAAPV-ARKTX nicht relevant
if vbak-vbtyp ne vbtyp_pbed.
vbap-arktx = maapv-arktx.
endif.
Kundenmatinfo hat höhere Priorität
if knmt-postx ne space.
vbap-arktx = knmt-postx.
endif.
if da_arktx ne space and
svbap-tabix = 0 and
vbapin-matnr = vbap-matnr.
vbap-arktx = da_arktx.
endif.
But it is nothing customized. Who can tell me what is wrong here?
Thanks,
DLHi,
Text coming from source (MMR, CMIR etc.) is being "pulled" via the access sequence. Check the Text analysis in your sales order in Tab Texts, at item category level. -
Devolped an ALV report for daily cash receipts for selected date range
hi,
how to devlop an ALV report for daily cash receipts for selected date range.for this report what are the tables and fields we have to use.what is the selectionscreen&what is logic.give me sample report.hi,
how to devlop an ALV report for daily cash receipts for selected date range.for this report what are the tables and fields we have to use.what is the selectionscreen&what is logic.give me sample report. -
What makes a field eligible for selecting data in a subreport?
Hello,
I have posted the following question to [StackOverflow|http://stackoverflow.com/questions/4366702/what-makes-a-field-eligible-for-selecting-data-in-a-subreport], but it has so far generated no replies. I decided to cross-post it here to see if I could get a better result.
The TL;DR of it is that I have a field which I should be able to link in my Subreport, but it does not appear, and I was wondering what I need to do to make it appear.
I have a Crystal Report I'm trying to recreate from scratch after an update from VS2008 to VS2010 caused it to implode horribly.
I've gotten most of the way through, but I'm at a stage where I'm linking a field in the Main Report to a corresponding field in the Subreport.
I have set up a bunch of Database fields in the Subreport, I've added the table I want, TableA, I've linked it up as everything was linked in the original report, with TableA at the head of the linking chain, so that all the rows I want can be derived from the result of that first query ( Actually, all of the links from the original Report were red in the Database Fields linking dialog, whereas mine are a bit rainbow-y. All the links in TableA are red, though... _ )
In the "Subreport Links" dialog, I have an integer which I know is being pulled from the database correctly. I've added it in the "Fields to link to" listbox, and selected the newly-created parameter in the "Subreport parameter to use" combobox. I've ticked the "Select data in subreport based on field" checkbox.
The database field I want to link to then does not appear in the second combobox.
Another integer field in TableA shows up fine in the "Select data..." combobox (and is linked to another field being passed in), so I don't know why these two integer fields, which are equally important, and exist on the same level, on the same table, are being treated differently by the report designed.
Any ideas what I'm doing wrong?Here is what I'd do:
1) Download CR 2008 eval designer from here:
http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
2) Try the linking in CR 2008 designer
3) If it does not work there, ask why not in the [CR design|SAP Crystal Reports, version for Visual Studio; forum.
4) If you get the linking working in the CR 200 designer, try to run the report in your VS2010 app (after ensuring the report woks as expected in CR 2008).
5) If (4) above works out for you, please let me know as this may be an issue with CRVS2010.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Function Module or BAPI to update Short text for sales order item(vl02n)
Hi All,
I need to update the Short text for sales order item in vl02n transaction from an internal table with Delivery number and other relevant details .
Does any body know any Function Module or BAPI which can accomplish this purpose .
Or else writing BDC is the only option I have got ? .
Please clarify .
Thanking you in advance .
With Regards,
Suriya .Hi
You can try using BAPI_SALESORDER_CHANGE if you want to change sales order
Regards
MD -
HOw to find the text for PERSK field in infotype 0001
hi all
HOw to find the text for PERSK field in infotype 0001Hi
T503T : contained the similar informative text for PERSK . read this for T503T-PTEXT.
..lakhan -
Error- Unable to find error text for this exception
Hi all,
I am facing the following problem in discoverer ,Please give me your advice.
while I am trying to open the workbook I am getting the following error
"Unable to find error text for this exception"
Could you please tell me how I can find why this warning is come ? or how I can solve this warning.
if I ignore this warning then the workbook is failing to open.
thanks and regards
senthil kumarHi,
Are you getting this problem with the Desktop, Plus or Viewer editions? It could be that the database is generating the exception. You will need to trace the database session to see the error.
Rod West -
How can I wrap the text for LinkToAction UI Element.
Hi All,
I am trying to wrap the text for LinkToAction UI Element which is inside the group.I have set the wrap property to be true.But still its not getting wrapped.I have set the width of the group to be 0px.I have even set the wrap property for the RootUIElementContainer and set the width property to be 0 px.I am using the FlowLayout.Any ideas are appreciated.
Thanks in AdvanceI have the same problem.
would you plz tell me how to wrap. -
Hi
I'm looking for the table or tables in SAP which is the Short Text for Object Part Code,Short Text for Problem Code and Short Text for Activity Code
Ie: QMMA, QMSM, QMUR are QMUR tables codes But I don't know the table of the Short text for this codes
Thinks in advance.hi,
If you are using catalogues in notification and looking for short text of each codes, look for them in table QPGT.
cheers
Rav -
Report is by defualt picking up short text for variable selection screen.
Hi all,
Reports(WAD/BEX) by default pciks short text of the master data , i want it to pick long text ; any idea ?
Thanks ,
MadhavHi Madhav,
The BEx query setting made in infoobject can be overwritten by the settings made in the query .
You need to select Long Text in the query for that characteristic.
This setting will overwrite whatever is made in the info object level and so make will diplay the long text.
Hope it helps:)
Regards,
Asha -
How to use OTR short text for description of select options
Hi Experts,
Can some one guide me how to make the description of select option language independant.
Can't I use OTR text for description? if yes, how is that?
WD_THIS->M_HANDLER->ADD_SELECTION_FIELD(
I_ID = 'SEL_OPEN_LINES'
IT_RESULT = LT_RANGE_TABLE
I_AS_CHECKBOX = ABAP_TRUE
I_READ_ONLY = L_READ_ONLY
I_DESCRIPTION = 'Select Open Lines' ).
how can i pass OTR text for the string type I_DESRIPTION export parameter of ADD_SELECTION_FIELD method?
or is there any other way of doing this.
Any clue is highly appreciated. Thanks.
Regards,
AjayHi,
Try this out -
Use cl_wd_utilities=>GET_OTR_TEXT_BY_ALIAS get the alias text into a string and pass this string variable to the I_DESCRIPTION.
DATA:
lv_str type string.
CALL METHOD cl_wd_utilities=>get_otr_text_by_alias
EXPORTING
alias = 'ZPKG/header'
language = sy-langu
RECEIVING
alias_text = lv_str.
WD_THIS->M_HANDLER->ADD_SELECTION_FIELD(
I_ID = 'SEL_OPEN_LINES'
IT_RESULT = LT_RANGE_TABLE
I_AS_CHECKBOX = ABAP_TRUE
I_READ_ONLY = L_READ_ONLY
I_DESCRIPTION = lv_str ).
Regards,
Lekha.
Edited by: Lekha on Sep 14, 2009 6:36 PM -
Leading text for select-option in Query
Hi,
In sq02 in the DATA codebox, I have added a "select-option for field". However, the title/leading text for the field in the selection screen is useless. How can I program my own text for this selection ?
PS I have tried selection-screen begin of block
select-option ....
selection-screen end of block.
initialization.
fname = 'individual text.
It does not work and it is running on 4.6C FYI.
Any help is appreciated.goto the properties and u can give ur own name as such in text elements...
in SQ02, menu goto>text elements>selection texts.
Message was edited by:
Ramesh Babu Chirumamilla
Maybe you are looking for
-
[solved] transferring (migrate) my install to a new hard drive
I did some googling, but could not find a howto which replicated my situation... I bought a new SSD for my netbook and I am wondering what the best way to go about transferring my arch install to it without going thru an install-from-scratch would be
-
How do you get REAL fractions in Pages 5.2
I am pulling out what little hair I have left trying to figure out how to get REAL fractions (ala iWork 9) inserted into a Pages 5.2 document! All of the solutiions I have found on the net DON'T WORK for Pages 5.2! The "Character Viewer" built in to
-
Invalid datatype in OCI call ?
Hello, Why i got ORA-01024: invalid datatype in OCI call when i'm trying to select a clob column from a table? that column contains 'hello world'. i don't know what causes this error.. Thanks
-
Preview resize calculation is not working
10.10.2 The resize calculation isn't working right in Preview as shown in the photos, I changed from a random option back to percent in both examples, I need it to tell me the size reduction in pixels after shrinking by the desired percentage. Anyone
-
Password protect streaming files?
I'm looking at switching my whole home server setup from WHS over to Mac. Currently I'm streaming off the home server using serviio to my DLNA devices in various parts of the house. I'd like to switch over to a mac mini and add apple tv boxes in th