Help : Complex Output Format
Hi there
Using Data in TAB_DTL for an APPID, I need to generate a Report in the following format.
CREATE TABLE TAB_DTL
APPDATE DATE,
AMOUNT NUMBER(12,2),
STATUS VARCHAR2(1),
RATE NUMBER(5,2)
INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '13/09/2011 10:50:45 AM','DD/MM/YYYY HH:MI:SS AM'), 500000, 'D', 13 );
INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '09/11/2011 1:15:30 PM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '15/12/2011 3:20:31 PM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '05/01/2012 10:25:11 AM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '02/02/2012 4:23:34 PM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '05/03/2012 11:15:45 AM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '30/03/2012 11:55:10 AM','DD/MM/YYYY HH:MI:SS AM'), 5000, 'R', 13 );
INSERT INTO TAB_DTL ( APPDATE, AMOUNT, STATUS, RATE ) VALUES TO_DATE( '31/03/2012 11:59:00 AM','DD/MM/YYYY HH:MI:SS AM'), 470000, 'B', 13 );
OUTPUT FORMAT :
APPDATE DR CR BALANCE ACCAMT DAYS CUMM
13/09/2011 10:50:45 AM 5,00,000.00 0 5,00,000.00 10301 58 10301
09/11/2011 1:15:30 PM 0 5000 4,95,000.00 6330 36 16631
15/12/2011 3:20:31 PM 0 5000 4,90,000.00 3655 21 20286
05/01/2012 10:25:11 AM 0 5000 4,85,000.00 4823 28 25109
02/02/2012 4:23:34 PM 0 5000 4,80,000.00 5456 32 30565
05/03/2012 11:15:45 AM 0 5000 4,75,000.00 4218 25 34783
30/03/2012 11:55:10 AM 0 5000 4,70,000.00 334 2 35117
31/03/2012 11:59:00 AM 0 0 4,70,000.00 35117Logic for computation of A) DAYS : Difference in Days from the next succeeding Date
B) ACCAMT : Balance * (Difference in Days from the next Date) * Rate / Days in the Financial Year
Using CASE / LEAD SQLs, can the same be accomplished.
Thanks
# If appdate is 31-MAR-YYYY and time portion is > 11:59:AM THEN we will treat it as 01-APR-2012 otherwise the we will ignore the timestamp of appdate
SELECT TO_CHAR (tab_dtl_vw.appdate, 'DD/MM/YY fmHHfm:MI:SS AM') appdate,
CASE
WHEN round(tab_dtl_vw.dr,2) < 10000 THEN to_char(round(tab_dtl_vw.dr,2))
ELSE TO_CHAR(round(tab_dtl_vw.dr,2),'FM99,99,99,99,99,99,99,999.00')
END dr,
CASE
WHEN round(tab_dtl_vw.cr,2) <10000 THEN to_char(round(tab_dtl_vw.cr,2))
ELSE TO_CHAR(round(tab_dtl_vw.cr,2),'FM99,99,99,99,99,99,99,999.00')
END cr,
CASE
WHEN round(tab_dtl_vw.balance,2) <10000 THEN to_char(round(tab_dtl_vw.balance,2))
ELSE TO_CHAR(round(tab_dtl_vw.balance,2),'FM99,99,99,99,99,99,99,999.00')
END balance,
tab_dtl_vw.days,
CASE
WHEN tab_dtl_vw.days IS NOT NULL THEN ROUND ((tab_dtl_vw.balance * tab_dtl_vw.days * tab_dtl_vw.rate) / (tab_dtl_vw.daysinyear*100))
ELSE SUM(ROUND((tab_dtl_vw.balance * tab_dtl_vw.days * tab_dtl_vw.rate) / (tab_dtl_vw.daysinyear*100)))
OVER(ORDER BY tab_dtl_vw.appdate)
END accamt,
CASE
WHEN tab_dtl_vw.days IS NOT NULL THEN SUM(ROUND((tab_dtl_vw.balance * tab_dtl_vw.days * tab_dtl_vw.rate) / (tab_dtl_vw.daysinyear*100)))
OVER(ORDER BY tab_dtl_vw.appdate)
ELSE NULL
END cummamt
FROM
( SELECT appdate ,
CASE WHEN status = 'D' THEN amount ELSE 0 END AS dr ,
CASE WHEN status = 'R' THEN amount ELSE 0 END AS Cr ,
SUM (amount * CASE WHEN status = 'D' THEN 1 WHEN status = 'R' THEN -1 END) OVER (ORDER BY appdate) AS balance ,
CEIL (LEAD(appdate) OVER (ORDER BY appdate) - appdate ) AS days ,
rate ,
CASE
WHEN (appdate >= '01-APR-' || TO_CHAR(appdate,'YYYY') AND
TO_CHAR(LAST_DAY('01-FEB-' || (TO_CHAR(appdate,'YYYY') + 1)),'DD-MON') = '29-FEB')
THEN 366
WHEN TO_CHAR(LAST_DAY('01-FEB-' || TO_CHAR(appdate,'YYYY')),'DD-MON') = '29-FEB'
THEN 366
ELSE 365
END daysinyear
FROM (SELECT CASE WHEN (TO_CHAR(TRUNC(APPDATE),'DD-MON') = '31-MAR' AND APPDATE > TRUNC(APPDATE - 1/2 - 60/86400)) THEN TRUNC(APPDATE) +1 ELSE TRUNC(APPDATE) END appdate,
status,
amount,
rate
FROM tab_dtl
) tab_dtl_vw
ORDER BY tab_dtl_vw.appdate ASC
Output
APPDATE DR CR BALANCE DAYS ACCAMT CUMMAMT
13/09/11 12:00:00 AM 5,00,000.0 0 5,00,000.00 57 10123 10123
09/11/11 12:00:00 AM 0 5000 4,95,000.00 36 6330 16453
15/12/11 12:00:00 AM 0 5000 4,90,000.00 21 3655 20108
05/01/12 12:00:00 AM 0 5000 4,85,000.00 28 4823 24931
02/02/12 12:00:00 AM 0 5000 4,80,000.00 32 5456 30387
05/03/12 12:00:00 AM 0 5000 4,75,000.00 25 4218 34605
30/03/12 12:00:00 AM 0 5000 4,70,000.00 2 334 34939
01/04/12 12:00:00 AM 0 0 4,70,000.00 34939
{code}
Edited by: Himanshu Binjola on Apr 24, 2012 11:18 AM
Edited by: Himanshu Binjola on Apr 24, 2012 11:20 AM
Similar Messages
-
Hello All,
I'm having problems trying to format the output of one of my queries. I'm new to SQL and I consider my writing the query a HUGE win.... but I can't seem to get the correct output format.
Per the code below, it is outputting the Last Name (lname) of the employee, a count of what I want, and the overall rank. I would like to concatenate the employee number (emp#) the first (fname) and last name (lname) together into the same column in the output.
The concatenation code would be something like the below.
Desired concatenation:
emp# || ' - ' || lname || ', ' || fname AS EMPLOYEE
I'm using Oracle 11g Express. Please let me know if you need any supporting information to assist you.
I appreciate all your help!!! Thank you.
Query
SELECT EMPLOYEE, PREPARED,
RANK() OVER (ORDER BY Prepared DESC) AS rank
FROM (SELECT lname EMPLOYEE , COUNT(DISTINCT reportnum) PREPARED
FROM employee
LEFT OUTER JOIN faultreport USING (empno)
GROUP BY lname
ORDER BY Prepared DESC)
WHERE rownum < 15;Hi,
8bb7968b-e6ae-456c-8459-f418352e9e0a wrote:
Hello All,
I'm having problems trying to format the output of one of my queries. I'm new to SQL and I consider my writing the query a HUGE win.... but I can't seem to get the correct output format.
Per the code below, it is outputting the Last Name (lname) of the employee, a count of what I want, and the overall rank. I would like to concatenate the employee number (emp#) the first (fname) and last name (lname) together into the same column in the output.
The concatenation code would be something like the below.
Desired concatenation:
emp# || ' - ' || lname || ', ' || fname AS EMPLOYEE
I'm using Oracle 11g Express. Please let me know if you need any supporting information to assist you.
Whenever you have a problem, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002
I appreciate all your help!!! Thank you.
Query
SELECT EMPLOYEE, PREPARED,
RANK() OVER (ORDER BY Prepared DESC) AS rank
FROM (SELECT lname EMPLOYEE , COUNT(DISTINCT reportnum) PREPARED
FROM employee
LEFT OUTER JOIN faultreport USING (empno)
GROUP BY lname
ORDER BY Prepared DESC)
WHERE rownum < 15;
It looks like you've found the right way to concatenate the columns. How to use that in your query depends on your data, and what you want the query to do with that data.
If you GROUP BY lname, what do you want the concatenated value to be when different rows having the same lname have different fnames and/or emp#s?
Do you want to GROUP BY the new concatenated employee instead of lname? -
Help deciding best output format and workflow to obtain it.
I’ve volunteered to create a class video for my son’s school. The majority of my source footage (~80%) is DV NTSC 720x480i 16:9 29.97 fps shot on a Sony DSR-PDX10. The remainder consists of 1920x1080p 59.941 fps, 1280x720p 119.89 fps, and 1280x720p 59.941 fps, all shot with a GoPro 3. I need to deliver the final product on discs to the students/parents, though I can be flexible as to whether it is SD DVD or HD Blu-Ray. I have Adobe CS6 Production Premium suite of applications and I’m not opposed to purchasing other products/add-ons in the couple of hundred dollar range if they’d be of a significant help.
I’m trying to figure out what output format would give the best quality and the workflow to achieve it. I’ve been perusing the internet looking for help, but it has gotten a bit overwhelming and there doesn’t seem to be a definitive answer out there.
I’m wondering since most of my footage is 720x480i, should that be my output format and just down-convert or crop the HD footage. Or since most folks will be viewing on HDTV’s (which would up-convert an SD-DVD anyhow), should my output format be HD and should I up-convert the SD footage myself. In any case, when and how should I do the up/down converting, interlacing/de-interlacing, and converting to/from square/non-square pixels (before importing into Premiere, on the timeline, with 3rd party converters, on export or in Encore with AME, etc).
Any advice or suggestions would be most certainly appreciated.If most of the footage is SD, I'd just make the call to work SD and go out to DVD. You shouldn't have too much of an issue using the GoPro footage on an SD timeline I don't think. Just keep an eye on your frame edges and scale up if the PAR mixing is introducing any letter/pillarboxing.
But I wouldn't export out in DV AVI format for your final export. DV AVI is quite lossy. Sure, most of your footage is already DV, but if you're adding any titles they'll get really gunked up. Instead, go directly out of Premiere into your DVD formats (MPEG2-DVD with NTSC DV Wide preset). -
Problem with Excel output format
Hi Guys,
I am creating a report in XML Publisher (not standalone). I am facing some problems could anyone please help me to figure out the issues.
Is it possible to have all three output format (PDF, HTML & EXCEL) exact (same aligned) only by creating a single RTF Template? I am facing the problem with Excel output format the output format of excel is taking excels cell formatting.
Example Numeric fields --> Right Aligned, text fields --> Left Aligned
One more issue with excel is -ve(negative) values are getting displayed in red and in brackets like ($13) (with red color).
Our client want excel output on priority.
Is there any limitation for excel output format of reports?
It is very urgent for us please help.
Any help would be highly appreciated.
Thanks,
Pragati
Edited by: user11237443 on Aug 27, 2009 1:22 AMHi Mahi,
Thanks for your response. But i could not understand how can we write wrapper program could you please give some light on this or provide some link it would be helpful for me:-)
I have read that blog for excel limitations but i have more question?
1) What about the negative values?
if any field is displaying negative amount then excel not displaying right value for that:(
2)How can we align header or data?
Do XMLP with EBS provide any solution for formatting in excel?
3) If for the alignment of numeric value we concatenate them with any special character then how can we perform calculation that field?
Here are so many formatting issues do we need to write any code in xml for that?
Please help.
Many Thanks,
Pragati -
Changing Oracle Report Output Format at runtime
Dear All,
I've custom Oracle Report in Oracle Apps., and would like to give the users an option to select the output format (XML, TEXT, PDF, etc.) whilst submitting the request.
As a SYSADMIN, we can modify the Output Format value of the concurrent program(Oracle Report in this case) to one we like.
But I would like the user to select this output format option at runtime, rather then hard coding at SYSADMIN level. For that I've to create a Value Set with the desired report output format options, and attach this to the concurrent program.
My question is, how we can make the desired output format to work at runtime?
If any one can help?
Thanks,
SandeepHi Steve,
I couldn't get it...???
I'm running an Oracle Report in Oracle Apps. release 11.5.9
The default output format of this report is TEXT, which is defined in its concurrent program.
This report is submitted using standard request submission screen, and after successful completion we can view the output by pressing "View Output" button on "Requests" screen. This will open an another window and we can view the output page by page. Using "Tools>Copy File..." menu option, we can view the same output in IE window.
Now, how does your resolution fits here and how can I view the same report in XML format?
Many Thanks,
Sandeep -
What output formats are supported by SAPConnect in SAP CRM 7.0
Is MHT document format and .doc format the only filetypes that are supported in SAP CRM 7.0? Could anyone please answer what are all the other output formats supported by SAP CRM 7.0.
Hi,
For interactive CRM report, please try link
http://help.sap.com/bp_crm70/BBLibrary/Documentation/C41_BB_ConfigGuide_EN_DE.doc
On page of
http://help.sap.com/bp_crm70/CRM_DE/HTML/index.htm
you may find some other info related to BW analytics, maybe there is info for dashboard? I am not so sure.
Hongyan -
Want text input containing HTML tags to appear as HTML in output format
Hi,
We have a table in Oracle database that has a column named detail,one of its values is like this: <bold><italics>Good Morning</italics></bold>. What our client wants is that the output format should show: <b><i>Good Morning</b></i>. That is,Bi Publisher should be able to parse the HTML tags and provide the desired output. Please tell me how to achieve this. Any help is much appreciated.
Thanks and regards,
Debarati,
[email protected]Hi,
have a look here (http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html) to get an idea.
regards
Rainer -
Please help.
I have a tutorial with in the output format of SWF and HTM. I have click boxes that On Success will open another tutorial (SWF file). When I click on the click box, I get prompted “Do you trust this content to connect to the Internet?” by the Adobe Flash Player. I can click “Yes” and continue, however I don’t want the user to get prompted for every click box with this action (there is one for every tutorial and navigation buttons to each tutorial). I also think that SCORM can't handle the prompt, because when I run the tutorial from the LMS the click boxes do not work at all.
I have tried selecting “Always allow” in the Global Security Settings panel as per the instruction on this website: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l.
Any ideas?Hi,
I wanted to add on a question to this posting.... I believe Rod's instructions must be followed on a per-PC basis, correct? Is there any way to disable this globally when/after I publish the files rather than telling 1000 users across the globe that they have to change their security settings? I don't think so from the article (very thorough) but just hoping there's something I can do?!
Thank you!
Michele -
Different resolution in preview and output format
Hi Folks
I need your help. We already captured a lot of e-learning material but come to a problem.
The output format quality is less good than the preview quality.
Win7 /Captivate 6
Capture resolution for software simulation is 1024x768.
Producing the material in swf and html. No compressing, set to best quality.
Open the preview: quality is nearly the same as the original source.
Open the swf directly or the html --> output looks cloudy, diffuse.
Test with an without scalable html. In case of scalable html it is hard to find the right resolution (1024x768) on a 1280x1024 resolution monitor, but you can find it and the the output is clear as the preview.
The output format resolution within the project is set to 1024x768. We measured the "true" output resolution on different produced output formats, and they are all a little bit higher than 1024x768, about 4% more heigh and width.
Of course, I was able to change the html-script which sets the start-format for an swf to open, if I change it to 1024x768 and save it, the quality of the swf is like the preview and sharp and ok. But in case of scalable html I cannot set the format. However, why the swf -even when i start/opeen it directly- didn't start with the right resolution set in the settings within the project?
Also our target group should not "search" for the sharp resolution by scaling the output window.
Why does captivate change the resolution? why is the preview ok and the produced swf not? I didn't understand that fact.
Also we like to produce with TOC, so the widht for TOC is 250. If I change the html script in that case to 1024+250=1274x768 the swf is also unshapr/cloudy and I havee no change to fit it to the right resolution (1024+TOC).
Regards
RobVamsi mailed me offline and I have suggested looking at Using RH7 on my site where this problem is covered.
See www.grainge.org for RoboHelp and Authoring tips
Follow me @petergrainge -
How to save the output format of Quotation in PDF
Dear all,
When i am take a print priew of Quotation it show the quotation format in std sap format but it dosenot allow to save ?
Is there any std setting for Saving the output format?
Plz send the some solution for the same.
Thx & Regards,
PM
Edited by: PM on Feb 7, 2008 12:46 PMHI
If the output is sapscript, you can convert it into PDF format . There is one standard report RSTXPDFT2 to convert into PDF .
Before Execute you will have to create a spool request . when you will execute this report you will have to enter the
spool no. Then you can send this PDF file as attachment.
Hope this will helpful.
Bye
Ellath -
How to get this output format in ALV report
Hi.
Can any one pls let me know how to get the following output format in ALV report.Following are the outputfields
companycode location position approver
300 800 01 watson
null null 03 candy
null null 04 smith
null null 05 michael
one empty line after this again
300 800 01 ryant
null null 02 gyan
null null 03 fermi
null null 04 ogata
*Note: Null indicates empty space .( i.e I need to get empty space in output where ever null is there.)
Thanks in advance.
Kind Regards,
samiulla.hi,
u can use 'REUSE_ALV_LIST_DISPLAY'
or
'REUSE_ALV_GRID_DISPLAY' function modules.
SAMPLE CODE :
*& Report Y101982CHD
* TABLES
TABLES: vbak. " standard table
* Type Pools *
TYPE-POOLS: slis.
* Global Structure Definitions *
*-- Structure to hold data from table CE1MCK2
TYPES: BEGIN OF tp_itab1,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
werks LIKE vbap-werks,
lgort LIKE vbap-lgort,
END OF tp_itab1.
*-- Data Declaration
DATA: t_itab1 TYPE TABLE OF tp_itab1.
DATA : i_fieldcat TYPE slis_t_fieldcat_alv.
* Selection Screen *
*--Sales document-block
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.
SELECTION-SCREEN END OF BLOCK b1.
*--Display option - block
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
PARAMETERS: alv_list RADIOBUTTON GROUP g1,
alv_grid RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b2.
*file download - block
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
PARAMETERS: topc AS CHECKBOX,
p_file TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK b3.
* Initialization. *
* At Selection Screen *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
EXPORTING
dynpfield_filename = 'P_FILE'
dyname = sy-cprog
dynumb = sy-dynnr
filetype = 'P' "P-->Physical
location = 'P' "P Presentation Srever
server = space.
AT SELECTION-SCREEN ON s_vbeln.
PERFORM vbeln_validate.
* Start Of Selection *
START-OF-SELECTION.
*-- Fetching all the required data into the internal table
PERFORM select_data.
* End Of Selection *
END-OF-SELECTION.
IF t_itab1[] IS NOT INITIAL.
IF topc IS NOT INITIAL.
PERFORM download.
MESSAGE 'Data Download Completed' TYPE 'S'.
ENDIF.
PERFORM display.
ELSE.
MESSAGE 'No Records Found' TYPE 'I'.
ENDIF.
* Top Of Page Event *
TOP-OF-PAGE.
*& Form : select_data
* Description : Fetching all the data into the internal tables
* parameters : none
FORM select_data .
SELECT vbeln
posnr
werks
lgort
INTO CORRESPONDING FIELDS OF TABLE t_itab1
FROM vbap
WHERE vbeln IN s_vbeln.
IF sy-subrc <> 0.
MESSAGE 'Enter The Valid Sales Document Number'(t04) TYPE 'I'.
EXIT.
ENDIF.
ENDFORM. " select_data
*& Form : display
* decription : to display data in given format
* parameters : none
FORM display .
IF alv_list = 'X'.
PERFORM build_fieldcat TABLES i_fieldcat[]
USING :
*-Output-field Table Len Ref fld Ref tab Heading Col_pos
'VBELN' 'T_ITAB1' 10 'VBAP' 'VBELN' '' 1,
'POSNR' 'T_ITAB1' 6 'VBAP' 'POSNR' '' 2,
'WERKS' 'T_ITAB1' 4 'VBAP' 'WERKS' '' 3,
'LGORT' 'T_ITAB1' 4 'VBAP' 'LGORT' '' 4.
*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'*
*EXPORTING*
*i_callback_program = sy-repid*
** i_callback_pf_status_set = c_pf_status*
*i_callback_user_command = 'USER_COMMAND '*
** it_events = t_alv_events[]*
*it_fieldcat = i_fieldcat[]*
*TABLES*
*t_outtab = t_itab1[]*
*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.*
ENDIF.
IF alv_grid = 'X'.
PERFORM build_fieldcat TABLES i_fieldcat[]
USING :
*-Output-field Table Len Ref fld Ref tab Heading Col_pos
'VBELN' 'T_ITAB1' 10 'VBAP' 'VBELN' '' 1,
'POSNR' 'T_ITAB1' 6 'VBAP' 'POSNR' '' 2,
'WERKS' 'T_ITAB1' 4 'VBAP' 'WERKS' '' 3,
'LGORT' 'T_ITAB1' 4 'VBAP' 'LGORT' '' 4.
*CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'*
*EXPORTING*
*i_callback_program = sy-repid*
** i_callback_pf_status_set = c_pf_status*
*i_callback_user_command = 'USER_COMMAND '*
*it_fieldcat = i_fieldcat*
*TABLES*
*t_outtab = t_itab1[]*
*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.*
*ENDIF.*
ENDFORM. " display
*& Form : vbeln_validate
* description : to validate sales document number
* parameters : none
FORM vbeln_validate .
DATA: l_vbeln TYPE vbak-vbeln.
SELECT SINGLE vbeln
FROM vbak
INTO l_vbeln
WHERE vbeln IN s_vbeln.
IF sy-subrc NE 0.
MESSAGE 'ENTER THE VALID SALES DOCUMENT NO:' TYPE 'I'.
EXIT.
ENDIF.
ENDFORM. " vbeln_validate
*& Form :build_fieldcat
* Description : This routine fills field-catalogue
* Prameters : none
FORM build_fieldcat TABLES fpt_fieldcat TYPE slis_t_fieldcat_alv
USING fp_field TYPE slis_fieldname
fp_table TYPE slis_tabname
fp_length TYPE dd03p-outputlen
fp_ref_tab TYPE dd03p-tabname
fp_ref_fld TYPE dd03p-fieldname
fp_seltext TYPE dd03p-scrtext_l
fp_col_pos TYPE sy-cucol.
*-- Local data declaration
DATA: wl_fieldcat TYPE slis_fieldcat_alv.
*-- Clear WorkArea
wl_fieldcat-fieldname = fp_field.
wl_fieldcat-tabname = fp_table.
wl_fieldcat-outputlen = fp_length.
wl_fieldcat-ref_tabname = fp_ref_tab.
wl_fieldcat-ref_fieldname = fp_ref_fld.
wl_fieldcat-seltext_l = fp_seltext.
wl_fieldcat-col_pos = fp_col_pos.
*-- Update Field Catalog Table
APPEND wl_fieldcat TO fpt_fieldcat.
ENDFORM. "build_fieldcat
*& Form : download
* description : To Download The Data
* Parameters : none
FORM download .
DATA: l_file TYPE string.
l_file = p_file.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = l_file
filetype = 'ASC'
TABLES
data_tab = t_itab1
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " download
HOPE IT WILL HELP YOU
REGARDS
RAHUL SHARMA -
APEX BIP report query output format - not able to set with a variable
I have a Named Columns (RTF) report that is working great, but I can't control the output format with a variable. I can set the "Output Format" in the Report Query Attributes, but it doesn't work when I set the report output format to "Derive from item". No matter what the item contains, I always get PDF output. I can see the variable in my session, but it doesn't control the output format. I have tried using the values "xml", "XML", "rtf", and "RTF".
Any help would be appreciated...My guess is that an exception is being thrown for some rows. Since you've stubbed out your catch phrase to do nothing you're not going to have any visibility into what exception was thrown. You need to put some kind of logging in the catch phrase to see
what is happening. -
Hello,
Customer has a CUCM 6.1.5 cluster which is getting upgraded to 7.1.5. currently the CUCM CDR is sent to a external system (performix) which generates required reports. I would like to know if there is any difference in the CDR output format of CUCM version 6.1.5 and 7.1.5/ its vital to confirm this prior to upgrade as the performix is managed by a different vendor.
Please advise !
ShahidYou can review the CDR documentation here to find that out, most likely there might be some changes
Maintain and Operate Guides
http://www.cisco.com/en/US/products/sw/voicesw/ps556/prod_maintenance_guides_list.html
CDR admin guides have the field definitions.
HTH
java
If this helps, please rate
www.cisco.com/go/pdihelpdesk -
Re: Elements Premier 10 in UK (PAL)
I have just 'imported' a video clip from my Sony DV camcorder via the firewire port.
It uses tape but is digital (I think) it save the file to disc in AVI format. This is good I know AVI.
After I have edited the clip and save (share) it to computer I have various options to save it as. See below;
I have saved the same clip in a variety of formats to compare them.
The 'm2t' and 'Pal DVD' formats also create an additional file .xmpses
However the m2t file plays after I have moved this 'extra' file to a different directory
hdtv 720p 25 high quality.mpg
hd720p 25.mpg
hdtv 1080i 25 high quality.mpg
hdtv 1080p 25 high quality.mpg
mpeg2 1440x1080i 25.m2t
mpeg2 1920x1080i 25.m2t
pal dvd standard.mpg
pal dvd widwscreen.mpg
The physical image sizes as displayed on the laptop screen are different. some take up 1/4 of the screen and some 1/2 of the screen.
They all expand to full screen. I am not sure if I can any difference in quality thought.
Obviously the file sizes varies a lot.
I don't seam to be able to output in avi format!!!!!!
I intend to leave the files on my NAS drive to stream to my tv via a streaming box I will purchase soon, I am currently using a ps3, but may at some point in the future burn some clips to disc for friends and family
I may also watch them on the computer screen.
I appreciate the quality can never get better than the original but what output format should I use and is this extra file needed?Some reading...
Importing Video http://forums.adobe.com/thread/1065281
Saving & Sharing http://forums.adobe.com/thread/1051093
Sharing for Computer http://forums.adobe.com/thread/1058237
Steve's Basic Training Tutorials... steps are the same for several versions
-http://forums.adobe.com/thread/537685
-v10 http://www.amazon.com/Muvipix-com-Guide-Premiere-Elements-Version/dp/1466286377/
-All http://www.amazon.com/Tricks-Adobe-Premiere-Elements-Muvipix-com/dp/1451529724/
-and http://forums.adobe.com/thread/498626
FAQ http://forums.adobe.com/community/premiere_elements/premiere_elements_faq
TIPS http://forums.adobe.com/community/premiere_elements/premiere_elements_tips
Another help site http://muvipix.com/ or http://muvipix.com/phpBB3/
User Guide PDF http://help.adobe.com/en_US/premiereelements/using/index.html
Right click PDF link in the upper right corner and select to save to your hard drive
-the page also has links to help pages for previous versions -
Change output format of MC45,key usage value report to ALV format?
Can someone please help me to change the change the Output of MC45 report to ALV format?
Please help!!!
Thanks!!!
OwaisI know i have to create a copy of MC45 to some z program but afterwards I am not sure where to look for to change the output format.
Our ababper is extremely busy so i wanted to do litle bit of chnages by myself. I do have couple of years of java experience several years back, I thought i could help our abaper and learn myself little bit also.
Thanks!!!
Owais
Maybe you are looking for
-
PLS HELP ME ITS URGENT
-
Mail not send when subroutine is call in dynamic actions
Hi Friends, I have facing a problem in sending a mail through dynamic actions . In this mail is not send to specific user mail-id. Suggest me . What to be exactly done . Regards, Anish
-
Is it possible to use markers to export still images at once?
I have a movie and I need to export about 30 still images. Can I just place markers at the frames where I want a still image to be exported and then export all the markers together at once thus resulting in 30 jpeg still images? If yes, how do you do
-
Dynamic default value on SREQ area
Hi everybody, I would like to set default value for one field on search screen, however not fixed value (what I can do in field group of the area), but dependent on some condition. Where should I put my code? regards, Przemek
-
Non App Store uses for OS X Server
I was able to obtain a MAC Mini form my office before it was disposed of. It was never used and I am looking to upgrade it to the newest version. I am going to use it for some of it's default features, but I was curious what other people use their