How to get - Net amount for accounting doc in the SD doc flow?
Hi,
In my report I have to show the net amounts from the Sales doc, invoice and accounting doc, etc.
I got the FI doc amount from BSEG, however there the gross amount is stored.
I noticed that in the SD document flow for the accounting document the net amount is shown.
I tried with the following calculation, however in some cases this doesn't work (eg there is separate tax item in the FI doc):
"<lwa_bseg>-wrbtr - <lwa_bseg>-wmwst"
Is there a function module/sap standard code to provide this data?
Thanks in advance,
Peter
when u see the Item Header in SO or Billing , at the Head of Condition table u will get NET amount ?
are u not maintaining any seperate conditions for this NET amount ?
have a word with ur functional guys , so he can help u out.
Regards
Peram
Similar Messages
-
I've lost a load of notes, but dont know why or how to get them back. I cant find the folder that is in my Yahoo account that people have suggested might be the location for the messages. I recently signed into iCloud for the first time. Any idea how to get the notes back? I really dont want to lose them.
It should keep asking for the password, because it's trying to check for purchases... As soon as you login, it will see you have pending downloads and create the downloads section on the left below Purchases under the Store section. Then it will start the music downloads there, as they will be listed one below the other.
You could just try to check your account balance or view your account and that will trigger a password request too. You can just click on that and say that now iTunes keeps asking for the password and ask him to help you with that. Trick would be to interrupt him so that he carries on with another task after, so he doesn't notice the download. Or you carry on with email or browsing which you were "busy" with when iTunes interrupted you for the password (stupid iTunes) -
How to get Open Balance for the year and Total Ending Balance?
For a given account, how to get Open Balance for the year (Cumulative Ending Balance) and Total Ending Balance (Cumulative Ending Balance)?
Is there any function module available? or should I read from some tables? Please advice.Hello Paul,
You could try calling one of the following BAPIs - see which one meets your requirement. They are documented well so shouldn't be a problem finding out the correct one for your requirements.
BAPI_GL_GETGLACCBALANCE
BAPI_GL_GETGLACCCURRENTBALANCE
BAPI_GL_ACC_GETBALANCE
BAPI_GL_ACC_GETCURRENTBALANCE
BAPI_GL_ACC_GETPERIODBALANCES
BAPI_COND_VAL_DECRE_BALANCES
You might have to put in some of your own logic after the BAPI call to get what you want.
Hope this helps,
Cheers,
Sougata.
p.s. Also look at FM FAGL_GET_ACCOUNT_BALANCE
Edited by: Sougata Chatterjee on May 7, 2008 11:47 AM -
How to get IDES version for training !!
Hi,
I like to train SAP SD module, for that how to get IDES vesrion, is it available in the net.
Thanks,
Senthilcheck below link
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6 -
What could be the query to get Spend Amount for a Product name in EBS?
Hi Experts,
I need a help to write a query in EBS to get Spend Amount for any given Product Name and Top Level Category (Segment1).
It can be two different query or a single one. Please reply if anyone knows how to do it. I need it for testing purpose.
Thanks in advance.All good here Sudipta.
You can try the below SQL.
SELECT msib.description,mcb.segment1,SUM(pla.quantity*pla.unit_price) total_spend
FROM
po_lines_all pla,
mtl_categories_b mcb,
mtl_system_items_b msib
WHERE pla.category_id = mcb.category_id
AND pla.item_id = msib.inventory_item_id
AND msib.organization_id = <enter your item master organization id>
GROUP BY msib.description,mcb.segment1
If you don't want to use the PO_LINES_ALL, is there any other sourced you are planning to use for spend.
SELECT mcb.segment1,SUM(pla.quantity*pla.unit_price) total_spend
FROM
po_lines_all pla,
mtl_categories_b mcb
WHERE pla.category_id = mcb.category_id
GROUP BY mcb.segment1
and do not need the po_lines_all table. I'm doing a data validation between OBIEE reports and EBS test data. In report i'm keeping only Product Name and Spend Amount to make it simple. Now I need to check the values are same in report and EBS. Thats the criteria.
Thanks
Sudipta -
How to get this information for Conky
Hi people,
My question is how to get this information for show in Conky:
- KDE version.
- Last sync (pacman -Sy) and Last update (pacman -Su)
For the first point could be use a script that execute $ kdesu --version and get information from there.
I have no idea how get information from pacman (may be logs?).
Any ideas?
Thank you.I have had tremendous success with LUA in Conky on Arch. And all you need to to is put the text HI after the "TEXT" line. ^^;
Examples of my LUA usage:
http://fc02.deviantart.net/fs71/i/2010/ … usLink.png
http://kittykatt.silverirc.com/screens/conky-HUD.png
EDIT: Also, I've had success with getting the KDE version by doing the following...
kwin --version | awk '/^Qt/ {data="Qt v" $2};/^KDE/ {data=$2 " (" data ")"};END{print data}'
This is the method I'm currently using in screenFetch. Tested it a couple of times myself, but besides that, I'm not sure if it will work or not.
Last edited by kittykatt (2010-04-22 17:52:25) -
How to Get Missing Dates for Each Support Ticket In My Query?
Hello -
I'm really baffled as to how to get missing dates for each support ticket in my query. I did a search for this and found several CTE's however they only provide ways to find missing dates in a date table rather than missing dates for another column
in a table. Let me explain a bit further here -
I have a query which has a list of support tickets for the month of January. Each support ticket is supposed to be updated daily by a support rep, however that isn't happening so the business wants to know for each ticket which dates have NOT been
updated. So, for example, I might have support ticket 44BS which was updated on 2014-01-01, 2014-01-05, 2014-01-07. Each time the ticket is updated a new row is inserted into the table. I need a query which will return the missing dates per
each support ticket.
I should also add that I DO NOT have any sort of admin nor write permissions to the database...none at all. My team has tried and they won't give 'em. So proposing a function or storable solution will not work. I'm stuck with doing everything
in a query.
I'll try and provide some sample data as an example -
CREATE TABLE #Tickets
TicketNo VARCHAR(4)
,DateUpdated DATE
INSERT INTO #Tickets VALUES ('44BS', '2014-01-01')
INSERT INTO #Tickets VALUES ('44BS', '2014-01-05')
INSERT INTO #Tickets VALUES ('44BS', '2014-01-07')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-03')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-09')
INSERT INTO #Tickets VALUES ('32VT', '2014-01-11')
So for ticket 44BS, I need to return the missing dates between January 1st and January 5th, again between January 5th and January 7th. A set-based solution would be best.
I'm sure this is easier than i'm making it. However, after playing around for a couple of hours my head hurts and I need sleep. If anyone can help, you'd be a job-saver :)
Thanks!!CREATE TABLE #Tickets (
TicketNo VARCHAR(4)
,DateUpdated DATETIME
GO
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-01'
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-05'
INSERT INTO #Tickets
VALUES (
'44BS'
,'2014-01-07'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-03'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-09'
INSERT INTO #Tickets
VALUES (
'32VT'
,'2014-01-11'
GO
GO
SELECT *
FROM #Tickets
GO
GO
CREATE TABLE #tempDist (
NRow INT
,TicketNo VARCHAR(4)
,MinDate DATETIME
,MaxDate DATETIME
GO
CREATE TABLE #tempUnUserdDate (
TicketNo VARCHAR(4)
,MissDate DATETIME
GO
INSERT INTO #tempDist
SELECT Row_Number() OVER (
ORDER BY TicketNo
) AS NROw
,TicketNo
,Min(DateUpdated) AS MinDate
,MAx(DateUpdated) AS MaxDate
FROM #Tickets
GROUP BY TicketNo
SELECT *
FROM #tempDist
GO
-- Get the number of rows in the looping table
DECLARE @RowCount INT
SET @RowCount = (
SELECT COUNT(TicketNo)
FROM #tempDist
-- Declare an iterator
DECLARE @I INT
-- Initialize the iterator
SET @I = 1
-- Loop through the rows of a table @myTable
WHILE (@I <= @RowCount)
BEGIN
-- Declare variables to hold the data which we get after looping each record
DECLARE @MyDate DATETIME
DECLARE @TicketNo VARCHAR(50)
,@MinDate DATETIME
,@MaxDate DATETIME
-- Get the data from table and set to variables
SELECT @TicketNo = TicketNo
,@MinDate = MinDate
,@MaxDate = MaxDate
FROM #tempDist
WHERE NRow = @I
SET @MyDate = @MinDate
WHILE @MaxDate > @MyDate
BEGIN
IF NOT EXISTS (
SELECT *
FROM #Tickets
WHERE TicketNo = @TicketNo
AND DateUpdated = @MyDate
BEGIN
INSERT INTO #tempUnUserdDate
VALUES (
@TicketNo
,@MyDate
END
SET @MyDate = dateadd(d, 1, @MyDate)
END
SET @I = @I + 1
END
GO
SELECT *
FROM #tempUnUserdDate
GO
GO
DROP TABLE #tickets
GO
DROP TABLE #tempDist
GO
DROP TABLE #tempUnUserdDate
Thanks,
Shridhar J Joshi
<If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'> -
Qry:How to get different price for each price list (variable area) in order
1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
2- I add a location store from a table in line item and I want to see this area in order,.
I 'm created 2 field location(item line and order), 1 table location
I tried this for exemple : select $ [userfieldlocation.OITW]Thanks Suda for your answer,
the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,
I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
read carefully and imagine how (Management warehouse locations)
I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data line and an ather user field 'U_Location' in sales order
I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
or
create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
I think we will use all these tables
@LOCATION
PDN1
OITM
OITW
OWHS
RDR1
Juste a another question : where you found this and What is: ' 38.1.0 '
Is it in document (System information):Item=38 Pane=1 ??
Thanks,
Ouchen -
How to get column names for a specific view in the scheme?
how to get column names for a specific view in the scheme?
TIA
Don't have DD on the wall anymore....or this?
SQL> select text from ALL_VIEWS
2 where VIEW_NAME
3 ='EMP_VIEW';
TEXT
SELECT empno,ename FROM EMP
WHERE empno=10 -
I have a new iPhone 5C, have the sounds alerts set up. But I'm not getting sound alerts for new voicemail, only the red circle on the screen. How can I make the sound alert work?
I have had this same problem for weeks now with my 4S. I just got a new 5S after being extremely frustrated and the same thing - no sounds. After searching posts all over, I couldn't find a solution. I just told my friend of the issue and he asked "Do you have the Do Not Distrub on?" I didn't even know such a function existed. Upon looking that was exactly the issue.
To resolve, go to Settings> Do Not Disturb> Manual. If it is green, turn it off. You will now get phone calls and text alerts.
This functionality is also on your quick access utility menu (slide up menu). I assume this is how it was enabled on my phone.
I will post on other sites since I searched for weeks for this solution and didn't see it anywhere. Good luck! -
Okay i had to install Itunes onto my new OS because window's Vista messed up on me and i can't get any of my old purchases back from my account such as music and movies any ideas on how to get them back (i do not have the folder that contains old items from the last itunes or anything from that OS because it had a virus and i just wanted windows 7)
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Hope this helps,
JD -
How to get Alerts mail for adapter engine errors in SAP PI 7.0
Hi Friends,
I configured Alerts in PI 7.0. with the help of t-code u2018ALRTCATDEF and created a new alert catergory.
In container tab i have mentioned all give below elements.
SXMS_MSG_GUID, SXMS_RULE_NAME, SXMS_ERROR_CAT, SXMS_ERROR_CODE, SXMS_FROM_PARTY, SXMS_FROM_SERVICE, SXMS_FROM_NAMESPACE, SXMS_FROM_INTERFACE, SXMS_TO_PARTY, SXMS_TO_SERVICE, SXMS_TO_NAMESPACE,SXMS_TO_INTERFACE
I am getting alerts when I manually test the alerts configurations by running the report u2018RSALERTTESTu2019.
I am getting mail as :
Alert ID: ##00009##
Dear Administrator,
This is with respect to XI Scenario. During processing of XML file from ECC or XYZ Server, Following error has been occured:
Message ID:
Interface:
NOTE: To check the file name, go to SXMB_MONI and search for above message ID.
Double click on that message ID and click on error in left hand tree.
Please take appropriate action in co-ordination with respective functional and BASIS consultant.
But When I am getting a error , I am not getting an alert mail. Right now iam doing in XI Development.
I am not getting an Alert mail , when my message is in status of : System Error . Error catergory is : XI_J2EE_ADAPTER_JDBC.
Kindly tell how to get alert mail for error catergory : XI_J2EE_ADAPTER_JDBC and in Adapter engine errors.
How to get alert mail when my message is failed with any reason in Adapter engine.
Waiting for quick replay. Please help me out.
Regards,
Ahmed.Hi thanks for quick reply.
As per your given link : http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14877. [original link is broken]
I have done all these steps. But still little problem.
as per link he is getting Error description , error message id , alert rule..
In my case I am not getting these information. when my messages failed. When I am doing manully testing the alert getting an mail as :
Alert ID: ##00009##
Dear Administrator,
This is with respect to XI Scenario. During processing of XML file from ECC or XYZ Server, Following error has been occured:
Message ID:
Interface:
NOTE: To check the file name, go to SXMB_MONI and search for above message ID.
Double click on that message ID and click on error in left hand tree.
Please take appropriate action in co-ordination with respective functional and BASIS consultant.
Is it okay the body of mail??.
I am not getting alert mail when my messages failed in adapter engine and Integration Engine.
Ex my message is failed in AE:as below.
My messages flow as : SAP --> XI --> DB.
Messages is success (in ECC moni)> XI moni also success> XI Adapter engine getting error as (Status: System Error) and (Error Category : XI_J2EE_ADAPTER_JDBC).
Regards,
Ahmed. -
How to get wage type for every time record
Hi Pros,
I am using DS 0CA_TS_IS_1, it includes report time type (0REPTT), but not have wage type. in CATSDB, I fied fields for attendance/absence type and wage type. but not every time record has wage type. can you please tell me how to get wage type for every time record? what is relation between reporting time type, attendance/absence type and wage typs?Hello,
Can you talk to your HR/T&E functional consultant if they populate these values in CATSDB table using standard way or if there are custom fields that are in CATSDB OR any other table which can be used to meed the requirements
Thanks
Abhishek Shanbhigue -
How to get a reference for custom controller
Hi All,
I am working with the custom controller but i dont know how to call the functionality of custom controller into a view controller.For accessing component controller functionality we have a attribute wd_comp_controller in view controller.Like this how to get a refernce for the custom controller.
Thanks in Advance.hi,
Lets say view1 has the event ONACTIONNAVIGATE and you want to call a method 'start_navigation' in the custom controller named 'navigation'.
Use the following code.
METHOD onactionnavigate .
DATA lo_navigation_controller TYPE REF TO ig_navigation.
lo_navigation_controller = wd_this->get_navigation_ctr( ).
CASE navigation_type.
WHEN 'BACKWARD'.
lo_navigation_controller->start_navigation( if_fitv_fpm_api=>gc_navigate_backward ).
WHEN 'FORWARD'.
lo_navigation_controller->start_navigation( if_fitv_fpm_api=>gc_navigate_forward ).
ENDCASE.
ENDMETHOD.
Thanks,
Rajkumar.S -
How to get F4 help for Standard Text Key of a operation based on Order type
Hi Experts,
How to get F4 help for Standard Text Key (STK) of a operation based on Order type entered in selection screen. The F4 help should give the STK of related order type. At the same time the F4 help for Task Types based on Notification type. How to acheive the above two. Please provide the table names or any search help name if exists or Function modules...
Thanks in Advance.
Regads,
BujjiHi Guys,
Any help on this...
Regards,
Bujji
Edited by: Bujji on Dec 22, 2008 12:42 PM
Edited by: Bujji on Jan 5, 2009 2:00 PM
Maybe you are looking for
-
Multiple Certs for multiple domains on one server
Is it possible with WLS6 and WLCS3.5 to serve up multiple domains with their own certificates? i.e. https://www.foo.com and https://www.bar.com on the same box.
-
Problem at the time of Implementing Text Matching Test Case in OFT
hi, I had add Text Matching Test Case on login of the application for the username and password. and If the Test Case fail on that screen,then it should not allow to go further in the application. As currently at the time of Playback, it is allowing
-
Error installing Photoshop CS6 on windows 7
Hi. Edward here. I have a problem trying to install photoshop cs6. This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance. So i dont know what to do. help please
-
I downloaded a program that was an adware and now can't get rid of it. How do I do it?
I downloaded a program that was an adware with out understanding what it really was and now can't get rid of it. How do I get rid of it?
-
Opening files with double-click and FileVault
I'm experiencing an issue with 10.7.2 and something is telling me it's related to FileVault. When opening a .txt or .numbers file the associated application (TextEdit or Numbers) will open and display the document. But the pointer turns to the spinni