Need a help in Reporting
Employee Action Type Discrption
123 1 Hiring
124 1 Hiring
17 Resignation
14 seperation
If I select Action Type 1, it should show only Employee 123 even 1 action type run for 124 also, but this employee is separated so it should show only 123.
If I select Action Type 17, it should show only Employee 124
Regards
Shashi
its like this
Eg we have 2 employee emp1 and emp2
for both of them there will be action type 01(Hiring). but for emp2 ther is action type run of 14 which is seperaation.
when user want to know how many employees or are working . then he select action type 01. in this case it will show emp1 and 2 , actually this is correct . but what user want is it should show only emp1 bcaus he is working still but not emp2.
plz suggest me wher i can manuplate the data
so i can achive this
Regards
Shashi
Similar Messages
-
Dear All,
I am writing a query where I have a KF history and total history.
The chars in rows are Product line and material.
I have created a KF strut and put Cal yr/quat and fiscal yr in cols and in the KF strut I have History and Total history.
I need to display History at Fiscal period/yr level and Total history at Cal yr/quarter level.
I have a hint that may be we can do this by cell referencing, but I have no clue how to do it.
Please help me urgently.
Thanks much!
SbThanks.
Actually to be specific, i want to display history KF for every fiscal yr/period that is displayed under a particular Cal yr/quart.
E.g -
if for cal yr/quart 1.2004, there is history data only for jan and feb.
So, in the columns I should see history jan and History feb data at fiscal yr/period level and after these two columns, at Cal ye/quart level I should get a column for Total history i.e total of Jan and feb history.
Like wise I have to calculate Average history too at cal yr/quart level.
I have started doing the cell reference but I am not able to get the desired o/p
pl help -
Need your help: generate report
I have following 3 SQL scripts, they run separately as below:
SQL 1:
SELECT AREA_CODE,MAX(MODIFICATION_DTM) AS LATEST_DTM FROM RTP GROUP BY AREA_CODE;
DESC RTP;
Name Null Type
ID NOT NULL NUMBER(10)
AREA_CODE VARCHAR2(8)
MODIFICATION_DTM DATE
CUSTOM_1 VARCHAR2(300)
CUSTOM_2 VARCHAR2(300)
CUSTOM_3 VARCHAR2(300)
output:
AREA_CODE LATEST_DTM
ERLI 16-SEP-11
TORCE 20-OCT-11
RESIN 16-SEP-11
RES5 10-SEP-10
DYN 11-SEP-11
LOS 16-OCT-11
SQL 2:
SELECT AREA_CODE,MAX(MODIFICATION_DTM) as LATEST_DTM FROM LOG WHERE LOG_DESC = 'RUN' GROUP BY AREA_CODE ;
DESC LOG;
Name Null Type
LOG_ID NOT NULL NUMBER(10)
AREA_CODE VARCHAR2(8)
LOG_DESC VARCHAR2(256)
CREATION_DTM DATE
MODIFICATION_DTM DATE
USER_ID VARCHAR2(20)
output:
AREA_CODE LATEST_DTM
ERLI 13-JUN-11
TORCE 10-MAY-11
RESIN 10-DEC-11
RES5 10-FEB-11
SFO 11-SEP-11
DAS 06-AUG-11
SQL 3:
SELECT AREA_CODE,MAX(MODIFICATION_DTM) as LATEST_DTM FROM LOG WHERE LOG_DESC = 'OPERATION' GROUP BY AREA_CODE ;
DESC LOG;
Name Null Type
LOG_ID NOT NULL NUMBER(10)
AREA_CODE VARCHAR2(8)
LOG_DESC VARCHAR2(256)
CREATION_DTM DATE
MODIFICATION_DTM DATE
USER_ID VARCHAR2(20)
output:
AREA_CODE LATEST_DTM
ERLI 13-JUN-11
MDSP 10-NOV-11
STP2 18-OCT-11
YOSH 06-OCT-10
ANKUR 17-OCT-11
5025W 31-AUG-11
DAS 06-AUG-11
...I want to generate an output as below:
AREA_CODE LATEST_DTM LAST_RUN LAST_OPERATION
ERLI 16-SEP-11 13-JUN-11 13-JUN-11
YOSH 06-OCT-10 07-AUG-11 14-NOV-09
...I have never generated this kind of report before, can anyone please help me on this one?
Thanks....
Edited by: user644467 on Aug 17, 2012 9:31 AMAlthough it could be done as a join of two subqueries, I would probably do it as union query to avoid the complications if not all area_code values are in both tables. Something like:
select area_code, max(latest_dtm) latest_dtm, max(last_run) last_run,
max(last_operation) last_operation
from (select area_code, modification_dtm latest_dtm,
to_date(null) last_run, to_date(null) last_operation
from rtp
union all
select area_code,
case when log_desc = 'RUN' then modification_dtm end last_run,
case when log_desc = 'OPERATION' then modification_dtm end last_operation
from log
where log_desc in ('RUN', 'OPERATION'))
group by area_codeIf you know that no area_code value can appear in log without also appearing in rtp, then a join version would be something like:
select area_code, latest_dtm, last_run, last_operation
from (select area_code, max(modification_dtm) latest_dtm,
from rtp
group by area_code) rtp
left join (select area_code,
max(case when log_desc = 'RUN'
then modification_dtm end) last_run,
max(case when log_desc = 'OPERATION'
then modification_dtm end) last_operation
from log
where log_desc in ('RUN', 'OPERATION')
group by area_code) log
on rtp.area_code = log.area_codeIf you also know that all area_code values in rtp also appear at least once in log for one of run or ooperation, then you can lose the left join and just do an equi-join. However, I'm not sure that there would be much difference in perfromance between the two versions.
John -
Need a help in Report for Fomula key figure
Hi
I am doing Trial Balance report, in my report there are two Formula fields
Net Dr Net Cr
100 -100
- 200 200
The values are like this, Know what the user want is where the negative sign come that should display 0 in reports. I tried condition by takinf Net dr greater them 0 , and Net Cr greater than 0 , but its not working.
Regards
ShashiHi,
If you want to create a formula for displaying 0 when the value is negetive, then do the following in formula:
<b>(Net Dr <= 0) * Net Dr</b> and similarly another formula for <b>(Net Cr <= 0) * Net Cr</b>.
Hope this helps.
regards,
Pruthvi R -
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 -
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. -
Need help in Report From SQL Query
Hi All,
I am facing a problem with a report. I need your help.
I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
I tried also increase the page time out in httpd.conf, but no use.
The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
Please help me to find appropriate reasone for the failure?user602513 wrote:
Hi All,
I am facing a problem with a report. I need your help.
I am creating a Report From SQL Query (Portal) with some arguments passed at runtime. I am able to view the output, if the query returns few rows ( arount 1000 rows). But for some inputs it needs to generate >15000 records, at this point the page is getting time out (i think!) and showing error page. I am able to execute query from the SQL Plus console ot using TOAD editor. Here the query is not taking more that 2 mins time to show the result.
If i am executing from Portal i observed that, once i give the appropriate input and hit submit button a new oracle process is getting created for the query on UNIX (I am usign "TOP" command to check processes). The browser page will be shown error page after 5 minutes (i am assuming session time out!) , but on the backend the process will be executed for more than 30 mins.
I tried also increase the page time out in httpd.conf, but no use.
The data returned as a result of the query is sized more than 10 MB. Is caching this much data is possible by the browser page? is the returned data is creating any problem here.
Please help me to find appropriate reasone for the failure?Do you get any errors or warnings or it is just the slow speed which is the issue?
There could be a variety of reasons for the delayed processing of this report. That includes parameter settings for that page, cache settings, network configurations, etc.
- explore best optimization for your query;
- evaluate portal for best performance configuration; you may follow this note (Doc ID: *438794.1* ) for ideas;
- third: for that particular page carrying that report, you can use caching wisely. browser cache is neither decent for large files, nor practical. instead, explore the page cache settings that portal provides.
- also look for various log files (application.log and apache logs) if you are getting any warnings reflecting on some kind of processing halt.
- and last but not the least: if you happen to bring up a portal report with more than 10000 rows for display then think about the usage of the report. Evaluate whether that report is good/useful for anything?
HTH
AMN -
Showing prompt value in report - Need Urgent help
Hi All,
I have created a query that has a prompt (it is not the dashboard prompt) that has " in Between" operator. It is on date column. When i am generating report by passing the prompt value the data is coming properly.
I have downloaded the report in excel format and it is coming perfect. But i am not able to provide the data that he has selected in the prompt.
Like on top of page i need to show - The report is genrated for Date1 to Date2.
And then the data.
Thanks in advance for any clue. I am not able to figure out how to do this.
Thanks
AshokHi Ashok,
It seems it's possible, but not with the Filters view... but with Narrative View....
If you have Calendar Date (which contains all dates till today) column in your model, then... if you want to show only the date prompt values on top even though you have all other prompts...
For above mentioned criteria... you can't show only one date using filters view...
Now... go with Narrative View,
In that particular report add Calendar Date column 2 times...
On one column apply Max(date) and on another column apply Min(Date)....
Hide those...
Now note down the positions of these above 2 columns in criteria... say 6 & 7... respectively...
Now you write in narrative view...
Selected Date between @ and @6
So... based on the dates you selected.. the calendar date populate with the values and would hold the max and min i.e. what... selected values of your prompts...
So by using this.. you can only show.. one prompt.... not all the prompts which you have...
May helpful to you when you have .. Calendar Date only... remember ;)
Thanks & Regards
Kishore Guggilla
Edited by: Kishore Guggilla on Nov 20, 2008 7:52 PM -
Urgent........need help in report
hi all,
i need help in a report.
the requirement is ,
i need to create a report that will display the SO number in alv grid with check box.
from the list, if i select the check box, it should
Perform VA02, go to the item detail (Sales) (RECORDING)
Update the SO line items Pricing Date to PGI Date
HOW TO DO THIS.
PLEASE HELP ME
Interactive Report
o Report will generate a list of SO based on selection parameters
o User is able to choose all or partial records from the list of SO
o For the selected SO, user is able to perform one of the two functions:
 New Pricing based on Batch ID from Production Order
 New Pricing based on PGI Date
o The result of the updating is displayed on the screen
 SO updated with success
 SO not updated due to errorHi,
Check this SD MODULE alv intereactive report.
Hope it may helps u.
REPORT YMS_ALVINTER.
*& tables declaration
TABLES: VBRK,VBRP.
*& type-pools declaration
TYPE-POOLS: SLIS.
*& data declaration
DATA: G_REPID TYPE SY-REPID.
DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV, "mara
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
WA_LAYOUT TYPE SLIS_LAYOUT_ALV,
WA_EVENT TYPE SLIS_ALV_EVENT,
T_EVENT TYPE SLIS_T_EVENT.
DATA: V_VBELN LIKE VBRK-VBELN,
V_MATNR LIKE VBRP-MATNR.
DATA: BEGIN OF IT_VBRK OCCURS 0,
VBELN LIKE VBRK-VBELN,
WAERK LIKE VBRK-WAERK,
VKORG LIKE VBRK-VKORG,
FKDAT LIKE VBRK-FKDAT,
BUKRS LIKE VBRK-BUKRS,
NETWR LIKE VBRK-NETWR,
END OF IT_VBRK.
DATA: BEGIN OF IT_VBRP OCCURS 0,
VBELN LIKE VBRP-VBELN,
POSNR LIKE VBRP-POSNR,
FKIMG LIKE VBRP-FKIMG,
VRKME LIKE VBRP-VRKME,
NETWR LIKE VBRP-NETWR,
MATNR LIKE VBRP-MATNR,
ARKTX LIKE VBRP-ARKTX,
END OF IT_VBRP.
*& selection screen
SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS: S_VBELN FOR VBRK-VBELN,
S_FKDAT FOR VBRK-FKDAT,
S_MATNR FOR VBRP-MATNR.
SELECTION-SCREEN END OF BLOCK B.
**INITIALIZATION.
INITIALIZATION.
G_REPID = SY-REPID.
S_FKDAT-LOW = SY-DATUM - 200.
S_FKDAT-HIGH = SY-DATUM.
APPEND S_FKDAT.
***AT SELECTION-SCREEN.
AT SELECTION-SCREEN.
IF NOT S_VBELN IS INITIAL.
SELECT SINGLE VBELN FROM VBRK
INTO V_VBELN
WHERE VBELN IN S_VBELN.
IF SY-SUBRC <> 0.
MESSAGE E001(ZZ2).
ENDIF.
ENDIF.
IF NOT S_MATNR IS INITIAL.
SELECT SINGLE MATNR FROM MARA
INTO V_MATNR
WHERE MATNR IN S_MATNR.
IF SY-SUBRC <> 0.
MESSAGE E001(ZZ2).
ENDIF.
ENDIF.
***START-OF-SELECTION.
START-OF-SELECTION.
PERFORM GET_DATA_VBRK.
*& Form GET_DATA_VBRK
text
--> p1 text
<-- p2 text
FORM GET_DATA_VBRK .
SELECT VBELN
WAERK
VKORG
FKDAT
BUKRS
NETWR
INTO TABLE IT_VBRK
FROM VBRK
WHERE VBELN IN S_VBELN
AND FKDAT IN S_FKDAT.
ENDFORM. " GET_DATA_VBRK
*& Form GET_DATA_VBRP
text
--> p1 text
<-- p2 text
FORM GET_DATA_VBRP .
SELECT VBELN
POSNR
FKIMG
VRKME
NETWR
MATNR
ARKTX
FROM VBRP
INTO TABLE IT_VBRP
WHERE VBELN = IT_VBRK-VBELN.
ENDFORM. " GET_DATA_VBRP
***END-OF-SELECTION.
END-OF-SELECTION.
PERFORM EVENT_LIST.
PERFORM GET_FIELD_CATALOG.
PERFORM LIST_DISP .
*& Form list_disp
text
FORM LIST_DISP .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = G_REPID
I_CALLBACK_PF_STATUS_SET = 'POPUP'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = WA_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_VBRK
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. " LIST_DISP
*& Form GET_FIELD_CATALOG
text
--> p1 text
<-- p2 text
FORM GET_FIELD_CATALOG .
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = G_REPID
I_INTERNAL_TABNAME = 'IT_VBRK'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME = G_REPID
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
CT_FIELDCAT = IT_FIELDCAT
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " GET_FIELD_CATALOG
*& Form event_list
text
--> p1 text
<-- p2 text
FORM EVENT_LIST .
CLEAR WA_EVENT.
WA_EVENT-NAME = 'USER_COMMAND'.
WA_EVENT-FORM = 'USER_COMMAND'.
APPEND WA_EVENT TO T_EVENT.
CLEAR WA_EVENT.
ENDFORM. " event_list
*& Form user_command
text
-->R_UCOMM text
-->RS_SELFIELDtext
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN '&IC1'.
READ TABLE IT_VBRK INDEX RS_SELFIELD-TABINDEX.
PERFORM GET_DATA_VBRP.
PERFORM BUILD_FIELDCATALOG_VBRP .
PERFORM DISPLAY_ALV_VBRP.
ENDCASE.
ENDFORM. "user_command
*& Form BUILD_FIELDCATALOG_VBRP
text
--> p1 text
<-- p2 text
FORM BUILD_FIELDCATALOG_VBRP .
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = G_REPID
I_INTERNAL_TABNAME = 'IT_VBRP'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
I_INCLNAME = G_REPID
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
CHANGING
CT_FIELDCAT = IT_FIELDCAT
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " BUILD_FIELDCATALOG_VBRP
*& Form DISPLAY_ALV_VBRP
text
--> p1 text
<-- p2 text
FORM DISPLAY_ALV_VBRP .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = G_REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_VBRP
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. " DISPLAY_ALV_VBRP
Thanks,
Shankar -
Need Some help in Developing an ALV report ..Plz help me
Hi Experts I am basic learner to ABAP Here I need some help in developing a Delivery *** Invoice Report....Please help me by spending a little time..
Tables are VBAK VBAP LIPS LIKP and Document floe table is VBFA
SELECT VBELN VKORG VTWEG SPART
FROM VBAK
INTO TABLE I_VBAK
WHERE VBELN IN S_VBELN.
IF I_VBAK IS NOT INITIAL .
SELECT VBELN POSNR MATKL POSAR WERKS
FROM VBAP
INTO TABLE I_VBAP
FOR ALL ENTRIES IN I_VBAK
WHERE VBELN = I_VBAK-VBELN.
ENDIF.
IF I_VBAP IS NOT INITIAL.
SELECT * FROM LIPS
INTO CORRESPONDING FIELDS OF TABLE I_LIPS
WHERE VGBEL = VBAP-VBELN
AND VGPOS = VBAP-POSNR.
ENDIF.
IF I_LIPS IS NOT INITIAL.
SELECT VBELN VSTEL VKORG KUNNR
FROM LIKP
INTO TABLE I_LIKP.
ENDIF.
Moderator message : Outsourcing is not allowed, don't expect others to correct your source code. Thread locked.
Edited by: Vinod Kumar on Aug 1, 2011 5:43 PMhi ,
Look in this link
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/b3/0ef3e8396111d5b2e80050da4c74dc/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/b3/0ef3e8396111d5b2e80050da4c74dc/frameset.htm</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/21/894eeee0b911d4b2d90050da4c74dc/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/21/894eeee0b911d4b2d90050da4c74dc/content.htm</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62bfe07211d2acb80000e829fbfe/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/80/1a62bfe07211d2acb80000e829fbfe/content.htm</a>
Regards
Renjith Kumar -
Need Help in Report Strategic Source Palnning
Hello Everyone ,
i m a Student of SAP. i need some help to write a report on Company A ( u can say any manufacturing company ) Stragic source planning Report for selecting mobile phones for company employees and i need to select one company according to
Quality
*Cost
*Delivery
*Management
*Envirnment
i can chat on yahoo for that. if needed.
plz if anyone help me out in it i ll be realy thankful.
FMQ
ukHello Everyone ,
i m a Student of SAP. i need some help to write a report on Company A ( u can say any manufacturing company ) Stragic source planning Report for selecting mobile phones for company employees and i need to select one company according to
Quality
*Cost
*Delivery
*Management
*Envirnment
i can chat on yahoo for that. if needed.
plz if anyone help me out in it i ll be realy thankful.
FMQ
uk -
Need urgent help on mailing lable report in group above style
Hi
I need to prepare a report on reports 6i in mailing lable style based on group above style (multiple levels) e.g. yellow page directory. can anybody help me.
rgdsHi,
That's something I also had to do.
Ad here's how this works.
Suppose you have:
Select ...
from ...
where ...
order by name;
Yet in your data model, in your group the fields appear, let's say, in the following order:
date
name
So, Reports will sort within the group first by date.
The answer is that your fields should appear in the data model in the order you wish to have them sorted. Thus, in the example, you should have:
name
date
Frankly, I don't really like the way it works. Yet, it's just that simple.
Hope this will help,
BD. -
Need help troubleshooting Report Query/BI Publisher
Hi All --
I need some help with an odd issue I'm having with a report query and BI Publisher. The users run this report by inputting a date range, usually by week. Oddly enough, if we input a date range of 06/01/2008 through 06/07/2008, the report runs and BI Publisher renders the document correctly, but if we input a date range of 06/08/2008 through 06/14/2008, the report shows correctly on the screen, but BI Publisher returns an empty document. I thought perhaps it was an issue with the data, but inputting the date range of 06/01/2008 through 06/14/2008 works correctly and the document is rendered with all the data as shown in the report.
I'm really at a loss and don't know how to proceed in troubleshooting the issue. Does anyone know of any log files or anything else to look at to try and figure out why the report isn't being rendered correctly for that one week?
Thanks!
Leigh JohnsonThanks Marc --
The OC4J logs don't show any errors at the time I tried running the report. I did change the output format to XML and saved it for the date range that doesn't work as well as a date range that does work. As foar as I can tell, the only differences is the data within the tags, but I'm no XML expert so I may have missed something. I opened my report template and loaded the xml data first from the date range that produces a rendered report properly and used preview...as expected it worked. When I did the same thing for the "bad" date range, I get the following set of errors, should I move my issue to the BI Publisher forum do you think?
ConfFile: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config\xdoconfig.xml
Font Dir: C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
Template: D:\BiPublisher\on_time_delivery.rtf
RTFProcessor setLocale: en-us
FOProcessor setData: D:\BiPublisher\ontimedelivery.xml
FOProcessor setLocale: en-us
Output type: MHTML
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeProcessXSL(XSLT10gR1.java:721)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:504)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:253)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:181)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1151)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:275)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1809)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1027)
at RTF2PDF.runRTFto(RTF2PDF.java:708)
at RTF2PDF.runXDO(RTF2PDF.java:548)
at RTF2PDF.main(RTF2PDF.java:305)
Caused by: oracle.xdo.parser.v2.XPathException: An internal error condition occurred.
at oracle.xdo.parser.v2.XSLStylesheet.flushErrors(XSLStylesheet.java:1534)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:521)
at oracle.xdo.parser.v2.XSLStylesheet.execute(XSLStylesheet.java:489)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:271)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:155)
at oracle.xdo.parser.v2.XSLProcessor.processXSL(XSLProcessor.java:192)
... 15 more -
Help needed with discoverer PO report
Hi Guys,
Need some help with discoverer 4i report.
There is a workbook in discoverer which runs and displays output depending on the parameters.
The report is related to PO Requisitions (displays all the details related to the requisition). For ex:- like req creation_date, req_num, requestor(to_person_id),preparer, approver, appr_dept, req_status, po_number, po_name, po_status etc.
All these requestors, preparers, approvers are employees. When a user logs in to discoverer and runs this report, he should only his requisitions created. For example, the user who is logged in is connected hr_employees with employee_id. So when the user runs the report, the report should display only the requisitions with his employee name either in preparer or as requestor. But my report is able to all the requisitions of other employees too.
How can I solve this problem in discover 4i.
Help Appreciated.Hi Gareth,
How can we do that. Can you explain in brief how a function is created and how it can be used in the workbook conditions.
Help Appreciated
Thanks -
"Hi,I need a help something wrong happen with my ITunes ,during to the download progress,after few seconds is report ; U can not download,err"
in Using iPad •It's better to post the URL of the feed (as you have subsequently done) than the contents of the feed .
From the FeedValidator report the feed is basically OK for iTunes. There are several occasions where 'content:encoded' sections (following immediately on 'guid' tags) should be enclosed in
<description>...</description>
tags: however all this will be ignored by iTunes anyway and only applies to other readers. The 'potentially dangerous content' referred to by FeedValidator is within the 'content:encoded' tags and so isn't relevant to iTunes. They are referring to an inline css style, and I don't know whether this might cause a problem elsewhere.
You should really have a language tag, e.g.
<language>en-us</language>
(you have a dc:language tag but that's for a different system). This should be placed in the top section, before the first 'item' tag.
It's advisable to have an 'itunes:explicit' tag for each 'item' -
<itunes:explicit>yes IF CONTAINS ADULT MATERIAL, OTHERWISE no</itunes:explicit>
it's not compulsory if you have no adult material, but you must have a 'yes' if you do.
You can check your feed by subscribing in iTunes from the 'Advanced' menu - this has the same result as clicking the 'Subscribe' button on the Store page. If it works OK there you are ready to submit it.
Maybe you are looking for
-
I just finished designing my website and it runs fine in every browser but safari. it previews fine from dreamweaver in safari but when i open it up on the server in safari it jsut doesn't load everything or has problems with css. i'm not sure what e
-
After 8.3 update, 5c no longer connects to wireless carrier!
After completing the 8.3 update, my iPhone 5c will no longer connect to my wireless carrier. I cannot receive or send calls. The only way I can text is if I'm connected to my WiFi. I took my phone to the store and they replaced the SIM card, which
-
This is a "working on Windows 8.0 but broken on 8.1" problem. My application is a full screen magnifier. When magnification is turned on, there is no longer a 1:1 relationship between touch screen coordinates and desktop coordinates. So I need a way
-
Hi Friends 1.We have a requirement where buyer sends PO to the supplier. Supplier should acknowledge immediately that he has received the PO i.e can a supplier acknowledge the receipt in downloading the PO? Without accepting or rejecting could we ad
-
Hi Let say I have a rman backup on Monday,Tuesday,Wednesday,Thursday. Would it be possible to delete only monday`s backup from rman? Note that it is not obsolete.