Developing Z reports on PD
Dear All,
Can anyone please let me know the process on how to retrieve data of PD Module like Appraisals data.
As IT0025 doesn't store any data. and HRP Tables are not maintanance Allowed . so how to and where to check the data.
Thanks & Regards,
Satya.
Hi Satya,
I have used the same select query to update some appraisal details and displayed it in screen. I have pasted the whole program below for your reference. Please let me know if u have any doubts...
TABLES : HRHAP,
HRHAP_T,
HRHAP_BASIC,
HRHAP_APPER,
HRHAP_APPEE,
HRHAP_FINAL.
TYPES : BEGIN OF X_HRHAP_ID,
PLAN_VERSION TYPE HRHAP-PLAN_VERSION,
APPRAISAL_ID TYPE HRHAP-APPRAISAL_ID,
END OF X_HRHAP_ID,
BEGIN OF X_HRHAP,
PLAN_VERSION TYPE HRHAP-PLAN_VERSION, "Plan version
APPRAISAL_ID TYPE HRHAP-APPRAISAL_ID, "Appraisal id
AP_START_DATE TYPE HRHAP-AP_START_DATE, "Start date
AP_END_DATE TYPE HRHAP-AP_END_DATE, "End date
AP_STATUS TYPE HRHAP-AP_STATUS, "Status
AP_DATE_SET TYPE HRHAP-AP_DATE_SET, "Appraisal date
END OF X_HRHAP,
BEGIN OF X_HRHAP_T,
LANGU TYPE HRHAP_T-LANGU, "Language
PLAN_VERSION TYPE HRHAP_T-PLAN_VERSION, "Plan version
APPRAISAL_ID TYPE HRHAP_T-APPRAISAL_ID, "Appraisal id
END OF X_HRHAP_T,
BEGIN OF X_HRHAP_APPER,
PLAN_VERSION TYPE HRHAP_APPER-PLAN_VERSION, "Plan version
APPRAISAL_ID TYPE HRHAP_APPER-APPRAISAL_ID, "Appraisal id
ID TYPE HRHAP_APPER-ID, "Appraiser id
END OF X_HRHAP_APPER,
BEGIN OF X_HRHAP_APPEE,
PLAN_VERSION TYPE HRHAP_APPEE-PLAN_VERSION, "Plan version
APPRAISAL_ID TYPE HRHAP_APPEE-APPRAISAL_ID, "Appraisal id
ID TYPE HRHAP_APPEE-ID, "Appraisee id
END OF X_HRHAP_APPEE,
BEGIN OF X_HRHAP_BASIC,
PLAN_VERSION TYPE HRHAP_BASIC-PLAN_VERSION, "Plan version
APPRAISAL_ID TYPE HRHAP_BASIC-APPRAISAL_ID, "Appraisal id
ROW_IID TYPE HRHAP_BASIC-ROW_IID, "Row id
ELEMENT_TYPE TYPE HRHAP_BASIC-ELEMENT_TYPE,"Template type
ELEMENT_ID TYPE HRHAP_BASIC-ELEMENT_ID, "Template id
END OF X_HRHAP_BASIC,
BEGIN OF X_HRHAP_FINAL,
PLAN_VERSION TYPE HRHAP_FINAL-PLAN_VERSION, "Plan version
APPRAISAL_ID TYPE HRHAP_FINAL-APPRAISAL_ID, "Appraisal id
ROW_IID TYPE HRHAP_FINAL-ROW_IID, "Row id
COLUMN_ID TYPE HRHAP_FINAL-COLUMN_ID, "Column id
VALUE_NUM TYPE HRHAP_FINAL-VALUE_NUM, "Rating value
VALUE_NNV TYPE HRHAP_FINAL-VALUE_NNV, "Rating text
END OF X_HRHAP_FINAL,
BEGIN OF X_OUT_DATA,
PLAN_VERSION TYPE HRHAP-PLAN_VERSION, "Plan version
APPRAISAL_ID TYPE HRHAP-APPRAISAL_ID, "Appraisal id
LANGU TYPE HRHAP_T-LANGU, "Language
STATUS(15) TYPE C, "Status
AP_DATE_SET TYPE HRHAP-AP_DATE_SET, "Appraisal date
ELEMENT_ID TYPE HRHAP_BASIC-ELEMENT_ID, "Template id
CHANGED_ITEM(50) TYPE C,
APPER_NAME(40) TYPE C, "Appraiser name
APPEE_NAME(40) TYPE C, "Appraisee name
END OF X_OUT_DATA,
BEGIN OF X_ERRORS,
APPRAISAL_ID TYPE HRHAP-APPRAISAL_ID,
ERROR_AT(50) TYPE C,
FAILED_ITEM(50) TYPE C,
END OF X_ERRORS.
DATA: IT_HRHAP_ID TYPE TABLE OF X_HRHAP_ID INITIAL SIZE 0,
IT_HRHAP TYPE TABLE OF X_HRHAP INITIAL SIZE 0,
IT_HRHAP_T TYPE TABLE OF X_HRHAP_T INITIAL SIZE 0,
IT_HRHAP_APPER TYPE TABLE OF X_HRHAP_APPER INITIAL SIZE 0,
IT_HRHAP_APPEE TYPE TABLE OF X_HRHAP_APPEE INITIAL SIZE 0,
IT_HRHAP_BASIC TYPE TABLE OF X_HRHAP_BASIC INITIAL SIZE 0,
IT_HRHAP_FINAL TYPE TABLE OF X_HRHAP_FINAL INITIAL SIZE 0,
IT_OUT_DATA TYPE TABLE OF X_OUT_DATA INITIAL SIZE 0,
IT_ERRORS TYPE TABLE OF X_ERRORS INITIAL SIZE 0.
Work area declaration
DATA: WA_HRHAP_ID LIKE LINE OF IT_HRHAP_ID, WA_HRHAP LIKE LINE OF IT_HRHAP,
WA_HRHAP_T LIKE LINE OF IT_HRHAP_T, WA_HRHAP_APPER LIKE LINE OF IT_HRHAP_APPER, WA_HRHAP_APPEE LIKE LINE OF IT_HRHAP_APPEE,
WA_HRHAP_BASIC LIKE LINE OF IT_HRHAP_BASIC, WA_HRHAP_FINAL LIKE LINE OF IT_HRHAP_FINAL, WA_OUT_DATA LIKE LINE OF IT_OUT_DATA,
WA_ERRORS LIKE LINE OF IT_ERRORS.
*Variables
DATA: LV_APPER_ID TYPE PA0001-PERNR, "To store the appraiser id
LV_APPEE_ID TYPE PA0001-PERNR, "To store the appraisee id
LV_APPER_NAME(40) TYPE C, "To store the appraiser name
LV_APPEE_NAME(40) TYPE C. "To store the appraisee name
CONSTANTS: C_OLD_TEMP_ID TYPE HRHAP_BASIC-ELEMENT_ID VALUE '60000192',
C_NEW_TEMP_ID TYPE HRHAP_BASIC-ELEMENT_ID VALUE '60011450',
C_TYPE_VA TYPE HRHAP_BASIC-ELEMENT_TYPE VALUE 'VA',
C_ROW_ID_1 TYPE HRHAP_FINAL-ROW_IID VALUE '1',
C_COL_ID_FAPP TYPE HRHAP_FINAL-COLUMN_ID VALUE 'FAPP',
C_RATING_VAL TYPE HRHAP_FINAL-VALUE_NUM VALUE '0.000'.
*Selection screen to determine the criteria for the selection of the
performance plan documents.
SELECTION-SCREEN BEGIN OF BLOCK A1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : SO_DATE FOR HRHAP-AP_DATE_SET. "Appraisal date
SELECT-OPTIONS : SO_AP_ID FOR HRHAP-APPRAISAL_ID. "Appraisal id
"Checkbox to enable or disable the updation of HRHAP tables.
PARAMETERS : P_UPDATE AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK A1.
START-OF-SELECTION.
SELECT PLAN_VERSION
APPRAISAL_ID
FROM HRHAP INTO TABLE IT_HRHAP_ID
WHERE APPRAISAL_ID IN SO_AP_ID AND
AP_START_DATE = '20080101' AND
AP_END_DATE = '20081231' AND
AP_DATE_SET IN SO_DATE.
IF IT_HRHAP_ID IS NOT INITIAL.
table
SELECT PLAN_VERSION
APPRAISAL_ID
ROW_IID
ELEMENT_TYPE
ELEMENT_ID
FROM HRHAP_BASIC INTO TABLE IT_HRHAP_BASIC
FOR ALL ENTRIES IN IT_HRHAP_ID
WHERE APPRAISAL_ID = IT_HRHAP_ID-APPRAISAL_ID AND
ELEMENT_ID = C_OLD_TEMP_ID AND
ELEMENT_TYPE = C_TYPE_VA.
IF IT_HRHAP_BASIC IS NOT INITIAL.
SELECT PLAN_VERSION
APPRAISAL_ID
AP_START_DATE
AP_END_DATE
AP_STATUS
AP_DATE_SET
FROM HRHAP INTO TABLE IT_HRHAP
FOR ALL ENTRIES IN IT_HRHAP_BASIC
WHERE APPRAISAL_ID = IT_HRHAP_BASIC-APPRAISAL_ID.
SELECT LANGU
PLAN_VERSION
APPRAISAL_ID
FROM HRHAP_T INTO TABLE IT_HRHAP_T
FOR ALL ENTRIES IN IT_HRHAP_BASIC
WHERE APPRAISAL_ID = IT_HRHAP_BASIC-APPRAISAL_ID.
SELECT PLAN_VERSION
APPRAISAL_ID
ID
FROM HRHAP_APPER INTO TABLE IT_HRHAP_APPER
FOR ALL ENTRIES IN IT_HRHAP_BASIC
WHERE APPRAISAL_ID = IT_HRHAP_BASIC-APPRAISAL_ID.
SELECT PLAN_VERSION
APPRAISAL_ID
ID
FROM HRHAP_APPEE INTO TABLE IT_HRHAP_APPEE
FOR ALL ENTRIES IN IT_HRHAP_BASIC
WHERE APPRAISAL_ID = IT_HRHAP_BASIC-APPRAISAL_ID.
SELECT PLAN_VERSION
APPRAISAL_ID
ROW_IID
COLUMN_ID
VALUE_NUM
VALUE_NNV
FROM HRHAP_FINAL INTO TABLE IT_HRHAP_FINAL
FOR ALL ENTRIES IN IT_HRHAP_BASIC
WHERE APPRAISAL_ID = IT_HRHAP_BASIC-APPRAISAL_ID AND
ROW_IID = C_ROW_ID_1 AND
COLUMN_ID = C_COL_ID_FAPP.
ELSE.
WRITE:/ 'No Performance plans exist.'.
EXIT.
ENDIF.
LOOP AT IT_HRHAP INTO WA_HRHAP.
MOVE WA_HRHAP-APPRAISAL_ID TO WA_OUT_DATA-APPRAISAL_ID.
MOVE WA_HRHAP-AP_DATE_SET TO WA_OUT_DATA-AP_DATE_SET.
CASE WA_HRHAP-AP_STATUS.
WHEN 1.
MOVE TEXT-002 TO WA_OUT_DATA-STATUS.
WHEN 2.
MOVE TEXT-003 TO WA_OUT_DATA-STATUS.
WHEN 3.
MOVE TEXT-004 TO WA_OUT_DATA-STATUS.
WHEN 4.
MOVE TEXT-005 TO WA_OUT_DATA-STATUS.
WHEN 5.
MOVE TEXT-006 TO WA_OUT_DATA-STATUS.
WHEN 6.
MOVE TEXT-007 TO WA_OUT_DATA-STATUS.
WHEN 7.
MOVE TEXT-008 TO WA_OUT_DATA-STATUS.
WHEN 8.
MOVE TEXT-009 TO WA_OUT_DATA-STATUS.
WHEN 9.
MOVE TEXT-010 TO WA_OUT_DATA-STATUS.
WHEN OTHERS.
CLEAR WA_OUT_DATA-STATUS.
ENDCASE.
READ TABLE IT_HRHAP_T INTO WA_HRHAP_T
WITH KEY APPRAISAL_ID = WA_HRHAP-APPRAISAL_ID.
MOVE WA_HRHAP_T-LANGU TO WA_OUT_DATA-LANGU.
READ TABLE IT_HRHAP_APPER INTO WA_HRHAP_APPER
WITH KEY APPRAISAL_ID = WA_HRHAP-APPRAISAL_ID.
MOVE WA_HRHAP_APPER-ID TO LV_APPER_ID.
CALL FUNCTION 'CATS_PERNR_NAME'
EXPORTING
BEG = WA_HRHAP-AP_DATE_SET
PNR = LV_APPER_ID
IMPORTING
NAME = LV_APPER_NAME.
READ TABLE IT_HRHAP_APPEE INTO WA_HRHAP_APPEE
WITH KEY APPRAISAL_ID = WA_HRHAP-APPRAISAL_ID.
MOVE WA_HRHAP_APPEE-ID TO LV_APPEE_ID.
CALL FUNCTION 'CATS_PERNR_NAME'
EXPORTING
BEG = WA_HRHAP-AP_DATE_SET
PNR = LV_APPEE_ID
IMPORTING
NAME = LV_APPEE_NAME.
Move the appraisee name to the output work area.
MOVE LV_APPEE_NAME TO WA_OUT_DATA-APPEE_NAME.
READ TABLE IT_HRHAP_BASIC INTO WA_HRHAP_BASIC
WITH KEY ELEMENT_TYPE = C_TYPE_VA
ELEMENT_ID = C_OLD_TEMP_ID.
IF SY-SUBRC EQ 0.
READ TABLE IT_HRHAP_FINAL INTO WA_HRHAP_FINAL
WITH KEY ROW_IID = C_ROW_ID_1 COLUMN_ID = C_COL_ID_FAPP.
IF SY-SUBRC EQ 0.
IF P_UPDATE = 'X'.
UPDATE HRHAP_BASIC SET ELEMENT_ID = C_NEW_TEMP_ID
WHERE ELEMENT_TYPE = C_TYPE_VA AND
ELEMENT_ID = C_OLD_TEMP_ID.
IF SY-SUBRC EQ 0.
UPDATE HRHAP_FINAL SET VALUE_NUM = C_RATING_VAL
WHERE ROW_IID = C_ROW_ID_1 AND COLUMN_ID = C_COL_ID_FAPP.
IF SY-SUBRC EQ 0.
MOVE 'ID & Rating' TO WA_OUT_DATA-CHANGED_ITEM.
ELSE.
MOVE WA_HRHAP-APPRAISAL_ID TO WA_ERRORS-APPRAISAL_ID.
MOVE 'Updation of Rating' TO WA_ERRORS-FAILED_ITEM.
ENDIF.
ELSE.
MOVE WA_HRHAP-APPRAISAL_ID TO WA_ERRORS-APPRAISAL_ID.
MOVE ' Updation of ID & Rating' TO WA_ERRORS-FAILED_ITEM.
ENDIF.
ENDIF.
ELSEIF SY-SUBRC EQ 4.
IF P_UPDATE = 'X'.
UPDATE HRHAP_BASIC SET ELEMENT_ID = C_NEW_TEMP_ID WHERE
ELEMENT_TYPE = C_TYPE_VA.
IF SY-SUBRC eq 0.
MOVE 'Template ID' TO WA_OUT_DATA-CHANGED_ITEM.
ELSE.
MOVE WA_HRHAP-APPRAISAL_ID TO WA_ERRORS-APPRAISAL_ID.
MOVE 'Updation of ID' TO WA_ERRORS-FAILED_ITEM.
ENDIF.
ELSE.
CONTINUE.
ENDIF.
ELSE.
MOVE WA_HRHAP-APPRAISAL_ID TO WA_ERRORS-APPRAISAL_ID.
MOVE 'Reading HRHAP_FINAL' TO WA_ERRORS-ERROR_AT.
ENDIF.
ELSEIF SY-SUBRC EQ 4.
MOVE 'None' TO WA_OUT_DATA-CHANGED_ITEM.
ELSE.
MOVE WA_HRHAP-APPRAISAL_ID TO WA_ERRORS-APPRAISAL_ID.
MOVE 'Reading HRHAP_BASIC' TO WA_ERRORS-ERROR_AT.
ENDIF.
APPEND WA_OUT_DATA TO IT_OUT_DATA.
IF WA_ERRORS-APPRAISAL_ID IS NOT INITIAL.
APPEND WA_ERRORS TO IT_ERRORS.
ELSE.
CLEAR: WA_ERRORS.
ENDIF.
CLEAR : WA_HRHAP, WA_HRHAP_T, WA_HRHAP_APPER,
WA_HRHAP_APPEE, WA_HRHAP_BASIC, WA_HRHAP_FINAL,
WA_OUT_DATA.
CLEAR: LV_APPEE_ID, LV_APPER_ID, LV_APPEE_NAME, LV_APPER_NAME.
ENDLOOP.
Spool display
ULINE.
FORMAT COLOR = 1 INTENSIFIED ON.
WRITE:/ SY-VLINE,
(2) 'No', SY-VLINE,
(33) 'Appraisal ID', SY-VLINE,
(4) 'Lang', SY-VLINE,
(10) 'App date', SY-VLINE,
(16) 'Status', SY-VLINE,
(20) 'Appraiser name', SY-VLINE,
(20) 'Appraisee name', SY-VLINE,
(12) 'Changed item', SY-VLINE.
ULINE.
LOOP AT IT_OUT_DATA INTO WA_OUT_DATA.
IF IT_OUT_DATA IS NOT INITIAL.
FORMAT COLOR = 2 INTENSIFIED OFF.
WRITE:/ SY-VLINE,
(2) SY-TABIX, SY-VLINE,
(33) WA_OUT_DATA-APPRAISAL_ID, SY-VLINE,
(4) WA_OUT_DATA-LANGU, SY-VLINE,
(10) WA_OUT_DATA-AP_DATE_SET, SY-VLINE,
(16) WA_OUT_DATA-STATUS, SY-VLINE,
(20) WA_OUT_DATA-APPER_NAME, SY-VLINE,
(20) WA_OUT_DATA-APPEE_NAME, SY-VLINE,
(12) WA_OUT_DATA-CHANGED_ITEM,SY-VLINE.
ULINE.
ELSE.
WRITE:/ 'List contains no data'.
ENDIF.
ENDLOOP.
ELSE.
WRITE:/ 'No Performance plans exist.'.
ENDIF.
IF IT_ERRORS IS NOT INITIAL.
FORMAT COLOR = 6 INTENSIFIED OFF.
WRITE :/(33) 'Appraisal id',
(50) 'Error occurred in',
(50) 'Failed item'.
LOOP AT IT_ERRORS INTO WA_ERRORS.
FORMAT COLOR = 6 INTENSIFIED OFF.
WRITE :/(33) WA_ERRORS-APPRAISAL_ID,
(50) WA_ERRORS-ERROR_AT,
(50) WA_ERRORS-FAILED_ITEM.
ENDLOOP.
ELSE.
FORMAT COLOR = 3 INTENSIFIED ON.
WRITE:/ 'No errors occured'.
ENDIF.
Thanks & Regards,
ganesh R K
Similar Messages
-
Need to develop this report plezzzz help
the requirement says
When a user submits an ID they have to choose who sold the product from the sold by field.This has to be chosen correctly otherwise there will be issues in sales and commission process.I need to develop a report to detect immediately when an Id is created which seems to be suspect.A suspect ID is one in which a salesperson was chosen on a customer who is not assigned to that sales person territory
for example: if danny is in Kathy territory is assigned to a customer in Texas which is Larry territory.
any suggestions will be helpful for me...
Edited by: user13001889 on Jun 6, 2011 4:43 PM
Edited by: user13001889 on Jun 6, 2011 4:44 PMYou ask for help, yet all you give is conceptual data. How do you expect help on writing the report?
Q) What defines "territory"? Is it a flag? Zip code? City?
Here is an answer based on a lot of assumptions:
I would have to assume that territory is defined by something like city, state, or zip code. If so, you could start with this:
When a customer submits an ID, along with who he/she selects as a salesperson -- I assume this is a drop down box to eliminate multiple entries of the same person due to variations in spelling -- thep person's address, city, state and zip are included as well. Let's assume that territory is defined by zip code. With the salesperson's name and the zip of the customer captured, you have the basis for comparison.
Based on the table of all your salespeople and their territory (zip code in my assumption), you can create a report that contains a concatenated field of salesperson||zip code. This will produce a report with all possible combinations of salesperson and territory. This report will be your sub-query.
Now you have your main query based on the customer activity table and you create a concatenated field of salesperson (chosen-by-customer)||zip code (of the customer). You will put a filter on this concatenated column and have it based on the results of another request (your sub-query) with the operand "not equal to/not in."
If any record in the main query does not match an entry from the sub-query, that record will display. It will be a report that contains customers who chose a sales person who doesn't have that territory.
That's how you build your report. -
Develop a report to track discount for various product
hi
i need to develop a report to track discount for various product depending upon the clientHello Noor,
I'm not sure but if you are talking about the marketing attributes, you can definitely use FM - CRM_MKTBP_ASSIGN_ATTRIBUT_TAB
You need to pass the profile id, partner id and marketing attributes data. Thats it.
I think the FM you ar eusing for terrritory is fine. It should work.
I hope this helps.
Thanks
Vishal -
Developed a report which gives PO(Purchase Order) Pricing details.
hi experts,
please give me tables and fields for following report, and also exlain me briefly,
Developed a report which gives PO(Purchase Order) Pricing details.
thanks in advance,
radhakrishnaHello Radhakrishna,
you can use the function module
CALL FUNCTION 'RV_PRICE_PRINT_HEAD'
EXPORTING
comm_head_i = wa_komk
LANGUAGE = ' '
IMPORTING
COMM_HEAD_E =
COMM_MWSKZ =
TABLES
tkomv = gi_komv
tkomvd = gi_komvd.
in wa_komk pass the condition record number.
this you will get from your vbak table
reward points if helpful -
ABAP: Developed new Report for Summarized JIT (Just In Time) calls
Hi to all,
Can anybody please tell me about the following:
· Developed new Report for Summarized JIT (Just In Time) calls: This report is for Delco Singapore needs all Summarized JIT calls created between selected dates to be closed. If JIT call quantity is 0 and GR quantity is also 0, then GR flag for JIT call to be checked and JIT call will not be shown open. If the JIT call quantity is greater than zero and GR for JIT call quantity is zero then JIT call quantity made as zero and GR flag for JIT Call to be checked. Once it is checked the JIT call will not be shown in Open.
Thanks in advance.
Regards
MonalisaOk, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
1-Write JSP (should be written just how Oracle writes theirs)
2-Creat function for the new JSP page as System Administrator responsibility
3-Use Sys Admin to add the function to a menu somewhere
4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
6-Drill down into that regions attributes
7-Add a your newly created attribute to this region
You would do all these steps for your advanced search page as well, so that in your main jsp, you can call asfPage.setAdvancedSearchPage() with the attribute name of your advanced page.
What I Still do not know is:
(1) My main page keeps coming up saying that there is no default query defined for it. How do you create a default query for a report?
(2) How to get the personalization to work.
Can anyone help?
Thanks! -
How to develop this report/Query that selects records with MAX Value
Hi,
My requirment is to develop a report to show all emp whose policy is going to expire ith in the user selected date intreval...
Emp_ID--App_Date-Policy_Strt_Date--Policy_End_Date--App_Status
101.01.2007---BlankBlank--
NEW (New application for a Medical Insurance policy raised for employee)
101.01.2007---01.02.200730.05.2007--
COMPLETE (policy issued for emp with strt & end dates)
115.05.2007---01.02.200730.05.2007--
RENEWAL (a application is raised to renew emp policy)
115.05.2007---01.06.200731.12.2007--
COMPLETE (policy issued for emp with strt & end dates)
115.12.2007---01.06.200731.12.2007--
RENEWAL (a application is raised to renew emp policy)
115.12.2007---01.01.200831.05.2008--
COMPLETE (policy issued for emp with strt & end dates)
115.05.2008---01.01.200831.05.2008--
RENEWAL (a application is raised to renew emp policy)
115.05.2008---01.06.200831.05.2009--
COMPLETE (a application is raised to renew emp policy)
So EMP 1 got valid policy untill 31.05.2009.
When a user executes a query to show all employees whose policy expiry date intreval (01.05.2008 to 31.05.2008)
it shouldn't show Emp 1 as he got valid policy untill 31.05.2009 but currently it is showing Emp 1....
How can i achieve this
ThanksHi
Thanks for the update
I created variable on Plc End end
If user enter show all emps whose policy is expiring in MAY (01.05.2008---31.05.2008) it is displaying EMp 1 as well but emp 1 has a policy which expires in 2009
Thanks -
Problem on developing SSRS report in a production environment
Any problem could be caused if have to develop SSRS report in a production environment ?
If so, how it can be prevented?
Thanks!Hi ,
As per my understanding, Normally our environment setup contains Development,testing,preproduction,production and its varies from company to company.
We develop SSRS report in development environment and after testing we deploy it to production report server.
Development environment use development database for creating report like your database IP and credential will use development environment
setup. and production environment use production database for creating report like your database IP and credential will use production environment setup.
Thanks
Neha Prajapati Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. -
How to develop a report based on multiple data bases in BIP
Hi,
I have to develop a report based on multiple database(Sources). My queries is having multiple data base tables. How to achieve this in BIP
Regards,
MalliHi ,
After creating the dataset under datamodel save your data sets.
Click on Datamodel , on the right side window you will have the Main data set option , click on the drop down option and select Concatenated sql option.
Check the below links you will get a good idea.
http://www.rittmanmead.com/2008/04/bi-publisher-reports-with-multiple-data-sources/
http://docs.oracle.com/cd/E12096_01/books/PubUser/T421739T423025.htm
If the Post is useful to you award the points :)
Thanks,
Ananth v -
How to develop a report in Crystal with flexible database name?
Hello
I am a Project Manager of a project of developing reports in Crystal 11.
The idea is to develop reports on top of the content in MS SQL tables.
The initial testing and demonstration to the customer is done within the Crystal development environment.
In a later stage, we need to integrate the reports with C# WPF application, using Crystal control.
We currently use ODBC connections.
We want the flexibility to set the actual database dynamically, by using the "default database" of the ODBC connection (or any other way). In other words, we want not just the flexibility to change the database server, but work with different database names, like "ProductDB_TEST", "ProductDB_PROD" etc. - without changing the report.
Unfortunately, we got the answer from the developer that the database name should be pre-defined for a given report. Although the connection can be set to another server, the DB name cannot be set dynamically.
Looking into the "Database" -> "Show SQL Query" menu, we see the following piece inside the query:
INNER JOIN "DATABASE_NAME"."dbo"."IncidentTypeSnapshotData"
So it looks like the query itself contains the DB name.
Is it really a limitation of Crystal, or rather the developer working on the project doesn't know the trick?
Thanks for any hint
MaxCR CR 2011 / "Crystal reports For Visual Studio 2010", you are correct.
Re. the database thinggy. You can connect to a database via ODBC, OLE DB or in some instances natively. Once a report is created you an change the datasource. A good sample app on how to do this is csharp_win_dbengine / vb_win_dbengine. A link to the samples is here:
Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
More info on connecting to dbs and changing them is in the developer help files:
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
More info on CR APIs for .NET (applies to all versions of CR and VS):
Crystal Reports for Visual Studio 2005 Walkthro... | SCN
You can also use ADO .NET Datasets and in this way you handle the database connections in your app. A good sample is csharp_win_adodotnet (also available in VB) - same link as above.
More info on datasets:
Crystal Reports Guide To ADO.NET
Crystal Reports for Visual Studio .NET - Walkthrough - Reporting Off ADO.NET Datasets
For more complicated operations (e.g.; changing a report from ODBC to OLE DB, changing one table, etc., you will want to use the InProc RAS SDK that is also available in CRVS. Developer help files are here:
Report Application Server .NET SDK Developer Guide
Report Application Server .NET API Guide
Sample apps are here:
NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
and here:
Crystal Reports .NET In Process RAS (Unmanaged) SDK Sample Applications
More info on RAS SDK:
How to Use The RAS SDK .NET With In-Process RAS Server
Lastly, do use the search box in the top right corner. I find simple search strings such as 'crystal net parameter' return best results (KBAs, Blogs, docs, wikis, discussions and more).
- Ludek -
How to develop a report with current price & the last price in the pre.yrs
hi ,
guys,
my client want a report to list of material with respective vendor and to make a price comparison betn the current price & the last price in the privious year.
can any one help how to develop the report, shall go for generic extrc.
thanks in advace.
ramnathCR CR 2011 / "Crystal reports For Visual Studio 2010", you are correct.
Re. the database thinggy. You can connect to a database via ODBC, OLE DB or in some instances natively. Once a report is created you an change the datasource. A good sample app on how to do this is csharp_win_dbengine / vb_win_dbengine. A link to the samples is here:
Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
More info on connecting to dbs and changing them is in the developer help files:
SAP Crystal Reports .NET SDK Developer Guide
SAP Crystal Reports .NET API Guide
More info on CR APIs for .NET (applies to all versions of CR and VS):
Crystal Reports for Visual Studio 2005 Walkthro... | SCN
You can also use ADO .NET Datasets and in this way you handle the database connections in your app. A good sample is csharp_win_adodotnet (also available in VB) - same link as above.
More info on datasets:
Crystal Reports Guide To ADO.NET
Crystal Reports for Visual Studio .NET - Walkthrough - Reporting Off ADO.NET Datasets
For more complicated operations (e.g.; changing a report from ODBC to OLE DB, changing one table, etc., you will want to use the InProc RAS SDK that is also available in CRVS. Developer help files are here:
Report Application Server .NET SDK Developer Guide
Report Application Server .NET API Guide
Sample apps are here:
NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
and here:
Crystal Reports .NET In Process RAS (Unmanaged) SDK Sample Applications
More info on RAS SDK:
How to Use The RAS SDK .NET With In-Process RAS Server
Lastly, do use the search box in the top right corner. I find simple search strings such as 'crystal net parameter' return best results (KBAs, Blogs, docs, wikis, discussions and more).
- Ludek -
Hi,
How to Develope a report that displays a purchase requisition with details like MRP controller, release date and unit of measure.HI,
Just create an internal table with fields PR number, MRP controller, Release date and UNit of measure.
Now write a select statement as below.
Select BANFN DISPO FRGDT MEINS from EBAN into table ITAB
where.......
Regards,
Ram -
How to Develope a report.
Hi,
How to develop a report on inventory and goods movements.HI,
Use the table
1. MA07 for inventory details ; and
2. MAM_25_GOODSMOVEMENT_LIST for goods movement list
select the data as per your functional specs put into an internal table and display it in the output list.
How you display it and the selections you make in selection-screen is designed as per the tech specs.
please provide the tech specs,i will design the program for you.
regards,
pankaj -
Development of report based on AR and AP cubes
Hi All,
I have 2 cubes i.e., 0FIAR_C03 and 0FI_APC03. AR cubes has got 0Debitor and 0Creditor, where 0Debitor is referencing 0Customer in AR cube and 0Creditor is referencing 0Vendor for AP cubes. Business has asked to develop a report so that it should show with Customer the balance of Customer and also for same customer it should show balance of Vendor. I have created a multiprovider and tried to develop a report on it but its not showing according to my requirement. Could any one please tell me how develop a report for this?
ThanksHi,
Does the AR cube contain customer also or it is not present in the cube at all. You can have relation like this....
AR cube
Customer amount
AP
Customer vendor amount.
Then you can define relation in the report via multiprovider. I hope you got my point.... -
How can we develop a report like Attendance Register?
Hi All,
I have to develop a report like Attendance register..i.e the first column of the table consisting of standard headings and has to display while intializing it self......and respective columns are dates for a month....once i gave any search criteria the data has fetch from backend and it will give the values with respective each heading in the first column via date wise.
Please help to resolve this....
Regards,
RaviHi Lekha,
Thanks for ur reply....My requirement is not like a general report. It was like a attendance report..
Names DAY1 DAY2 DAY3
Thomus
Robert
Martin
John
Steeve
u2026u2026..
u2026u2026..
My Table/ALV default display is like above....After any inputs and search ....it has to display correponding values of each day w.r.t each person....
Plz let me know if u any queries regarding my requirment....
Regards,
Ravi -
What table and fileds we have to use to develop a report for blocked
what table and fileds we have to use to develop a report for blocked invoices?
VBRK-RFBSK
<b> Error in Accounting Interface
A Billing document blocked for forwarding to FI
B Posting document not created (account determ.error)
C Posting document has been created
D Billing document is not relevant for accounting
E Billing Document Canceled
F Posting document not created (pricing error)
G Posting document not created (export data missing)
H Posted via invoice list
I Posted via invoice list (account determination error)
K Accounting document not created (no authorization)
L Billing doc. blocked for transfer to manager (only IS-OIL)
M Analyst Approval refused (only IS-OIL)
N No posting document due to fund management (only IS-PS)</b>
Regards
prabhu -
How to develop a report for display unused materials
how to develop a report for display unused materials? where can i find them?
Hi Phani,
I didnt get what u acually mean by unsued material. These are some sample materail types which u can find in table 'Mara' field 'Mtart'.
ABF Waste
AEM Samples
BLG BLG Empties External
BLGA BLGAEmpties Fixed assets
CH00 CH Contract Handling
COMP Prod. alloc., purchased
CONT KANBAN Container
COUP Coupons
DIEN Service
DOCU documentary batch
ERSA Spare parts
FERT Finished product(fert)
FGTR Drinks
FHMI Prod. resources/tools
FOOD Foods (excl. perishables)
FRIP Perishables
GR01 material type 01
GR02 material type 02
HALB Semi-finished product
HAWA Trading goods
HERS Manufacturer parts
HIBE Operating supplies
IBAU Maintenance assembly
INTR Intra material
KMAT Configurable material
LEER Empties
LEIH Returnable packaging
LGUT Empties (retail)
MODE Apparel (seasonal)
NLAG Non-stock material
NOF1 Nonfoods
PIPE Pipeline material
PLAN Trading goods (planned)
etc.
ex:
select * from mara where mtart = 'ABF'.
Regards,
Kiran B
Maybe you are looking for
-
How do I turn an image into a transparency?
Hi, There's a question I've seen asked dozens or hundreds of times, and I thought I found an answer a few years ago. I've since forgotten how to do it: Turn an image into a transparency. Now, the obvious solution is to set the layer to "multiply." Ye
-
ITunes Reorganized My Music to Unknown Artist / Album
Due to computer problem, had to reload Windows and iTunes, etc. I backed up my music files first onto an external hard drive. Problem: when iTunes was re-setup, it reorganized my music on the backup file and moved about 80% of my music in the unknown
-
Can you add a diagram - such as a radial or circle diagram?
Hi, I was wondering if you can add a radial or circle diagram in Keynote, like you can in Powerpoint? If it's not natively built-in is there a plug-in that supports a feature like this? Thanks, Brandon
-
Tool popups no longer display properly
My DW CS5.5 is not diplaying popup boxes correctly when selected. For instance when I want to insert a Spry data set, the popup is very small and I can't enlarge it. It does not allow me to go through the steps required to perform the function. Here
-
Hi, can you please tell me What are the default Logon groups ? Thanks, Namrata.