Sum per month
Hi
my oracle version 10g
With testdata as (select 1 trade_id, 110 trade_size, to_date('01/02/11',' dd/mm/yy') trade_date, ’AA’ source from dual union all
select 2 trade_id, 80 trade_size, to_date('25/01/11',' dd/mm/yy') trade_date, ’AB’ source from dual union all
select 3 trade_id, 210 trade_size, to_date('17/01/11',' dd/mm/yy') trade_date, ’BB’ source from dual union all
select 4 trade_id, 150 trade_size, to_date('15/02/11',' dd/mm/yy') trade_date, ’AA’ source from dual union all
select 5 trade_id, 260 trade_size, to_date('20/12/10',' dd/mm/yy') trade_date, ’AB’ source from dual union all
select 6 trade_id, 320 trade_size, to_date('15/12/10',' dd/mm/yy') trade_date, ’BB’ source from dual union all
select 7 trade_id, 100 trade_size, to_date('25/01/11',' dd/mm/yy') trade_date, ’CC’ source from dual union all
select 8 trade_id, 260 trade_size, to_date('10/01/11',' dd/mm/yy') trade_date, ’CC’ source from dual union all
select 9 trade_id, 200 trade_size, to_date('25/11/10',' dd/mm/yy') trade_date, ’AB’ source from dual union all
select 10 trade_id, 200 trade_size, to_date('05/01/11',' dd/mm/yy') trade_date, ’AB’ source from dual union all)
result would be
Sum of trade_size by source per month
Source—Feb.11—Jan.11—Dec.10—Nov.10
AA---------260-----------0----------0---------0
AB--------0-----------280---------260-------200
BB--------0-----------210---------320---------0
CC--------0-----------360----------0---------0
If it's for rolling previous 4 months, something like:
SQL> ed
Wrote file afiedt.buf
1 With testdata as (select 1 trade_id, 110 trade_size, to_date('01/02/11',' dd/mm/yy') trade_date, 'AA' source from dual union all
2 select 2 trade_id, 80 trade_size, to_date('25/01/11',' dd/mm/yy') trade_date, 'AB' source from dual union all
3 select 3 trade_id, 210 trade_size, to_date('17/01/11',' dd/mm/yy') trade_date, 'BB' source from dual union all
4 select 4 trade_id, 150 trade_size, to_date('15/02/11',' dd/mm/yy') trade_date, 'AA' source from dual union all
5 select 5 trade_id, 260 trade_size, to_date('20/12/10',' dd/mm/yy') trade_date, 'AB' source from dual union all
6 select 6 trade_id, 320 trade_size, to_date('15/12/10',' dd/mm/yy') trade_date, 'BB' source from dual union all
7 select 7 trade_id, 100 trade_size, to_date('25/01/11',' dd/mm/yy') trade_date, 'CC' source from dual union all
8 select 8 trade_id, 260 trade_size, to_date('10/01/11',' dd/mm/yy') trade_date, 'CC' source from dual union all
9 select 9 trade_id, 200 trade_size, to_date('25/11/10',' dd/mm/yy') trade_date, 'AB' source from dual union all
10 select 10 trade_id, 200 trade_size, to_date('05/01/11',' dd/mm/yy') trade_date, 'AB' source from dual
11 )
12 --
13 -- end of test data
14 --
15 select source
16 ,max(mnth1) as mnth1
17 ,max(mnth2) as mnth2
18 ,max(mnth3) as mnth3
19 ,max(mnth4) as mnth4
20 from (
21 select source
22 ,case when trunc(trade_date,'MM') = trunc(sysdate,'MM') then sum(trade_size) else null end as mnth1
23 ,case when trunc(trade_date,'MM') = trunc(add_months(sysdate,-1),'MM') then sum(trade_size) else null end as mnth2
24 ,case when trunc(trade_date,'MM') = trunc(add_months(sysdate,-2),'MM') then sum(trade_size) else null end as mnth3
25 ,case when trunc(trade_date,'MM') = trunc(add_months(sysdate,-3),'MM') then sum(trade_size) else null end as mnth4
26 from testdata
27 group by source, trunc(trade_date,'MM')
28 )
29 group by source
30* order by source
SQL> /
SO MNTH1 MNTH2 MNTH3 MNTH4
AA 260
AB 280 260 200
BB 210 320
CC 360
SQL>
Similar Messages
-
Help with Sql for Annual Report per month
Hi, I have been given the task to create an annual report by month that would show company's profits per month and totals in the last column to show which branch had the hightest income.
Branch||January||February||March||April||May||June....||Total||
ABC ||$0.00 ||$0.00 ||$0.00||$0.00||$0.00||$0.00||Total Amt||
DEF ||$18.01 ||$3.88 ||$18.01||$4.12||$18.01||$3.97||Total Amt||
Can anyone please help me in giving an idea of how to write sql for this report..? I am building sub-queries for everymonth by giving the dates for Jan/Feb/March..but I think this is not the right way to do this....
SELECT
sum(a.commission) December,
sum(b.commission) November
FROM
Select
c.account_id,
c.officer,
c.account_product_class_id,
sum(c.dp_monthly_premium) Commission
From
contract c
Where
c.account_id=109 and
c.status='APPROVED' and
c.protection_effective between '01-DEC-2009' and '31-DEC-2009'
Group by
c.account_id,
c.officer,
c.account_product_class_id
) a,
Select
c.account_id,
c.officer,
c.account_product_class_id,
sum(c.dp_monthly_premium) Commission
From
contract c
Where
c.account_id=109 and
c.status='APPROVED' and
c.protection_effective between '01-NOV-2009' and '30-NOV-2009'
Group by
c.account_id,
c.officer,
c.account_product_class_id
) b
I always have hight hope from this forum. So please help. Thanks in advance.
Edited by: Aditi_Seth on Jan 26, 2010 2:29 PMYou may try a group report on one simple query like:
Select
c.account_id, c.officer, to_char(c.protection_effective, 'MM') month
sum(c.dp_monthly_premium) Commission
From
contract c
Where
c.status='APPROVED' and .....
Group by
c.account_id
c.officer,
to_char(c.protection_effective, 'MM')
break/gropu on account_id, c.officer, to_char(c.protection_effective, 'MM') and total will be automatically calculated by Reports. -
I need to display, a record count on a column within a table per month
This is what i currently have...but not what i am looking for...
select creation_date,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'01', 1,0)) JAN,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'02', 1,0)) FEB,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'03', 1,0)) MAR,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'04', 1,0)) APR,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'05', 1,0)) MAY,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'06', 1,0)) JUN,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'07', 1,0)) JUL,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'08', 1,0)) AUG,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'09', 1,0)) SEP,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'10', 1,0)) OCT,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'11', 1,0)) NOV,
sum(DECODE(to_char(creation_date, 'MM/DD/YYYY HH24:MI:SS'),'12', 1,0)) DEC,
count(*) TOTAL
from applsys.fnd_user
where creation_date > to_date('01/01/2010','MM-DD-YYYY')
GROUP BY creation_date
order by 1;
I need the amount of users added to be displayed per month..together with a total...
output similar to this:
COYDIV JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC TOTAL
101 4 0 1 0 0 0 0 0 0 0 0 0 5
102 0 3 0 0 0 0 0 0 0 0 0 0 3
103 0 1 1 0 0 0 0 0 0 0 0 0 2
104 0 1 0 0 0 0 0 0 0 0 0 0 1
105 0 0 1 0 0 0 0 0 0 0 0 0 1
107 1 0 0 0 0 0 0 0 0 0 0 0 1
108 0 1 0 0 0 0 0 0 0 0 0 0 1
109 2 0 2 0 0 0 0 0 0 0 0 0 4
117 0 0 2 0 0 0 0 0 0 0 0 0 2
118 0 0 1 0 0 0 0 0 0 0 0 0 1
119 0 0 1 0 0 0 0 0 0 0 0 0 1
122 0 1 0 0 0 0 0 0 0 0 0 0 1
201 1 0 0 0 0 0 0 0 0 0 0 0 1
401 4 0 1 0 0 0 0 0 0 0 0 0 5
403 0 1 0 0 0 0 0 0 0 0 0 0 1
603 0 0 1 0 0 0 0 0 0 0 0 0 1
609 0 0 3 0 0 0 0 0 0 0 0 0 3
612 1 0 0 0 0 0 0 0 0 0 0 0 1
615 0 2 0 0 0 0 0 0 0 0 0 0 2
619 0 0 1 0 0 0 0 0 0 0 0 0 1
2001 0 2 2 0 0 0 0 0 0 0 0 0 4
2201 0 1 2 0 0 0 0 0 0 0 0 0 3
2301 0 0 1 0 0 0 0 0 0 0 0 0 1
2302 0 1 0 0 0 0 0 0 0 0 0 0 1
2303 0 0 1 0 0 0 0 0 0 0 0 0 1
5001 0 2 3 0 0 0 0 0 0 0 0 0 5
TOTAL 13 16 24 0 0 0 0 0 0 0 0 0 53
any ideas on how i can remedy my scriptOk here goes
1. boldVersion 11.1.0.7.0
2. boldsample data
"USER_ID","USER_NAME", "LAST_UPDATE_DATE", "LAST_UPDATED_BY", "CREATION_DATE", "CREATED_BY","LAST_UPDATE_LOGIN","SESSION_NUMBER","START_DATE","END_DATE","DESCRIPTION", "LAST_LOGON_DATE","PASSWORD_DATE","PASSWORD_ACCESSES_LEFT","PASSWORD_LIFESPAN_ACCESSES","PASSWORD_LIFESPAN_DAYS","EMPLOYEE_ID","EMAIL_ADDRESS","FAX","CUSTOMER_ID","SUPPLIER_ID","WEB_PASSWORD","USER_GUID","GCN_CODE_COMBINATION_ID","PERSON_PARTY_ID"
2289, [email protected], 3/24/2010 12:37:23 PM, 2289, 1/18/2010 12:22:49 PM, 1295, 4975366, 24, 1/18/2010, ,Cecilia Buthelezi,4/6/2010 8:46:36 AM,3/24/2010 12:37:23 PM,,,30,8180,[email protected],,,,,,,20702
2269, [email protected], 3/24/2010 3:40:47 PM, 2269, 1/14/2010 3:42:58 PM, 1295, 4917252, 10, 1/14/2010, ,Heather Summers, 3/24/2010 3:40:48 PM,3/24/2010 3:40:47 PM,,,30,2237,[email protected],,,,,,,7169
3. boldexpected out put
JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC TOTAL
4 0 1 0 0 0 0 0 0 0 0 0 5
0 3 0 0 0 0 0 0 0 0 0 0 3
TOTAL 13 16 24 0 0 0 0 0 0 0 0 0 53
etc
4. boldExplanation of expected output
a select statement using the creation date, for users added per month and total users added for months in which users were added.
thanks
Edited by: user11978142 on Apr 6, 2010 5:46 AM -
How to find out the Transactions used per month & the USER who used that
Hi,
1)How to find out the Transactions used per month & the USER who used that?
2)and can i get the above same for minimum 20 month?
System : SAP- Enterprise Core Component.You can use my program...
*& Report Z_ABAP_TCODE_MONITOR
*****& Program Type : Report *
*****& Title : Z_ABAP_TCODE_MONITOR *
*****& Transaction code : ZTCODE_USAGE *
*****& Developer name : Shailendra Kolakaluri *
*****& Deveopment start date : 26 th Dec 2011 *
*****& Development Package : ZDEV *
*****& Transport No : DEVK906086 *
*****& Program Description : This program is to display
*List all tcodes executed during previous day.
*& Show the number of users executing tcodes
*& Modification history
REPORT Z_ABAP_TCODE_MONITOR.
*& List all tcodes executed during previous day.
*& Show the number of users executing tcodes
TYPE-POOLS : slis.
DATA: ind TYPE i,
fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
layout TYPE slis_layout_alv,
variant TYPE disvariant,
events TYPE slis_t_event WITH HEADER LINE,
heading TYPE slis_t_listheader WITH HEADER LINE.
*REPORT z_report_usage.
TYPES: BEGIN OF zusertcode,
date TYPE swncdatum,
user TYPE swncuname,
mandt TYPE swncmandt,
tcode TYPE swnctcode,
report TYPE swncreportname,
count TYPE swncshcnt,
END OF zusertcode.
*data : date type n.
DATA: t_usertcode TYPE swnc_t_aggusertcode,
wa_usertcode TYPE swncaggusertcode,
wa TYPE zusertcode,
t_ut TYPE STANDARD TABLE OF zusertcode,
wa_result TYPE zusertcode,
t_result TYPE STANDARD TABLE OF zusertcode.
PARAMETER: month TYPE dats DEFAULT sy-datum.
*PARAMETER: date TYPE dats.
*select-options : username for wa_usertcode-account.
START-OF-SELECTION.
PERFORM get_data.
PERFORM get_fieldcatalog.
PERFORM set_layout.
PERFORM get_event.
PERFORM get_comment.
PERFORM display_data.
FORM get_data .
*date = sy-datum - 2 .
After start-of-selection add this line (parameter Month required 01 as day).
concatenate month+0(6) '01' into month.
CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
EXPORTING
component = 'TOTAL'
ASSIGNDSYS = 'DEV'
periodtype = 'M'
periodstrt = month
TABLES
usertcode = t_usertcode
EXCEPTIONS
no_data_found = 1
OTHERS = 2.
wa-date = month.
*wa-date = date.
wa-mandt = sy-mandt.
wa_usertcode-account = username.
LOOP AT t_usertcode INTO wa_usertcode.
wa-user = wa_usertcode-account.
IF wa_usertcode-entry_id+72 = 'T'.
wa-tcode = wa_usertcode-entry_id.
wa-report = space.
ELSE.
wa-tcode = space.
wa-report = wa_usertcode-entry_id.
ENDIF.
COLLECT wa INTO t_ut.
ENDLOOP.
SORT t_ut BY report ASCENDING.
CLEAR: wa, wa_result.
endform.
FORM get_fieldcatalog .
fcat-tabname = 't_ut'.
fcat-fieldname = 'DATE'.
fcat-seltext_l = 'Date'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'MANDT'.
fcat-seltext_l = 'Client'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'USER'.
fcat-seltext_l = 'User Name'.
fcat-key = 'X'.
APPEND fcat.
CLEAR fcat.
fcat-tabname = 't_ut'.
fcat-fieldname = 'TCODE'.
fcat-seltext_l = 'Transaction Code'.
fcat-key = 'X'.
APPEND fcat.
ENDFORM.
*& Form SET_LAYOUT
text
--> p1 text
<-- p2 text
FORM set_layout .
layout-colwidth_optimize = 'X'.
ENDFORM. " SET_LAYOUT
*& Form GET_EVENT
text
--> p1 text
<-- p2 text
*FORM get_event .
events-name = slis_ev_top_of_page.
events-form = 'TOP_OF_PAGE'.
APPEND events.
*ENDFORM. " GET_EVENT
**& Form GET_COMMENT
text
--> p1 text
<-- p2 text
*FORM get_comment .
DATA: text(30).
text = 'Billing Report'.
heading-typ = 'H'.
heading-info = text.
APPEND heading.
*ENDFORM. " GET_COMMENT
**& Form top_of_page
text
--> p1 text
<-- p2 text
*FORM top_of_page .
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = heading[]
I_LOGO =
I_END_OF_LIST_GRID =
*ENDFORM. " top_of_page
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM display_data .
sort t_ut[].
DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
is_layout = layout
it_fieldcat = fcat[]
i_save = 'A'
is_variant = variant
it_events = events[]
TABLES
t_outtab = t_ut
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_DATA -
How to find the number of records per months in cube
Hi,
how to find the number of records per months for my all cubes?
Can i use the ListCube transaction to find totl number f records per cube monthwise ?
JimmyHi,
Here is a program to generate no of records and list of ODS and Cubes in Active version.Schedule this program in background and create a cube to load this information and schedule to the data from the file generated by the program. Schedule this all per you requirement.
1.Copy the code into your Z<programname> from Se38.
2.change the FILENAME in CALL FUNCTION 'GUI_DOWNLOAD' in the program to the location from where you can pick the information to load data to cube(eg Application server).
3.Save program.
4.Schedule the program in background as required
5.Create cube with infoobjects to hold no of records and Infoprovider name
6.Load this cube based on event after the program job is done.
Hence you can report on this cube to see no of records in CUBE or ODS in your box.
Please find the code below.
Cheers,
Kavitha Kamesh.
types: begin of itabs ,
tabname type dd02l-tabname,
end of itabs.
data: itab type itabs occurs 0 with header line.
data: counter type i.
data: begin of itab1 occurs 0,
tabname type dd02l-tabname,
counter type i,
end of itab1.
DATA: ITABTABNAME TYPE STRING.
DATA: LENGTH TYPE I.
DATA: OBJECT(30).
data: str(6) type c.
select tabname from dd02l into table itab where ( tabname LIKE '/BIC/F%' or tabname LIKE '/BIC/A%00' )
and TABCLASS = 'TRANSP' and AS4LOCAL = 'A'.
loop at itab.
select count(*) from (itab-tabname) into counter.
str = itab-tabname.
if str = '/BIC/F'.
LENGTH = STRLEN( ITAB-TABNAME ).
SHIFT itab-tabname BY 6 PLACES LEFT.
ELSEIf str = '/BIC/A'.
SHIFT itab-tabname BY 6 PLACES LEFT.
LENGTH = STRLEN( ITAB-TABNAME ).
LENGTH = LENGTH - 2.
endif.
itab1-tabname = itab-tabname(LENGTH).
append itab1.
itab1-counter = counter.
clear itab-tabname.
clear: COUNTER.
endloop.
*********** itab1
loop at itab1.
write:/ itab1-tabname, itab1-counter.
endloop.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
FILENAME = 'c:records.xls'
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = ','
* HEADER = '00'
* TRUNC_TRAILING_BLANKS = ' '
* WRITE_LF = 'X'
* COL_SELECT = ' '
* COL_SELECT_MASK = ' '
* DAT_MODE = ' '
* CONFIRM_OVERWRITE = ' '
* NO_AUTH_CHECK = ' '
* CODEPAGE = ' '
* IGNORE_CERR = ABAP_TRUE
* REPLACEMENT = '#'
* WRITE_BOM = ' '
* TRUNC_TRAILING_BLANKS_EOL = 'X'
* WK1_N_FORMAT = ' '
* WK1_N_SIZE = ' '
* WK1_T_FORMAT = ' '
* WK1_T_SIZE = ' '
* IMPORTING
* FILELENGTH =
TABLES
DATA_TAB = itab1
* FIELDNAMES =
* EXCEPTIONS
* FILE_WRITE_ERROR = 1
* NO_BATCH = 2
* GUI_REFUSE_FILETRANSFER = 3
* INVALID_TYPE = 4
* NO_AUTHORITY = 5
* UNKNOWN_ERROR = 6
* HEADER_NOT_ALLOWED = 7
* SEPARATOR_NOT_ALLOWED = 8
* FILESIZE_NOT_ALLOWED = 9
* HEADER_TOO_LONG = 10
* DP_ERROR_CREATE = 11
* DP_ERROR_SEND = 12
* DP_ERROR_WRITE = 13
* UNKNOWN_DP_ERROR = 14
* ACCESS_DENIED = 15
* DP_OUT_OF_MEMORY = 16
* DISK_FULL = 17
* DP_TIMEOUT = 18
* FILE_NOT_FOUND = 19
* DATAPROVIDER_EXCEPTION = 20
* CONTROL_FLUSH_ERROR = 21
* OTHERS = 22
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
PURCHASE PROGRAM
When I filled in my credit card details and proceed to Step 4: Enter your payment information, so nothing happens. Have tried several times. This order applies to the upgrade of CS4 and costs 270,60SEK per month.
Does not this offer?
Micke at RaaSome general information... your Adobe account and your credit card details must match exactly
Change/Verify Account https://forums.adobe.com/thread/1465499 may help
-http://helpx.adobe.com/x-productkb/policy-pricing/change-country-associated-with-adobe-id. html
-Credit card https://helpx.adobe.com/utilities/credit-card.html
-ID support http://helpx.adobe.com/x-productkb/global/service-c1.html
-verify email https://forums.adobe.com/thread/1446019 -
When I pre ordered my iphone 6 i was told I was going to get an additional 1 gig of data per month for a year. It even shows it on the receipt i received with the phone. When will I see that reflected on my account. I have had my new phone for a week and used tons more data than usual and am hoping that will save me this month.
concretedonkey, I'm glad you were able to take advantage of this offer when you ordered your new iPhone 6. I can certainly review your account to ensure this was added for you. Please reply to the direct message I have sent you.
AndreaS_VZW
Follow us on Twitter @VZWSupport -
I used to use CS5 and I want to use the Acrobat version on my new iMac.
How can I find my serial number for Adobe Acrobat 11. I don't want to use the new version at £18.00 per month. I don't need it. Thank youHi Anthony Aduhene
Please refer : Find your serial number quickly -
when I commenced subscriptions for PhotoshopCC i was billed $19.99 per month. The advertised fee is now $9.99 per month for a single product. How do I change to the lower payment plan.?
The advertised fee is now $9.99 per month for a single product.
Where are you seeing that? I still see Single App membership at US$19.99/month.
Creative Cloud free trial & plans : Adobe Creative Cloud
The only US$9.99/month offering is Photoshop+Lightroom.
So I guess you're asking to swap from the Photoshop Single App Plan to the Photography Plan (PS+LR)? -
I have a computer running windows vista that I pay per month for photoshop, I want to use photoshop on two other computers I have, not that it matters but they are both identical hardware wise, and software one runs xp and the other runs vista, I can upgrade but I am not intrested in other os. When I attempt to download I am told that my os is no longer supported. Now i know that I could find an offline version and should be able to get it installed but im not sure of a safe site that provides the iso or install exe. I want to use the other two computers because they have touch interface early computer/tablet highbird. thanks in advance.
Michaelt65951582 I am sorry but you will need to run at least the minimum operating system to use Photoshop. You can find the system requirements at System requirements | Photoshop. I would recommend upgrading to Windows 7 or later. You may find that your computer can support the more recent operating system depending upon the hardware installed.
-
Automatic Creation of Production order per month
Hello Gurus,
Good Day! Is it possible to schedule creation of production order in background for certain material per month basis?
Thank you,
raymondHi Raymond,
If the suggestion of REM does not work for your requirement, then take the help of your ABAPer use one of the below BAPI's & create a Z prog. for creation of order as required.
1. Prdn order frm plnd order -> BAPI_PRODORD_CREATE_FROM_PLORD
2. Prdn order -> BAPI_PRODORD_CREATE
3. Prdn oder with ref -> BAPI_PRODORD_CREATE_FROM_REF
Alternatively, create one order & keep it open for the entire year, just do monthly wip calc & at the end of financial year settle the order completely.
If helpful award points
Regards,
Vivek -
How do you show the number of days per month?
How do you show the number of days per month?
I am working on a budget. I want to know how much to amortize each month to fund an investment. Income comes monthly, but expenses leave in days, or weeks. The number of days and weeks in months vary.
I want to figure out income and expenses per day, per month and per year, so I know how much can be invested each month, week or day. For a start I would like a formula that shows how many days are in each month?thanks..
I solve my problem as
public class MyExample {
public static void main(String a[]) {
String stdate = "2009-03-01";
java.sql.Date currentDate = new java.sql.Date(System.currentTimeMillis());
java.sql.Date preDate = java.sql.Date.valueOf(stdate);
System.out.println(currentDate);
System.out.println(preDate);
// int dateCom = preDate.compareTo(currentDate);
// System.out.println(dateCom);
long diff = currentDate.getTime() - preDate.getTime();
int days = (int) Math.floor(diff / (24 * 60 * 60 * 1000));
System.out.println(days);
} -
Does RM29.90 per month photography package with photoshop and lightrooms come with Adobe bridge app as well?
Does RM29.90 per month photography package with photoshop and lightrooms come with Adobe bridge app as well?
-
Hi, I have an Adobe CC single App subscription at €25. per month, why do I now have to pay another 12.99 to get Lightroom CC? any help would be appreciated, thanks.
Hi there
You currently have a single app membership for Photoshop. You might want to consider changing to the Creative Cloud Photography plan if you wish to have Photoshop CC + Lightroom CC - see Creative Cloud pricing and membership plans | Adobe Creative Cloud
Photoshop Help | Differences between Photoshop and Creative Cloud Photography Programs
Thanks
Bev -
Standard report on purchase and consumption per month
Is there any standard report which can give the total purchase, total consumption per month in MM.
try MC.A
Please search before asking, even in your menu structure.
There are binocluar icons in your SAP Easy access screen to search in the menu.
Or enter SEARCH_SAP_MENU in the ok-field and search for transactions.
Maybe you are looking for
-
Questions on OBIEE features.
Hi, I am new to Oracle BI. I have few questions regarding OBIEE features, Kindly answer to best of your knowledge, thanks in advance. 1. What database types/ sources can the BI pull from? 2. Is the license portable from one server to another?
-
Nokia n9 phone keeps blinking after hard reset (cl...
i don't have many things in my phone (excluding the pre-installed stuff). 10 minutes later, my phone will start blinking. it wont let me turn off the phone either. whats happening? Solved! Go to Solution.
-
We are raising PO using Uganda Shillings currency (UGX). The quantity is 100 and the price per each quantity is 100 UGX. So the total amount is 10000 UGX. In print preview of PO, under Net amount the amount shown as 10000 UGX correctly but the amount
-
Understanding icmp polling interval in NMS
Hi all, I am basing my question on the logic that a device can be polled successfully at 09:54:00, go off-line at 09:54:32 and return on-line again at 09:54:98 in time for the next NMS poll and this would show no down time at all. What I am seeing is
-
Lightroom " Edit in" menu drop to work on Photoshop is grey out?
Lightroom " Edit in" menu drop to work on Photoshop is grey out, even though I have my "store preset with this catalog" unchecked. Do I have to reinstall LR?