Can file out put display array of messaged
Hi Folks ,
I am displaying the msg of RFC on a file .
So far so good
it is getting displayed propely
like
ID Msg
1 Faliure .
i am able to capture this msg and show in a file
but in some cases the RFC
returns more than one row
like
ID Msg
1 Created log
2 Sucess
3 Trying to update
4 Update
Is there a way were i can display the msg in the same way in o/p file
cureently my file only shows
ID Msg
1 Created Log
Hi,
In SXMB_MONI, is the source payload something like this?
<ID Msg>
<..>Created log<..>
</ID Msg>
<ID Msg>
<..>Sucess<..>
</ID Msg>
If so,you will have to change the occurence of the <ID Msg> header in the the target to 0 to unbounded, so that for every <ID Msg> created in the source a corresponding header is created in the target.
Regards,
Smitha.
Similar Messages
-
In ALV Reports, i want to edit records manually in out put display
hello all,
in ALV Reports, i want to edit records manually in out put display. how can i do that?*& Report ZTEST1
REPORT ztest1.
TYPE-POOLS: slis.
DATA:i_sbook TYPE STANDARD TABLE OF sbook INITIAL SIZE 0,
i_sbook1 TYPE STANDARD TABLE OF sbook INITIAL SIZE 0,
i_fieldcatalog TYPE slis_t_fieldcat_alv,
wa_fieldcatalog LIKE LINE OF i_fieldcatalog,
wa_sbook TYPE sbook.
DATA:wa_layout TYPE slis_layout_alv.
SELECT-OPTIONS:
s_carrid FOR wa_sbook-carrid.
AT SELECTION-SCREEN.
IF s_carrid IS NOT INITIAL.
SELECT COUNT( * )
FROM scarr WHERE carrid IN s_carrid.
IF sy-subrc <> 0.
MESSAGE e000(ztest) WITH 'Invalid Airline Code'.
ENDIF.
ENDIF.
START-OF-SELECTION.
SELECT *
FROM sbook
INTO TABLE i_sbook
UP TO 50 ROWS
WHERE carrid IN s_carrid.
CHECK sy-subrc = 0.
i_sbook1[] = i_sbook[].
DATA: l_repid TYPE syrepid VALUE sy-repid.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = l_repid
i_internal_tabname = 'I_SBOOK'
i_structure_name = 'SBOOK'
i_client_never_display = 'X'
* I_INCLNAME =
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE =
CHANGING
ct_fieldcat = i_fieldcatalog
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT i_fieldcatalog INTO wa_fieldcatalog.
IF wa_fieldcatalog-fieldname = 'SMOKER'.
wa_fieldcatalog-edit = 'X'. " REUSE_ALV_GRID_DISPLAY
* wa_fieldcatalog-input = 'X'. " REUSE_ALV_LIST_DISPLAY
ENDIF.
MODIFY i_fieldcatalog FROM wa_fieldcatalog TRANSPORTING edit input.
ENDLOOP.
wa_layout-window_titlebar = 'My Title'.
wa_layout-zebra = 'X'.
wa_layout-colwidth_optimize = 'X'.
DATA repid TYPE syrepid VALUE sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'SUB_USER_COMMAND'
is_layout = wa_layout
it_fieldcat = i_fieldcatalog
TABLES
t_outtab = i_sbook
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*& Form sub_user_command
* text
* -->R_UCOMM text
* -->RS_SELFIELD text
FORM sub_user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&IC1'. "Double click
IF i_sbook1[] NE i_sbook[].
MESSAGE i001(00) WITH 'Hmm...some data changed'.
ENDIF.
ENDCASE.
ENDFORM. "sub_user_command
*& Form set_pf_status
* text
* -->RT_EXTAB text
FORM set_pf_status USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZSTANDARD'.
ENDFORM. "set_pf_status -
Dev procedure out put display in PDF form is it same wd java and wd abap?
hi,
dev procedure out put display in PDF form is it same wd java and wd abap?
Thanks,
RamaHi,
for Web Dynpro Java, see
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/60/6fc10c6748479392101e09c9e8d33a/frameset.htm">this</a> and
for Web Dynpro ABAP, see <a href="http://help.sap.com/saphelp_nw70/helpdata/en/2c/241a427ff6db2ce10000000a1550b0/frameset.htm">this</a>
Regards, Heidi -
Hi ,related to CSV files out put.
hi all,
I am taking out put in ALV and .CSV format (in unix path ) .
And the ALV out put is fine.
In one of the material description the text is like this :
my name is (Activ.Foil+S,sr)
so for description in CSV it is taking like this : my name is (Activ.Foil+S
and for the next field the remaining text is going
i.e , for material group it is getting : sr)
and all the values are shifted by one field.
so the BW team facing the problem while extracting data ,
can any one please help me out how to solve this probelm.
Thanks and Regards.
C.Shamsundher.Hi Prem,
In such case you need to change the delimitter or else remove the comma from Material description once you retrieve data from database into internal table.
REPLACE ALL OCCURRENCES OF ',' in WA_TAB-DESC with ' '.
Then move the material descritpion to the CSV file.
Best regards,
Prashant -
Re-arrange the flat file out put in APD
Hi Guys,
I am loading data in APD,soruce is Query and target is Flat file.i want to re-arrange the out put file.
Let me know what are the possible ways to re-arrange the columns in the out put flat file.
Regards,
JayapalThere are three ways to do this:
1. Use Hide or Rename Columns (Projections) under Transformations in between the query and the flat file (recommended method)
Under the field selection tab..transfer the fields to the right pane in the order you wish to view thwm in.
2.Drag and drop a routine
Go to source fields tab
Move the entries in the right to the bottom left 'Source Fields' pane.
Then go to the Target field tab.
Right Click on the row and click unfreeze columns
Now you can drag & Drap and re-arrange the fields.
Insert the routine in between query and Flat file
3. Change the order of the fields in the Query Definition( Not Recommended)
Cheers! -
HT3529 Can you turn off display of txt messages on locked screen?
Can you turn off the display of txt messages on the locked screen?
Settings>Notifications>Messages>Show Preview>Off.
-
PDF files won't display. Error message "Missing Plug-ins"
Hello. I am having trouble with adobe reader but only certain files. When I first signed up for school in may Adobe Flash Player and Adobe Reader were required and when I did the check plug-ins system check, both were installed and running just fine. Just in the past 2 days is the check plug-ins test saying Adobe reader is not installed. I have tried un-installing and re-installing but still saying it is not installed. I'm not having troubl with all adobe reader files. I'm an online student and my e-books are opening and displaying just fine. Also my pdf documents saved on my computer are opening just fine. When I try to view a websites brochure, a websites sale paper, or maybe open up an article, the page pops up but the image won't display. It keeps saying "missing Plug-ins". I have a MAC 10.6.8. running on Safari and I have downloaded Adobe Reader 10.1.0. I need to be able to open up articles because I'm doing a homework assignment that requires one. If u can help in any way, please do.
I've tried all the fixes listed in the discussions about missing plug-ins in Mail. None of them worked. I can see attachements in the emails, but when I forward them, the missing plug-in shows up in place of the attachments on the forwarded email. I'm running the latest OS 10.7 on my Mac Pro and I just downloaded the latest Java app. HELP!!
-
Lots of choices but little data; file out puts
Can someone please make some descriptions to help know when
or why to choose any of these? Or perehaps link to descriptions?
Which ones are the tiniest files?v Thank youSteve,
It is all about the reason you are exporting.
Some of those are good for exporting video to be edited in other programs. NTSC DV for example. That is the format shot by MiniDV cameras. So if you are editing DV AVI, that would be a logical output for further editing in other applications.
Others, like H.264 are good for putting videos on web sites, or for YouTube or Vimeo.
File size is pretty much set when you export to DV. It is just under 13GB for an hour of video based on a 25Mb/s data rate.
Other codecs are more flexible. You can shrink the file size by shrinking the frame size, or lowering the frame rate, or most often, by lowering the bitrate. Scaling down the video has obvious results. Lowering the frame rate can cause stutter and is only good for certain footage, and reducing the bitrate starts to cause a lack of quality video.
Perhaps if you told us what you wanted to do, we could provide more specific suggestions. -
Can we customize popup display for error messages ?
Can we apply styling like width and height to error messages that adf displays in popup
Check this from the ADF Rich Faces Client Demo?
http://jdevadf.oracle.com/adf-richclient-demo/faces/components/skinningKeys/messages.jspx
Thanks,
Navaneeth -
Imac and canopus advc110 can you out put to a monitor
I am new to this apple stuff and have after some pro advice settled for a canopus advc110 to go with my imac, i am now struggling with the settings to output to a monitor please help!!!!!
Hi
This works greatly with my Canopus ADVC 300.
I connect box to Mac via FireWire
My Box has one in and one out analog side. Connect Out with RCA-connectors to
Monitor RGB (RCA-In) or via a SCART-plug.
In FinalCut when starting up it should identify the "Camera/A/D-box" (External A/V) and not ask for it
When FCE/P is up and running. Select View Menu from top Row.
Down this select "External Video" -> All frames
If this doesn't work Select next line "Refresh A/V Devices" then "External Video" -> All frames
This works for me.
Read Manual of Your Canopus ADVC-110 if ther is any Dip-Switch settings needed
(Not same on ADVC-300 Sorry)
Yours Bengt W -
Trace file out put line shows 18726 but wc -l lists only 165
Friends,
the output of the trace file show "18726 lines in trace file"
when i run the linux command to count the number of lines
$ wc -l filename.txt
it shows only 165 lines.
Also, the manual count shows 165 lines.
so where are the remaining lines?
the parameter for max file size is unlimited.
thanksEven if you do not filter any result set (F.ex. SYS=NO), the tkprof output is generally an aggregate output (unless you specify AGGREGATE=NO). So a statement doing a 1000 fetches, would still show up as one.
Even if you do specify AGGREGATE=NO, I doubt whether the line count in the original trace and converted text files will tally. -
Input: Month Year and Out Put Display
Dear SDN,
Is it possible to view a Query, if we provide only Month & Year..
Then the following result has to display..
Entered month year --- Previous month year --- YTD entered month -- YTD Previous month year
Example : During execution of a query -- suppose if i enter Sep 2007
Sep2007 -- Sep2006 -- YTD Sep2007 -- YTD Sep2006
Please suggest me...
Help will appreciated with points
This is very urgent...
Thanks in advanceHi,
Create a VAR Ready for input on 0FISCPER (eg ZFPIN)
COL 1: RKF with your KF restricted to 0FISCPER = ZFPIN
COL 2: RKF " 0FISCPER = ZFPINLY
COL 3: RKF " 0FISCPER = ZFPINYTD
COL 4: RKF " 0FISCPER = ZFPINLYYTD
ZFPINLY, ZFPINYTD, ZFPINLYYTD are variables NOT ready for input processed by customer exit (CMOD).
The code should basically be:
DATA: l_s_range TYPE rsr_s_rangesid.
DATA: loc_var_range LIKE rrrangeexit.
DATA: fiscal_year LIKE t009b-bdatj.
CASE i_vnam.
WHEN 'ZFPINLY'.
IF I_STEP = 2.
LOOP AT i_t_var_range INTO loc_var_range
WHERE vnam = 'ZFPIN'.
fiscal_year = loc_var_range-low(4).
fiscal_year = fiscal_year - 1.
CONCATENATE fiscal_year loc_var_range-low+4(3) INTO l_s_range-low.
EXIT.
ENDLOOP.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDIF.
WHEN 'ZFPINYTD'.
IF I_STEP = 2.
LOOP AT i_t_var_range INTO loc_var_range
WHERE vnam = 'ZFPIN'.
CONCATENATE loc_var_range-low(4) '001' INTO l_s_range-low.
l_s_range-high = loc_var_range-low.
EXIT.
ENDLOOP.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
APPEND l_s_range TO e_t_range.
ENDIF.
WHEN 'ZFPINLYTD'.
IF I_STEP = 2.
LOOP AT i_t_var_range INTO loc_var_range
WHERE vnam = 'ZFPIN'.
fiscal_year = loc_var_range-low(4).
fiscal_year = fiscal_year - 1.
CONCATENATE fiscal_year '001' INTO l_s_range-low.
CONCATENATE fiscal_year loc_var_range-low+4(3) INTO l_s_range-high.
EXIT.
ENDLOOP.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
APPEND l_s_range TO e_t_range.
ENDIF.
ENDCASE.
hoping this will guide you....
Olivier. -
CSV , text file out put from flash exe
Hi,
I want to save data from flash exe to CSV file and text file
. OS is XP and there will be no server connections. Is this
possible. Please help.
Thanks,
ManuIf th ecomputer you're working with has some server software
running (Apache or IIS) you could save your data with php or asp.
If you don't then you could use the Shared Objects (which works as
a cookie, so you'll be e bit limited here). There was a function
called MMSAVE back in FlashMX, don't know it that still works, that
writes to a text file (but only in the development enviroment).
Let me know a few more details and we'll find a way.
Cheers
Gorka -
Out put in Background (SM37) not showing All columns
Hi Folks,
Im creating an out put display for my query in background , we have define an output device , after submitting the query in back ground it just showing me only 10 columns . I mean I its not showing me all columns when I went to SE37-> select job->spool ->view (display).
Why its happening?
Please help me
Cheers
UsmanWhen you are submitting the job in background by exexuting your query from Sq01 or Tr.code , a screen will pop-up ask for you device name, on the same screen youll see properties hit that, itll take you to another screen and change the report format 65 and 200 or 65 and 200. It depends on your out put device . You can only display report till 255 . If you want to active ALV functional enable in background spool job you have to use extracts for that . So you can download your data in correct format.
You can also decrease the length of variables in query so within 255 characters you can see all report columns.
Hope thisll help you .
Hope thisll give you idea!!
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
Problem with dispalying out put of report RLLI0400
i have added one field in the report by copieng the report to zprogram...
i want see the out of the report ,but i am not getting any out put just giving the message saying that tha document is printed...
i need to change code in this report?
i need to change any thing in form DRUCKER_EINSCHALTEN,
if yes please tell me what changes are needed.....Hi Kranthi,
in sub routine DRUCKER_EINSCHALTEN omit the code NO-DIALOG with NEW_PAGE command. i think it is genreating output into a spool request and suppress the dialog. if you omit this NO-DIALOG it will generate output.
Regards
Krishnendu
Maybe you are looking for
-
My ipad and laptop were stolen, how can I get my data back?
Both my ipad and laptop were stolen. Ive downloaded itunes onto a new laptop but none of my files are there. I was using iCloud.Can anyone help?
-
How do you remove a credit card
Acouple days ago I tried purchasing some apps using a VISA gift card. I entered the card information where you usually do for credit cards and was able to make the purchases. Now when I try and redownload or download anything it won't let me. My acco
-
How do I use parentheses instead of dashes when exporting in Lightroom?
I don't always want to replace a photo without warning. Sometimes I like to see the photos side by side. Windows convention uses parantheses for different versions of an image, which keeps the jpegs together and separate from tiffs or other raw image
-
Use system.cursor_block in default_where of set_block_property
Dear All. I have got a control_block with Search&update button.I have got 3 database blocks.I wish to use above button for searching all the blocks by dymanically passing the block name using system.cursor_block: go_block('SYSTEM.CURSOR_BLOCK'); set_
-
XI Message Archiving & Deletion
I'm looking to archive and delete old messages in XI 3.0 that are dated before we started running our archiving jobs. Does anyone know how to flag these old messages for archival? Thanks in advance!