Collecting error messsages and need to display in one field of ALV
Hi all,
I am using application log to collect all messages.
After collecting all messages, how to display all messages in one field.
FInally in the output display, i should display all messages.
is it possible, if so please help me.
Thanks in advance,
Swapana.
Swapna,
Yes, you collect all the message text into the internal table git_err in my example. if don't have actual text but have message id and message type, then you can build message text using function module.
You may use following routine to build message text to fill in git_err table. you may want to use standard FM 'FORMAT_MESSAGE' directly to format message.
*& Form build_message
text
form build_message
using in_msgid
in_msgno
in_msgv1
in_msgv2
in_msgv3
in_msgv4
changing
out_msg.
data: l_msgno type sy-msgno,
l_msgid type sy-msgid,
l_msgv1 type sy-msgv1,
l_msgv2 type sy-msgv2,
l_msgv3 type sy-msgv3,
l_msgv4 type sy-msgv4,
l_msg TYPE SY-LISEL.
move: in_msgid to l_msgid,
in_msgno to l_msgno,
in_msgv1 to l_msgv1,
in_msgv2 to l_msgv2,
in_msgv3 to l_msgv3,
in_msgv4 to l_msgv4.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = l_MSGID
LANG = SY-LANGU
NO = l_MSGNO
V1 = l_MSGV1
V2 = l_MSGV2
V3 = l_MSGV3
V4 = l_MSGV4
IMPORTING
MSG = l_msg
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
out_msg = 'System Error'(024).
else.
move l_msg to out_msg.
ENDIF.
ENDFORM. "build_message
I hope this helps, if you have any question please let me know.
Thanks & Regards,
Mahesh Apte
Similar Messages
-
I am programming a DVD-Rom in DVD Studio Pro 4 and need to display and open pdf files, any suggestions?
http://documentation.apple.com/en/dvdstudiopro/usermanual/index.html#chapter=22% 26section=9%26tasks=true
-
Deauthorised some computers and need to add this one but I continue to get the error message
I have deauthorised some computers and need to add this one but I continue to get the message: You cannot authoize more than 5 devices………
Try to reload the page with F5.
-
iCloud password works on everything but erasing all data. I got a new iPhone and need to wipe this one but am not sure how else to do this since the password is not working. Any suggestions?
Firefox also makes regular backups of your bookmarks in a folder named bookmarkbackups in your personal settings folder. You can restore the backup to your new Firefox, but unlike importing the HTML-format file, it is a complete drop-in replacement, so if you have saved new bookmarks you do not want to lose, the export/import method may work better for you.
By default, Windows hides your personal settings folder so the easiest way to access it is from inside Firefox. You can use either:
* "3-bar" menu button > "?" button > Troubleshooting Information
* (menu bar) Help > Troubleshooting Information
* type or paste about:support in the address bar and press Enter
In the first table on the page, click the "Show Folder" button. This will launch a window showing your Firefox settings files.
You might want to back up this whole folder if you have other data you want to preserve from your XP computer.
Either way, you should find the bookmarkbackups folder here and when you click into it, find maybe 10 files with dates in their names.
The procedure to restore the file once you have it on removable media or some other convenient place is described in this article: [[Restore bookmarks from backup or move them to another computer]].
Regarding the other files and what you might find of use: [[Recovering important data from an old profile]]. -
I have the same form to fill out for 250 customers and need to save each ones information. Will it do that?
Hi,
Yes, you can save each form after filling the information, but each with a different name.
Regards,
Nakul -
creating form - want to adjust font style and size in more than one field at a time - HOW??
Select the fields with the mouse, right-click one of them, go to Properties
and set the settings you'd like them all to have.
On Wed, Jan 21, 2015 at 8:51 PM, chuckm38840797 <[email protected]> -
Hi,
What do I do when a message comes up saying "lightroom encounted an error when redimng from its preview cache and needs to quit"See the links at right under "More Like This".
-
Itunes has encountered an error report and needs to close. help!
Hello B Noir. Having the same trouble with this error message. Have removed lots of software off PC, deleted user accounts and set up a new one, downloaded iTunes 9 and then the lastest Quicktime. Am now running the spyware link you provided. Detail behind my error message is first: InPageError P1: C0000009c P2: 00000003 and then ~Temp|WERbf2f.dir00\iTunes.exe.mdmp and ~Temp\WERbf2f.dir00\appcompat.txt Any help you could give would be much appreciated. My PC is probably due for an upgade having squeezed 10 years out of it but I'm worried I'll just get the same problem again on a new machine. All the best, Paul.
*Replying to PaulCUK*
Detail behind my error message is first: InPageError
... you probably don't have a malware issue Paul. The first thing I check for with an InPageError is a damaged font on the system.
Which operating system are you running? XP, Vista or 7? -
Display value and description of one field in alv grid
Hi Folks,
I want to display value and description of one field as one column in alv grid.
for example iam having Xfield = 01,02,03.
and 01 iam having text value as xxx,
01 xxx
02 yyy
03 zzz
Im report display the values are displaying as 01,02,03..
but i want to display it as 01 xxx,02 yyy, 03 zzz.
Please do needful.
Thx.Hi, swetha
You can do this with "concatenate".
example:
In you code check where you final internal table is getting filled up before that do this concatenate and then append it.
data t_text type string.
t_text = textfield
CONCATENATE 'Xfield'
t_text
INTO wa_workarea SEPARATED BY space.
cheers,
Bhavana -
I created a Custom list New Form and need to make the text fields read only
When I use SharePoint Designer and add the read only attribute to the SharePoint form field, then it throws a web part error.
but here is the thing, I have current user Filters populating the Form Fields. So the form fields populate First name , last name etc. and I need these fields read-only....
the Client doesn t want the end user to Change those fields. Is there any way to "LOCK" the form fields?
As I have only 7 text fields that need to be locked down. and one field is a signature line that is a true input field.. where the user has to inter their initials.
Any ideas? as I have tried most of the items available thru searches nothing works, or it throws that web part error message.
Steve AtheyDaniel: ( I'm now at work, a different ID is logged on for me)
I used SharePoint Designer.
Steps:
created a web part page
then on the SharePoint Designer ribbon I then went to insert:
new item form
Then I selected my data source (list)
then I placed the 8 columns on the page
a page viewer web part to pull the manual that people have to read.
and 7 current user filter webparts. (1 for each form field) Yes it is over kill, but I'm trying to keep this straight out of box as much as possible...
then for the form fields
I added a parameter and the read only tag see below in bold:
<asp:TextBox runat="server" text="{$ParamEmployID}" id="ff17{$Pos}" __designer:bind="{ddwrt:DataBind('i',concat('ff17',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Employee_x0020_ID')}"
ReadOnly="True" />
I also added the parameters in the ribbon area
the error message doesn't tell me much, it just send me to web part maintenance page...
if I removed the ReadOnly = True then the error goes away..... So I was trying to find a quick simple JQuery and or javascript code item that would make the 7 text fields readonly and leave the
8th text field alone to allow people to place their initials on the page to say that they read the manual.
I have created hundreds of these types of pages .. this is the first time I have run into this issue, but it also the first time I have tried to use the ReadOnly = True item.
Any Ideas and or thought on how to make the items read only? and not throw the error.
Steve -
Live in Two States with two ISPs and need to merge into one account
Surely I'm not the only one with this problem. And, I'd love to ask an Apple person, but I can't find the proper "contact us" phone or email! I'm 53 years old and not computer savvy. I first set up an itunes account on my computer in Reston, where it still resides in our house. Then, we got a small condo in NC and I set up itunes here. Except that it wasn't the same account I guess b/c it had none of my songs in it. So now, I have two sets of songs that I've bought in two different states and OF COURSE, now we're selling VA and going to be in NC full-time. I'd just like for Apple to tell me how to put the VA account and songs into the NC one so they'll be together. ARgh. Thanks for reading anyone. Abby
Why do you have two account? There is no need for this. An account is just an id and password that you use to purchase music. You can use that account on any computer that has itunes.
Your itunes library resides on your computer. You buy ONE download of a song. It is then up to your to back it up (in case of loss or crash) and to move it wherever you want it. Just like a cd. If you want that cd in another place you would have to take it there or make a copy and take the copy.
Use your backup copy to move whatever music you like wherever you like, or copy to cd, dvd, external drive, flash drive, etc and move it to whatever computer you like. -
How to display selected table fields in ALV report.
Hi,
I am displaying data from table EKPO using ALV through this query.
select * from ekpo into table itab_ekpo up to 25 rows.
bt if i need to display selected fields like
select ebeln matnr netpr from ekpo into table itab_ekpo up to 25 rows.
IT gives error GETWA_NOT_ASSIGNED.
FIELD SYMBOL HAS NOT YET BEEN ASSIGNED
CAN ANYONE PLZ HELP ME.Hi ,
I am pasting the code in which i am getting the error.Plz help.
REPORT ZHALV.
tables:ekpo.
data itab_ekpo type ekpo occurs 100 with header line.
types: begin of itab_new,
f_ebeln type ekpo-ebeln,
f_matnr type ekpo-matnr,
f_netpr type ekpo-netpr,
end of itab_new.
data itab1 TYPE STANDARD TABLE OF itab_new initial size 0.
type-pools: slis.
DATA: lt_fieldcat TYPE slis_t_fieldcat_alv,
lf_fieldcat TYPE slis_fieldcat_alv.
DATA: ws_repid TYPE sy-repid VALUE 'ZHALV'.
DATA: l_layout TYPE slis_layout_alv.
selection-screen Begin of block block1 with frame title text-111.
select-options : S_EBELN for EKPO-EBELN.
selection-screen end of block block1.
INITIALIZATION.
start-of-selection.
select ebeln matnr netpr from ekpo into table itab1 up to 10 rows WHERE EBELN IN S_EBELN.
*select * from ekpo into table itab_ekpo up to 25 rows.
PERFORM build_fieldcatalog.
PERFORM build_layout.
PERFORM GET_DETAILS.
end-of-selection.
*& Form build_fieldcatalog
text
FORM build_fieldcatalog .
PURCHASING DOCUMENT NUMBER
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'EBELN'.
lf_fieldcat-ref_tabname = 'EKKO'.
lf_fieldcat-ref_fieldname = 'EBELN'.
MATERIAL NUMBER
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'MATNR'.
lf_fieldcat-ref_tabname = 'EKPO'.
lf_fieldcat-ref_fieldname = 'MATNR'.
APPEND lf_fieldcat TO lt_fieldcat.
NET PRICE IN PURCHASING DOCUMENT
CLEAR lf_fieldcat.
lf_fieldcat-fieldname = 'NETPR'.
lf_fieldcat-ref_tabname = 'EKPO'.
lf_fieldcat-ref_fieldname = 'NETPR'.
lf_fieldcat-cfieldname = 'WAERS'.
lf_fieldcat-do_sum = 'X'.
APPEND lf_fieldcat TO lt_fieldcat.
ENDFORM. " build_fieldcatalog
*& Form GET_DETAILS
text
FORM GET_DETAILS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = ws_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME = 'EKPO'
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = lt_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = 'A'
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = itab1
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
WRITE: 'SY-SUBRC: ', SY-SUBRC .
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*append itab_ekpo to i_tab.
ENDFORM. "GET_DETAILS -
Needs to be added one field in VL01n in ITEM level. Please. Quick answer!
Hi Experts,
I need to add one field in "Loading and shipment" Tab in ITEM level.
Is there any screen exit or BADI to achieve it.
I got one BADI LE_SHP_TAB_CUST_ITEM. But while checking in my system through SE18/SE19, I am getting message like Does not exist".
If i want to use this badi, will i crate it in my system by giving definition name??
If i created this, can I add one field in "Loading and shipment" Tab in ITEM level through this BADI.
Please advice on it as soon as possible BCZ, it is very urgent requirement.
More rewards will be given for quick advice.
Thanks
Kumar.Are you using SAP 46C? This BADI is not in 46C..
You cannot create BADI with this name, because there is not code in SAP standard program for triggering this BADI.
If anything can be done, it can be done in SPRO(customizing) or you have to modify the standard screen.
Rgds
Bhavani. -
Need help with output one field horizontally please
I know I have seen some ideas and threads about this, but it is not really what I need. I have a report in CR XI that seems to be on the right path. The problem I am having is one field that needs to be in details could provide multiple results (products and services) which duplicates all the records. Some customers I'll have 3 lines, the next 9 ... depending on how many P&S they have.
What I have done is moved all fields from the details section to group1 which so far seems fine and left my P&S field in details.
The output is normal:
prod1
prod2
prod3
prod4
etc.....
What I need is this: prod1, prod2, prod3, prod4, etc.
Any ideas greatly appreciated.
In the group header add a formula
WhilePrintingRecords;
Global StringVar ProductList;
ProductList := '';
in the details
WhilePrintingRecords;
Global StringVar ProductList;
If ProductList = '' then
ProductList :=
else
ProductList := ProductList & ', ' & ; ''
In the group footer
WhilePrintingRecords;
Global StringVar ProductList;
ProductList
Edited by: Terry Mergl on Apr 20, 2010 9:15 PMWhat you have should do it. Is there an issue? Please explain in detail, giving sample data, current results, and expected results.
Carl -
I need to display only subtotals in the ALV and not the details.
Hi,
I have an ALV report . I have totals and subtotals in the same with details.
My requirement is to have only subtotals and totals in my output. I do not want the details of all the items. I want only the subtotals row.
Pls advice on this.Hi Shweta,
FOR TOTAL:
there is a property of fieldcatalog, that is do_sum.
USE COED LIKE:
PERFORM fieldcat USING:
'1' 'KUNNR' 'I_MARD' 'CUSTOMER NO' ,
'2' 'DMBTR' 'I_MARD' 'CURRENCY' ,
FORM fieldcat USING value(p_0029)
value(p_0030)
value(p_0031)
value(p_0032)
wa_fieldcat-col_pos = p_0029.
wa_fieldcat-fieldname = p_0030.
wa_fieldcat-tabname = p_0031.
wa_fieldcat-reptext = p_0032.
wa_fieldcat-do_sum = 'X'.
APPEND wa_fieldcat TO i_fieldcat.
clear wa_fieldcat.
ENDFORM. " FIELDCAT
in final output you will get the total of currency field.
FOR SUB TOTAL:
decleare: i_sort type standard table of slis_sortinfo_alv,
wa_sort type slis_t_sortinfo_alv.
wa_sort-spos = '1'.
wa_sort-fieldname = 'field1'.
wa_sort-tablename = 'i_final'
wa_sort-subtot = 'X'.
wa_sort-group = 'X'.
append wa_sort to i_sort.
clear: wa_sort.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
it_fieldcat = it_fieldcat
it_sort = i_sort
Hope this can solve your pbs.
Regards,
Tutun
Maybe you are looking for
-
How to display the return value of a function in a text field
Hi, I have 2 textfields in a page. i> Empno ii> Salary The requirement is, i. Enter an Employee No. ii. On click of the 'SUBMIT' button a process would be executed which calls a function (or procedure with out parameter) which returns the Salary of t
-
16:9 content fullscreen in QT
Hi, I am working on FCP 5.1.1 and I am using 16:9 SD video (captured from a Sony TRV-17). Editing works fine, everything is always shown in anamorphic dimensions. However, once the movie is exported to Quicktime or even DV, I can't play the content i
-
Music Sync in iTunes is Non-Op
When I try to sync my music in iTunes, the selection "all songs and playlist" is not clickable. What has to be done to correct this? Thanks-Dan
-
I am confused whenever i come across the term Debit/credit.... here in MM point of view where we use this Debit memo and credit memo.. I am new to this pls tell me the following steps how to do that debit/credit memo..
-
Hi, During Intercompany Billing document (VF01), a KR is created via idoc. However, in Cost of Sales account, I get the sales order number but the material is not getting populated when I click on the More data. The material field is empty. Any idea