System doesnt calculate avg as per the period
i have one query, this is the most crucial issue going on at my firm
Please advice
Suppose there is an item.its purchased all round the year from jan to dec
ORG in which its being purchased and transacted, issued, received is using avg costing method
so all round the year it would have moving average, which would be varying ..
now in dec , i decide to transact that item in a back date, say for example march..
in this case, the system should take the avg cost that was in march or should it take the avg cost which is currently in the system.
and if it should take the avg that was in march, than all preceding months avg should be updated.
If it takes decembers current avg, than also all avg from march till dec should be updated by the system
Please advice wats the correct logic and system action
thanks
Muhammed
use fm hr_hk_diff_bt_2_Dates
pass gbdat from pa0002 and sy-datum to calculate the age as per system date
br,
vijay
Similar Messages
-
Dynamic ALV as per the periods on the selection screen
Hello Experts
I am new to dynamic ALV , Please help me to sought out my confusion.
I want to create a dynamic ALV , based on the period mentioned at selection screen.
for example I want to display the movement type ( sum of the quantity ) for materials for the full month.
I want the ALV output as below.
Material .........qty 01.04.2011..... qty 02.04.2011... qty 03.04.2011 ........ qty 30.04.2011
AB1........................... 30.................... 20............................. 50......................... 200
AB2.................................................... 50 ............................. 80 ..........................10
I create an internal table itab with there fields to selact the data
MATNR
date
qty
select MATNR
date
qty
into itab
from mseg
where based on the selection screen.
then collect the data to other table date wise , now i have summrise data of material quantity
now the results after collection data into table itab2 is as follows
Material ................... date ................................ qty
AB1 .................... 01.04.2011....................... 30
AB1 ................... 02.04.2011 ....................... 20
AB1 ................... 03.04.2011....................... 50
AB1 ................... .30.04.2011....................... 200
AB2 .................... 02.04.2011....................... 50
AB2 ....................... 03.04.2011....................... 80
AB2 ....................... 30.04.2011 ....................... 10
How can I display these fields horizontally instead of vertically ,
and to the exact column as per the field catalog column header belongs to date.
it would be so helpful if somebody explain with code by taking the above example.
Thanks in AdvanceHello Both Experts ,
I write the below code and it is working for the requirement.
Can you please check
REPORT z_test_dynamic .
TABLES : mkpf , mseg .
TYPES : BEGIN OF t_mseg ,
mblnr TYPE mblnr ,
bwart TYPE bwart ,
matnr TYPE matnr ,
werks TYPE werks_d ,
menge TYPE menge_d ,
budat TYPE budat ,
END OF t_mseg.
TYPES : BEGIN OF t_mseg_1 ,
matnr TYPE matnr ,
menge TYPE menge_d ,
budat TYPE budat ,
END OF t_mseg_1.
DATA : gt_mseg TYPE STANDARD TABLE OF t_mseg ,
gs_mseg TYPE t_mseg,
gt_mseg_1 TYPE STANDARD TABLE OF t_mseg_1 ,
gs_mseg_1 TYPE t_mseg_1,
gt_mseg_2 TYPE STANDARD TABLE OF t_mseg_1 ,
gs_mseg_2 TYPE t_mseg_1..
DATA : gt_date TYPE STANDARD TABLE OF sy-datum ,
gs_date TYPE sy-datum..
DATA: ok_code LIKE sy-ucomm,
g_container TYPE scrfname VALUE 'CONTAINER_01',
grid1 TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container.
DATA: gt_fieldcat TYPE lvc_t_fcat.
DATA: gp_table TYPE REF TO data.
FIELD-SYMBOLS: <gt_table> TYPE table.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_matnr FOR mseg-matnr ,
s_bwart FOR mseg-bwart NO INTERVALS,
s_werks FOR mseg-werks ,
s_budat FOR mkpf-budat .
PARAMETERS : p_mjahr TYPE mjahr OBLIGATORY.
SELECTION-SCREEN : END OF BLOCK b1.
PERFORM field_catalog.
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = gt_fieldcat
IMPORTING
ep_table = gp_table.
ASSIGN gp_table->* TO <gt_table>.
PERFORM select_main_data.
PERFORM move_data.
*& Form select_main_data
* text
* --> p1 text
* <-- p2 text
FORM select_main_data .
SELECT mseg~mblnr
mseg~bwart
mseg~matnr
mseg~werks
mseg~menge
mkpf~budat
INTO TABLE gt_mseg
FROM mseg AS mseg INNER JOIN mkpf AS mkpf
ON mseg~mblnr = mkpf~mblnr AND
mseg~mjahr = mkpf~mjahr
WHERE matnr IN s_matnr AND
budat IN s_budat AND
werks IN s_werks AND
bwart IN s_bwart AND
mseg~mjahr EQ p_mjahr .
IF gt_mseg IS NOT INITIAL.
LOOP AT gt_mseg INTO gs_mseg.
gs_mseg_1-matnr = gs_mseg-matnr.
gs_mseg_1-budat = gs_mseg-budat.
gs_mseg_1-menge = gs_mseg-menge.
COLLECT gs_mseg_1 INTO gt_mseg_1.
ENDLOOP.
ENDIF.
gt_mseg_2 = gt_mseg_1.
DELETE ADJACENT DUPLICATES FROM gt_mseg_2 COMPARING matnr.
ENDFORM. " select_main_data
*& Form field_catalog
* text
* --> p1 text
* <-- p2 text
FORM field_catalog .
DATA : lt_day_attributes TYPE STANDARD TABLE OF casdayattr ,
ls_day_attributes TYPE casdayattr .
DATA: ls_fieldcat TYPE lvc_s_fcat ,
lv_fieldname TYPE lvc_fname.
IF s_budat-high IS INITIAL.
s_budat-high = s_budat-low.
ENDIF.
CALL FUNCTION 'DAY_ATTRIBUTES_GET'
EXPORTING
* FACTORY_CALENDAR = ' '
* HOLIDAY_CALENDAR = ' '
date_from = s_budat-low
date_to = s_budat-high
language = sy-langu
* IMPORTING
* YEAR_OF_VALID_FROM =
* YEAR_OF_VALID_TO =
* RETURNCODE =
TABLES
day_attributes = lt_day_attributes
* EXCEPTIONS
* FACTORY_CALENDAR_NOT_FOUND = 1
* HOLIDAY_CALENDAR_NOT_FOUND = 2
* DATE_HAS_INVALID_FORMAT = 3
* DATE_INCONSISTENCY = 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.
LOOP AT lt_day_attributes INTO ls_day_attributes.
gs_date = ls_day_attributes-date.
APPEND gs_date TO gt_date.
ENDLOOP.
ls_fieldcat-fieldname = 'MATNR'.
ls_fieldcat-inttype = 'CHAR18'.
ls_fieldcat-coltext = 'MATERIAL'.
* ls_fieldcat-decimals_o = '2'.
ls_fieldcat-outputlen = 18.
APPEND ls_fieldcat TO gt_fieldcat.
LOOP AT gt_date INTO gs_date.
CONCATENATE 'QTY_' gs_date INTO lv_fieldname.
ls_fieldcat-fieldname = lv_fieldname.
ls_fieldcat-inttype = 'QUAN'.
ls_fieldcat-coltext = gs_date.
ls_fieldcat-decimals_o = '2'.
* ls_fieldcat-outputlen = 18.
APPEND ls_fieldcat TO gt_fieldcat.
ENDLOOP.
ENDFORM. " field_catalog
*& Form move_data
* text
* --> p1 text
* <-- p2 text
FORM move_data .
DATA: l_row TYPE sy-index.
FIELD-SYMBOLS: <ls_table>.
FIELD-SYMBOLS: <l_field> ,
<l_mseg_1> TYPE t_mseg_1.
DATA: ls_fieldcat TYPE lvc_s_fcat .
ASSIGN LOCAL COPY OF INITIAL LINE OF <gt_table> TO <ls_table>.
SORT gt_mseg_1 BY matnr.
LOOP AT gt_mseg_1 ASSIGNING <l_mseg_1> .
IF <l_field> IS ASSIGNED.
UNASSIGN <l_field>.
ENDIF.
MOVE-CORRESPONDING <l_mseg_1> TO <ls_table>.
READ TABLE gt_fieldcat INTO ls_fieldcat WITH KEY coltext = <l_mseg_1>-budat.
IF sy-subrc EQ 0.
ASSIGN COMPONENT ls_fieldcat-fieldname OF STRUCTURE <ls_table> TO <l_field>.
<l_field> = <l_mseg_1>-menge.
ELSE.
<l_field> = 0.
ENDIF.
AT end of matnr.
APPEND <ls_table> TO <gt_table>.
clear <ls_table>.
ENDAT.
ENDLOOP.
ENDFORM. " move_data
your answers help me lot . I am awarding the points.
Very Very Thanks
Edited by: Dilraj Singh on Apr 13, 2011 3:58 PM
Edited by: Dilraj Singh on Apr 13, 2011 4:09 PM
Edited by: Dilraj Singh on Apr 13, 2011 4:23 PM -
How to count with two char and calculate KF as per the count
Hello All,
I have a requirement where I need to display the data as per mentioned below chart.
Region is on the row side, Vendor, Material and Value on column side.
I need to show Number of Vendor belongs to Global,Regional and local, Similarly for Material also. As I want to show only the Number of vendor and No of Material for that Vendor and particular region. finally I need to show the value for the Vendor and material.
I need to do it on Query level this counting option.
Region Vendor Material Value
Global 10 2 500
Regional 5 3 400
Local 6 4 540
Can anyone help me on this regards
ThanksHi,
Can you try if this works:
Place Region in rows
In the columns, create a formula to count Vendors : Keep just 1 in the formula and in Aggregation tab select Exception Aggregation as Counter for all detailed values and select Reference characteristic as Vendor
Create a formula to count Materials : Keep just 1 in the formula and in Aggregation tab select Exception Aggregation as Counter for all detailed values and select Reference characteristic as Material
Also include the Key figure for value in the column -
Why should we calculate cumulative balance as per posting period?
Hi,
I dont know whether we can pose this type of questions here or not.
Why should we calculate cumulative balance as per the posting period?
How is it going to work?
Hope I will get an answer. Thank youHi, you've got a couple of issues with the formula the biggest being that EARLIER() needs to be used in an iterator so should be contained in a FILTER() here. Suspect you also don't need the ALL().
That said, I think you might be over complicating the problem. Based on you output at the bottom, all you really need to do this is a flag on each order to say whether or not that order date matches the latest order date in that year for that customer. Assuming
you add a column for year you could use something like:
=
IF (
[Date]
= CALCULATE (
MAX ( [Date] ),
FILTER (
'Q3 Data Set',
[Customer ID] = EARLIER ( [Customer ID] )
&& [Year] = EARLIER ( [Year] )
"Y",
"N"
Jacob | Please mark helpful posts and answers -
TRYING TO REGISTER MY MACBOOK PRO THAT I HAVE PURCHASED TODAY, THE REGISTRATION SYSTEM DOESNT APPROVE MY CORRECT PRODUCT SERIAL NUMBER (WHICH I PROPERLY CONTROLLED ON BOX AND ON INVOICE)
Where did you buy the machine? An Apple store, an authorized reseller, or ??
Also, what is the model/identifier? Is it the latest or was it purchased used? -
Calculate Avg for the given months based on the no. of days in months
Dear Experts
I have a report in which there is a characterictic claenderyr/month.The Input paramter is claenderyr/month which is restricted by a variable of type interval. i mean user will enter calenderyr/month as interval say 012010 to 06.2010. Now I have to calculate Avg sale Qty for the given months based on the no. of days for the given range of months. How I can achieve this in BW Query. Pl. advice
Dinesh SharmaHi,
Create formula for the sales qty.
maintain the exception aggregation as average based on calday
Best Regards,
M.H.REDDY -
Periodic billing value is not dividing as per the months.
Hi,
While mapping periodic billing plan-my requirement is net value 10,000 should split into as per the end date months. But if we see the net value in billing plan is multiplying with the months as per the year i.e.130,000/- is coming which is wrong.
But it should come as 10,000/12= PER MONTH VALUE .(NET VALUE IN CONDITIONS/MONTHS).
Can you guide me to meet the requirement.Hi Suman,
My sales order value is 10,000/- which I would like to charge my customer for the coming 13 months service.
I have maintained the same in my condition tab (Second screen shot).
But if I see my billing plan the net value is coming as 1,30,000/-. Means it is multiplying instead of dividing.
My requirement is 10,000/13 =
But currently coming as 10,000*13=.
Hope you got my problem. -
Is there a function to calculate the period range?
E.g. the program input the 10.2008 - 01.2009 (MM/YYYY), so how can the program knows there are 4 months: 10/08, 11/08,12/08, 01/09 between them?
Is there function can do so?
P.S. yes it can be done, if calculate it manuly via while(in ABAP) clauseHi,
Check this code..
DATA: V_FROM(6) TYPE N VALUE '200810'.
DATA: V_TO(6) TYPE N VALUE '200901'.
DATA: V_DATE TYPE D.
* Get the periods.
DO.
CONCATENATE V_TO '01' TO V_DATE.
* Decrease one day.
V_DATE = V_DATE - 1.
WRITE: / V_DATE(6).
* Exit condition.
IF V_DATE(6) = V_FROM.
EXIT.
ENDIF.
ENDDO.
Thanks,
Naren -
System should calculate the UPC/EAN Number automatically
Can we add the UPC calculator to SAP, MM01 so the system can calculate the ending checkdigit for us? Currently when we need to calculate the ending checkdigit for upc codes we go to an online site, key the number, calculate the ending digit, copy and paste into MM01. Can this calculation be added to MM01, Basic Data 1, EAN/UPC field?
If we key the 14 digit upc ending in 0, the system message can then tell us what the corrected digit should be or change it automatically for us. Currently the message says "the EAN xxx has an incorrect checkdigit"
example temp upc-key 55000011564120 and the message should say "ending digit should be 6" or the system can change to 0 to a 6 for us.
example real upc-00036000915450 and the message should say "ending digit should be 7" or the system can change to 7 for us.
We have to key the zero on the end or the system adds a leading zero up front (to make the full 14 digits) and just accepts.
Website we use to calculate the ending digits is http://www.gs1.org/barcodes/support/check_digit_calculator
Please help me in solving this scenario.....
Marc.Hi Mark,
For this scenario you will need to add custom code for automatic calculation of Check digit and thus modifying EAN/UPC no. entered by you to a correct EAN/UPC no.
However as soon as we enter EAN/UPC( with wrong check digit) no in basic data 1 tab we get an error u201CThe EAN 36000915450 has an incorrect check digitu201D. And it seems that in between entry of EAN/UPC and error message there is no customer exit/BADI is coming in which we could have written our custom code to generate check digit and correct EAN/UPC.
So an option is that if you are uploading multiple materials you can use BDC to upload all such materials and there you will have the possibility to correct the EAN/UPC using ABAP custom code before submitting it to MM01 screen.
Regards,
Rajwin. -
XP system doesnt read the ipod nano
Hi,
I need help. I have a system which operates on Windows XP. I have downloaded itunes into it. An year ago, I did charge my ipod nano 2 gb white. Now again I tried charging it, the system doesnt read that peripheral at all. What should I do. Please help me.
Akhila M Samudrala
xp Windows XPThis forum is for troubleshooting compatibility issues between Macs and Windows, not iTunes or iPods.
You should probably post your question in iTunes or iPod discussions:
http://discussions.apple.com/category.jspa?categoryID=150
http://discussions.apple.com/category.jspa?categoryID=146 -
Calculate taxes by treating the payments separately
Hello folks,
I'm opening this thread in behalf of another people.
He have a situation where he wants to prepay vacation for an employee
and run it together with his regular hours during regular payroll run
but the taxes being deducted are way too high.
For instance the Fed withholding for regular hrs of 40 is about $60,
He would expect that if he prepays his vacation for the same 40 hrs at
the same rate, the total fed withholding on his paycheck should be
about twice i.e $120 but instead he is getting about $220 being taken
out for Fed withholding.
Is there a way the system can calculate the taxes by treating the 2
payments separately without taxing them in a lump some? He does not
want to run them on separate checks.
Thank you all for the contributions!
FelipeHi there,
First thing is to check whether the vacation pay is a supplemental wages or regular wages.
Supplemental wages are taxed at 25% flat. Where as for regular wages, system first annualizes the earnings and then adjusts the yearly earnings based on the the number of exemptions.
Once the wages are adjusted, it looks at the tax table to arrive at the yearly tax. yearly tax divided by number of pay periods = pay period tax.
It is possible to achieve the separate aggregate method, but per best practices you will need to use that only for correction payroll runs and not for regular payroll runs.
Please refer to the payroll function UPAR1 documentation in t-code PE04.
Hope this helps
thanks
Baburaj S Avanathan -
Report painter-want to hide period columns dynamically if the period is not closed
Hi All,
I have made report with 12 columns like JAN, FEB till DEC in report painter (GRR1)
Requirement is that if say, currently only period no.4(APR) is closed and we are in period no.5( MAY) or system date is in MAY, then the report should not show the data for the current period no.5(MAY), eventhough data is there. Or else it should show data for JAN to APR (closed periods)
For this I defined 12 different period formula variables in GS11, based on system paramters like
S008 Year (from Local System Date)
S002 Month (from Local System Date)
S003 Day of Month (from Local System Date)
S012 Current Period in Current Year (per CO Fiscal Yea
But the issue is that eventhough the variable is defined as formula variables, still the default values are given by system and default value only getting passed to the report and thus data is displayed for the unclosed period.
But SAP help says that formula variables are without default values unlike the value type variable.
Any help in this will be highly appreciated.Hi All,
I have cracked it and got the solution with redefining the formula variables.
Details
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
No.of days in each Month
31
28
31
30
31
30
31
31
30
31
30
day number in year
31
59
90
120
151
181
212
243
273
304
334
result available after 15 days
47
75
106
136
167
197
228
259
289
320
350
Formula variable definition for 11 months in current year
ZTPFR01
ZTPFR02
ZTPFR03
ZTPFR04
ZTPFR05
ZTPFR06
ZTPFR07
ZTPFR08
ZTPFR09
ZTPFR10
ZTPFR11
IF '#S005' <47
IF '#S005' <75
IF '#S005' <106
IF '#S005' <136
IF '#S005' <167
IF '#S005' <197
IF '#S005' <228
IF '#S005' <259
IF '#S005' <289
IF '#S005' <320
IF '#S005' <350
THEN 1
THEN 2
THEN 3
THEN 4
THEN 5
THEN 6
THEN 7
THEN 8
THEN 9
THEN 10
THEN 11
ELSE 0
ELSE 0
ELSE 0
ELSE 0
ELSE 0
ELSE 0
ELSE 0
ELSE 0
ELSE 0
ELSE 0
ELSE 0 -
To split the payment document value as per the line items of the P O
To split the payment document value as per the line items of the purchase order in the period of payment, so that the payment amounts are measured against the Capex order assigned as account assignment in the purchase order.(Account assignment tab for the individual line item in the PO.
Example:
Inputs:
Purchase Order 3100012345, line item 10 value 6000 line item 20 value 4000
VAT @10% , account assignment for PO line item 10(Internal Order no 10001) & line item 20 Internal Order 10002) G/ R no 5105105101 for Rs10,000.
The I/R doc 501501501 appears as follows: (MIRO)
Line 10: Value Rs 6,000
20: Value Rs 4,000
VAT Rs 600
Rs 400
Total Rs11, 000
Withholding Tax Rs 1,100
The accounting entry for MIRO happens as follows: doc 2102102101
GR/IR Dr Rs 10,000
VAT Dr Rs 1.000
Vendor Cr Rs9, 900
TDS due Cr Rs1, 100
The business expects the payment report as follows:payment doc 2001200101
PO Line item Internal Order MIRO Invoice Payment Payment period Amount
A/c doc number doc number
3400012345 10 10001 5605605601 2102102101 2001200101 001/2009 5940
3400012345 20 10002 5605605601 2102102101 2001200101 001/2009 3960
Currently we are able to show the amounts as Rs 6000 for line item 10 & Rs 4000 for line item 20.
The problems faced.
1. The VAT line items are auto created, hence the reference of purchase order number and line item are not available. So the VAT portion which is part of payment liability does not get reflected against the PO.(not able to show the VAT portion , when we try to show the payment amount per PO line item.)
2. The withholding tax is also a problem; WHT is not calculated and assigned per line item. It is calculated on the total amount of basic and VAT. Because of these reasons, the payment could not be shown properly according to the line item of the purchase order.
3. When part payment is made, against invoices, there is no provision to assign a payment amount against a particular line item. Further, when final payment is made in different period, the clearing document will get generated. That adds to the complexity of differentiating full payments and part payments final clearing.
4. When residual payment is made, a new line item is created. Here assignment of Purchase order line item against payment for residual items become a problem.
5. Many a times advance payments are made. Later the invoice is created and balance payment is made. In those situations, the clearing document creates one more line item and makes payment for the balance item. This adds complexity in bringing balance payment alone and to split as per the purchase order line item. The clearing document number system is multi dimensional. It creates two line items for the same item (one at the time of advance and another the time of clearing.)
6. When full payment is made, the payment document number and clearing document numbers are same. In cases of subsequent or partial or residual payment, the document numbers are different. Because of this, the part payment amounts are shown in the period, where the final payment and clearing are made.
Please suggest a way to split the payment amount in the exact posting period with all the considerations given above.
Regards
Sundararajan
Edited by: Sundarajan Venkatachari on Sep 30, 2009 11:04 AMHi,
See Note 301077 - User exits for the interface to accounting, although I think that there isn't this kind of option. Note 429117 - Collective note advice note SD-FI interface will be useful too.
I think that SAP Note 1085921 - Document split perhaps will help you
Regards
Eduardo -
Show the period value in column header using Text Variable
We are using Posting Period & Financial Year to calculate YTD & MTD, for current year and previous years. These posting period and financial year characteristics are custom created characteristics we are using due to customer specific requirement.
Input values are posting period, financial year and numeric value. To calculate previous year, I need to subtract numeric value from the input financial year. Every thing is working fine up to this.
In the report I need to show the posting period and financial year values dynamically in each column header of the report for MTD, YTD for current year & previous year. I tried to achieve this using Text Variables, but I didnt succeed. If some one can give me some idea to resolve this, it would be very helpful.
I am excellent in ABAP coding. If you can specify me to code in User Exit, I can do it.
Column headers should be 08.1999 Sales Qty, 08.2008 Sales Qty, 1999 Sales Qty, 2008 Sales Qty.Hi Abhinav,
Try using the content text variables 0T_FYEAR and 0T_FPER3, when used in the head these variable should display the year and period specified in the RKF.
e.g
&0T_FPER3&. &0T_FYEAR& Sales Qty = 08.1999 Sales Qty
If that doesnt work, try creating text replacement path variables referencing the variables you created for the year and period input. To do this click on the RKF and click on the dropdown by the yellow box next to the description on the general tab and select New Variable, enter the description, tech name and set processng by to Replacment Path, then select period as the ref. characteristic, then on the replacement path tab change replace variable with to variable and then select the variable you are using for the period input, save then hit ok, this is now a text representation of the variable your are inputing for period and can be used in the column headers, you will need to repeat the process for the fiscal year.
Hope this helps
Josh -
Change of WHT Codes as per the vendor invoice and vendor payment amount
Hi,
my user is having a requirement where the SAP system should change the extended withholding tax codes as per the amount which is invoice and paid to the vendor.
Eg: Upto 10 lacs- rate is 2% (WHT rate)
Above 10 lacs- rate is 2.5%.
suppose i have paid the vendor Rs 8 lacs till yesterday, as the amount is below 10 lacs iam calculating 2% tds. Assume that iam paying 4 lacs today. so the total amount paid is Rs 12 lacs as of now, as the total exceeds Rs 10 lacs i have to collect TDS at 2.5% on Rs 4 Lacs. i need my SAP system to calculate the 0.5 % (2.5% - 2% ) TDS on the Rs 8 lacs which is invoiced / paid till yesterday.
? is it possible in SAP, if yes pls let me know.
Note: sap version 4.7eeHi,
my user is having a requirement where the SAP system should change the extended withholding tax codes as per the amount which is invoice and paid to the vendor.
Eg: Upto 10 lacs- rate is 2% (WHT rate)
Above 10 lacs- rate is 2.5%.
suppose i have paid the vendor Rs 8 lacs till yesterday, as the amount is below 10 lacs iam calculating 2% tds. Assume that iam paying 4 lacs today. so the total amount paid is Rs 12 lacs as of now, as the total exceeds Rs 10 lacs i have to collect TDS at 2.5% on Rs 4 Lacs. i need my SAP system to calculate the 0.5 % (2.5% - 2% ) TDS on the Rs 8 lacs which is invoiced / paid till yesterday.
? is it possible in SAP, if yes pls let me know.
Note: sap version 4.7ee
For this purpose you have to define Formula for Calculating Withholding type
Pre conditions:
While defining Tax code , WT formula field must be selected during calculation
config
EWT> Calculation> Withholding Tax codes---> Define Formulas for Calculating WT:
country key
select new entries
WT type
WT Code
WCty
Valid from
Select Header data for Formula than select Formula for calculation
To Base amount : 1000000
WH Tax : 2%
Red base from : 0
To base amount : Maximum
WH Tax : 2.5%
Red base from : 1000000
Check accumulation type in Withholding tax type definition
Edited by: Ramesh Reddy Nalamada on Apr 22, 2008 12:05 PM
Maybe you are looking for
-
Hi all, I am trying to update one of the attribute of BO record by calling update function of BO in an application service. But i am getting an error message " Entity is locked by user guest". I have written following code. // getting service
-
Need help to add the attached file on give feedback
Dear Sir, My server is EP7 , however, I use the function of feedback for the document (KM). Normally,we can give feedback to the document which store in KMcontent. However, I need to attached the new file in feedback. Please kindly advise. Thank you
-
Why can't I get rid of the "other" usage on my iPhone 4?
I have 2.45gb of "other" usage on my iPhone 4. I have tried restoring it from backup, and the "other" still won't go away. I have restored all my settings and restarted my phone to it's factory settings and still no change. I have even deleted all my
-
MDIS Unmapped Values ADD is not Working Throws errors
Hi Experts, I have a Qualified table where the Non qualifier is a Lietaral Date field. Qualified Update -> Update New links -> Create Existing Links -> All mapped Fields MDIS unmapped values -> ADD All is working well,When the Incoming file has exact
-
We have an excel sheet that job enquiries are logged into, estimates and a quote are produced, upon receipt of an order a job is started and once completed gets invoiced. Standard business workflow stuff, can I get 365 to automate this? I would like