Converting coldfusion reports to flex- Help needed
Hello All,
I have a coldfusion form which has input fields , when the user submits the input fields a report is generated . Now , what i need is to generate the report in flex which takes the input from the coldfusion input file..
Can somebody please help ASAP..
Thanks in advance.
Thanks! for the prompt reply Mike .. I will start working on one of these options you listed..
I need to complete the generation of these reports in couple of days , need myself get going..
Is there an email id where i can reach , if i have more questions..
Similar Messages
-
Error in week number while running a discoverer reports. URGENT HELP NEEDED
Hi All,
we had a requirement of getting the week number for the given date in one of the columns. Here the start date of the year was not always 1-jAN so we had to create a function which returns the week number as an output.
The problem that we are facing is we are using the Discoverer 4.1.41.05 both at my end and user end. While i am trying to run the report i am getting the right output but while with the same login id when user is trying to get the output he is getting correct data till the data in year 2009 and from 2010 onwards the answer for the week number is coming in lacks. I had suggested the user to re-install the discoverer but still the issue is there.
If someone know something about this than please reply to the thread and also mail me on [email protected]
Thanks,
Sarang.A.MehtaI might be late in replying, but hope it might help.
From your query it seems you are inserting records into interface tables and then calling process order API( probably from some PL/SQL block).
This is where I am confused, because I hope you understand, that interface tables are for use with Order Import concurrent Program, and for Process ORder API, you need to provide the data as parameter. The api has, header record type and line table type as parameters. So you need to assign correct data to these variables and pass them as parameter when you are calling Process Order API.
If you are doing the same thing, then post the exact pl/SQL code and error message from the API. That might help diagnose the issue.
Regards,
Nitin Darji -
Report for PO help needed (Urgent)
Hi all,
do anyone has code for a report which is used to create Purchase Order for materials which has purchase requisition.
if anyone has the plz share it with me.
bcoz it is urgently needed & it is required to be deliver today.
Regards
sanjeevHi
Take the data from <b>EBAN</b> table and try to display the same after fecthing from it.
PO related tables are EKKO and EKPO, EKET,and EKBE.
Reward points if useful
Regards
Anji -
Oracle Reports with Tomcat - Help needed
How do you deploy oracle reports in Tomcat.
** Can we add the necessary Jar files and run the rdf files.? If so can someone please help with this.
**What are the settings to be taken care of ?
** I deployed the web.war and added the jar files to the web-inf/lib .
But when i call the report as
hostname:port/reports/servlet/rwservlet?report=test.rdf&destype=cache
It doesnt return anything .it gives 404 error The requested resource (/reports/servlet/rwservlet) is not available.Please help .
Any help is appreciable ..
Thanks again.
JMPhani-
I have developed reports that run other reports in 9i and10g. I would have a "main" report that I would call from Forms (or HTMLDB). This "main" report would run multiple other reports. I used the report built-in procedure SRW.RUN_REPORT("report=report2.rdf parameter=XX") in the After Parameter Form trigger of the main report to call the other reports.
I hope this helps,
Dan -
Filters from BEX Printed in Webi Report..URGENT HELP NEEDED
Hi Guys,
In bex query customer has been defined as filter. In webi when we created report using the bex query,It prompts for customer . How can we print the selected customer in my webi report Without using prompt summary().
We can't use User Response because its not a Webi query filter.
NOTE: we are using BOBJ 4.0
HassanHI,
Eventhough you have created variable BeX query designer.
User reponse will work ,
steps to achive,
1.open the universe build on (Bex query with customer variable)
2.you can find the filter symbol in universe for customer variable that you have created in bexx query
3. then copy the exact text eg:"select the customer" in universe for that filter
4.then in webi user reponse of that text. eg :userreponse("select the customer")
regards, -
Reports in discoverer - help needed
hi,
I have a question:
is it possible in discoverer:
a) put 2 or more queries/tables on one sheet
b) use query results in header of a report
eg I would like to make sth like this: (bold are data that I would like to retrive from db):
Address: Poland, Warsaw
name: jakub
surname: sitek
has to pay: 1234123123
how to do it??? : select * from table_name where name = 'jakub'
and here a ordinary discoverer table
or something like that
here one table here another table
and here yet another one
and here eg crosstab
I know such things can be done with business objects, but I would like to do it with discoverer.
thank You very much
jakubHi
1) Is it possible to put 2 or more queries/tables on one sheet?
- Yes, it is possible.
2) Is it possible to display query results in the header?
-Yes, if you put them as a page item or parameter in your report.
Regards,
Aparna -
Image swap code and flex -- HELP NEEDED
Hello Folks,
I am still new at programming and having a major issue and wondered if anyone know a simple way to do a photogallery by using some code to create an image swap
Thumbnail ( here ) Large image here
Next Thumbnail (here ) Large Image changes
Next Thumbnail (here ) Large Image changes
Someone suggested I use PHP to load all the images at once but it was over my head... any one got some simple explained solutions... Really trying to learn this...
ThanksHi 123tron,
For these type of requests you should post a cookbook recipe request to Adobe's cookbook site: http://cookbooks.adobe.com/flex
Good luck! -
Converting M4A to MP3. Help needed.
I have over 12,000 songs in my library. About half of my songs were imported in mp3 format. The other half are AAC audio files. My goal is to have all of my songs in mp3.
So, I started to 'convert' the AAC files to mp3 using the right click in iTunes. Then I noticed something. Let's say the original m4a file for a certain song was 4.56MB. Now, after it's been converted to mp3 the file has doubled in size to 9.12MB. Even though I deleted the orginal m4a. What is going on? How can convert all my songs to mp3 and not have any of the data left of the m4a?
Thank you so muchSounds like you are using a much larger bit rate for importing MP3 tracks than AAC tracks. For example, normally, AAC files default to a bit rate of 128kbps unless you go into the import preference and pick a higher custom rate. Likewise, you can change your import preference to MP3 and pick different rates, 128, 160, 192, 256, etc.
In general, AAC files are a bit smaller than the SAME bit rate MP3 track, so a 128-AAC should be a bit smaller than a 128-MP3. But for the sake of argument, let's say they are the same size. If you imported a lot of AAC files at 128 and are not using an import MP3 setting of 256 kbps, then the MP3 files will be roughly twice the size as the AAC files.
So first thing to check is what bit rate are the AAC files you already have and what bitrate you are now using for MP3 files. If the MP3 bit rate is much larger than the AAC bit rate, then you will get much larger files sizes.
Cheers,
Patrick -
Has anybody used jsmooth tool to convert .jar to .exe?help needed
Hello,
has anybody used jsmooth tool to convert .jar to .exe if so please let me how to do because i couldnt do using the user manual since its not clear pls if any one uses it please let me know the procedure to do its really urgent plsssssPrabhav (guest) wrote:
: We were looking for a tool from which we could directly embed
: PL/SQL codes to our pre built HTML pages. When I came across
: WebAlchemy, developed by the Aussie pro, I thought that was
the
: thing I wanted. I am using the beta version 2.1 of WebAlchemy
: but I am having problems converting my pl/sql embedded Html
file
: into web PL/SQL cartridge as the Alchemy cannot convert few
: attributes properly.
: Has any body used it and have solution? Is there any other
: product like this on the web or market? Pleaes advice, only
: thing I want is to let my HTML be able to listen to Pl/sql
: procedure and generate dynamic contents without use of CGI and
: JavaScript.
: Please suggest anything u can.
Hi,
I have also used Web Alchemy, but have never come across a
production version (I tried also). It's a shame it was never
completed, as it only seems to support HTML v2.
Regards
Toby.
null -
NEED ALVGRID MATERIAL TO CONVERT STANDARD REPORT
NEED ALVGRID MATERIAL TO CONVERT STANDARD REPORT
THANKS IN ADVANCED.To my Knowledge there is not method for converting a standard report to alv grid.
U just collect the required data to final internal table and then build field catlog.Use this field catalog in the function module.
Check the following program it may help u.
report z_example.
TYPE-POOLS slis.
TABLES : qals.
DATA : BEGIN OF t_out OCCURS 0,
matnr LIKE qals-matnr, "MATERIAL
werk LIKE qals-werk, "PLANT
art like qals-art, "Inspaction Lot Type
objnr like qals-objnr, "Object Number
END OF t_out.
DATA : i_fieldcat TYPE slis_t_fieldcat_alv,
i_layout TYPE slis_layout_alv,
gs_layout TYPE lvc_s_layo,
g_repid TYPE sy-repid,
ls_fieldcat TYPE slis_fieldcat_alv.
SELECT-OPTIONS:s_prflos FOR qals-prueflos.
INITIALIZATION.
g_repid = sy-repid.
i_layout-zebra = 'X'.
i_layout-colwidth_optimize = 'X'.
START-OF-SELECTION.
PERFORM fetch_data.
END-OF-SELECTION.
PERFORM fill_fieldcat.
PERFORM display_alv.
FORM fetch_data .
SELECT matnr werk art objnr
FROM qals
INTO TABLE t_out
WHERE prueflos IN s_prflos.
ENDFORM. " FETCH_DATA
FORM fill_fieldcat .
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = g_repid
i_internal_tabname = 'T_OUT'
i_inclname = g_repid
CHANGING
ct_fieldcat = i_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
ENDFORM. " FILL_FIELDCAT
FORM display_alv .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
is_layout = i_layout
it_fieldcat = i_fieldcat[]
TABLES
t_outtab = t_out
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM. " display_alv
Regards -
Troubleshooting help needed: My iMac keeps crashing and restarting with a notice: "Spinlock application timed out" What can I do?
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports. -
Help needed while exporting crystal reports to HTML file format using java
Help needed while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
html file of the report
thanksthe ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM -
Hi Gurus,
I have create one report which should monitor the batch jobs.
I some small requirements in that report. Can one can help in updating my code.
Reuirements:
Last run date and time should allow only one entry and these should be placed in one line as shown in the requirements.
· F4 on Job status should show the description also.
· F4 on user name should give user details. It should be similar to the f4 in transaction SU01D
· Donu2019t show the entire log on the report. Show only 1 line per job with similar to what is shown in the SM37 report. Job Name, Start Date, Start Time, Job Created By, Sppol, Status, Duration. User can double click on it to see job log or spool list.
below is the report. Please help me out
REPORT ZJOB_MONITORING.
T A B L E S
TABLES: tbtco.
T Y P E - S P O O L S
TYPE-POOLS: slis.
T Y P E D E C L A R A T I O N S
*TYPES: BEGIN OF type_tbtco,
include TYPE tbtco,
END OF type_tbtco.
TYPES: BEGIN OF type_output,
STRTTIME TYPE tbtco-STRTTIME,
strtdate TYPE tbtco-strtdate,
jobname TYPE tbtco-jobname,
line TYPE string,
END OF type_output.
S T R U C T U R E S
DATA: s_tbtco TYPE tbtco,
s_joblog TYPE zsbb_uc4_joblog,
s_output TYPE type_output.
I N T E R N A L T A B L E S
DATA: i_tbtco TYPE STANDARD TABLE OF tbtco,
i_joblog TYPE STANDARD TABLE OF zsbb_uc4_joblog,
i_output TYPE STANDARD TABLE OF type_output.
DATA: Begin of itab_jobname OCCURS 0,
jobname type tbtco-jobname,
end of itab_jobname.
DATA: Begin of itab_user OCCURS 0,
jobname type tbtco-sdluname,
end of itab_user.
DATA: Begin of itab_stat OCCURS 0,
jobname type tbtco-status,
end of itab_stat.
DATA: Begin of itab_uzeit occurs 0,
uzeit type sy-uzeit,
end of itab_uzeit.
Heading of the report.
DATA: t_heading TYPE slis_t_listheader.
DATA : t_fieldcat TYPE slis_t_fieldcat_alv.
S E L E C T I O N S C R E E N
SELECTION-SCREEN BEGIN OF BLOCK bl1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_strtda FOR sy-datum,
s_lstrun FOR sy-uzeit OBLIGATORY,
s_jobnam FOR tbtco-jobname,
s_user FOR tbtco-sdluname,
s_status FOR tbtco-status.
PARAMETERS: p_email AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK bl1.
" AT SELECTION-SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_JOBNAM-LOW.
PERFORM f4_JOBNAM-LOW.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_JOBNAM-HIGH.
PERFORM f4_JOBNAM-HIGH.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_user-low.
PERFORM f4_USER-LOW.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_user-high.
PERFORM f4_USER-HIGH.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_status-low.
PERFORM f4_STATUS-LOW.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_status-high.
PERFORM f4_STATUS-HIGH.
S T A R T O F S E L E C T I O N
START-OF-SELECTION.
PERFORM select_data.
If email is checked.
Send the output table as an email attachment to the distribution list.
Get the email list from the config table. " ask from where to get it
IF p_email = 'X'.
Call FM 'SO_OBJECT_SEND'.
Fill the fields which are not commented accordingly.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
OBJECT_HD_CHANGE = OBJECT_HD_CHANGE
OBJECT_TYPE = 'RAW'
OWNER = SY-UNAME
TABLES
OBJCONT = TEXT
OBJPARA = OBJPARA
RECEIVERS = RECEIVERS
EXCEPTIONS
OTHERS = 01.
IF SY-SUBRC NE 0.
RAISE ERROR.
ENDIF.
ENDIF.
Prepare the ALV Report.
PERFORM alv_grid_display.
*& Form alv_grid_display
text
FORM alv_grid_display .
alv required data objects.
DATA: w_repid TYPE syrepid,
x_layout TYPE slis_layout_alv,
t_event TYPE slis_t_event,
t_fieldcat TYPE slis_t_fieldcat_alv,
w_title TYPE lvc_title,
w_print TYPE slis_print_alv,
w_comm TYPE slis_formname,
flag TYPE c VALUE 'N'.
REFRESH t_fieldcat.
REFRESH t_event.
CLEAR x_layout.
CLEAR w_title.
Field Catalog
PERFORM set_fieldcat2 USING:
1 'strttime' 'BTCXTIME' space t_fieldcat ,
2 'jobname' 'BTCJOB' space t_fieldcat ,
3 'line' space 'Job Log' t_fieldcat .
*PERFORM set_fieldcat2 USING:
1 'strttime' 'BTCXTIME' space 'I_OUTPUT' t_fieldcat ,
2 'jobname' 'BTCJOB' space 'I_OUTPUT' t_fieldcat ,
3 'line' space 'Job Log' 'I_OUTPUT' t_fieldcat .
PERFORM set_fieldcat.
Layout
x_layout-zebra = 'X'.
x_layout-colwidth_optimize = 'X'.
GUI Status
w_repid = sy-repid .
Top of page heading
PERFORM set_top_page_heading USING t_heading t_event flag.
call the FM 'REUSE_ALV_GRID_DISPLAY'
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = w_repid
is_layout = x_layout
it_fieldcat = t_fieldcat
IT_SORT =
i_save = 'X'
it_events = t_event
TABLES
t_outtab = i_output
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.
ENDFORM. " alv_grid_display
*& Form set_top_page_heading
text
FORM set_top_page_heading USING
t_heading TYPE slis_t_listheader
t_events TYPE slis_t_event
flag TYPE c.
DATA: x_heading TYPE slis_listheader,
x_event TYPE LINE OF slis_t_event.
Report title
CLEAR t_heading[].
CLEAR x_heading.
x_heading-typ = 'H'.
x_heading-info = 'Job Details'(002).
APPEND x_heading TO t_heading.
Name of the report program
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-key = 'Report ID:'.
x_heading-info = sy-repid.
APPEND x_heading TO t_heading.
User who is running the report
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-key = 'User: '.
x_heading-info = sy-uname.
APPEND x_heading TO t_heading.
Date of execution
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-key = 'Date: '.
WRITE sy-datum TO x_heading-info.
APPEND x_heading TO t_heading.
Time of execution
CLEAR x_heading.
x_heading-typ = 'S'.
x_heading-key = 'Time: '.
WRITE sy-uzeit TO x_heading-info.
APPEND x_heading TO t_heading.
Top of page event
x_event-name = slis_ev_top_of_page.
x_event-form = 'TOP_OF_PAGE'.
APPEND x_event TO t_events.
ENDFORM. " set_top_page_heading
*& Form set_fieldcat2
text
FORM set_fieldcat2 USING
p_colpos p_fieldname p_ref_fieldname
p_seltext_m
p_tabname
t_fieldcat TYPE slis_t_fieldcat_alv.
DATA: wa_fieldcat TYPE slis_fieldcat_alv.
CLEAR wa_fieldcat.
General settings
wa_fieldcat-fieldname = p_fieldname.
wa_fieldcat-col_pos = p_colpos.
the ref_fieldname given is a data element.
IF NOT p_ref_fieldname IS INITIAL.
wa_fieldcat-rollname = p_ref_fieldname.
ENDIF.
Set text headers.
IF NOT p_seltext_m IS INITIAL.
wa_fieldcat-seltext_m = p_seltext_m.
ENDIF.
wa_fieldcat-tabname = 'I_OUTPUT'.
APPEND wa_fieldcat TO t_fieldcat.
ENDFORM. " set_fieldcat2
*& Form F4_JOBNAM-LOW
text
--> p1 text
<-- p2 text
FORM F4_JOBNAM-LOW .
SELECT jobname FROM tbtco
INTO TABLE itab_jobname.
DELETE ADJACENT DUPLICATES FROM itab_jobname.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
DDIC_STRUCTURE = ' '
retfield = 'jobname'
PVALKEY = ' '
DYNPPROG = 'sy-repid'
DYNPNR = '1000'
DYNPROFIELD = 's_jobnam-low'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
tables
value_tab = itab_jobname
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
ENDFORM. " F4_JOBNAM-LOW
*& Form F4_JOBNAM-HIGH
text
--> p1 text
<-- p2 text
FORM F4_JOBNAM-HIGH .
SELECT jobname FROM tbtco
INTO TABLE itab_jobname.
DELETE ADJACENT DUPLICATES FROM itab_jobname.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
DDIC_STRUCTURE = ' '
retfield = 'jobname'
PVALKEY = ' '
DYNPPROG = 'sy-repid'
DYNPNR = '1000'
DYNPROFIELD = 's_jobnam-high'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
tables
value_tab = itab_jobname
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
ENDFORM. " F4_JOBNAM-HIGH
*& Form F4_USER-LOW
text
--> p1 text
<-- p2 text
FORM F4_USER-LOW .
SELECT sdluname FROM tbtco
INTO TABLE itab_user.
DELETE ADJACENT DUPLICATES FROM itab_user.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
DDIC_STRUCTURE = ' '
retfield = 'user'
PVALKEY = ' '
DYNPPROG = 'sy-repid'
DYNPNR = '1000'
DYNPROFIELD = 's_user-low'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
tables
value_tab = itab_user
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
ENDFORM. " F4_USER-LOW
*& Form F4_USER-HIGH
text
--> p1 text
<-- p2 text
FORM F4_USER-HIGH .
SELECT sdluname FROM tbtco
INTO TABLE itab_user.
DELETE ADJACENT DUPLICATES FROM itab_user.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
DDIC_STRUCTURE = ' '
retfield = 'user'
PVALKEY = ' '
DYNPPROG = 'sy-repid'
DYNPNR = '1000'
DYNPROFIELD = 's_user-high'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
tables
value_tab = itab_user
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
ENDFORM. " F4_USER-HIGH
*& Form F4_STATUS-LOW
text
--> p1 text
<-- p2 text
FORM F4_STATUS-LOW .
SELECT status FROM tbtco
INTO TABLE itab_stat.
DELETE ADJACENT DUPLICATES FROM itab_stat.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
DDIC_STRUCTURE = ' '
retfield = 'status'
PVALKEY = ' '
DYNPPROG = 'sy-repid'
DYNPNR = '1000'
DYNPROFIELD = 's_status-low'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
tables
value_tab = itab_stat
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
ENDFORM. " F4_STATUS-LOW
*& Form F4_STATUS-HIGH
text
--> p1 text
<-- p2 text
FORM F4_STATUS-HIGH .
SELECT status FROM tbtco
INTO TABLE itab_stat.
DELETE ADJACENT DUPLICATES FROM itab_stat.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
DDIC_STRUCTURE = ' '
retfield = 'status'
PVALKEY = ' '
DYNPPROG = 'sy-repid'
DYNPNR = '1000'
DYNPROFIELD = 's_status-high'
STEPL = 0
WINDOW_TITLE =
VALUE = ' '
VALUE_ORG = 'C'
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
tables
value_tab = itab_stat
FIELD_TAB =
RETURN_TAB =
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 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.
ENDFORM. " F4_STATUS-HIGH
*& Form SELECT_DATA
text
--> p1 text
<-- p2 text
FORM SELECT_DATA .
select the entries from the table TBTCO
as per the selection screen
SELECT * FROM tbtco
INTO TABLE i_tbtco
WHERE STRTTIME IN s_lstrun AND
strtdate IN s_strtda AND
jobname IN s_jobnam AND
sdluname IN s_user AND
status IN s_status.
Get the job details for the above jobs.
LOOP AT i_tbtco INTO s_tbtco.
CALL FUNCTION 'ZSBB_UC4_JOB_READ_LOG'
EXPORTING
client = sy-mandt
jobcount = s_tbtco-jobcount
joblog = s_tbtco-joblog
jobname = s_tbtco-jobname
TABLES
joblog_tab = i_joblog
EXCEPTIONS
cant_read_joblog = 1
jobcount_missing = 2
joblog_does_not_exist = 3
joblog_is_empty = 4
joblog_name_missing = 5
jobname_missing = 6
job_does_not_exist = 7
OTHERS = 8.
Write the Error handling as needed.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
Append entries to main table.
s_output-STRTTIME = s_tbtco-STRTTIME.
s_output-jobname = s_tbtco-jobname.
LOOP AT i_joblog INTO s_joblog.
s_output-line = s_joblog-text.
APPEND s_output TO i_output.
CLEAR s_output.
ENDLOOP.
ENDIF.
ENDLOOP.
ENDFORM. " SELECT_DATA
*& Form SET_FIELDCAT
text
--> p1 text
<-- p2 text
form SET_FIELDCAT .
DATA: wa_fieldcat TYPE slis_fieldcat_alv.
wa_fieldcat-col_pos = 1.
wa_fieldcat-fieldname = 'STRTTIME'.
wa_fieldcat-seltext_m = 'Start Time'.
wa_fieldcat-tabname = 'I_OUTPUT'.
wa_fieldcat-reptext = p_reptext.
APPEND wa_fieldcat to t_fieldcat.
wa_fieldcat-col_pos = 2.
wa_fieldcat-fieldname = 'JOBNAME'.
wa_fieldcat-seltext_m = 'Job Name'.
wa_fieldcat-tabname = 'I_OUTPUT'.
wa_fieldcat-reptext = p_reptext.
APPEND wa_fieldcat to t_fieldcat.
wa_fieldcat-col_pos = 3.
wa_fieldcat-fieldname = 'LINE'.
wa_fieldcat-seltext_m = 'Job Log'.
wa_fieldcat-tabname = 'I_OUTPUT'.
APPEND wa_fieldcat to t_fieldcat.
endform. " SET_FIELDCATsolved
-
Help need in balance sheet reporting
Hi BW buddies,
I posted a question but still i have not got a solution.
Please help me. i am reposting it.
"Hi BW gurus,
I have a problem with reporting.
I need to get Balance-Sheet Plan Reports for the Planned year and for the current year.
To get the report for the planned year its straight forward just by restricting 0balance by the version to 1 and the valuetype 20.
But I have a problem with the current year report.
I have fiscal year and the company code as the variables.
The report should be like this.
If we need the report as of today(July 26 2006),we may input 2006 for the fiscal year variable.
And the 0balance for the twelve fiscal periods should be as follows
From jan 2006 to june 2006(fiscal periods) it should have only the actuals
From july 2006 to dec 2006(fiscal periods) it should have only the plan
I have already built a query by having two restricted keyfigures on 0balance.
One by restricting version and valuetype 0 and 10 , and the other with 1 and 20.
But in the report I am getting two columns of data for each fiscal period for 12 periods.0balance with actuals and 0balance with plan.
But I need to get 0balance with actuals from jan to june(individually for each fiscal period columnwise),and 0balance with plan from july to dec(individually for each fiscal period columnwise).
Hope you people can visualize my report.
Please help me ASAP.
Any kind of help is appreciated.
My mail id is [email protected]
Thanks in advance
Regards
Sam MathewHi Sam,
hope I have undestood your needs:
try inserting OVER key figures tree in columns the Characteristic 0FISCPER3, it will split your columns for every period. Also enter in Global Properties of the query and ask the system to suppress the columns with 0 values, it will hide all the periods in the future for the Actual data and will hide all the periods in the past for the Plan data.
Ciao.
Riccardo. -
Help Needed For Report creation
Hi
i am new to flex and i want to know that how we can create
the simple grid/freeform reports in flex 2.
Please help me.
JayeshUse this link.
<a href="https://websmp102.sap-ag.de/form/sapnet?_FRAME=OBJECT&_HIER_KEY=701100035871000437965&_SCENARIO=01100035870000000183&">https://websmp102.sap-ag.de/form/sapnet?_FRAME=OBJECT&_HIER_KEY=701100035871000437965&_SCENARIO=01100035870000000183&</a>
In Customization section you can find a document based on PLD
Maybe you are looking for
-
1) please tell me some examples on RFC lookups? 2) difference between Business system and Logical system
-
Macbook Retina Freezing and Kernel Panic
Hi, I've read many reports at Apple forums but no one seems to have a solution for my problem. I own a new MacBook Pro Retina Display 2.6GHZ, with a LED Cinema Display as the first extenal monitor. 1) When I add a second external monitor through the
-
Thoughts on purchase please!
My daughter is off to university in the fall, and will require a new laptop to replace a desktop PC. We have been considering a MacBook Pro - but it seems that all the on-campus support is for PCs only. I have years of experience with my Macbook, but
-
Deleting change pointers in IDOC
Is there any other way to delete change pointers other than using transaction code BD22?
-
EAC and IMAP Issues after Exchange 2013 CU6
After deploying CU6 to Exchange servers there is no way to perform activities on Exchange Online (cosidering hybrid deployment). I noticed that there is a fix for it in http://support.microsoft.com/kb/2997355 but it seems that it doesn't do the trick