How to apply a tax for some period?
hi
i have a question,i need to apply tax for a material when it croses some quantity (by selling).
for e.g
x material if reaches 70000 nos then apply the the tax for the material.
Hi Vijay,
You develop new pricing Routine with the help of ABAPer based on your logic, then you assign that Routine to your tax condition type in your pricing procedure in the column alternative calculation type.
It will pick up the tax based on the new routine which you have assigned in your pricing procedure.
I hope it will help you,
Regards,
Murali.
Similar Messages
-
How to hide edit link for some rows in report? (according to value of col)
Helo,
How to hide edit link for some rows in report? (according to value of column)
regards
siyavuşHi siyavuş
You can do this by taking the edit link off the report and putting it into your report SQL.
Use something like Select CASE WHEN (condition) THEN
'Put your edit link in here as an html Anchor like<a href="(target)">Edit</a>'
ELSE
tt.value
END edit_link
FROM test_table tthope it helps,
Gus..
You can reward this reply (and those of other helpers) by marking it as either Helpful or Correct.
This allows forum users to quickly find the correct answer.
;-) -
Hi how to apply Chronological sort for a month column?
Hi All,
I am struck with how to apply Chronological sort for a month column that contains values like January, February, March, April, May, June.... December. If we apply normal sorting then we can arrange the column values either in ascending order or descending order. But i want the column values to be in this format like jan, feb, mar,apr....dec. Is it possible???
If this is possible then pls tell me the way in a step wise manner for my better understanding..
Thanks in Advance
ThenmozhiHi Deva,
I tried with the below formula :
CASE WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='January' THEN 1 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='February' THEN 2 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='March' THEN 3 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='April' THEN 4 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='May' THEN 5 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='June' THEN 6 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='July' THEN 7 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='August' THEN 8 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='September' THEN 9 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='October' THEN 10 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='November' THEN 11 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='December' THEN 12 ELSE '' END
But it is showing the error like this:
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 604, message: ORA-00604: error occurred at recursive SQL level 1 ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 8 ORA-00932: inconsistent datatypes: expected NUMBER got CHAR at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
What it is problem? Please help me...
Thanks -
How to apply List box for multiple selection of rows in ALV report ?
Hi Exprots,
1: How to apply List box for multiple selection of rows in ALV report ?
Thanking you.
Subashhi,
check the below program.
REPORT zalv_dropdowns.
*Type pools declarations for ALV
TYPE-POOLS : slis.
*data declarations for ALV container,ALV grid, Fieldcatalogues & layout
DATA: g_grid TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container,
gt_fieldcat TYPE lvc_t_fcat,
gs_layout TYPE lvc_s_layo.*INTERNAL TABLE AND WA DECLARATIONS FOR t517 A table
DATA: gt_outtab TYPE STANDARD TABLE OF t517a INITIAL SIZE 0,
wa_outtab TYPE t517a.
START-OF-SELECTION.*Call to ALV
CALL SCREEN 600.*On this statement double click it takes you to the screen painter SE51.
*Create a Custom container and name it CCONT and OK code as OK_CODE.
*Save check and Activate the screen painter.
*Now a normal screen with number 600 is created which holds the ALV grid.
PBO of the actual screen , Here we can give a title and customized menus
Here we also call the subroutine for ALV output.
MODULE PBO OUTPUT *
MODULE pbo OUTPUT.
PERFORM alv_output.
ENDMODULE. "pbo OUTPUT
MODULE PAI INPUT *
MODULE pai INPUT.
ENDMODULE. "pai INPUT
*& Form BUILD_FIELDCAT
FORM build_fieldcat.
DATA ls_fcat TYPE lvc_s_fcat.
*Build the field catalogue
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'T517A'
CHANGING
ct_fieldcat = gt_fieldcat.
To assign dropdown in the fieldcataogue
LOOP AT gt_fieldcat INTO ls_fcat.
CASE ls_fcat-fieldname.
WHEN 'SLART'.
*is the first list box
ls_fcat-drdn_hndl = '1'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
is the second list box
WHEN 'ABART'.
ls_fcat-drdn_hndl = '2'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
ENDCASE.
ENDLOOP.
ENDFORM. "build_fieldcat
*& Form ALV_OUTPUT
FORM alv_output .*Create object for container
CREATE OBJECT g_custom_container
EXPORTING container_name = 'CCONT'.
*create object for grid
CREATE OBJECT g_grid
EXPORTING i_parent = g_custom_container.
Build fieldcat and set column
*Assign a handle for the dropdown listbox.
PERFORM build_fieldcat.
*Build layout
PERFORM build_layout.
Define a drop down table.
PERFORM dropdown_table.
*fetch values from the T517A table
SELECT * FROM t517a INTO TABLE gt_outtab.
*Display ALV output
CALL METHOD g_grid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
CHANGING
it_fieldcatalog = gt_fieldcat
it_outtab = gt_outtab.ENDFORM. "ALV_OUTPUT
*& Form dropdown_table
text
--> p1 text
<-- p2 text
FORM dropdown_table.*Declarations for drop down lists in ALV.
DATA: lt_dropdown TYPE lvc_t_drop,
ls_dropdown TYPE lvc_s_drop.
First SLART listbox (handle '1').
ls_dropdown-handle = '1'.
ls_dropdown-value = '01 Primary school'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '02 Lower Secondary'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '03 Upper Secondary'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '04 Professional School'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '05 College'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '06 University'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '09 Other Establishment'.
APPEND ls_dropdown TO lt_dropdown.* Second ABART listbox (handle '2'). ls_dropdown-handle = '2'.
ls_dropdown-value = '10 Primary School certificate'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '20 Lower secondary/Junior high'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '30 High school diploma(B-levels)'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '31 Vocational'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '32 Matriculation'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '40 Specialist vocational certificate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '50 College degree Level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '51 College degree Level2'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '52 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '60 Univ Degree level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '61 Bachelors degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '62 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '63 Licenciate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '64 Doctors Degree Ph.D'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '89 None'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '90 Unknown'.
APPEND ls_dropdown TO lt_dropdown.*method to display the dropdown in ALV
CALL METHOD g_grid->set_drop_down_table
EXPORTING
it_drop_down = lt_dropdown.ENDFORM. " dropdown_table
*& Form build_layout
text
*layout for ALV output
FORM build_layout . gs_layout-cwidth_opt = 'X'.
gs_layout-grid_title = 'ALV DROPDOWN LISTS'.
gs_layout-no_toolbar = 'X'.ENDFORM. " build_layout
endform.
Edited by: S.r.v.r.Kumar on Jun 1, 2009 2:48 PM -
How to apply sap license for Sap Netweaver AS Java
Hello guys,
May i know how to apply sap license for SAP Netweaver AS Java? Appreciate the reply, thank you
regards,
wei howHi Lee,
check below link:
http://help.sap.com/saphelp_nwce10/helpdata/en/9f/5e533e5ff4d064e10000000a114084/content.htm
Thanks
sunny -
How does SAP calculate tax for employees who pay SFSS(Australia)?
Hi,
Good day. How does SAP calculate tax for employees who pay SFSS (Student Financial Supplement Scheme). The EE is under tax scale 7 - No Leave Loading. Please advise. Thank you.hai..
check QTAX sub schema -
NumericStepper, how to apply localization (comma for period)
Hi All,
In the middle of doing some localization of Flex applications.
I have had no problem getting my application specific resource bundles loading for labels for buttons etc.
Also not had any problem building and loading my own locale specific resource bundles for the framework.
Things like DateChooser are picking up the changes for my Spanish, French and German versions.
NumberFormatter is picking up that for some languages, the decimal separator is a comma rather than a period.
But NumericStepper doesn't seem to honour this change.
Can anyone advise how I would change the decimal point in a NumericStepper from a period (.) to a comma (,), or anything else for that matter ?
I'm targetting the 3.5 SDK. But have also tried it with 4.1 SDK and no joy.
Cheers
Ianhello,
I don't think that is possible.
The value of the NumericStepper should be used with a Number or a Float variable, and in action script, comma is not allowed with those formats
But i can't understand your question.
Regards -
How to block internet connection for a period of time?
Hey guys is there a way to block internet connection via a lan connection for a period of time? A program that when my pc is boot up it run secretly and at the time schedule it block the internet connection with no pop up. When i not at home some person
used my pc to use my internet connection everyday. I can't lock up my pc since my brother or my dad used it.
Hi,
You could create a schedule task to achieve this.
The detailed solution please refer to this thread:
https://social.technet.microsoft.com/Forums/en-US/7544cbed-507d-4eef-907d-bafb99b45411/disable-internet-for-a-set-period-of-time?forum=w7itprogeneral
Karen Hu
TechNet Community Support -
How to lock the data for few periods in the Input Layout
Dear All,
I have an input enabled layout wherein I will display the data based on a period range.( For ex, 01.2007 to 12.2007).
Now, based on the current period I should disable the input readiness for the periods less than my current period.
In my ex, if my current period is 06.2007, the input readiness should be disabled for the periods 01.2007 to 05.2007 .
How can I achive this?
Regards,
Srini.Hi Srinivas.
You can use user variable exit for the disabled one (the period one); based on the current period..
You can read regarding it in here:
http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm
Hopefully it can help you a lot.
Regards,
Niel
thanks for the points you choose to assign. -
How to apply hyper link for a particular cell in the column?
Year
2001
2002
2003
2004
I wanna apply Hyper link for 2001 only! How to achieve this?
Can we apply no. of hyper links for a column?You have to create a conditional variable.
For eg. create a variable with hyperlink in the syntax for Year.
Now if else logic, so if YEAR=2001, return hyperlink else YEAR object.
Hope you understood.
Thanks
Gaurav -
Hi guys
We recently got new scenario where we need to calculate USE Tax for interstate purchasing scenario. Basically the interstate vendor is tax exempt but we need to accrue and remit to government ourselves.
Just looking for some tips for the setup. I guess a new Tax Code is required but what about pricing procedure? (this tax is not added to PO total as we do not pay it to vendor.
We use TAXUSX procedure for USA.
Any help with experience is greatly appreciated.
ACIt is generally advised to use a external tax engine for calculation of US Use and Sales tax because tax is calculated based Ship to Ship from locations and if a product is taxable or not. Within US tax is caluclated for multiple levels like state, city, town and county. Only external tax systems can handle such complex split. If you have a very small business then you can also configure TAXUSJ tax procedure which is jurisdiction based. you need to assign the %age for every jurisdiction. I still say that use external tax engones like vertax, fabware or Sales tax office. External tax systems use TAXUSX tax procedure.
-
How can I derive Measures for coming periods like (Next Qtr – Measure)
Hi All,
How can I derive time series measures for coming periods just like Qtr Ago and Year Ago I want Next Qtr and Next Year columns in my fact, how can I achieve this?
I have a report which talks about Actual recorded values to the projected values of current quarter , Ago Quarter , Next Quarter
Ago Qtr | Current Qtr | Next Qtr
xxx | xxxx |xxxxx
yyy | yyy |yyyy
Ago(measure, level, no of periods)
Thanks,
SMA
Edited by: SMA on Sep 21, 2010 4:23 PMHi All
I have derived Next to Next Qtr starting date using the following formula
TIMESTAMPADD( SQL_TSI_QUARTER , 3, TIMESTAMPADD( SQL_TSI_QUARTER , -(1), TIMESTAMPADD( SQL_TSI_DAY , -( EXTRACT( DAY_OF_QUARTER FROM "Business Intelligence"."Dso Date Dim"."Date")) + 1, "Business Intelligence"."Dso Date Dim"."Date")))
Extracted quarter from the derived date as well
EXTRACT( QUARTER_OF_YEAR FROM "Business Intelligence"."Dso Date Dim"."Next Qtr Start Date")
However I could not create a measure for next quarter using Ago or ToDate functions in BMM of OBIEE
Please let me know if any one worked on this before
Thanks,
SMA -
LMS4.1 how to suppress operationallydown events for some interfaces
Hi,
Installed Cisco Prime LMS last week. Everthing seems to be running fine. We configured LMS to send e-mail for certain events. One of them is operationallydown/up events. There are some devices for which we only want to see those events for some of the interfaces. For example: there is a device with several ISDN interfaces. Those are used by business partners to dial-in. We expect those interfaces to go up and down several times per day. We don't want any events/e-mails for that. I can't seem to figure out how to configure that. If anyone can help me with that, it would be greatly appreciated.
We come from LMS2.6, but didn't do an upgrade. It's a big leap, everything works different now.
Regards,
Arjan HummelOperation down events a usually due to admin up, line protocol down interfaces. The only way to fix that is to put the interface admin down
When you talk about BRI or PRI channels its a different story
Look at NMSROOT/objects/smarts/conf/discovery/tpmgr-param.conf.
Add a line like this, but with the sysobjectid of your device.
IFDescrPattern-.1.3.6.1.4.1.9.1.1045 ~*Bearer*
Something like this should work, but you need to rediscover the device.
Cheers,
Michel -
How to apply Structural Authorisations for Report
Hi All,
We are using structural authorisations in our project and it is working fine for all processes. But we are facing problem for reports.
Kindly guide on How to apply structural authorisations to SAP Standard Reports and Custom reports.
Thanks & Regards,
PrashantHi Prashant,
Yeah LDB is a good way of implementing Structural auth. Apart from that you can assign the Authorization Group in the Z-report attribute. So users who are part of this group only can access this report. This also applies to the standard reports as they are already assgned to standard Authorization Groups.
Br/Manas -
How to set Display Only for some records in CAT2 Worklist
Hi,
I have a requirement to modify an attributes for some records in the Worklist of CAT2.
We have an external system where we book our time. Weekly we import data from that external system into CATSDB using BAPI for every single employee.
We would like when the user wants to modify his time sheet to be able to add/modify all records except those which were imported from the external system. Which means that those records should be in Display only mode / grayed out / before release.
Is there any user exit or BADI that could help to modify that attribute and that will be triggered before displaying the Worklist ?
Please advise !
Thanks,
StefanI've solved the problem.
First I've added customer field in CI_CATSDB structure and when I am importing the data I am populating that field with 'X', which means that this is record from the external application.
I've created enhancement implementation in Function group->CATS, screen->2003 MODULE->D2000_MODIFY_LOOP, subroutine->modify_d2000_loop where I am checking the field mentioned above if it is 'X' I am modifying the screnn-output = off.
It works, thak you for your help.
Regards,
Stefan
Maybe you are looking for
-
Today, I found out that 16MB of VRAM is not enough for iTunes 7 if you're using the vga output on a laptop to set dual displays. For the longest time, I had a LCD monitor that I was using primarily as a tv, and it was not connected to my laptop. Afte
-
Trying to locate an Application File for InDesign
Im trying to download the blurb plug in and at the set up stage it asks me to locate the Application File for my Adobe InDesign CS5 in my files but i cant locate it any ideas how i can locate it?
-
So as i stated I reinstalled Windows 7 on my PC, wiping the harddrive in the process. I didn't copy my music files to a third device because I assumed I would be able to retrieve all my songs from my iPhone 4 when I resynced the devices. Unfortunatel
-
Oracle Streams setup for multiple schemas in a same database
We are on 11.1.0.7 and will be using Oracle 11g Streams that will replicate the data real-time for two schemas between the source and target set of schemas with in the same database. We will be doing DDL as well as DML replication. I created the foll
-
FTP Website Offline, Not Sure How to Bring It Back Up
Since you are open to alternative solutions, try SynaMan. It is a replacement for FTP. You can install it on your existing file server (Windows, Linux or Mac) and let your clients upload/download files. All you will have to do is configure your netwo