To run the Demo Report in iAS10g
Hi all
1.- I installed the Infrastructure for iAS10g
2.- I installed an instance for Forms and Reports added to the insfrastaructure and all was fine
3.- I created an application in forms9i and I mounted it in the instance named before and all was fine
4.- Now I want to add some reports to my application and I want to check if my report server is running but when I go to run the Demo Report, appears a screen requesting a username & password ( It seems a screen of SSO or something like that )
My question is : What username and password I have to enter in that screen ?
Thanks in advance
Joel Pèrez
username: portal
password: <same as ias_admin>
AS next step, you can disable Reports using SSO, or you can create other users (within SSO) with access to Reports so that they don't have to login as portal-user.
Regards,
Martin Malmstrom
Similar Messages
-
Error while running the financial report in the workspace.
Hi,
Im getting the below error while running the financial report in the workspace in HTML mode.
*"Required application module reporting.HRRunDlg is not configured. Please contact your administrator".*
And im not able to login to the Hyperion Financial Reporting as well.. i get the below error
*"You are not authorized to use this functionality. Contact your administrator"*
Can someone let me know how to resolve this error.You don't mention the version, what app server or web server you are using, etc.. That information might be helpful, but in general, you can try the following:
1. Make sure you have gone through the FR Web App deployment steps and verify the settings entered in the Config Tool.
2. For version 11.1.1.x and 9.3.1.x, try opening the report in FR Studio and running it via the FR Studio Print Preview (*bold*not*bold* Web Preview.) If the report runs/processes, then the back-end FR Services are functioning and the issue is confined to the web interface. Verify the FR Web App is up and listening on the designated port (8200, by default), check the FR Web App logs and the App Server (WebLogic, WebSphere, Tomcat, OAS) logs for errors/issues.
If the report fails to process in FR Studio Print Preview, then there is a problem with the FR Reporting Server Service. Check to make sure the service is up/functioning and check the FR Report Server logs for errors.
3. Test access to other FR functionality in workspace (ex: Files->Preferences->Financial Reporting or Explore->Tools->Database Connection Manager?) If these don't work, then try to connect to the following URLs:
http://workspaceServer:19000/hr/status.jsp
http://frWebAppServer:8200/hr/status.jsp
Note: The URLs above assume standard/default ports. You may need to adjust them for your environment.
If the first URL fails, but the second URL works, there is a problem with the HTTP redirect settings on the Web Server (Apache, IIS, etc.) Run through the Workspace deployment and make sure the Web Server Config settings point to the right ports/servers. -
Error While Run the WebI Report on SAP BW Query
Hi
I have build the universe on SAP BW Query . I built the same universe on the SAP BW DEV and SAP BW Test
When I tried to run the WEBI Report on the Universe which is built on the SAP BW Test
WebI Report is prompting for the below values
Calendar Year
Profit Center
Profit Center Hierarchy
Version.
Here I can see the List of values for the Calendar Year and Profit Center. Its giving me below error when I look for list of values for the Profit Center and Profit Center Hierarchy.
u2018Database error: [SOFA Driver] : The operation completed successfully.. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)u2019
My Questions:
1. Why I am getting this error. Because of authentication or configurations set on the Profit Center and Profit Center Hierarchy objects? If so , please let me know what I need to set?
When I tried to run the same WEBI Report on universe which build on SAP BW Dev Query. I can see list of values for the Calendar Year, Version, Profit Center, Profit Center Hierarchy.
But when I selected the values and tried to run the report. I got below error.
u2018Query 1 - P&L Structure Monthly_Devtst
Database error: [SOFA Driver] : The MDX query SELECT NON EMPTY HIERARCHIZE( {[Measures].[4CEX5LZ5571LCZHJBK0L0360P],[Measures].[4CEX5MM6Q2UPWV3VT27LU9261]} ) DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS , NON EMPTY HIERARCHIZE( { [0CALMONTH].[LEVEL00].MEMBERS } ) DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON ROWS FROM [ZFIGLPCBM/ZZFIGLPCBM04_Q011] SAP VARIABLES [!V000001] INCLUDING =[0PROFIT_CTR 1000HCICONS08] [!V000002] INCLUDING =2 [!V000003] INCLUDING =2008 [!V000004] INCLUDING =000 failed to execute with the error Value "0000000002" for variable "Profit Center" is invalid. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)u2019
My Questions :
1. What is this error? Please suggest the solution to run the report successfully.
Also I am attaching Print Screens of DEV and Test reports Prompts and Errors.
Here I am using Business Objects XI R2 SP4
I am sorry if I confused you with elaborated explanation, I have very less knowledge of BO and SAP BW ..
Please help me with your valuable suggestions.
Thanks,
AnithaHi Ingo,
- the BI Query in the Test system is running correct and all the variables do work ?
Yes, BI Query is working fine in the Test System and I can see all the variables too
In BI Query I can see values for Calendar Year, Version, Profit Center, Profit Center Hierarchy
- the Universe has all the variables ?
Yes, Universe has all the variables.
- do you see values in the Web Intelligence prompts when you run the report ?
No,
I can only see values for the Calendar Year & Version in the Web Intelligence Prompt.
When I try to see values for the Profit Center & Profit Center Hierarchy in the Web Intelligence Prompt, its showing below error.
u2018Database error: [SOFA Driver] : The operation completed successfully.. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)u2019
I can send you the Print Screens of Prompts & Errors, but i don't know how to attach the file here.
Thanks,
Anitha -
Error while running the Financial Reporting in Workspace.
Dear Folks
I am facing an issue with FR Report in Workspace
Hyperion Version : 11.1.1.3 on Windows 2003 64 bit.
Problem Description: We are trying to run the FRS reports in workspace and getting an error in a window "
Error Details :
Error "<?xml version="1.0" encoding="UTF-8"?>
<BpmResponse action="" type="error">
<code>0</code>
<desc>; nested exception is:
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.io.InvalidClassException: com.hyperion.reporting.properties.PovProperties; local class incompatible: stream classdesc serialVersionUID = -1387329505542936014, local class serialVersionUID = 2904510004932374854</desc>
</BpmResponse>"
Please reply me with solution
Thanks in advance.
Thanks , Harsha.MHi Harsha,
Have you ever been able to run this report successfully? If yes, I would restart Reporting and Analysis services and see if it'll solve the issue?
Also, is there any special characters such as !, &, % in the report? If yes, I would try to remove these and re-run the report.
Hope it helps.
Mehmet -
Running the alv report in background and sending it thro email
hi,
i have to run the alv report in background and send the output through emailHi
Many a times there is a requirement to display ALV Grid (not ALV List) in the background Job. I have checked the SDN Forum for the same and it has been mentioned that ALV Grid cannot be displayed in Background, but the list output of ALV is possible. So user wont have the actual Grid interface but the List interface.
There is a workaround to display ALV Grid in Background Job. The only restriction is you cant schedule the job through SM36. You need to execute the transaction of the report program, fill in the selection screen data and hit Execute.
The job would be executed in background. User will be able to see the Job Log and Job Status after executing the program. User doesnt have to go to SM37 to view the job status/log. Once the Job Status is changed to COMPLETED, user can click on DISPLAY SPOOL to view the ALV Grid.
Limitations:
Cant schedulea background job
The session should be active until the background job is completed. If the session is closed, then user wont be able to check the output in ALV Grid. User would be able to check the output through spool or SM37
Advantages:
If the spool width is greater than 255 characters, then the entire width could be seen in the output because the output is directed to an ALV Grid and not to spool
Interface of ALV Grid is available instead of ALV List even though its a background job.
Program wont give the TIME OUT error
Steps Required:
1. Once you execute the program, the following screen would be displayed
2. Click Display Job Status to check the Status of the Background Job
3. Click on Display the Job Log to check the Log
4. Click on Display Job Status to check the Job Status
5. Click on DISPLAY SPOOL to check the spool content once the Job Status is changed to COMPLETED. Output is displayed in ALV Grid
Programs:
1. Two different programs needs to be created
ZPROGRAM_ONE: This is the 1st program, where the selection screen and all the data validations would be done. Error handling for invalid data should be done in this program.
Once the data validation is done, this program would call the 2nd program ZPROGEAM_TWO. Build the logic to display ALV Grid in this program. The logic will only display ALV in foreground and it wont be reflected in the spool.
ZPROGRAM_TWO: This program would fetch all the data and do all the processing. If you want the spool output along with ALV Grid output, then build the logic in this program to display ALV Grid.
*& Report ZPROGRAM_ONE *
REPORT zprogram_one .
PRASHANT PATIL
TABLES : mara,
tsp01.
type-pools:slis.
TYPES : BEGIN OF t_mara,
matnr TYPE mara-matnr,
ersda TYPE mara-ersda,
ernam TYPE mara-ernam,
laeda TYPE mara-laeda,
END OF t_mara.
DATA : i_mara TYPE STANDARD TABLE OF t_mara,
wa_mara TYPE t_mara,
wa_index TYPE indx, " For Index details
wa_index_key TYPE indx-srtfd VALUE 'PRG_ONE',
i_jobsteplist TYPE STANDARD TABLE OF tbtcstep, " For spool number
wa_params TYPE pri_params, " To Get Print Parameters
wa_jobhead TYPE tbtcjob, " To know the status of job
wa_jobsteplist TYPE tbtcstep, " To know the spool
w_jobname TYPE tbtco-jobname, " Job name for bckgrnd job
w_jobcount TYPE tbtco-jobcount, " Unique id for bckgrd job
w_path TYPE string, " Upload path
w_lsind TYPE sy-lsind, " Index
wa_seltab TYPE rsparams,
i_seltab TYPE STANDARD TABLE OF rsparams,
wa_index1 TYPE indx, " For Index details
wa_index_key1 TYPE indx-srtfd VALUE 'PRG_TWO',
i_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat LIKE LINE OF i_fieldcat.
CONSTANTS DECLARATION *
CONSTANTS :
c_a(1) TYPE c VALUE 'A',
c_m(1) TYPE c VALUE 'M',
c_l(1) TYPE c VALUE 'L',
c_c(1) TYPE c VALUE 'C',
c_zfdr(4) TYPE c VALUE 'ZFDR',
c_x(1) TYPE c VALUE 'X',
c_locl(4) TYPE c VALUE 'LOCL', " Destination is LOCAL
c_f(1) TYPE c VALUE 'F', " Job Status - Failed
c_s(1) TYPE c VALUE 'S',
c_p(1) TYPE c VALUE 'P'.
SELECTION SCREEN PARAMETERS
SELECT-OPTIONS : s_matnr FOR mara-matnr.
START-OF-SELECTION.
Before the export, fill the data fields before CLUSTR
wa_index-aedat = sy-datum.
wa_index-usera = sy-uname.
EXPORT s_matnr
TO DATABASE indx(st) FROM wa_index ID wa_index_key.
To Open the Job for background processing
PERFORM open_job.
To get the print parameters
PERFORM get_print_parameters.
Submit the job in background
PERFORM job_submit.
Close the background job
PERFORM job_close.
This is the output screen with the buttons ********
Create 3 buttons DISPLAY SPOOL, STATUS, JOBLOG
SET PF-STATUS 'ZS001'.
WRITE: / 'The program is submitted in Background'.
WRITE: / 'Press DISPLAY SPOOL to see the spool'.
WRITE: / 'Press STATUS to see the status of the background'.
AT USER-COMMAND.
If user presses the 'BACK' button
IF sy-ucomm = 'BAK'.
IF wa_jobhead-status = c_f OR
wa_jobhead-status = c_a.
LEAVE TO SCREEN 0.
ENDIF.
ENDIF.
If the user presses the 'DISPLAY SPOOL' Button
IF sy-ucomm = 'DISPLAY'.
PERFORM display_spool.
ENDIF.
If the user presses the 'JOB STATUS' Button
IF sy-ucomm = 'STATUS'.
PERFORM display_status.
ENDIF.
If the user presses the 'JOB LOG' Button
IF sy-ucomm = 'JOBLOG'.
PERFORM display_job_log.
ENDIF.
*& Form open_job
text
--> p1 text
<-- p2 text
FORM open_job .
This is to Create a new job which is to be submitted in background to
process sales order/delivery/invoice
Here we would get a unique id ( Jobcount ) which identifies our job
along with the job name which we have assigned to our job
CONCATENATE sy-uname
sy-datum
sy-uzeit
INTO w_jobname . " Assign unique jobname
CALL FUNCTION 'JOB_OPEN'
EXPORTING
DELANFREP = ' '
JOBGROUP = ' '
jobname = w_jobname
SDLSTRTDT = NO_DATE
SDLSTRTTM = NO_TIME
JOBCLASS =
IMPORTING
jobcount = w_jobcount
CHANGING
RET =
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4
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. " open_job
*& Form get_print_parameters
text
--> p1 text
<-- p2 text
FORM get_print_parameters .
DATA : l_valid TYPE c.
This is to get the Print Parameters for the job which is to be
submitted in background to process sales order/delivery/invoice
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = C_CHAR_UNKNOWN
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
COPIES = C_NUM3_UNKNOWN
COVER_PAGE = C_CHAR_UNKNOWN
DATA_SET = C_CHAR_UNKNOWN
DEPARTMENT = C_CHAR_UNKNOWN
destination = c_locl " LOCL
EXPIRATION = C_NUM1_UNKNOWN
immediately = space
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
LAYOUT = C_CHAR_UNKNOWN
LINE_COUNT = C_INT_UNKNOWN
LINE_SIZE = C_INT_UNKNOWN
LIST_NAME = C_CHAR_UNKNOWN
LIST_TEXT = C_CHAR_UNKNOWN
MODE = ' '
new_list_id = c_x
PROTECT_LIST = C_CHAR_UNKNOWN
no_dialog = c_x
RECEIVER = C_CHAR_UNKNOWN
RELEASE = C_CHAR_UNKNOWN
REPORT = C_CHAR_UNKNOWN
SAP_COVER_PAGE = C_CHAR_UNKNOWN
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = C_CHAR_UNKNOWN
user = sy-uname
USE_OLD_LAYOUT = ' '
UC_DISPLAY_MODE = C_CHAR_UNKNOWN
DRAFT = C_CHAR_UNKNOWN
ABAP_LIST = ' '
USE_ARCHIVENAME_DEF = ' '
DEFAULT_SPOOL_SIZE = C_CHAR_UNKNOWN
PO_FAX_STORE = ' '
NO_FRAMES = C_CHAR_UNKNOWN
IMPORTING
OUT_ARCHIVE_PARAMETERS =
out_parameters = wa_params
valid = l_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4
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. " get_print_parameters
*& Form job_submit
text
--> p1 text
<-- p2 text
FORM job_submit .
The job which we have created & the unique id ( jobcount ) which we
have got identifies our job. Hence those parameters are passed along
with the name of the background program "ZPROGRAM_TWO"
The job is submitted in background.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
ARCPARAMS =
authcknam = sy-uname
COMMANDNAME = ' '
OPERATINGSYSTEM = ' '
EXTPGM_NAME = ' '
EXTPGM_PARAM = ' '
EXTPGM_SET_TRACE_ON = ' '
EXTPGM_STDERR_IN_JOBLOG = 'X'
EXTPGM_STDOUT_IN_JOBLOG = 'X'
EXTPGM_SYSTEM = ' '
EXTPGM_RFCDEST = ' '
EXTPGM_WAIT_FOR_TERMINATION = 'X'
jobcount = w_jobcount
jobname = w_jobname
LANGUAGE = SY-LANGU
priparams = wa_params
report = 'ZPROGRAM_TWO'
VARIANT = ' '
IMPORTING
STEP_NUMBER =
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10
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. " job_submit
*& Form job_close
text
--> p1 text
<-- p2 text
FORM job_close .
Once the job is submitted in background then the job is closed
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
AT_OPMODE = ' '
AT_OPMODE_PERIODIC = ' '
CALENDAR_ID = ' '
EVENT_ID = ' '
EVENT_PARAM = ' '
EVENT_PERIODIC = ' '
jobcount = w_jobcount
jobname = w_jobname
LASTSTRTDT = NO_DATE
LASTSTRTTM = NO_TIME
PRDDAYS = 0
PRDHOURS = 0
PRDMINS = 0
PRDMONTHS = 0
PRDWEEKS = 0
PREDJOB_CHECKSTAT = ' '
PRED_JOBCOUNT = ' '
PRED_JOBNAME = ' '
SDLSTRTDT = NO_DATE
SDLSTRTTM = NO_TIME
STARTDATE_RESTRICTION = BTC_PROCESS_ALWAYS
strtimmed = c_x
TARGETSYSTEM = ' '
START_ON_WORKDAY_NOT_BEFORE = SY-DATUM
START_ON_WORKDAY_NR = 0
WORKDAY_COUNT_DIRECTION = 0
RECIPIENT_OBJ =
TARGETSERVER = ' '
DONT_RELEASE = ' '
TARGETGROUP = ' '
DIRECT_START =
IMPORTING
JOB_WAS_RELEASED =
CHANGING
RET =
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9
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. " job_close
*& Form display_spool
text
--> p1 text
<-- p2 text
FORM display_spool .
To Read the Job to get the spool details
DATA : l_rqident TYPE tsp01-rqident, " Spool Number
l_spoolno TYPE tsp01_sp0r-rqid_char.
CLEAR : l_rqident,
w_lsind,
wa_jobsteplist.
REFRESH : i_jobsteplist.
SET PF-STATUS 'ZAR02'.
Get the Spool Number
CALL FUNCTION 'BP_JOB_READ'
EXPORTING
job_read_jobcount = w_jobcount
job_read_jobname = w_jobname
job_read_opcode = '20'
JOB_STEP_NUMBER =
IMPORTING
job_read_jobhead = wa_jobhead
TABLES
job_read_steplist = i_jobsteplist
CHANGING
RET =
EXCEPTIONS
invalid_opcode = 1
job_doesnt_exist = 2
job_doesnt_have_steps = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Read the Job Step list to get the spool number
READ TABLE i_jobsteplist INTO wa_jobsteplist INDEX 1.
CHECK wa_jobsteplist-listident <> space.
Spool Number
l_rqident = wa_jobsteplist-listident.
MOVE l_rqident TO l_spoolno.
Check the spool in TSP01
SELECT SINGLE * FROM tsp01 WHERE rqident = l_rqident.
IF sy-subrc = 0.
LEAVE TO LIST-PROCESSING.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
EXPORTING
spoolid = l_spoolno
IMPORTING
RC =
STATUS =
PERFORM show_alv.
ENDIF.
w_lsind = sy-lsind.
IF sy-lsind GE 19.
sy-lsind = 1.
ENDIF.
ENDFORM. " display_spool
*& Form show_alv
text
--> p1 text
<-- p2 text
FORM show_alv .
Before the import, fill the data fields before CLUSTR.
wa_index1-aedat = sy-datum.
wa_index1-usera = sy-uname.
To Import the selection screen data from Calling Program
IMPORT i_mara
FROM DATABASE indx(st) ID wa_index_key1 TO wa_index1.
FREE MEMORY ID wa_index_key1.
This prepares the field-catalog for ALV.
PERFORM prepare_fieldcatalog.
This displays the output in ALV format .
PERFORM display_alv.
ENDFORM. " show_alv
*& Form display_status
text
--> p1 text
<-- p2 text
FORM display_status .
To Display the STATUS of the JOB which is exectued in background
CLEAR : wa_jobsteplist.
REFRESH : i_jobsteplist.
WRITE:/ 'DISPLAYING JOB STATUS'.
CALL FUNCTION 'BP_JOB_READ'
EXPORTING
job_read_jobcount = w_jobcount
job_read_jobname = w_jobname
job_read_opcode = '20'
JOB_STEP_NUMBER =
IMPORTING
job_read_jobhead = wa_jobhead
TABLES
job_read_steplist = i_jobsteplist
CHANGING
RET =
EXCEPTIONS
invalid_opcode = 1
job_doesnt_exist = 2
job_doesnt_have_steps = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
To Display the status text as per the status type
CASE wa_jobhead-status.
WHEN 'S'. WRITE: / 'Scheduled'.
WHEN 'R'. WRITE: / 'Released'.
WHEN 'F'. WRITE: / 'Completed'.
WHEN 'A'. WRITE: / 'Cancelled'.
WHEN OTHERS.
ENDCASE.
IF sy-lsind GE 19.
sy-lsind = 1.
ENDIF.
ENDFORM. " display_status
*& Form display_job_log
text
--> p1 text
<-- p2 text
FORM display_job_log .
To display the log of the background program
LEAVE TO LIST-PROCESSING.
CALL FUNCTION 'BP_JOBLOG_SHOW_SM37B'
EXPORTING
client = sy-mandt
jobcount = w_jobcount
joblogid = ' '
jobname = w_jobname
EXCEPTIONS
error_reading_jobdata = 1
error_reading_joblog_data = 2
jobcount_missing = 3
joblog_does_not_exist = 4
joblog_is_empty = 5
joblog_show_canceled = 6
jobname_missing = 7
job_does_not_exist = 8
no_joblog_there_yet = 9
no_show_privilege_given = 10
OTHERS = 11.
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. " display_job_log
*& Form prepare_fieldcatalog
text
--> p1 text
<-- p2 text
FORM prepare_fieldcatalog .
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'MATNR'.
wa_fieldcat-tabname = 'I_MARA'.
wa_fieldcat-reptext_ddic = 'Material no.'.
wa_fieldcat-outputlen = '18'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ERSDA'.
wa_fieldcat-tabname = 'I_MARA'.
wa_fieldcat-reptext_ddic = 'Creation date'.
wa_fieldcat-outputlen = '10'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ERNAM'.
wa_fieldcat-tabname = 'I_MARA'.
wa_fieldcat-reptext_ddic = 'Name of Person'.
wa_fieldcat-outputlen = '10'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'LAEDA'.
wa_fieldcat-tabname = 'I_MARA'.
wa_fieldcat-reptext_ddic = ' Last Change'.
wa_fieldcat-outputlen = '10'.
APPEND wa_fieldcat TO i_fieldcat.
ENDFORM. " prepare_fieldcatalog
*& Form display_alv
text
--> p1 text
<-- p2 text
FORM display_alv .
Call ABAP List Viewer (ALV)
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
it_fieldcat = i_fieldcat
tables
t_outtab = i_mara.
ENDFORM. " display_alv
ZPROGRAM_TWO: This is the 2nd program which would be called from program ZPROGRAM_ONE.
*& Report ZPROGRAM_TWO *
REPORT zprogram_two .
PRASHANT PATIL
TABLES : mara.
TYPE-POOLS:slis.
TYPES : BEGIN OF t_mara,
matnr TYPE mara-matnr,
ersda TYPE mara-ersda,
ernam TYPE mara-ernam,
laeda TYPE mara-laeda,
END OF t_mara.
DATA : i_mara TYPE STANDARD TABLE OF t_mara,
wa_mara TYPE t_mara,
wa_index TYPE indx, " For Index details
wa_index_key TYPE indx-srtfd VALUE 'PRG_ONE',
wa_index1 TYPE indx, " For Index details
wa_index_key1 TYPE indx-srtfd VALUE 'PRG_TWO',
i_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat LIKE LINE OF i_fieldcat.
SELECT-OPTIONS : s_matnr FOR mara-matnr.
Before the import, fill the data fields before CLUSTR.
wa_index-aedat = sy-datum.
wa_index-usera = sy-uname.
To Import the selection screen data from Calling Program
IMPORT s_matnr
FROM DATABASE indx(st) ID wa_index_key TO wa_index.
FREE MEMORY ID wa_index_key.
SELECT matnr
ersda
ernam
laeda
FROM mara
INTO TABLE i_mara
WHERE matnr IN s_matnr.
PERFORM prepare_fieldcatalog.
PERFORM display_alv.
Before the export, fill the data fields before CLUSTR
wa_index1-aedat = sy-datum.
wa_index1-usera = sy-uname.
EXPORT i_mara
TO DATABASE indx(st) FROM wa_index1 ID wa_index_key1.
*& Form prepare_fieldcatalog
text
--> p1 text
<-- p2 text
FORM prepare_fieldcatalog .
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'MATNR'.
wa_fieldcat-tabname = 'I_MARA'.
wa_fieldcat-outputlen = '18'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ERSDA'.
wa_fieldcat-tabname = 'I_MARA'.
wa_fieldcat-outputlen = '10'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ERNAM'.
wa_fieldcat-tabname = 'I_MARA'.
wa_fieldcat-outputlen = '10'.
APPEND wa_fieldcat TO i_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'LAEDA'.
wa_fieldcat-tabname = 'I_MARA'.
wa_fieldcat-outputlen = '10'.
APPEND wa_fieldcat TO i_fieldcat.
ENDFORM. " prepare_fieldcatalog
*& Form display_alv
text
--> p1 text
<-- p2 text
FORM display_alv .
Call ABAP List Viewer (ALV)
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = i_fieldcat
TABLES
t_outtab = i_mara.
ENDFORM. " display_alv
its possible to display ALV Grid using OO ALV. Following code can be used instead of FM.
In the PBO, add following code
SET PF-STATUS 'ZSTAT'.
If program is executed in background
CALL METHOD cl_gui_alv_grid=>offline
RECEIVING
e_offline = off.
IF off IS INITIAL.
IF container1 IS INITIAL.
CREATE OBJECT container1
EXPORTING
container_name = 'CC_ALV1' .
ENDIF.
ENDIF.
CREATE OBJECT g_grid1
EXPORTING
i_parent = container1.
CALL METHOD g_grid1->set_table_for_first_display
EXPORTING
I_BUFFER_ACTIVE =
I_BYPASSING_BUFFER =
I_CONSISTENCY_CHECK =
I_STRUCTURE_NAME =
IS_VARIANT =
i_save = 'A'
i_default = ' '
is_layout =
is_print =
IT_SPECIAL_GROUPS =
it_toolbar_excluding =
IT_HYPERLINK =
IT_ALV_GRAPHICS =
IT_EXCEPT_QINFO =
CHANGING
it_outtab = i_output
it_fieldcatalog = i_fieldcatalog
IT_SORT =
IT_FILTER =
EXCEPTIONS
invalid_parameter_combination = 1
program_error = 2
too_many_lines = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Reward points if useful
Regards
Anji -
We are upgrading from Tools 8.53 to Tools 8.54 in HCM. I am receiving logging event 'Unable to signon to the Source Database.' just prior to 'Running the DBTSFIX Report' step. I found case 1545297.1 where it said to choose initial move as opposed to move
For Tools only upgrades, while creating the jobs, you should choose 'Initial' and not 'Move to production'
An excerpt from http://docs.oracle.com/cd/E56736_01/psft/acrobat/Getting_Started_on_Your_PeopleTools_Upgrade_08_2014.pdf is given below
MTP indicates that this step runs only in Move to Production upgrade passes. The step is not applicable to the initial pass. This is not applicable for PeopleSoft PeopleTools-only upgrades. -
How to run the same report at report runtime?
i have this report that is automatically run when choosing the icon at reports runtime.
its it possible that i can run the same report without having to exit the runtime?! can i display the run button on the toolbar?
i need help on this! thanksWhat
about still running ONE report, but every supplier starting on a new page? Is that more realistic? So supplier will not be a parameter any more, but just something that creates a new page on the report?
Yes thats a much better option. Its very easy to generate such a report in SSRS. You dont need a parameter
in that case but just needs to add Supplier as a grouping field in the tablix. Then add other columns and groups if required. Select option set page break after each instance of the group for first grouping (ie based on supplier field). Then report will render
with one page per supplier. On exporting to excel also each supplier data goes to a different tab
Here's a similar requirement I did for one of my projects
http://visakhm.blogspot.in/2013/10/using-ssrs-to-export-sqlserver-data-to.html
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
How to run the 9I report from the forms menue 9i
how to run the 9I report from the forms menue 9i.
Shehzad LatifHi,
1. create a Reports Object node in Forms. If you use teh same object node name then you can write generic code that works in all Forms
2. Get the whitepaper about Forms/reports integrtion
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
Frank -
Error 201 when trying to run the demos !! HELP !!
Hello, we are just trying to run the demos provided in the ZIP file that comes with the XDK version for Solaris 9i and we are having problems apparently with the encoding thing.
I dont really have a clue how to make it run or provide the right encoding parameter. I have attempted to use every single parameter, UTF-8, ISO, ASCII, etc
anyone had this problem at the very beginning?? or know how to solve it?? we r just beginner trying a start jump in XML and all this parser matter.
thanks a lot. Verde.Please refer to:
http://technet.oracle.com:89/ubb/Forum11/HTML/004973.html -
SAP B1 Closes when Running the Crystal Report
Hi SAP Expert,
I have a problem during running the customized report i've created in Crystal. I created a stored procedure please see my code below. The Crystal Report is running during development but when i exported to SAP B1 and run the report. The SAP Business One will terminated. Any help please...
CREATE PROCEDURE [dbo].[SP_ACTUALPURCHASESV3]
-- Add the parameters for the stored procedure here
@FROM DATETIME,
@TO DATETIME
AS
BEGIN
SET NOCOUNT ON;
SET @FROM = CAST(CAST(MONTH(@FROM) AS NVARCHAR) + '/' +
CAST(DAY(@FROM) AS NVARCHAR) + '/' +
CAST(YEAR(@FROM) AS NVARCHAR) + ' 00:00:00:000' AS DATETIME)
SET @TO = CAST(CAST(MONTH(@TO) AS NVARCHAR) + '/' +
CAST(DAY(@TO) AS NVARCHAR) + '/' +
CAST(YEAR(@TO) AS NVARCHAR) + ' 23:59:59:000' AS DATETIME)
SELECT
(SELECT DocEntry FROM OPOR WHERE OPOR.DocNum = PDN1.BaseRef) as PODocentry,
PDN1.BaseRef AS PONum,
OPDN.DocEntry,
OPDN.DocNum,
OPDN.DocType,
(select ocrd.lictradnum from ocrd where ocrd.cardcode = opdn.CardCode) as LicTradNum,
OPDN.CardCode,
OPDN.CardName,
OPDN.DocDate,
CASE WHEN PDN1.WhsCode IS NULL THEN PDN1.AcctCode ELSE PDN1.WhsCode END AS WhsCode,
CASE WHEN PDN1.WhsCode IS NULL THEN (SELECT OACT.AcctName FROM OACT WHERE OACT.AcctCode = PDN1.AcctCode) ELSE (select OWHS.WhsName from OWHS where OWHS.WhsCode = PDN1.WhsCode) END AS WhsName,
CASE WHEN PDN1.ItemCode IS NULL THEN 'N/A' ELSE PDN1.ItemCode END AS ITEMCODE,
PDN1.Dscription,
PDN1.Quantity,
PDN1.unitMsr,
PDN1.Price,
PDN1.PriceBefDi,
PDN1.PriceAfVAT,
CRD4.WTCode,
OWHT.RATE,
(case when pdn1.quantity > 0 then (pdn1.Price * pdn1.Quantity) else PDN1.Price end ) * (OWHT.rate/100) as EWTVALUE
FROM OPDN JOIN PDN1 ON OPDN.DOCENTRY = PDN1.DOCENTRY left join CRD4 on OPDN.CardCode = CRD4.CardCode left join OWHT on OWHT.WTCode = CRD4.WTCode
WHERE OPDN.DocDate BETWEEN @FROM AND @TO and OPDN.CANCELED = 'N'
--WHERE OPDN.DocNum = 2542
ORDER BY OPDN.DocDate
ENDHi,
Does it means we are allowed to create stored Procedure inside the Company Database. We only use selecting and joining tables and somehow some complex sql procedures to meet our requirements.
Thanks, but my question is if there's nothing wrong with it why my SAP B1 Closes when previewing the Crystal Report. Im running on Windows 7 64-bit, i will not imagine that the capacity of memory of my Terminal Unit is not enough because my memory is 8GB. I run crystal report but it shows the record, but when running the Cystal Viewer inside SAP B1 it illegally terminated.
Thanks for clarifying the creation of Stored Procedure.
Ben -
Proxy error while running the financial report in workspace.
Hi,
We are using the Hyperion financial reporting 9.3.1 with Essbase as a data source.
While running a report in workspace, we are getting the 'Proxy error' meassage, which is following-
"<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
'<html><head>
<title>502 Proxy Error</title>
</head><body>
Proxy Error
<p>The proxy server received an invalid
response from an upstream server.<br />
The proxy server could not handle the request <em><a
href="/hr/modules/com/hyperion/reporting/web/reportViewer/HRRunJob.jsp">GET /hr/modules/com/hyperion/reporting/web/reportViewer/HRRunJob.jsp</a></em>.<p>
Reason: <strong>Error reading from remote server</strong></p></p>
</body></html>"
Do anybody have any idea on this? Any help will be appriciated on this.
Thanks & Regards,
Mohit JainHi Iain,
We are using Microsoft Internet explorer 6.0. I am not sure about the 'proxy' (As we don't have any proxy setting in Tool--> Internet options--> connection--> LAN setting). We are accessing the Workspace and FR studio via Citrix application. How can I check the proxy.
Also, I noticed one more point, Report has prompt for seleting 'Account hierarchy'.If we run the report only for one account hierarchy, report is returning the data but while running for multiple account hierarchy, it is throwing the 'Proxy error' as memtioned above.
Please help us on this.
Thank & Regards,
Mohit -
Error while running the Discoverer report from the command line.
Hi All,
I've to run a discoverer report from command line and export the results in xls/html on to my local machine. This report I've to run it as batch and scheduled it.
I have a parameterized worksheet and this has to be run from command line specifying the parameter value I wanted to run the report for. I do not get any results. Here is the command line I am using.
dis51usr /connect user/password@database /opendb "TIMS-PCJ status Report" /sheet "TIMS observation status report (based on performed date)" /parameter "Test Number" '40351' /parameter "From Date" '05-MAY-2008' /parameter "To Date" '06-MAY-2008' /export HTML "C:\DISCOVERER_REPORT_SCHEDULING\DIS_OUTPUT\PCJStOutputinHTML123"
I even added the TO_DATE conversion for the parameters and also gave the format of the date as 'DD_MON_YYYY'.
Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
Please anyone reply me.
Regards & Thanks,
P. Gayathri DeviHi Gayathri,
Try changing your parameter names to be a single word. (Change "Test Number" to Test_Number).
Does the report run fine when run through Desktop for the same parameter values? Which version of Discoverer are you using?
Thanks. -
Hello,
1) I am suddenly getting an error message ‘Load Report failed’ in a production server (where the VS2003 application is deployed) when the Crystal Report is executed. This has happened maybe because of the Windows/Crystal Report Updates!
I am able to see the same report perfectly fine in the development computer using VS 2003.
I am using the 9.1 version which is part of the Visual Studio 2003.
The event logs show 'Either the keycode library is not registered or it cannot be loaded ...EventID=10029'. See attached screen shot.
Please help?
2) Since I was getting a registration suggestion window for using Crystal Reports, I registered twice using different email address and it said that it will send me the KeyCode for the Crystal report but after successful registration I never got any keycode but just an email acknowledging the Registration.
I believe the KeyCode is required to use it in the server to execute/run a report.
Can SAP representative email the keycode to my gmail account?
My product key is:
Please help to resolve both my problems
Thanks in advance,
Sanjay ChudasamaIf I memory servers, you have to open the Crystal_Regwiz2003.msm in the .NET deployment project. One of the properties of the msm was Keycode (or similar). You entered the keycode here. To find your keycode; in VS2003 IDE, go to the Help | About screen. You will see one of the installed components as Crystal Reports and the keycode will be on the right of that. Copy the keycode from here, paste in the above.
For more details see the article Crystal Reports and Visual Studio .NET - Application Deployment.
- Ludek
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Share Your Knowledge in SCN Topic Spaces -
Error while running the FR report
I have created an Financial report for HFM application but When i try running the same it give ADM dirver error.
I even restarted all the services. But getting the same error.
Any help will be appreciatedWe had a similar error.
I order to run a report from Financial reporting you must have installed the ADM driver. This driver is included in the installation of the HFM Desktop.
So, in order to run the report, you must install the driver, configure the Server and Web Configuration by registering the target cluster/server and the report will run without problem
Regards -
Problem while running the xml report in concurrent program
Hi,
In EBS r12, we have requirement to have a standard report output in excel.
I got the report's xml output to create the xml template (.RTF layout) using BI Publisher.
I created the .RTF layout and it works fine on my laptop using Bi Publisher.. the xml loads into it and i can preview xml data on layout with all format (Excel, PDF...)
I uploaded the layout to EBS, and assigned it to the standard report.
I changed standard report out put to XML
When i go to submit report request, the template is assigned with report and everything seems correct.
But after i run the report.
The report is Completed with Warning status.. and output is only XML with Error message :
This XML file does not appear to have any style information associated with it. The document tree is shown below.
The Log file says :
Executing request completion options...
------------- 1) PUBLISH -------------
Beginning post-processing of request 2350601 on node CLONE at 13-APR-2011 09:03:47.
Post-processing of request 2350601 failed at 13-APR-2011 09:03:48 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.
------------- 2) PRINT -------------
Not printing the output of this request because post-processing failed.
Finished executing request completion options.
The manager log file of Output post processor shows as:
Template code: LATE_PAID
Template app: SQLAP
Language: en
Territory: 00
Output type: EXCEL
[9/21/11 10:59:39 AM] [UNEXPECTED] [1273372:RT4463274] java.io.FileNotFoundException: /data1/EBSR120/inst/apps/oravis_hschbscgn20076/logs/appl/conc/out/o4463274.out (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:230)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:166)
[9/21/11 10:59:39 AM] [1273372:RT4463274] Completed post-processing actions for request 4463274.
[9/21/11 11:33:17 AM] [OPPServiceThread0] Post-processing request 4463327.
[9/21/11 11:33:17 AM] [1273372:RT4463327] Executing post-processing actions for request 4463327.
[9/21/11 11:33:17 AM] [1273372:RT4463327] Starting XML Publisher post-processing action.
[9/21/11 11:33:17 AM] [1273372:RT4463327]I guess we should submit XML publisher request "XDOREPPB" in "After report trigger" to generate the report output. You can refer the below link for syntax for submission of the program.
Re: Excel Output appears in IE after submitting XDOREPPB from backend
This may be helpful if not please ignore it.
Maybe you are looking for
-
Help needed: Adding 2nd widget makes 1st widget stop working
Dear all, I use 1 widget, jQuery Cycle, and it was working fine, until i added a 2nd one, FlexSlider. How can i make both working on the same page? My website is : VINDSTERS - Wij Vinden wat u zoekt! and please see my coding below. Thanks a lot! <!D
-
Where are the preferences located on the moto g phone
I've searched in the settings and tools and can't find the preferences where are they? I've got an add on that says to go to the browsers preferences to set it up
-
Hello CATS Experts, we are using TX CAPP to approve our timesheets based on WBS elements. Problem: Every user who has access to CAPP is able to approve all timesheets. We like to activate a customer exit, which should check before approval if the use
-
JMSReplyTo property for MQ-message (trouble)
Hello all! I'm trying to send JMS message to MQ-queue and I need to set field JMSReplyToQ in JMS section. I'm using: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 JMS_QUEUE_CONNECTION, Queue_payload_type => 'SYS.AQ$_JMS_TEXT_MESSAGE' FQ d
-
Saving information from web using java.
hi all can anyone tell me how to go to the specified url and then save all the information in it to a text file in a local system using java. i also want to know are there any modules in java similar to LWP module in perl for downloading the informat