Hi all,List of Sales Tax Codes in form using ActivateMenuItem
hI ALL,
If ((pVal.ColUID = "TaxCode") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT) And (pVal.Before_Action = False)) Then
Dim oForm As SAPbouiCOM.Form
Dim ctr As Integer
oForm = SBO_Application.Forms.Item(FormUID)
oMatrix = oForm.Items.Item("38").Specific
Dim oItemcode As SAPbouiCOM.ComboBox
oItemcode = oMatrix.Columns.Item("TaxCode").Cells.Item(RowNum + 1).Specific
If oItemcode.Selected.Description = "Define New" Then
SBO_Application.ActivateMenuItem("15619")
End If
End If
i am using above code to activate my menu of tax code but i am getting error "menu not found"
i want this windows should open when user select define new in combo box at row level.
thanks in adva.
Regards
Rajkumar Gupta
Edited by: Rajkumar Gupta on Mar 9, 2009 8:37 AM
Edited by: Rajkumar Gupta on Mar 10, 2009 9:37 AM
Edited by: Rajkumar Gupta on Mar 10, 2009 9:42 AM
Hi Rajkumar,
If you want to open the Tax definition windows when the user selects the "Define New" option of your combobox, try this code:
If ((pVal.ColUID = "TaxCode") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_COMBO_SELECT) And (pVal.Before_Action = False)) Then
If oForm.Items.Item("MATRIX_ID").Specific.Columns.Item(pVal.ColUID).Cells.Item(pVal.Row).Specific.Selected.Description() = "Define New" Then
oApplication.ActivateMenuItem("8458")
End If
Regards,
Vítor Vieira
Similar Messages
-
Account Determination for Tax using Sale Tax Code
Hi,
We are using TAXINN and sales tax codes. We are using JTX1 condition in our sales pricing procedure for which we r maintaing condition record with correct tax code applied to it. We have assigned account keys in Tax Procedure, so no acct. key is assigned to JTX1 in sales pricing procedure. In record of JTX1 we are maintaining same tax rate (with tax code assigned to it) for eg. 4 % (not 100%) as maintained in tax code.
Now, we are able to save billing document but while creating accounting document system is giving following error:
No account is spesified in item 0000001002
No acct. was specified for acct. type S in item 1002 of the FICO doc.
The financial acctg. pgm. cannot process the doc.
A sys. error has probably occured in ther sppln. you called up. Check the data transferred to item 1002 of the FICO doc.
Pls. help.
Regards,
DiptiHi Dipti,
Hope you are working for Indian Client.
Since you are using TAXINN procedure, you should not use JTX1(Tax Jurisdict.Code) condition at all. As you are aware after implementation of VAT, we should switch off Tax Jurisdiction at all lelvels.
SD Pricing Procedure:
1. Condition Type Settings
a. Excise conditions (if req'd)
b. LST / CST Conditions
c. Freight and Insurance Conditions
2. Access Sequence Settings
3. Maintain Pricing Procedure
4. Assign tax code to Company code
Therefore, check your IMG settings once again.
Bye,
Muralidhara -
Hi,
I have a requirement to create a sales tax code within the SAP B1 database using the DI API but, to be hinest, am confused about how to do this in code. I have searched the SDK help and noted the SalesTaxCodes and SalesTaxCodes_Lines which I think I know how it fits together but what are the SalesTaxAuthorities and SalesTaxAuthorities_Lines objectes and how do they fit into the whole structure? Bascially what i am trying to do is enter the following type of data:
Tax Code: "R"
Tax Rate: 10.0%
Tax Description: "Reduced Rate VAT"
Is there an easy way of doing this?
Thanks
AdrianHi Adrian,
Ok to start from scratch, the first step is to create a new sales tax jurisdiction type. I created one called Country and it has the type "1" (which I got from querying OSTT). The jusrisdiction type is like a category of tax.
Next I have to create a new sales tax jurisdiction - So I created one called USA Test with the code USA, with a base rate of 10% and it is of type 1 (country).
Dim oTax As SAPbobsCOM.SalesTaxAuthorities
Set oTax = oCompany.GetBusinessObject(oSalesTaxAuthorities)
oTax.Name = "USA Test"
oTax.Rate = 10
oTax.Code = "USA"
oTax.Type = 1
oReturn = oTax.Add
If oReturn <> 0 Then
oCompany.GetLastError oError, errMsg
MsgBox (errMsg)
Else
MsgBox ("Sales Tax Jurisdiction Added")
End If
This adds a new sales jurisdiction - however, if I want to use it, I now have to add a Sales Tax Code and reference this jurisdiction:
Dim oCode As SAPbobsCOM.SalesTaxCodes
Set oCode = oCompany.GetBusinessObject(oSalesTaxCodes)
oCode.Code = "US1"
oCode.Name = "USA Region 1"
oCode.Lines.STACode = "USA"
oCode.Lines.STAType = "1"
oReturn = oCode.Add
If oReturn <> 0 Then
oCompany.GetLastError oError, errMsg
MsgBox (errMsg)
Else
MsgBox ("Sales Tax Code Added")
End If
Now if you go to Administration --> Setup --> Financials --> Tax --> Sales Tax Codes and search for the Tax Code "US1", you will find it there with one line added to it (the country jurisdiction of USA).
The rates of tax of each of the SalesTaxCode_Lines for a SalesTaxCode are added together to create the overall tax rate for that code. (for example, if you want to create a Tax Code for a city in the US and the United States has a tax of 10%, the state has an additional tax of 5% and the city of 2% you will get an overall rate of 17%).
Even from reading back over this I think its a bit complicated, but I think if you play around with that code and try creating and modifying a few jurisdictions and codes it should become clearer.
This is all relevant to the USA localisation. If you are working on a localisation that does not use SalesTaxCodes Jurisdictions it is as simple as this:
Dim oCode As SAPbobsCOM.VatGroups
Set oCode = oCompany.GetBusinessObject(oVatGroups)
oCode.Code = "R"
oCode.Name = "Reduced Rate VAT"
oCode.VatGroups_Lines.Rate = 10
oCode.VatGroups_Lines.Effectivefrom = Now
oReturn = oCode.Add
If oReturn <> 0 Then
oCompany.GetLastError oError, errMsg
MsgBox (errMsg)
Else
MsgBox "Tax Code added"
End If
Hope this is useful,
Regards,
Niall
SAP Business One Forums. -
Authorization object for sales tax code (MWSKZ) in FB60
HI, there is a FI tcode FB60 in FI module. The requirement is that user wants to restrict some users to enter only few sales tax codes from among the list. For example if there are 30 tax codes, then user should be authorised to enter only 5 tax codes from the list. In standard authorization, there doesn't exist an authorization object to restrict tax codes. Kindly tell me the process of making authorization object for this task.
I have made one authorization object. I think i need to call this object somewhere in user exit of FB60. Is this the way of doing this?? Kindly if someone have done this, mention down the procedure of making authorization object and how to implement it. ThanksHi,
Instead of creating a authorization obejct and assigning it to the tax code, it will be easy to write the code in a user exit to check whether the tax code is applicable for the user. Suppose if the user enters a non-applicable tax code, you can throw an error.
Do u want to restrict the number of entries in F4 help for tax code for a particular user?
Cheers
~Niranjan -
Hi,
can anybody help me to understand, what tax codes are for in Sales. Means the Tax Codes which were marked as Output Tax. I cant use these for selecting the right condition record in my Access sequence. Those Tax Codes were transfered with the Condition Records to the Sales Document. But Why do we need those or where were they then used?
I know in Purchase Order you can use them as Tax Determination Object, but where is it used in Sales?
I appreciate any help. Thank you.
Best Regards,
CDHello,
Tax Codes are mainly used in SD for following:
1. Determine the Tax GL Accounts when Posting the Invoice to Accounts. (say in Domestic, all revenues goes to General Sales account, but Taxes need to be posted to different Accounts like VAT / CST / Service Tax Etc...) Thus to differenciate between GL Accounts while posting, Tax Codes are used in OB40 - GL Account assignment.
2. While creating Tax Codes in FTXP you mention Tax Codes as Input or Output. Thus while entering Tax Codes in VK11, system will accept only Output Tax (so leaving no room for mistake)
3. Tax Codes can also be used to generate Reports. Say your client needs State-Wise details of VAT or CST amounts for a quater. Here you can easily generate a report based on Tax Codes.
Hope this helps...
Thanks,
Jignesh Mehta -
Functional module for determining the sales tax code
Dear all,
Kindly help me is there any Functional module to determine the sales tax code?
My Requirement is Based on the Country, Sales Org and Tax code Pricing should pick up automatically.
I tried adding the same fields in the table and inserted in the access sequence and created the condition record for the same.
Created the order but system is not able to get the Tax code while determining the price?
Please help ...
Regards,
SKMy Requirement is Based on the Country, Sales Org and
Tax code Pricing should pick up automatically
but system is not able to get the Tax code while determining the price?
Your both the above comments are contradict to each other. In the first statement, you say pricing should pick up automatically whereas, in the next statement, you say tax code is not determining. Please indicate the requirement clearly.
thanks
G. Lakshmipathi -
How can I un-hide sales tax code in FB01?
Hi,
I am trying to create a vendor invoice posting through the intercompany sales EDI process, and am getting error 'field BSEG-MWSKZ does not exist in screen SAPMF05A 0302'. When I manually try to create a VI posting via FB01, I can confirm that tax code is hidden from the vendor line item screen. Does anyone know how I can get the tax code back on this screen?
I have looked through the field status variant and field status group config, but don't see tax code as one of the fields that can be controlled via this config (I do see withholding tax code, but I'm looking for sales tax code). Does anyone know how I can un-hide this field?
Thanks!
AllisonThanks. I did try that, but found that the tax code isn't controlled by any of the field status stuff. BUT, I just found the solution to my problem via another forum. Apparently the tax code, and whether or not it is included on the screen, is controlled by the tax category of the G/L account that you're posting too. I changed the tax category of my G/L account to '*' (All tax types allowed), and that caused the tax code field to appear and be editable in FB01. Yay!
-
FB60, FB65, FB70, etc - Sales Tax Code goes blank when we hit enter twice
We just implemented some Hot Packs and are encountering the following issue since:
For transactions FB60, FB65, FB70, etc the Sales Tax code drop down values get wiped off when you press Enter key more than once after filling required entries. Has anyone come across this issue. See steps below:
Step 1.
Execute Transaction FB60 and fill following info also select U1 in the drop down, Note the values in the Tax drop down are there.
Step 2.
Now Press enter
The field u2018INVFO-MWSKZu2019s value (U1) is getting exported here (Include LFDCBI01).
Note both fields INVFO-MWSKZ and SKB1-MWSKZ values are blank.
Note sy-subrc becomes u20184u2019 at the IMPORT STATEMENT (Include LFDCBFS0).
Hence the value for INVF0-MWSKZ is blank.
SINCE THE VALUE OF THE FIELD INVF0-MWSKZ is blank, the drop down becomes blank.
Note: This is happening only when we Press Enter.
ThanksAfter upgrade ecc5.0 to ecc6.0 "INVFO-MWSKZ" field its a dropdown list in fb60,after selected value its not appearing in that i/o field place.
For the query is there any customization we should check/any sap notes/any help.
Please do need full.
Regards
Mahesh . -
How to or which table i can find Sales Tax Code in CRM
Hi,
I need to get Sales Tax Code(mwsk1) in BADI 'CRM_COND_COM_BADI'. if i use CRM_ORDER_READ( ET_PRIDOC) or CRM_PRIDOC_READ_OW it is going into endless loop. So i can't use these Function modules in CRM_COND_COM_BADI.
Can you help me table or any other way to get sales tax code of Pricing conditions that appear on the sales order in CRM.
Thanks,
PraveenHi,
try by getting header and item guid in et_pridoc->pric_cond.
Regards,
Padma. -
TCode to see Sales Tax Code of Entire Article
Hi
I want to see sale tax code for my entire article in one tableu2026u2026
Is it possible? If so give table name please
Regards
AnisHi Anis,
The table name is EINE and field name is MWSKZ.
Regards,
S.V.ManiKumaar -
Default Sales Tax Code in transaction F-22
Guys,
this refers to accounts receivable.
I have followed a few threads about defaulting tax codes, but do not find the answer I am looking for.
When I post with F-22, how can I default the sales tax code?
Kind regards,
Rudolfhi,
Try with create a screen variant for the particular transaction.
in SHD0 transaction code:
for F-22 create a screen variant and give the default value for sales tax code, now onwards every time you are using F-22 transaction the particular Tax code will be defaulted.
hope this may help you,
regards,
srinivas -
Tax amount and sales tax code fields not visible in tcode MIR4
Hi,
A workflow has been cretaed for cretaing the invoices. Here in SRM invoice, the tax code and Sales tax code fields are not visible in tcode MIR4 though data has been passed while creating it.
When i am checking the "calculate tax" check box, am able to see these two fields on the MIR4 page.
Am not able to find the reason for this behaviour. As its working fine for other invoices. This is the case with only SRM invoice.
Kindly provide your inputs.
Thanks!
Regards,
Razia Shaheen.Hello,
What you are saying is that the Invoice coming from SRM (Via Idoc i supose) is not bringing the tax code? is that it?
Cheers ! -
Hi,
Can anyone tell me how to maintain Sales Tax Code Descriptions in difeerent languages.
Kind Regards,
Nehal.Hi Narsi,
Thanks for your reply.
Im talking about Sales Tax Code Descriptions and not the GL account one
Regards,
Nehal
Edited by: Nehal Fonseca on Apr 1, 2008 12:25 PM -
Which Tax Code has been used in Freight Charges Dialog Box ?
Sir ,
Plz tell me that when we Click on any Document of Sales / Purchase Module or Purchase Order like open
and than u add the Items and Click on the Freight Drill Down Arrow Give the Freight as 10% , than u give Tax Code also.
But I am asking that only , which Tax Code will be choose for Freight.?Hello jyotasna,
If you want to select tax code then you should be tick as a freight tax code in tax code setup form(Administrator>Setup>Financial>tax code) otherwise tax code will not be listed on freight window.
Generally in india some state have tax on freight. it shoud be better to ask your client account person because he is single person who give you proper answer.
If he said that we dont any use tax code on freight then make a new Exempted (Rate 0) tax code and select whenever you want to select freight window on marketing document(SAles And Purchase) because this you can not add freight window.
Service tax only a tax whcih will dedect on freight amount .if applicable in your company profile.
Thanks
Mnavendra Singh Niranjan -
Validation for tax code not to use
Dear Gurus,
i had done validation for purchase/sales tax code not use while doing transction.
Prerequisite
BKPF-BUKRS =1000
CHECK
NOT BESEG-MESKZ IN ZTAXCODE
Message
you can't use this tax code
i had done this validation for parent company code(1000) but it is giving error for our subsidiary company(3000), though the tax procedure is differnet for both the company taxinj(india) and taxusj(usa). Also the end user is making transction in company code 3000 without tax code still system give him error.
Please advice how to rectify it.
Regards,
Rajesh KHi,
As per my understanding the Tax Code is same but the Tax Procedures are different for the two Company Codes. The solution is to add Company Code 3000 also in the validation Prerequisite. With this it could work.
Regards,
Kiron Kumar T.
Maybe you are looking for
-
I have a 2008 macbook pro with brand new 500GB hard drive and 6GB new RAM. My old hard drive is backed up on external drive, via time machine. When the shop put in the new hard drive (there was nothing wrong with old one, it was just stuffed to t
-
How do I get my content all the way up to the top of the page?
My content div seems to be about 10 pixels down from the top of the page displayed. I want it to go all the way to the top. I am new to web page design and cannot figure out why/where in the code this is controlled. Have found a web site that I woul
-
DataForms Columns not appearing in SmartView
Hi All, I created some webforms on EPMA Planning App 11.1.2.3. When I try to open these webforms using Smartview, I am getting this error " There are no Valid Columns of Data for this form". But I can open these forms in Planning Console. Is this a
-
Purchases from one Itunes to another?
On my old windows, I bought 2 seasons of a TV show, a few ipod touch apps and a movie - i logged into my itunes account on my new mac, and they're not there anymore, but show up on my purchase history. Is there any way to get them back?
-
We have SCOM 2012 with Lync, exchange, fileserver and AD managment packs installed. The requirement is to generate a report that will have health status of these services and its failures in one sheet. Is it possible to generate such a report in SCOM