Month Year values based on Posting Date
In my super huge extra large InfoCube (0CFM_C10) I got a lot of data. I take Posting Date, some KFG and CalMonth/Year. Unfortinally CalMonth/Year duplicates records, if I drop it off the columns/rows I get valid data by Posting Date.
My question is this - is it possible to create some MonthYear Calculated KFG/field/formula or smthng. based on Posting Date? In other words I need Month/Year in rows/ columns or free characteristics...
Edited by: Gediminas Berzanskis on Mar 18, 2008 10:18 AM
Dear,
When canceling a payment which was created in previous posting periods,
we get system message "Date deviates from permissible range",so
the workaround is changing back the posting period to the previous one
and try to cancel the payment.
However,another system message pops up when we try to cancel payment
after changing back the posting period,which is the "creation date" or
"posting date".
In this scenario, you should select the second option from the
cancellation options window, which is the 'Creation date'. I would like
to explain more below.
Posting Date- means the posting date of the cancellation document, it's
not the posting date of the incoming payment that you wanna perform the
cancellation. In your case, selecting this 'posting date' option, system
deems that you want to post this cancellation document on its own
posting date.
Creating Date- means the posting date/creation date of the incoming
payment, it makes sense that the system works fine if you select this
option. If you cancel the incoming payment and check the JE generated,
you will find that the posting date of this cancellation document is
actually recorded as the posting date of the incoming payment.
Wish it helps you.If you have any problems,please kindly let me know.
Thanks and best regards,
Apple
Similar Messages
-
Vendor Balance Report Day wise based on Posting date
Hi Guru's,
I am creating vendor balance reprot day wise based on posting date .
In my report i want to show TDS(With hold tax ) amount where can i get that field name how can retrive the data using bsik and bsak .
I Donot want to display reversal documents in the displaying list .How can i remove reversal entries .
Regards
Nandan.Hi Nandan,
check these tables:
A399
T059O
T059ZT
Regards,
Santosh Kumar M -
Inventory Report Based On Posting Date
Hai All
Can any one help me with the subject "Inventory Report Based On Posting Date"
Please
with regards
Shankarhi,
Visit this link,already answered.
Difference between posting & system date in Inventory Audit Report
Jeyakanthan -
Design of Cube for Year and Period from Posting Date
Experts,
In my report requirement one of the selection criteria is Year and Month (YY-MM) which needs to be got from the Posting Date.
In my ODS I have a 0PSTING_DATE. What infobjects are needed in the cube to get the value of YY and Period and the mapping from the 0PSTING_DATE to these infoobjects.
Thanks,
RajHi Rajesh,
Time Update:
When performing a time update, automatic time conversion and time distribution are available.
Direct Update: the system automatically performs a time conversion.
Time Conversion:
You can update source time characteristics to target time characteristics using automatic time conversion
Check here..........
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e5/f913426908ca7ee10000000a1550b0/content.htm
Thanks,
Vijay. -
Get Old Value and the new value based on the date
Hi
I have a table called roster created below with following insert statements.
CREATE TABLE ROSTER
ROSTER_EMPLOYEE_DEF_ID NUMBER,
EMPLOYEE_ID NUMBER,
DEFINITION_REGION_CODE NUMBER,
DEFINITION_DISTRICT_CODE NUMBER,
DEFINITION_TERRITORY_CODE NUMBER,
START_DATE DATE,
END_DATE DATE
INSERT INTO ROSTER
(ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
VALUES
(1,299,222,333,444,'1-JUN-2011','30-JUN-2011')
INSERT INTO ROSTER
(ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
VALUES
(2,299,223,334,445,'1-JUL-2011','20-JUL-2011')
INSERT INTO ROSTER
(ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
VALUES
(3,299,224,335,446,'1-AUG-2011','30-AUG-2011')
INSERT INTO ROSTER
(ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
VALUES
(4,300,500,400,300,'1-JUN-2011','20-JUN-2011')
INSERT INTO ROSTER
(ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
VALUES
(5,300,501,401,301,'1-JUL-2011','20-JUL-2011')
In the above table we have columns like
EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE
The result i am looking from the above table is based on the EMPLOYEE_ID OF START_DATE AND END_DATE
I need to get OLD_DEFINITION_REGION_CODE and the NEW_DEFINITION_CODE
Similarly OLD_DEFINITION_REGION_CODE and the NEW_DEFINITION_REGION_CODE
and OLD_DEFINITION_TERRITORY_CODE and the NEW_DEFINITION_TERRITORY_CODE
I need to get one row of data for each employee saying old value and new value
for employee 299 there are 3 records it must give the new record which is the latest date i.e start date 1-aug-2011 and end date 30-aug-2011 old record will be
start date 1-jul-2011 and 20-jul-2011
For the above table data i need to get the data as below
EMPLOYEE_ID OLD_DEFINITION_REGION_CODE NEW_DEFINITION_CODE OLD_DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE START_DATE END_DATE
299 223 224 334 335 20-JUL-11 30-AUG-11
300 500 501 400 401 20-JUN-11 20-JUL-11
Please suggest me to get the above result based on the data. Please let me know if my posts are not clear
Thanks
SudhirSELECT EMPLOYEE_ID,
OLD_DEFINITION_REGION_CODE,
NEW_DEFINITION_REGION_CODE,
OLD_DEFINITION_DISTRICT_CODE,
NEW_DEFINITION_DISTRICT_CODE,
OLD_DEFINITION_TERRITORY_CODE,
NEW_DEFINITION_TERRITORY_CODE,
START_DATE,
END_DATE
FROM (
SELECT EMPLOYEE_ID,
ROW_NUMBER() OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE DESC) RN,
LAG(DEFINITION_REGION_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_REGION_CODE,
DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE,
LAG(DEFINITION_DISTRICT_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_DISTRICT_CODE,
DEFINITION_DISTRICT_CODE NEW_DEFINITION_DISTRICT_CODE,
LAG(DEFINITION_TERRITORY_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_TERRITORY_CODE,
DEFINITION_TERRITORY_CODE NEW_DEFINITION_TERRITORY_CODE,
LAG(END_DATE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) START_DATE,
END_DATE
FROM ROSTER
WHERE RN = 1
EMPLOYEE_ID OLD_DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE OLD_DEFINITION_DISTRICT_CODE NEW_DEFINITION_DISTRICT_CODE OLD_DEFINITION_TERRITORY_CODE NEW_DEFINITION_TERRITORY_CODE START_DAT END_DATE
299 223 224 334 335 445 446 20-JUL-11 30-AUG-11
300 500 501 400 401 300 301 20-JUN-11 20-JUL-11
SQL> SY. -
Currency translation - based on posting date
Hi everyone..
im again posting this topic bcos im in need of a solution for my problem as early as possible.please excuse me.
Problem related to currency conversion:
Im taking a report from sales order and billing cube,and the report is coming fine,but when i apply the currency conversion type,it is not giving the correct conversion.
In report,im using exchange rate on document posting date.
So if i compare the value in R/3 with the reporting value,the difference comes.
For the currency conversion type i used, i checked in rrc2,it is like this.
Exch rate type:M-standard translation at avg rate
Source curr:from data record
Tgr curr:selection with translation
Time ref:Varoiable time reference:A-To the exact day
Special Infoobj:Posting date object
So what could be the problem for the wrong translation.the difference is about 1.2 rs per dollar.
i will be verymuch thankful to u,if u could give some solution for this problem...
thansk & regards
sudhaHi
Please check if you are transferring exchange rates maintained in R/3 to BW on daily basis or as & when change happens on R/3 side.
If not then you can do that in RSA1->source systems-> here select your R/3 system ->right mouse click-> Transfer global settings-> in next screen put check box ON for currencies and then using update tables option button. For daily scheduling, go to top menu ->Program-> Excute in background-> here you can schedule this as daily job.
Hope this helps
Regards
Pradip -
Calculate difference in value based on two date parameters
Hi All,
I have a table and need to calculate the difference in rent amount for a property based on two date parameters.
I have uploaded sample data here:
https://app.box.com/s/pu8oa4f3jhrhm0ylshdz2fuo7541vn4z
Thanks
JagHi jaggy99,
Do you have the knowledge of
Excel Add-In? If you don't have knowledge of C#/VB.NET language and Visual Studio, I don't think Excel Add-In is what you want. As I said previously, your problem is totally about the business logic, we don't provide solution for a complete requirement.
Based on your sample data, I think VBA code is suitable.
If you're not familiar with VBA, please take a look at the MSDN documents for scratch:
Getting Started with VBA in Excel 2010
The steps should be like this:
1. Sort all the records by [Rent Change Date] field
2. Loop throuth the records and find the FromDate and ToDate as well as the corresponding [Rent Charged] field
3. Calculate the difference and save the data into a new range
It's not so hard, please have a try, if you encounter any development problems, you can post in this forum.
Thanks.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Should Fiscal Year be derived from posting date for sales stat cube
Greetings,
Is it common to derive FY from posting date of the invoice for the sales stat cube. We have the standard SAP datasource 0UC_SALES_STATS_02 to extract billing information from ECC. On the BI side, the FY is derived from posting date in the transformation before it reaches the target (i.e. cube). Is this derivation common
Thank you in advance for your response.
BehnazHi,
You can derive the Fiscal Year from the posting period and it not uncommon to see this.
Reg,
Rahul -
View GR report based on posting date
Hi,
Is there any report to view GR on PO by enter posting date?
Because i check ME2M,only can enter delivery date.
Thank you.Hi,
Check MB51 with 101 movement type and posting date.
Regards,
Bharat -
Creating Multiple IDOCs and Line Items based on Posting date from file
Hi All,
My scenario is File to IDOC(MBGMCR01)...
Need your suggestions and help on how to go with this...
Source file structure is
DC61|2009-03-15|000000000001200051|00000005.00|200|0001|1234|
DC61|2009-03-15|000000000001200363|00000001.00|300|0001|1234|
DC61|2009-03-15|000000000001200334|00000002.00|400|0001|1234|
DC61|2009-03-16|000000000001201145|00000001.00|200|0001|1234|
DC61|2009-03-16|000000000001201086|00000002.00|100|0001|1234|
DC61|2009-03-17|000000000001200051|00000003.00|200|0001|1234|
DC61|2009-03-17|000000000001200052|00000003.00|200|0001|1234|
DC61|2009-03-17|000000000001200053|00000003.00|200|0001|1234|
DC61|2009-03-18|000000000001200056|00000003.00|200|0001|1234|
And target IDOC(MBGMCR01) is
IDOC (0u202699999)
E1BP2017_GM_ITEM_CREATE(0u2026999999)
Date
For Each new Posting date(column 2) of the source a new idoc to be created and the corresponding records of each posting date to be added to E1BP2017_GM_ITEM_CREATE
The out put for the above should be like this
IDOC(2009-03-15)
E1BP2017_GM_ITEM_CREATE=2009-03-15
E1BP2017_GM_ITEM_CREATE=2009-03-15
E1BP2017_GM_ITEM_CREATE=2009-03-15
IDOC(2009-03-16)
E1BP2017_GM_ITEM_CREATE=2009-03-16
E1BP2017_GM_ITEM_CREATE=2009-03-16
IDOC(2009-03-17)
E1BP2017_GM_ITEM_CREATE =2009-03-17
E1BP2017_GM_ITEM_CREATE=2009-03-17
E1BP2017_GM_ITEM_CREATE=2009-03-17
IDOC(2009-03-18)
E1BP2017_GM_ITEM_CREATE=2009-03-18
Will be thank ful if any one gives a hint....
Thanks and regards,
SridharI rather meant a picture of your mapping - anyways. Hope this is correct:
Your souce structure:
<MT_IAR>
<IAR_Recordset>
<IAR_Details>
<Inv_adj_date>
</IAR_Details>
<IAR_Details>
<Inv_adj_date>
</IAR_Details>
Than mapping should be like this:
<Inv_adj_date> ==> SplitbyValue ==> IDOC
Please confirm this doesn't work. -
FMS for Udf based on Posting Date + 4 weeks and +4 weeks excluding weekends
Hello,
Requirement 1
Have made a udf in the Sales Order Header as Manfacture Drawing Rel Date U_FDRDT in which I want that if a Sales Order posting date is 15/12/2010 then this udf should automatically update with the + 4 weeks date i.e 14/01/2011
Requirement 2
Another UDF is also made as U_FRDWDT in which I want that if the Sales Order posting date is 15/12/2010 then this udf should automatically update + 4 weeks EXCLUDING Fridays and Saturdays which is there in the 4 weeks hence the result should be e.g 27/01/2010 which is excluding Fridays and Saturdays.The requirement is as such that Friday and Saturday are holidays for the company and the client wants to have this field updated on + 4 weeks basis but it should not consider Friday and Saturday as its holiday.
Also note in SAP base setup Holiday Master Weekend is set from Friday to Saturday. Will this help in any way of updating the field or through formated search.
Kindly advise what best solution can be given
Regards,
SoniHi,
One question per thread. This is forum rule.
Here is FMS for the 1st one:
SELECT DateAdd(WW,4,$[ORDR.DocDate\])
Please post another for the 2nd.
Thanks,
Gordon -
Stock report for a period (based on posting date)
Hi Experts,
We have a requirement as under:
1) We want a report for a period say from 01.04.2011 to 30.09.2011 (closed period for both MM and FI postings). Report is being taken on a later date say 01.12.2011.
2) The report should say the status of stock as of 30.09.2011 only even of being taken in the month of December
3) I tried to take the desired report through MB5B for the period 30.09.2011 to 30.09.2011 (selection date fields) on 20th december, 2011 and noticed that if same report with the same selection criteria is taken at two different times, output data is not the same whereas MM and FI posting periods are already closed.
Can anybody suggest alternative SAP standard report where output will remain the same if report with same selection criteria is taken at different intervals ELSE in case of change we should be able to see the documents posted in between if back dated entries have been posted after opening MM /FI period.
thankssure it speaks the same, but it mentions as well the reasons (1) and has much more information (2) and a solution.(3)
1)
user starts transaction MB5B for a very large number of materials or for all materials in a plant
During the runtime of transaction MB5B, goods movements are posted in parallel:
- The results of transaction MB5B are incorrect.
- Each run of transaction MB5B returns different results for the same combination of "material + plant".
Example: Transaction MB5B should process 100 materials with 10,000 MM documents each. The system takes approximately 1 second to read the material master data and it takes approximately 1 hour to read the MM and FI documents. A goods movement for a material to be processed is posted approximately 10 minutes after you start transaction MB5B. The stock for this material before this posting has already been determined. The new MM document is also read, however. The stock read before the posting is used as the basis for calculating the stocks for the start and end date.
Even for an old and closed period, MB5B starts today and calculates backwards any movement to finally get the stock for the time your specified in your selection.
2)
The SAP standard release does not include a solution
so you have to understand that there is no real alternative transaction in SAP
3) and then they provide a large section with a workaround that can be developed by an experienced programmer within 3 to 5 days.
So how shall anyone here be able to tell you an alternative report?
if someone does, then it is an owndeveloped z-report which is not available in your sap system.
if you know that people want lookup period closing stocks at any time in future, then either schedule MB52 at month end and store the list somewhere (and do not allow backposting)
or have an Abaper create a stock report based on the history tables MARDH, MCHBH, MBEWH etc.
And even here you may encounter an issue at some day, if you start archving special stocks or material masters, because then the stock figures from the historic tables are gone and you cannot rebuilt a reliable stock report . -
Choosing a value based on newest date, and newest value
Good Afternoon,
I'm in search of help on a statement Im trying to perform in a Query transform in my ETL. So this is the scenario. I have a Value called SGSGVL which is "CYW" and in our descriptions table for the VALUE CYW we have 3 different Descriptions like Cadium Yellow, Cadium Yellow Paint and CDM Yellow and the date the description was added. What I would like to do is say:
Where in the description table = CYW, select the newest date and the most used value.
I've been told I can use a MAX statement but Im unsure exactly how to perform this in the query transform. Can anyone help? It would be GREATLY appreciated!
Thanks!You won't be able to do what you are asking in one query transform - it is complicated due the fact that you need your "max" to be based on something other than the column you want returned (date and count, versus the description). Essentially, what you need to do is:
QUERY1: value, description, field named REC_CNT with mapping of count(*), field named MAX_DATE with mapping of max(date), group by value and description
QUERY2: reads from QUERY1 --> value, field named MAX_REC which has a mapping such as: max(lpad(REC_CNT,'0',5) || '_' || to_char(date,'YYYYMMDD')), and group by value only
QUERY3: also reads from QUERY1 --> value, description, field named THIS_REC which has mapping such as: lpad(REC_CNT,'0',5) || '_' || to_char(date,'YYYYMMDD'), no group-by
QUERY4: joins QUERY2 and QUERY3 on QUERY2.MAX_REC = QUERY3.THIS_REC. Pull the value and description from QUERY3.
Basically - QUERY2 gives you the list of records which are considered the max, and QUERY3 gives you the full list with the same column to be able to join on, so QUERY4 pulls the descriptions only for the max record.
-Trevor -
X-axis values - Set values based upon constant date
I am creating a line graph. I am plotting based upon date/time. I'd like to use a constant date across the x-axis. IE 8:00, 8:15, 8:30. Within the constant value there could be many points or no points. For example there could be a point at 8:01, 8:02, 8:05 and then a point at 8:35. Along the x-axis the label should remain constant at 8:00, 8:15...
Any ideas?Hi,
use the chart engine for creating your graph. When requiring a horizontal time axis you have to use the chart type TimeScatter.
Download the SAP Chart Designer (SDN - Downloads - WebAS) and see the included pdf document that describes how to structure your data XML.
Demo reports are GRAPHICS_GUI_CE_DEMO and GRAPHICS_IGS_CE_TEST.
Regards, Kai -
A/r Invoice report query based on posting date selection criteria
Hi experts,
I am trying to write a query to get the A/r invoice report including Docnum, Docdate, cardname, project, linetotal, taxcode, taxtotal.
and i tried the below query
SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName],T1.[LineTotal] FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE T0.[DocDate] >=[%0] AND T0.[DocDate] <=[%1]
In this query ,
1) i am unable to sum up the linetotal( total before tax)
2) also unable to fetch the sum of taxamount.
3) its more important , the above query will me docnum , when i try to open that doc, it opens the 2007 docments. whereas the other details are correct like docdate, amount and all.
example: from date: 1/04/2011 to date: 28/07/2011
Docnum Docdate cardname linetotal.... etc
2 1/04/11 XYZ 5000
when i click the 2 (docnum) it opens me the 04/04/2007 documents.
how to limit the doc within the periods given?
thanks in advance
DwarakHi Rahul/Gordon,
thanks for your query's .
additionally, i want this query without the A/r invoices whichever having credit memo as target doc.
and
i have selection criteria as T0.[U_Sec_Category] = '[%2]' and this has 3 values like 1)CIM 2)BIN 3)DMP
among these CIM should be seen only only user1 and BIN & DMP only by user2.
can u plz get me this
thanks,
Dwarak
Maybe you are looking for
-
How do I clear cache and cookies on my ipad
How do I clear cache and cookies on my ipad? I was told to do this when I was trying to download ebooks to ibooks and kindle
-
I bought a new Mac Pro, transferred my CS software to it from my old Mac Pro, now I cannot access Illustrator, only the trial cloud version. How can I use the software I have already purchased?
-
How to connect ipod touch to internet through PC usb port
Hi, I would like to connect my ipod touch to internet through PC. but my pc does not have wifi. I was wondering if it is possible to use USB connection to do that. Thank you
-
Can't figure out what I did, if anything, to make the change.
-
Required supporting files for distribution of .chm
I am using X5 to generate a .chm. I know that there are required system files I must give to my developer inaddition to the .chm. What are they and where are they located? I