IM/PS return for "negative actuals"
Hi Gurus
Here is the issue. A WBS was settled on December 2013, 2 months later in 2014 the user detected that one of the expenses was wrong, he reversed a goods issue (mov 222Q), so the effect in the cost of the project is "zero"
1. Debit (Project stock) 10
2 Credit ( Expenses) -10
Since the asset was settled , 2 months of depreciation has run, finance department made a document in fb01 a to debit expense and credit to the asset.
Now the client wants to return the material form project stock to unrestricted use, this movement is posting a negative actual in my project and increasing the Available budget
I tried to return the budget with IM52, but of course the project does not have budget in 2014 , is there a way I can return this available budget? and is it correct to post a document directly in Finance? negative settlement is not an option because assets are not configured with this option because internal policies
Thanks!!
Ummm, are you going to call this program ReinventTheWheel? Because there's already a java.lang.Math.pow(double, double) method built-in.
Similar Messages
-
I've only had my iphone 5s for a week. I keep getting an error message of "Server has stopped responding." I need the server to work. Does anyone know if there is a "fix" for the problem? Other wise, I probably best return for a refund and get a Samsung. Thanks
sandyzotz wrote:
Other wise, I probably best return for a refund and get a Samsung.
Unlikely. Based on the complete lack of detail of the issue provided it is entirely possible the same issue would occur.
Unless and until the user provides some actual details of the problem, there is nothing the indicate that the issue is with the iPhone. -
Workflow Return for correction RFC history not appearing
Hi -
I have built a custom new workflow in Oracle Learning Management.
I am using the workflow attribute WF_NOTE to capture the comments of the approvers.
When the approval moves from one approver to another, it successfully captures any comments made by the previous approvers and displays it to the next approver.
However, when any of the approvers click on return for correction ( RFC ) button and the notification moves to the creator, the approval history is blank and does not have the comments made by the approver about why he is returning for correction.
Any insight?
ThanksIn actual it should update only that SIT record which is currently under consideration and not allow other records to modify.Ayaz
this is a very valid question .. and same thing happens with EIT as well. This happens because when you create or update EITs, SITs you can do more than one at a time at the time of creation/ updation. So when approver go to update action or send it back for return for correction you create/ update multiple EITs and SITs as all of that go in single transaction.
Let us know if you find any solution for this one. -
TDS Quaterly return for Foreign Payments
Hi,
For Withholding tax quarterly returns we use t.code j1inqefile, but this does not generate quarterly returns for W.Tax u/s 195.
Please advise which t.code can be used for section 195.
Thanks and regards,
Achal rajpalHi Rakesh,
The liability towards TDS is the amount you have deducted in INR.You have to calcuate TDS based on INR_value and pay as such.
Here you have deducted Rs.2693 and have paid Rs.2356.40.The balance[ Excess deducted ] being 336.60[2693-2356.40] should be paid to the IT dept.
Pass the following entries and close the account as under::
1st entry: Dr::TDS clearing>336.60:::Cr:IT payable>336.60.[ The clearing acct.is now balanced]
The next entry > Dr::IT payable>336.60:::Cr--->. Bank:336.60 [upon actual payment]
This resolves the problem in full.
Regards,
Ramesh. -
Return for correction RFC history not appearing
Hi -
I have built a custom new workflow in Oracle Learning Management.
I am using the workflow attribute WF_NOTE to capture the comments of the approvers.
When the approval moves from one approver to another, it successfully captures any comments made by the previous approvers and displays it to the next approver.
However, when any of the approvers click on return for correction ( RFC ) button and the notification moves to the creator, the approval history is blank and does not have the comments made by the approver about why he is returning for correction.
Any insight?
ThanksIn actual it should update only that SIT record which is currently under consideration and not allow other records to modify.Ayaz
this is a very valid question .. and same thing happens with EIT as well. This happens because when you create or update EITs, SITs you can do more than one at a time at the time of creation/ updation. So when approver go to update action or send it back for return for correction you create/ update multiple EITs and SITs as all of that go in single transaction.
Let us know if you find any solution for this one. -
Hello All,
We have registered an Extra Information Type and enabled security for Employee self service responsibility.Every thing is working fine except return for correction feature. Approver is able to return the notification for correction but when requester opens the returned notification and clicks on "Continue Action" link, he is not able to see the information type and getting note as "Under your current responsibility, no information types are available for this person"(May be this page is defaulted to some responsibility other than Employee self service ). He is not even able to see "Switch responsibility" list of values.
It seems i have missed something during setup. Kindly share some ideas to fix this issue and let me know if you need more information(Note that i am very new to this forum and this this my first thread)
Thanks
DileepIn actual it should update only that SIT record which is currently under consideration and not allow other records to modify.Ayaz
this is a very valid question .. and same thing happens with EIT as well. This happens because when you create or update EITs, SITs you can do more than one at a time at the time of creation/ updation. So when approver go to update action or send it back for return for correction you create/ update multiple EITs and SITs as all of that go in single transaction.
Let us know if you find any solution for this one. -
Hello,
when approver go for return for correction (RFC) on SIT, the main SIT page opens where initiator can able to add new records and also able to update any existing SIT records. This thing not happen in Absence work flow where on RFC, user update only current record which is under consideration.
In actual it should update only that SIT record which is currently under consideration and not allow other records to modify.
ThanksIn actual it should update only that SIT record which is currently under consideration and not allow other records to modify.Ayaz
this is a very valid question .. and same thing happens with EIT as well. This happens because when you create or update EITs, SITs you can do more than one at a time at the time of creation/ updation. So when approver go to update action or send it back for return for correction you create/ update multiple EITs and SITs as all of that go in single transaction.
Let us know if you find any solution for this one. -
How do I check if the user has inputted a negative number? And I have to return that negative number with the output.
Basically, I have to insert comma's wherever neccessary. For example, if a user inputs 1234 .. I have to insert a comma after the 1, so it will output 1,234. However, if the user inserts a negative .. how abouts would I go to inserting a comma in the desired spot. If the user inters -1234 .. I would need to ouput -1,234. Any help with the code on how to do that?
Here's the code that I have right now ..
public final class LongFormatter
public static String formatLong(Long l){
long lNumber = l.longValue();
if (lNumber <1000)
return l.toString();
Long lNumber2 = new Long(lNumber/1000);
Long remainder = new Long(lNumber%1000);
String sNumber = LongFormatter.formatLong(lNumber2);
return sNumber + "," + remainder;
}And here's the test code that I'm using ..
public static void main(String[] args){
String formattedNumber=LongFormatter.formatLong(new Long(1));
System.out.println(formattedNumber);
formattedNumber=LongFormatter.formatLong(new Long(12));
System.out.println(formattedNumber);
formattedNumber=LongFormatter.formatLong(new Long(123));
System.out.println(formattedNumber);
formattedNumber=LongFormatter.formatLong(new Long(1234));
System.out.println(formattedNumber);
formattedNumber=LongFormatter.formatLong(new Long(12345));
System.out.println(formattedNumber);
formattedNumber=LongFormatter.formatLong(new Long(123456));
System.out.println(formattedNumber);
formattedNumber=LongFormatter.formatLong(new Long(1234567));
System.out.println(formattedNumber);
} -
Creating query on Bex - Quaterly comparison for statistical & Actual
Hi All,
I would like to create a query for 'Quarterly comparison for statistical & Actual periods'.
My Key Figures should be
1) Plan 1st Qtr (Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
2)1st Qtr (Fiscal year, Period: 1 to 3, "Value type : 4(Actual),11(Actual statistical)", Version : 0(Plan/actual), Valuation View: actual Value).
3)Var 1st Qt (Plan 1st qtr - 1st Qtr)
same thing for 4 Quaters. finally with
4)Plan Year (Fiscal year, Period: 1 to 12, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value).
I created a structure and created key figures with selections and formulas as required. But I did not see any data when I ran this query.
The report was generated with 'no applicable data'.
I need to create this query with plan 1st Qtr, Ist Qtr, Var 1st Qtr, Plan 2nd Qtr, 2nd Qtr, Var 2nd Qtr, Plan 3rd Qtr, 3rd Qtr, Var 3rd Qtr, Plan 4th Qtr, 4th Qtr, Var 4th Qtr, Plan year. key figures.
Please let me know how can I create this query with these Key Figiures.
Any help would be appreciated. Please respond with the reply.
Thanks,
Aparna.Hi
The best way is then to run a report with your KF without any restriction, and the different chars in the drill down: Fiscal year, Period:, Value type, Version , Valuation View
Then you can check that you have some information with the combination of values of your chars:
Fiscal year, Period: 1 to 3, Value type : 1(Plan), Version : 0(Plan/actual), Valuation View: actual Value.
If you find a actual Value in the fiscal period you are looking at, for the period 1 to 3, for the Valuation type 1, for the version 0, then create arestricted KF by adding the restrictions one at a time....You moght discover why you do not get the results
PY -
Error in BAPI RETURN for Service Contract
Hi,
I get an error in the BAPI Return for the Uploading the Service Contracts by LSMW. The Error Message is E BS No status object is available for &.Also want to know can we upload multiple line of header text for a Contract by this BAPI. If so then how would I do this , as the BAPI structure BAPISDTEXT has textline upto 132 characters. And I am take only one file in LSMW where the header & details come alongwith text. Or could also tell me the file structure of for the data upload. The legacy system sends multiple text in the header for a Contract.For Eg.
Header1 Detail1 Text1
HEader1 Detail2 Text2
Header1 Detail3 Text3
So I would need this text1TEXT2text3 in the Header Text of the Contracts. Or do I need the change the file structure. Many thanks for your time and help.Thanks Nablan, I could do that for multiple header coming in file. But I have a question for you on BAdI ALM_ME_006_GOODSMVT. I have implemented this BAdI , and this BAdI is called by a function Module ALM_MEREP_006_CREATE. When I test this FM giving the Material , Orderid and Movement type entries, this BAdI is triggered when giving a breakpoint. I've given this code for changing the movement type to 961. Cause the stanadrd scenario does not maintain Movement type 961 in Mobile Asset Management. The Movement type 961 for unplanned Materials comes to SAP and changes to 261 as maiantained by TCOKO table. To bypass this & retain the movement type 961 in SAP I'm using this BAdI. Currently this is what I'm doing and am stuck in the method interface how do I call the method.
method IF_EX_ALM_ME_006_GOODSMVT~CREATE .
break-point.
*DATA : i_ce_goodsmovement TYPE REFERENCE
ALM_ME_CUSTOMER_ENHANCEMENT.
DATA : lr_badi_goods_movement TYPE REF TO if_ex_alm_me_006_goodsmvt.
DATA : ls_user_data TYPE ALM_ME_USER_DATA-USERID.
*DATA : goods_movement TYPE ALM_ME_MATERIAL_MOVEMENT.
CALL METHOD lr_badi_goods_movement->create
EXPORTING
ce_goodsmovement = ce_goodsmovement
IMPORTING
user_data = ls_user_data
custom_user_data = ls_ce_user_data
goods_movement = goods_movement
changing
return = return[].
CALL FUNCTION 'ALM_ME_COMMIT_OR_ROLLBACK'
TABLES
return = return.
endmethod.
Please help me to get the data in this method. How do I call this. -
What are the different messages that OCOD may return for a web service requ
Hi,
Please give me feedback on the questions below, concerning the limitations of web service, and messages which may return.
1) What are the different messages that OCOD may return for a web service request? I need all the messages of all the scenarios which OCOD can meet, for example:
- If the file is rejected (Error message)
- If the file is accepted (to clarify that the records have been created)
- if the application is unavailable (maintenance or web service is down)
2) How many request can we send simultaneously, and how many records we can make per second?
Best Regard,Have a look here Jquery slideshow tutorial for beginners | WEBTUTS
-
Goods Return for Capital Goods
Dear Experts,
I need correct SAP Process for the below scenario :
GRPO for Capital goods has been raised.
Incoming excise Invoice for the GRPO has been booked. While booking Incoming excise invoice, 50% of the Excise duties will be posted to Capital Goods On hold account defined in the GL Account determination.
Now due to some reasons i am raising Goods return for the GRPO raised earlier for the Capital Goods.
Then i am booking the Outgoing excise Invoice. But in the Outgoing excise invoice the 50% Of the excise duties posted to the on hold account is not reversed.
In outgoing excise Invoice,Only sales accounts defined in tax code will be credited and CENVAT Clearing account will be debited.
How to reverse the 50% Excise duties got posted in the On hold Account ?
Kindly mail some Valuable suggestions
Regards
New Age Bizsoft SolutionsHi,
There is no defined process for returning capital goods.
While making the Incoming excise invoice Purchase tax accounts defined in tax code and On Hold account defined in GL Account determination will be debited for the 50% value.
While returning the same,in Outgoing excise invoice, sales tax accounts defined in tax code will be credited for the whole value.
After doing this, An adjustment journal entry need to be passed by crediting the On hold account and debiting the sales tax accounts defined in tax codes for only the 50% excise value.
By doing so our input and output for excise booking will balance.
Hope you got my view in it.
Regards
Ravindran Srinivasan. -
How to clear alert when a null value is returned for a metric column?
Hey all,
Recently, I've encountered a problem about clearing alert when a null value is returned for a metric column. From Oracle official doc, it seems that NO_CLEAR_ON_NULL could be used for this propose. However, it doesn't.
Here is the line from doc, you can see when NO_CLEAR_ON_NULL is set as FALSE, the null value will clear alert, and the default value for NO_CLEAR_ON_NULL is FALSE.
NO_CLEAR_ON_NULL: This attribute is used to control severity clearing when a null value is returned for a metric column. It defaults to FALSE with the behavior that a null value ends up clearing previous alert severities. With a TRUE value for this attribute, null values will be skipped in severity evaluations without clearing the severity.
TRUE | FALSE (default)
STATELESS_ALERTS: This attribute if set to TRUE indicates to EM that alerts on this
column will not have corresponding clears. This allows the UI to decide whether to
allow users to manually clear alerts on this column.
TRUE | FALSE (default)Here is my code for the metric,
-- meta definition
<Metric NAME="Flushing_Table_Overtime" TYPE="TABLE" HELP="NO_HELP">
<Display>
<Label NLSID="mmd_ip">Flushing Table Overtime</Label>
</Display>
<TableDescriptor>
<ColumnDescriptor NAME="State" TYPE="STRING" IS_KEY="FALSE">
<Display>
<Label NLSID="mmd_rc_State">State</Label>
</Display>
</ColumnDescriptor>
<ColumnDescriptor NAME="Time_Seconds" TYPE="NUMBER" IS_KEY="FALSE">
<Display>
<Label NLSID="mmd_fto_Time_Seconds">Flush Table consume Seconds</Label>
</Display>
</ColumnDescriptor>
</TableDescriptor>
<ExecutionDescriptor>
<GetTable NAME="MysqlProcessAggregate"/>
<GetView NAME="v_flushing_tables" FROM_TABLE="MysqlProcessAggregate">
<Column NAME="State" />
<Column NAME="Time_Seconds" />
<Filter COLUMN_NAME="State" OPERATOR="EQ">Flushing tables</Filter>
</GetView>
</ExecutionDescriptor>
</Metric>
-- coll definition
<CollectionItem NAME="Flushing_Table_Overtime">
<Schedule>
<IntervalSchedule INTERVAL="10" TIME_UNIT="Min" />
</Schedule>
<MetricColl NAME="Flushing_Table_Overtime">
<Condition COLUMN_NAME="Time_Seconds"
CRITICAL="30" OPERATOR="GT"
MESSAGE="There is a Flushing Table command has exceeded %critical_threshold% seconds."
MESSAGE_NLSID="msg_Flushing_Table_Overtime" />
</MetricColl>
</CollectionItem>If this feature can not be achieved by coding XML, then is there a way to clear alert with Oracle Package? I have confirm neither sysman.em_severity.delete_current_severity nor sysman.em_severity.clear_alerts could do it.
Would anyone give me a hint?
Thanks in advance!
Best wishes,
Satine> I am executing in this manner
var RESULT BOOLEAN;
BUT I am unable to create variable with boolean data type.
WARNING. Do not confuse SQL*Plus with PL/SQL.
There is no variable command in PL/SQL. PL/SQL does support the boolean data type.
There is a variable command in SQL*Plus. It allows one to define bind variables. It is limited in the data types it supports. It does not support boolean as a bind variable type.
SQL*Plus is a CLI (Command Line Interface) client tool. It has a very limited vocabularly, allowing you to (primarily):
a) configure its local environment (e.g. size of the terminal ito number of characters per lines)
b) configure its bevahiour (e.g. spooling data to a file)
c) defining substitution and bind variables
And that's it. It is not PL/SQL. It is not SQL. It takes the PL/SQL and SQL you enter, and submit that to the Oracle server. (it does some basic parsing of the data to substitute variables and bind variables where applicable)
Do not confuse this CLI client tool with the server side PL/SQL or SQL languages. -
There is an invalid number of result bindings returned for the ResultSetType
SSIS SQL Task: Single Row Result Set
Code was updated to test for data in target: If Exists Do Merge ELSE Do Insert
Previously was just a merge that Output $Action to @ChangeSum and then @ChangeSum queried for updates and inserts
That all worked but after injecting new code I receive the error There is an invalid number of result bindings returned for the ResultSetType that I don't know what it means or how to troubleshoot.
Inject New Code:
IF OBJECT_ID('tempdb..##TblTemp', 'U') IS NOT NULL
DROP TABLE ##TblTemp
Declare @sql nvarchar(max);
set @sql = @TestForData
exec (@sql);
IF EXISTS (select top 1 * from ##TblTemp)
Begin
--Beginning of existing code
begin transaction;
begin try
declare @MergeQuery varchar(max)
set @MergeQuery = convert(varchar(max), @MergeQuery1) + convert(varchar(max), @MergeQuery2)
+ ' ' + convert(varchar(max), @MergeQuery3)
+ ' ' + convert(varchar(max), @MergeQuery4)
+ ' ' + convert(varchar(max), @MergeQuery5);
exec(@MergeQuery);
end try
begin catch
declare
@Message VARCHAR(4000)
,@Severity INT
,@State INT;
select
@Message = ERROR_MESSAGE()
,@Severity = ERROR_SEVERITY()
,@State = ERROR_STATE();
if @@TRANCOUNT > 0
rollback transaction;
raiserror(@Message, @Severity, @State);
end catch;
if @@trancount > 0
begin
commit transaction;
end
--End of existing code
End
else
Begin
declare @InsertQuery nvarchar(max)
set @InsertQuery = convert(varchar(max),@InsertQuery1)
exec (@InsertQuery);
end
Drop Table ##TblTemp
=================================
SSIS Variable @InsertQuery1:
This variable is executed in SQL Task and the last 3 lines I expect a single row of Insert & Update counts to be returned.
declare @ChangeSum table(change varchar(25));
declare @Inserted int = 0;
declare @Updated int = 0;
While 1 = 1
Begin
INSERT INTO [R_Paid].[BusCodeF454x93]
OUTPUT Inserted.Sta3n INTO @ChangeSum
SELECT TOP 1000 s.*
FROM [R_Stage].[BusCodeF454x93] s
WHERE NOT EXISTS
SELECT 1
FROM [R_Paid].[BusCodeF454x93]
WHERE STA3N=S.STA3N and [BusCodeF454x93IEN] = s.[BusCodeF454x93IEN]
IF @@ROWCOUNT = 0 BREAK
END
set @Inserted = (select count(*) from @ChangeSum );
set @Updated = 0;
select @Inserted as Inserted, @Updated as Updated;"SELECT " + (DT_WSTR,50)@[User::TargetExists] + " = CASE WHEN COUNT(*) > 0 THEN 1 ELSE 0 END
FROM " + (DT_WSTR, 100) @[User::DataDestinationTable]
must do the trick
The T-SQL merge allows both inserts and updates:
MERGE Target AS T
USING Source AS S
ON (T.EmployeeID = S.EmployeeID)
WHEN NOT MATCHED BY TARGET AND S.EmployeeName LIKE 'S%'
THEN INSERT(EmployeeID, EmployeeName) VALUES(S.EmployeeID, S.EmployeeName)
WHEN MATCHED
THEN UPDATE SET T.EmployeeName = S.EmployeeName
WHEN NOT MATCHED BY SOURCE AND T.EmployeeName LIKE 'S%'
THEN DELETE
OUTPUT $action, inserted.*, deleted.*;
ROLLBACK TRAN;
GO
Arthur My Blog -
Abap report for budget/actual/commitment
Hi Guru..
Please help me.
Im in urgent
I wanna write an abap program for budget/actual/commitment.
I try to trace prgram s_alr_87013019, but only one table found.
Please let me know which table is using for budget/actual/commitment
report..
Please guru..Hello Mohd,
The actual,budget and commitment values are stored in the one table COSP.
The values differentiate with field <b>VRGNG</b> - "CO Business Transaction".
If the record has in this field text '<b>COIN</b>' it means that values are "actual".
For example:
OBJNR PR00000101
GJAHR 2005
KSTAR 101101
VRGNG <b>COIN</b>
TWEAR USD
WTG001 100,00
WTG002 200,00
It means that the element PR0000101 has the '<b>actual'</b> operations refering
the cost element 101101, with values: 100,00 USD in january 2005 and
200,00 USD in february 2005.
The next row in the table COSP, clould look like this:
OBJNR PR00000101
GJAHR 2005
KSTAR 101101
VRGNG <b>RMBA</b>
TWEAR USD
WTG001 100,00
WTG002 0,00
This means that there was a <b>'Purchase requisition'</b> in january 2005
with decretation on object PR0000101.
And the next row, could be:
OBJNR PR00000101
GJAHR 2005
KSTAR 101101
VRGNG <b>RMBE</b>
TWEAR USD
WTG001 0,00
WTG002 150,00
And that means that in february 2005 there was a <b>'Purchase order'</b>
with value 150,00 USD decretated on this object.
I hope, that my explanation is now clear and accurate.
- Marta
Maybe you are looking for
-
Hi I am trying to set a appointment for the Genus bar on my computer. I know for a fact that my login is correct. I have used it to sign in here and make a apointment (had to do it on my phone). When I get to the appointment area it tells me to re
-
Can I get my MBP's history online?
Several years ago, I purchased a MBP from an Apple store. However, as these things sometimes happen, I had a few problems. One had to do with either my hard drive or my optical drive (I don't remember which one), and the bad hardware was replaced thr
-
Itunes and quicktime just pop up and close...
why isnt it working?
-
Labview error GPIB controller not adressed correctly
I get this Labview error: GPIB controller not adressed correctly (LV5.1, win NT4) when i try to send data to a HP4275A LCR meter. How ever it works on an older system running with LabView 5.0 (also NT)!!! How can I get rid of this problem????
-
Why is my imac making an intermittent dinging noise?
Yesterday, my imac started making an intermittent 'ding' noice, like someone hitting a bell. Can anyone tell me what this is please?