How to make report for last 24 hours?
Hello,
I have a little problem, I can't make report for last 24 hours.
Example:
If I am running report on 2.1.06 at 14:00, I want to get results from 1.1.06 14:00 to 2.1.06 14:00.
How do i make a report with this selection?
Because,if I choose date from 1.1.06 to 2.1.06 and
hour 14:00 to 14:00, I will only get results on 1st and 2nd on 14:00.
If I choose 1.1.06 and 2.1.06, 14:00 to 24:00, I won't get results for 2.1.06 from 0:00 to 14:00.
Because all selections use AND to get results.
How can I choose that system compare selections with OR?
How can I get results for last 24 hours?
Best regards,
Uros
Hi,
define a structure in your query with two entries. First one with 1.1. and > 14:00 and second one with 2.2. and < 14:00. Perhaps you need to fill the structure by user exits.
Hope it helps,
Leo
Similar Messages
-
How to make Report for Data Forms ?
Dears
I need to make a report for specifice Data Form to show me who have access on this data form and the kind of security which took on dimensions members on the same data form. Just be note that the Security is assign on the Folders of data forms and is assgin by groups not users.There is no pre-built report that will do what you're describing. Last year at KScope, Brian Marshall gave a presentation on pre-built queries to run against the Planning repository. I don't see it on the ODTUG site, but here's some SQL that might get you started. It's not exactly what you're looking for, but it's a start:
SELECT
o.[OBJECT_NAME] AS [Secured_Object]
,uo.[OBJECT_NAME] AS [User_Name]
,CASE a.ACCESS_MODE
WHEN 3 THEN 'Read'
WHEN 1 THEN 'Write'
WHEN -1 THEN 'Deny'
END AS Access_Level
,CASE o.OBJECT_TYPE
WHEN 24 THEN 'Task List'
ELSE ot.[TYPE_NAME]
END AS Object_Type
,CASE a.FLAGS
WHEN 0 THEN 'Member'
WHEN 5 THEN 'Children'
WHEN 6 THEN 'Children (Inclusive)'
WHEN 8 THEN 'Descendants'
WHEN 9 THEN 'Descendants (Inclusive)'
END AS Access_Level
FROM
HSP_ACCESS_CONTROL a
INNER JOIN
HSP_OBJECT uo ON a.[USER_ID] = uo.[OBJECT_ID]
INNER JOIN
HSP_OBJECT o ON a.[OBJECT_ID] = o.[OBJECT_ID]
LEFT JOIN
HSP_OBJECT_TYPE ot ON o.OBJECT_TYPE = ot.OBJECT_TYPE
ORDER BY
o.OBJECT_TYPE
,o.[OBJECT_NAME] -
I used to be able to go all day without charging my phone but now I have to charge it like every two hours and as a college student who also works. I go most of my day with a dead phone. Does anyone know how to make your battery last longer?
Eight Battery Saving settings for your iPhone and iPad | MacIssues
The Ultimate Guide to Solving iOS Battery Drain — Scotty Loveless -
Hi,
Iam getting stad report for last one week,iam not getting the stad report for last month.i want to get stad report for particular day in last month.how to rectify the same.
ThankuHi,
rsau/local/file /usr/sap/LID/DVEBMGS00/log/
you will have to set DIR_AUDIT parameter instead of it.
Set the following parameter with reference value:
Parameter Description Reference Value
DIR_AUDIT Directory for security audit files S:\ECP-AUDIT\ECP\DVEBMGS00\ECP_security_audit_log
FN_AUDIT Name of security audit file ECP_AUDIT_++++++++.AUD
rsau/enable Enable the Security Audit Log 1
rsau/max_diskspace/local Maximum space for security audit file 2147483647
rsau/max_diskspace/per_day Maximum size of all security audit files per day (If you wish, otherwise let it be default '0')
rsau/max_diskspace/per_file Maximum size of one single security audit file (If you wish, otherwise let it be default '0')
rsau/selection_slots Number of filters to allow for the Security Audit Log (If you wish, otherwise let it be default '2')
rsau/user_selection Defines the user selection method used inside kernel functions (If you wish, otherwise let it be default '0')
activated profile in sm19,still iam not getting audit log for last week in sm20.
After Proper setting of Security Audit log parameters, the Application Server needs to be restarted to make the changes effective. You will only get the Audit Data since the activation of valid Security Audit parameter.
Regards,
Bhavik G. Shroff -
I wanted to take out a report for every one hour, the count, i used trunc(x_date,'hh24') to take the report, but the problem is, for few hours there wont be any count, so i have to substitute with zero there, any ideas ?,
Hi,
If you want to make sure all hours appear in the result set, even if they don't appear in the table, then outer-join to a table (or, in the example below, a sub-query) where you know they do exist.
For example, if your table_x has columns entry_dt and amt, and you want results for every hour of the day, you can do somehting like this:
WITH all_hours AS
SELECT TO_CHAR ( SYSDATE + (LEVEL / 24)
, 'HH24'
) AS hr
FROM dual
CONNECT BY LEVEL <= 24
SELECT a.hr
, COUNT (entry_dt) AS cnt
, NVL ( AVG (amt)
, 0
) AS avg_amt
FROM all_hours a
LEFT OUTER JOIN table_x x ON a.hr = TO_CHAR (entry_dt, 'HH24')
GROUP BY a.hr
ORDER BY a.hr
;COUNT never returns NULL, so you don't have to use NVL with COUNT.
For other aggregate functions (such as AVG) you do need to use NVL to get 0 instead of NULL.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using. -
How to make reports on FI Line items
Hi all,
Let me know how to make reports on FI Line items especially drill down reports. suggest me steps for developing reports through Bex query designer. Am new in reporting on FI. How to make the drilldown reports. Plz let me know step by step.
Thanks,
JackHi
Follw the steps
Step1
Lets take an example of ODS Accounts Payable: Line Items Technical Name: 0FIAP_O03
install all this 0FIAP_O03 ODS from the Business content.
For more details on FI Line item ODS
http://help.sap.com/saphelp_nw04/helpdata/EN/af/16533bbb15b762e10000000a114084/frameset.htm
Step2
After installing make sure that all the infoobjects and transfer rules and update rules are in active state
Step3
Now type the transaction code RRMX , you will get into the query designer
Step4
Select the Infoprovider from the above example 0FIAP_O03 . now you will arrive to the screen where you can see Rows and colums
Step5
Drag and drop the characteristic infoobject in to the row which is necesseayfor the report output
Step6
Drag and drop the Keyfigure infoobject into the column which is necesseayfor the report output
Step7
Now under Free characteristics draga and drop the charactor infoobject which you need to navigate in the reporting.
Note: Before dragging the objects in the freecharacteristic make sure that you need to check the navigation in the ODS level
Step8
Now save the report , when you save give the technical name of the report and save
now execute the report
Santosh
Edited by: Santhosh Nagaraj on Nov 15, 2009 1:35 AM -
How to Make BDC for transcation KKS1
Hi dear,
can any one tell me that how to make BDC for KKS1.
because i have recorded the BDC and converted into the program logic than it is showing the first window but not showing the window with ALV and futher more. So what coding i have to apply.
Please help.
Siddarth JainHi,
U can record the flow in using SHDB transaction recorder.
U can record and it will generate the program, u can copy and paste the part of the code that is generated, in ur ALV report. this will call the transaction.
Do as follows:
<b>SHDB > New Recording > Specify Recording Name YTEST > Transaction code KKS1 > STRAT RECORDING BUTTON></b>
then speciy the vales u want to give to run the transaction. U can save and come back as soon as u reach the screen when u want to stop it.
EG:
Declare a messtab
DATA: i_bdcdata TYPE STANDARD TABLE OF bdcdata,
* Internal table to hold BDC messages
i_messtab TYPE STANDARD TABLE OF bdcmsgcoll
* Work area to hold bdcdata value
DATA: w_bdcdata TYPE bdcdata,
* Work area to hold BDC messages
w_messtab TYPE bdcmsgcoll.
CONSTANTS : c_e type bdcmsgcoll-msgtyp value 'E', "E
c_a type bdcmsgcoll-msgtyp value 'A', "A
nodata type c value '/'. "/
perform f1000_bdc_mm03 using lv_matnr lv_werks.
FORM f1000_bdc_mm03 USING P_LV_MATNR
P_LV_WERKS.
perform bdc_dynpro using 'SAPLMGMM' '0060'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RMMG1-MATNR'
p_lv_matnr.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(15)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'MSICHTAUSW-KZSEL(15)'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '0080'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-WERKS'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'RMMG1-WERKS'
p_lv_werks.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'=ZU01'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_dynpro using 'SAPLMGMM' '4300'.
perform bdc_field using 'BDC_OKCODE'
'=ZU08'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_dynpro using 'SAPLMGMM' '4110'.
perform bdc_field using 'BDC_OKCODE'
'=GESV'.
*perform bdc_field using 'BDC_CURSOR'
* 'RMMG1-MATNR'.
call transaction c_transaction_call_MM03 using i_bdcdata MODE 'N'MESSAGES INTO i_messtab.
<b>Kindly close the previous threads opened by u.</b>
Message was edited by: Judith Jessie Selvi -
How 2 creat report for displaying the details of a Delivery Document using
how to create report for displaying the details of a Delivery Document using the tables LIKP, LIPS
thank you
regards,
jagrut bharatkumar shukla
points will be rewardedHI
I AM GIVING YOU MY DELIVERY DOCUMENT CODE...MODIFY IT ACCORDING TO YOUR REQUIREMENT
*& Report ZDELIVERY *
report zdelivery message-id z9bhu .
types: begin of t_likp,
vbeln type likp-vbeln, "Delivery
erdat type likp-erdat, "Date for rec creation
* LFDAT TYPE LIKP-LFDAT, "Delevery Date
* WAERK TYPE LIKP-WAERK, "Currency
kunnr type likp-kunnr, "Ship-To Party
kunag type likp-kunag, "Sold-to party
traty type likp-traty, "Means-of-Transport
end of t_likp.
types: begin of t_lips,
vbeln type lips-vbeln, "Delivery
posnr type lips-posnr, "Delivery item
matnr type lips-matnr, "Material Number
arktx type lips-arktx, "Short Text for Sales Order Item
lfimg type lips-lfimg, "Actual quantity delivered
netpr type lips-netpr,
* MEINS TYPE LIPS-MEINS, "Base Unit of Measure
vgbel type lips-vgbel, "Doc no of the reference document
end of t_lips.
types: begin of t_vbpa,
vbeln type vbpa-vbeln, "SD DocumenT Number
posnr type vbpa-posnr, "Item number
parvw type vbpa-parvw, "Partner function
kunnrb type vbpa-kunnr, "Customer Number 1
end of t_vbpa.
types: begin of t_kna1,
kunnr type kna1-kunnr, "Customer Number 1
name1 type kna1-name1, "Name 1
ort01 type kna1-ort01, "City
adrnr type kna1-adrnr, "Address
end of t_kna1.
types: begin of t_li_vbpa,
vbeln type likp-vbeln, "Delivery
erdat type likp-erdat, "Date for rec creation
* LFDAT TYPE LIKP-LFDAT, "Delevery Date
* WAERK TYPE LIKP-WAERK, "Currency
kunnr type likp-kunnr, "Ship-To Party
kunag type likp-kunag, "Sold-to party
traty type likp-traty, "Means-of-Transport
vbeln1 type lips-vbeln, "Delivery
posnr type lips-posnr, "Delivery item
matnr type lips-matnr, "Material Number
arktx type lips-arktx, "Short Text for Sales Order Item
lfimg type lips-lfimg, "Actual quantity delivered
netpr type lips-netpr, "Net Price
* MEINS TYPE LIPS-MEINS, "Base Unit of Measure
vgbel type lips-vgbel, "Doc no of the reference document
vbeln3 type vbpa-vbeln, "SD DocumenT Number
parvw type vbpa-parvw, "Partner function
kunnrb type vbpa-kunnr, "Customer Number 1
end of t_li_vbpa.
types: begin of t_final,
vbeln type likp-vbeln, "Delivery
erdat type likp-erdat, "Date for rec creation
kunnr type likp-kunnr, "Ship-To Party
kunag type likp-kunag, "Sold-to party
traty type likp-traty, "Means-of-Transport
vbeln1 type lips-vbeln, "Delivery
posnr type lips-posnr, "Delivery item
matnr type lips-matnr, "Material Number
arktx type lips-arktx, "Short Text for Sales Order Item
lfimg type lips-lfimg, "Actual quantity delivered
netpr type lips-netpr, "Net Price
vgbel type lips-vgbel, "Doc no of the reference document
vbeln3 type vbpa-vbeln, "SD DocumenT Number
parvw type vbpa-parvw, "Partner function
kunnrb type vbpa-kunnr, "Customer Number 1
name1 type kna1-name1, "Name 1
ort01 type kna1-ort01, "City
adrnr1 type kna1-adrnr, "Address
name2 type kna1-name1, "Name 1
ort02 type kna1-ort01, "City
adrnr2 type kna1-adrnr, "Address
name3 type kna1-name1, "Name 1
ort03 type kna1-ort01, "City
adrnr3 type kna1-adrnr, "Address
end of t_final.
* D A T A D E C L A R A T I O N
*&*********Internal Table Declaration****************&*
data: it_likp type standard table of t_likp.
data: it_lips type standard table of t_lips.
data: it_vbpa type standard table of t_vbpa.
data: it_kna1 type standard table of t_kna1.
data: it_li_vbpa type standard table of t_li_vbpa.
data: it_li_vbpa_temp type standard table of t_li_vbpa.
data: it_final type standard table of t_final.
*&*********Work Area Declaration********************&*
data: wa_likp type t_likp.
data: wa_lips type t_lips.
data: wa_vbpa type t_vbpa.
data: wa_kna1 type t_kna1.
data: wa_li_vbpa type t_li_vbpa.
data: wa_li_vbpa_temp type t_li_vbpa.
data: wa_final type t_final.
*&*********Data Declaration************************&*
data: d_vbeln type likp-vbeln.
data: flag type i value 0.
* S E L E C T I O N S C R E E N D E C L A R A T I O N
selection-screen begin of block block2 with frame title text-001.
select-options: s_vbeln for d_vbeln obligatory. "Delivery no
selection-screen end of block block2.
* A T S E L E C T I O N - S C R E E N E V E N T S
*AT SELECTION-SCREEN.
*PERFORM VALIDATE_DATA.
* S T A R T O F S E L E C T I O N E V E N T S
start-of-selection.
perform fetch_data.
perform merge_data_kna1.
*INCLUDE Z9BT_SH_***4_FORMS.
call function 'OPEN_FORM'
exporting
* APPLICATION = 'TX'
* ARCHIVE_INDEX =
* ARCHIVE_PARAMS =
device = 'PRINTER'
* DIALOG = 'X'
* FORM = ' '
language = sy-langu
* OPTIONS =
* MAIL_SENDER =
* MAIL_RECIPIENT =
* MAIL_APPL_OBJECT =
* RAW_DATA_INTERFACE = '*'
* SPONUMIV =
* IMPORTING
* LANGUAGE =
* NEW_ARCHIVE_PARAMS =
* RESULT =
exceptions
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
mail_options = 6
archive_error = 7
invalid_fax_number = 8
more_params_needed_in_batch = 9
spool_error = 10
codepage = 11
others = 12
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
sort it_final by vbeln.
loop at it_final into wa_final.
call function 'START_FORM'
exporting
* ARCHIVE_INDEX =
form = 'Z9BT_DELIVERY'
language = sy-langu
* STARTPAGE = ' '
* PROGRAM = ' '
* MAIL_APPL_OBJECT =
* IMPORTING
* LANGUAGE =
exceptions
form = 1
format = 2
unended = 3
unopened = 4
unused = 5
spool_error = 6
codepage = 7
others = 8
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function 'WRITE_FORM'
exporting
element = 'ITEM_LIST'
function = 'SET'
type = 'BODY'
window = 'MAIN'
* IMPORTING
* PENDING_LINES =
* EXCEPTIONS
* ELEMENT = 1
* FUNCTION = 2
* TYPE = 3
* UNOPENED = 4
* UNSTARTED = 5
* WINDOW = 6
* BAD_PAGEFORMAT_FOR_PRINT = 7
* SPOOL_ERROR = 8
* CODEPAGE = 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.
call function 'END_FORM'
* IMPORTING
* RESULT =
exceptions
unopened = 1
bad_pageformat_for_print = 2
spool_error = 3
codepage = 4
others = 5
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endloop.
call function 'CLOSE_FORM'
* IMPORTING
* RESULT =
* RDI_RESULT =
* TABLES
* OTFDATA =
exceptions
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
codepage = 5
others = 6
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
*& Form VALIDATE_DATA
* text
* --> p1 text
* <-- p2 text
form validate_data .
select single vbeln into wa_likp-vbeln
from likp where vbeln in s_vbeln.
append wa_likp to it_likp.
if sy-subrc <> 0.
flag = 1.
endif.
endform. " VALIDATE_DATA
*& Form FETCH_DATA
* text
* --> p1 text
* <-- p2 text
form fetch_data .
select a~vbeln
a~erdat
a~kunnr
a~kunag
a~traty
b~vbeln
b~posnr
b~matnr
b~arktx
b~lfimg
b~netpr
b~vgbel
c~vbeln
c~parvw
c~kunnr
into table it_li_vbpa
from likp as a
left outer join lips as b on a~vbeln = b~vbeln
inner join vbpa as c on b~vgbel = c~vbeln
where a~vbeln in s_vbeln and
c~parvw = 'RE'.
endform. " FETCH_DATA
*& Form MERGE_DATA_KNA1
* text
* --> p1 text
* <-- p2 text
form merge_data_kna1 .
if it_li_vbpa[] is not initial.
it_li_vbpa_temp[] = it_li_vbpa[].
sort it_li_vbpa_temp by kunnr.
delete adjacent duplicates from it_li_vbpa_temp comparing kunnr.
loop at it_li_vbpa into wa_li_vbpa.
read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
wa_li_vbpa-kunag.
if sy-subrc <> 0.
wa_li_vbpa_temp = wa_li_vbpa.
append wa_li_vbpa_temp to it_li_vbpa_temp.
endif.
read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
wa_li_vbpa-kunnrb.
if sy-subrc <> 0.
wa_li_vbpa_temp = wa_li_vbpa.
append wa_li_vbpa_temp to it_li_vbpa_temp.
endif.
endloop.
endif.
if it_li_vbpa_temp[] is not initial.
select kunnr
name1
ort01
adrnr into table it_kna1 from kna1
for all entries in it_li_vbpa_temp
where kunnr = it_li_vbpa_temp-kunnr.
endif.
loop at it_li_vbpa into wa_li_vbpa .
wa_final-vbeln = wa_li_vbpa-vbeln.
wa_final-erdat = wa_li_vbpa-erdat.
*it_final-LFART = it_li_vbpa-LFART.
wa_final-kunnr = wa_li_vbpa-kunnr.
wa_final-kunag = wa_li_vbpa-kunag.
*it_final-VSTEL = it_li_vbpa-VSTEL.
wa_final-traty = wa_li_vbpa-traty.
wa_final-vbeln1 = wa_li_vbpa-vbeln.
wa_final-posnr = wa_li_vbpa-posnr.
wa_final-matnr = wa_li_vbpa-matnr.
wa_final-arktx = wa_li_vbpa-arktx.
wa_final-lfimg = wa_li_vbpa-lfimg.
wa_final-netpr = wa_li_vbpa-netpr.
*wa_final-GEWEI = it_li_vbpa-GEWEI.
*it_final-VOLUM = it_li_vbpa-VOLUM.
*it_final-VOLEH = it_li_vbpa-VOLEH.
wa_final-vgbel = wa_li_vbpa-vgbel.
wa_final-vbeln3 = wa_li_vbpa-vbeln.
*wa_final-PARVW = wa_li_vbpa-PARVW.
wa_final-kunnrb = wa_li_vbpa-kunnrb.
read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnr.
if sy-subrc = 0.
wa_final-name1 = wa_kna1-name1.
wa_final-ort01 = wa_kna1-ort01.
wa_final-adrnr1 = wa_kna1-adrnr.
endif.
read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunag.
if sy-subrc = 0.
wa_final-name2 = wa_kna1-name1.
wa_final-ort02 = wa_kna1-ort01.
wa_final-adrnr2 = wa_kna1-adrnr.
endif.
read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnrb.
if sy-subrc = 0.
wa_final-name3 = wa_kna1-name1.
wa_final-ort03 = wa_kna1-ort01.
wa_final-adrnr3 = wa_kna1-adrnr.
endif.
append wa_final to it_final.
clear wa_final.
endloop.
endform. -
How to make entry for transit loss in the system
Hello to all,
I am having an issue with one subCon material.
Suppose,
Material A is the product required of 3000 MT Qty.
SubCon vendor have sent that qty, but there is a transit loss of 500 MT.
How to make entry for this transit loss in the system.
regards,
Anishacorrect me if i am wrong-
ur scenario is
for making material A ,
3000 MT of material B required.
but for producing A vendor uses 3500MT of B
solution : if this ia the case then u can overwrite the value of B at GRN from 3000MT to 3500MT.
OR
ur scenario is -
u require material A of 3000MT
vendor sends u 3000MT
but actualy u recieve 2500MT
and u have to pay for 3000MT as per bill
solution : if this is ur scenario then.
prerequisite-activate direct posting to G/L and material at MIRO
Path - SPRO->MM->LIV->activate direct posting to G/L and material at MIRO.
now procedure is -
step 1) do GR for 2500MT
step2) in LIV pay to vendor for 3000MT for that put 500 qty in material tab and the relavent amount.
in this way loss in transite will be book on inventory.
regards,
sujit -
Queries Report For Last Purchased Price
Dear All,
Can someone helps me to get queries report for last purchased price vs new purchase price that recently being enter on purchased order.
Trigger by purchased order document posting and we can choose % variance
Report by order :
No. Document PO ; Vendor code ; Vendor Name ; Doc Posting Date ; Item code ; Item Name : New Purchased price ; Last Purchased Price; Variance; Buyer Name
i will used it on alert management.. each time there % variance automaticaly sending an email with those report.
ThanksSo.. is it the right query if i join it?:
SELECT T0.DocEntry, T1.CardCode, T1.CardName, T1.DocDate, T0.ItemCode, T0.Dscription, T0.PriceBefDi, T2.LastPurPrc, (T0.PriceBefDi - T2.LastPurPrc) AS Variance, ((T0.PriceBefDi - T2.LastPurPrc)/T0.PriceBefDi) AS 'Variance%', T3.SlpName FROM POR1 T0 INNER JOIN OPOR T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode
select * from opor where month(docdate) = MONTH(GETDATE()) and Year(docdate) = YEAR(GETDATE())
But i still find document with last month posting include on the report adn the report became different too -
How to make report with access 2010 from SharePoint Discussion lists 2013
HI,
I want to make an access report from SharePoint Discussion lists 2013. When i open the list with access, the body of the list is in HTML format in access. Also if i reply something to one subject in the discussion, the reply is not mapped to that subject
but instead it is shown as a separate entry in the database.
Anyone can please help?
SAN
Santhiya
SanthiyaHi Santhiya,
I have seen a similar post from you, my understanding is that you wonder that the reply is mapped to the related subject. You can take a look at Daniel's reply in the following thread:
http://social.technet.microsoft.com/Forums/en-US/dfb5bcb9-0076-412a-b34f-46aa9cfba876/how-to-make-report-with-access-2010-from-sharepoint-discussion-lists-2013?forum=sharepointgeneral
Thanks,
Wendy
Wendy Li
TechNet Community Support -
Make report for the current form
Hi all
I want to make report for my current form, and i use form 6i
for example i have form which depend on table and i want to make button to make report for current form which show some of field from table
Best regards for all member here
Yasserhi
please create when-button-pressed trigger and use the following code.
declare
v_plist_id paramlist;
pl_name varchar2(50) := 'rep_params';
begin
v_plist_id := get_parameter_list(pl_name);
check_param_list (pl_name); --Check availability of paramlist and
destroy is present
--When the parameter list already exists it needs to be distroyed first
if not id_null(v_plist_id) then
destroy_parameter_list(v_plist_id);
end if;
v_plist_id := create_parameter_list(pl_name);
add_parameter(v_plist_id, 'P_1', text_parameter, :block_name.item);
-- input parameter
add_parameter(v_plist_id, 'PARAMFORM', text_parameter, 'NO'); --
suppress the display of the Reports p-form
add_parameter(v_plist_id, 'DESTYPE', text_parameter,
:control.dest_type); -- set file destination type
add_parameter(v_plist_id, 'DESNAME', text_parameter,
:control.dest_name); -- set file destination name
add_parameter(v_plist_id, 'DESFORMAT', text_parameter,
:control.dest_format); -- set file destination format
-- call reports
run_product(reports, 'reports_file', asynchronous, runtime,
filesystem, v_plist_id, null);
end;sarah -
How to take report for Employee past pay results!!!
Hi Experts,
I would like to know how to generate report for employee's past pay roll, which gives information pertaining to employee's pay hike if any and other details.
Please advice...subbu14blueatgmail.com
Thank you in advance for your help.
Regards,
SubbuHi,
Pc00_M40_calc though you can do the live run then
go PC00_m99_CWTR here you can select the payroll period button
There you can give the payroll area and selection periods.
Then you can give the company code, and what ever you can personnel area wise and all.
Below that screen you need to select the Lay out variant.
Then you can execute that report.
Then you will get the wage types and the amount.
Any query's let me know.
Thanks and Regards,
Revathi. -
How to create report for user in terminal licens
Dear Sir,
how to take report for terminal server license, I have windows 2008 r2, I am trying to create a report for cal per user license
it is disable.
windows 2008 r2
workgroup
citrix 6.5
thanks
saud alam
saudalamHi,
Thank you for posting in Windows Server Forum.
Agree with words of TP, to create per user CAL report server must be domain joined. You cannot create report in workgroup mode. Please check beneath article for guide.
Track the Issuance of Remote Desktop Services Per User Client Access Licenses
http://technet.microsoft.com/en-us/library/cc754625.aspx
Hope it helps!
Thanks.
Dharmesh Solanki -
How to make folders for pitcures on iphone 4
how to make folders for pitcures on iphone 4?
sorry about that..Where do i find the replies to my posts? tks
Maybe you are looking for
-
IPod Nano Not Recognized by any Computer
Hi. I found an iPod Nano about a month ago. And I plugged it in to my computer and nothing, the only thing it does is it Starts to charge for about 5 seconds...then immediately stops...What I don't understand is that my iPod Shuffle works perfectly,
-
FCExp to PCP5 - Render Files Offline?
I can't export a movie file that I converted from FC Express to FC Pro 5 because it keeps telling me that render files are missing...but apparently it's not the clips at fault but the transitions. Yet, try as I may to render, it will not render. Any
-
Got a way to remove inbuit app in asha 311
I have a way to remove the inbuit app. Just you have to download the same app from Nokia stores which you want to remove. Now arrange them side by side. And now delete the app which you downloaded.. When you have deleted the app the RED CROSS sign wi
-
Setting Capture NX as external editor
How do you set up Aperture to round-trip images through Capture NX so that the saved NEF edit list shows up with the Aperture master image?
-
Photoshop Elements doesn't accept my serial number
Hi, I'm trying to instal Photoshop Elements on my Mac, but it refuses the serial number. What can be the problem?