Mass update of New Tax indicator
Could someone share what would be the best way to update a tax indicator for a new tax for about 3,000 retail materials.
I created a LSMW that i found, but does not work for retail even when I change the transaction from MM02 to MM42.
Thank you, Regards,
Carlos
I found this report, but the field I want to change is not on the basic view, is in additional values:
Example Report for BAPI_MATERIAL_SAVEDATA
*&---------------------------------------------------------------------*
*& Report Z_EXAMPLE_BAPI_MATERIAL_SAVEDATA
*&
*&---------------------------------------------------------------------*
*&
*& This report reads material client datas, and doubles the net weights.
*&
*&---------------------------------------------------------------------*
REPORT Z_EXAMPLE_BAPI_MATERIAL_SAVEDATA.
* Data Declarations
DATA: CLIDAINP LIKE BAPI_MARA_GA,
CLIDAOUT LIKE BAPI_MARA,
CLIDAOUTX LIKE BAPI_MARAX,
HEADDATA LIKE BAPIMATHEAD,
RETURN LIKE BAPIRET2,
RETURNMES LIKE BAPI_MATRETURN2 OCCURS 0 WITH HEADER LINE.
* Get Material Number to be processed
PARAMETERS: MATERIAL LIKE BAPI_MARA_GA-MATERIAL.
* Read Material Data
CALL FUNCTION 'BAPI_MATERIAL_GET_ALL'
EXPORTING
MATERIAL = MATERIAL
IMPORTING
CLIENTDATA = CLIDAINP
TABLES
RETURN = RETURNMES.
* Header Data: Material and View to maintain
HEADDATA-MATERIAL = MATERIAL.
HEADDATA-BASIC_VIEW = 'X'.
* Detail Data: Field Value, and 'X'-Structure to mark the field for maintenance
CLIDAOUT-NET_WEIGHT = CLIDAINP-NET_WEIGHT * 2.
CLIDAOUTX-NET_WEIGHT = 'X'.
* Call the BAPI
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = HEADDATA
CLIENTDATA = CLIDAOUT
CLIENTDATAX = CLIDAOUTX
IMPORTING
RETURN = RETURN
TABLES
RETURNMESSAGES = RETURNMES.
* Commit to release the locks
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
* RETURN-TYPE is 'E' in case of error, else 'S'.
IF RETURN-TYPE = 'E'.
LOOP AT RETURNMES.
WRITE: / RETURNMES-MESSAGE.
ENDLOOP.
ELSEIF RETURN-TYPE = 'S'..
WRITE: / 'Weight of material ', MATERIAL, 'Sucessfully doubled'.
ENDIF.
Similar Messages
-
Mass update of new house bank in the BP record
Our client has switched banks. We went in and added the new bank to the bank table and the house bank table. We then changed the default bank in the Company Details and the Payment Methods. The BP house banks were not changed as a result of this. Although, when we changed the default in the Company Details, it asked if we wanted to update the BP's payment terms and we told it to continue.
Is there to mass update the vendors with this new bank? They have thousands of vendors, and if this isn't changed, the payment wizard does not work properly. It moves all of these transactions to the Non-included area with a message that says the BP House Bank Account does not match the default.
Any suggestions?You may use DTW to update DefaultBankCode for the BP.
Thanks,
Gordon -
Vendor load - Withholding Tax Indicator
Hi SCN Community,
I have been working in a migration project and we are closer to start Vendor Master and Open Items data loading.
My concern is regarding WITHHOLDING TAX Indicator(LFBW-WT_SUBJCT). Should I remove active flag from Tax Indicator before start Vendor Open Items loading in order to avoid double posting?
Thanks in advance.Yes absolutely. Load the open items without the 'liable' tick in the master data. Thereafter, mass update the withholding tax on the master.
This is the standard cutover procedure. -
How to perform a Mass update in Vendor master-- WHolding Tax TYPE
I need to update the With holding tax type to be added to a list of vendors.
Please suggest.
I tried doing it by MASS/ XK99 but that I think is only for updating TAX code under a specific Tax type.
I want to add new tax type in multiple vendors.
Please post your sugestions ASAP.
Regards,
MadhurHi Madhur,
You can try LSMW for the same.
Please refer the link on LSMW by RAVI SANKAR VENNA.
LSMW for Functional Consultants in simple step-by-step way
You can try FM FI_WT_VENDOR_UPDATE as well.
Hope this helps you.
Regards
Eugene -
Mass updating a multi-valued field- to append the new value
I have a question on multi-valued fields:
I have store table with 5 multi-valued fields, say MLB, soccer, college FTBL, college Basketball, etc.
A store can have 4 MLBs, 2 soccer teams, and so on.
Say, there is a new MLB that came out called Mexico MLB team.
A user wanted to add this to 30 stores using a mass update. But remember the 30 stores can have totally different sets of values in the multi-valued fields.
How can I add this new value while still preserving the MLB teams values of each store record?
Does MDM not support this feature?
I am using SAP MDM SP6
An answer would be highly appreciated.
Thanks
SaviSavi,
I assume you are defined these fields as multi-value lookup and linked to main table. In general, you can not because it will mess up and overwrite your multi-value entries for all of your 30 store records.
Here is something in MDM come in handy. It is following the same concept but design your model a little differently. If you model your multi-value fields into qualified lookup table, it will be easier and optimized to handle.
You can select all 30 records and mass-update with adding the new MLB entry into your Q-lookup table. Once you save, this mass-update action will respect all your diversity of each individual records with the new value added.
Hope this helps
If this answers your question, please kindly reward the points.
Regards
Dawei -
FTXP: Mass Update US Tax Rate for procedure TAXUSJ
Hi,
I had searched here and there about the answer for the best way to mass update the tax rate for US TAXUSJ based on the jurisdiction code and transaction key (T030K-KTOSL). I attempted to use BDC recording but it doesn't work as FTXP required manual processing.
So is there any better solution on this? I am trying to direct update to database in the worst case if can't find any better solution.
In this case, I tried to find any table that consist of country code, procedure, tax jurisdiction, tax rate, valid from, transaction key. But it is none. I am confuse on which is the correct tables to update. I searched net and there are suggestions on these tables (A053, KONH, KONP, T007A, T007V, T030K, A003). But how is the linkage on these tables?Which one is the correct table to update?
Thanks for your time for reading this.
Thanks & Regards,
Sin YingHi,
Please, refer to this link:
Re: Table for tax rate
Regards,
Eli -
Mass update of mixing ratios for new fiscal
Hello All,
Is there any way to update mixing ratios for a new fiscal in a mass manner? What would be the best way to do a mass update? Thanks.
Regards,
SBHi
There is a catch in it... The screen delivered by SAP for CK94 has a problem... If you have more than 6 Proc Alternatives, even LSMW wont help...
LSMW can help only if you have upto 6 proc alt.. if more than that, you have to do it manually....
I debugged the Std program with my ABAPer for whole long day.. What we discovered was that SAP hos not given the PAGE DOWN option, usually given in all the screens.... So, no BAPI/BADI/LSMW can help of Proc Alt > 6
br, Ajay M -
New tax displayed when plant created in new country (Customer / Material)
Hi Gurus,
We create a plant in a new country.
Impacts are:
- New tax classification MWST to fullfil in Material master data (Sales org.1 view)
- New tax classification MWST to fullfil in Customer master data (Sales org. view)
So, this new tax MWST displays because a new departure country is available in SAP Organizational structure.
Tax data is a mandatory field on Material Master Data and Customer Master Data. Try to go in MM02 and you need to complete it to save Material or Customer.
I would like to update in mass tax for Material and Customer.
I try to use MASS or XD99 or MM17 but it is not working. Tables impacted (MLAN for Material and KNVI for Customer) don't include the new country. I suppose this is a SAP control when we use MM02 or XD02.
In my mind, it will be very complex to use LSMW (plenty of Customers and Materials, need to manage right Sales area so retreatment before...). Are there tips to fix it? Have you already reach this problem?
Many thanks.
StéphaneHi Stéphane,
I faced same problem:
Using MM17 to insert new records it's not what i wanted to do.
so i follow these steps.
1- I used SHDB to save a new recording with MM01.
2- Download the recording and edited with Word.
3- merge data file with this word and save it as a text file.
4- upload text file recording to SHDB.
5- processed it.
It worked fine and you get a log of operations to control that works fine.
Best regards
Juan. -
Contract Mass Update from Bid/RFx Response functionality
In SRM 7.0 we have the following SPRO settings. Kindly explain me about Contract Mass Update from Bid/RFx Response functionality
SRM Server > Cross-Application Basic Settings > Contract Mass Update from Bid/RFx Response >
Define Process Parameters
Set Default Parameters
Thanks
sriniHi,
Contract mass update Process starts when an RFx response or bid is accepted. Where items in the RFx response or bid have the same suppliers, the same currencies, and the same products as one or more existing contract, the contract(s) is (are) updated with the prices and other header/item information from the RFx response or bid. If the RFx response or bid contains new products, these can also be attached to existing contracts with the same supplier and currency (append function), or a new contract can created.
Coming to configuration part:
Define process parameters: Where you can define whether you want to update zero price quoted items to existing contracts or not (include / exclude options are available)
Set default parameters: Where we can control contract parameters for updated (either default / from RFx or BId), following SAP explanation will give you more clarity on it.
In this Customizing activity, you define which parameters are, by default, part of the contract mass update from an RFx response or a bid. To do this, select the Default Indicator.
You can select the Lock indicator to prevent the user from doing the following:
Deselecting a parameter that has been defined as a default parameter in Customizing
Selecting a parameter that has not been defined as a default parameter in Customizing
Regards,
krish -
Hello Friends:
In UK Payroll new tax code 1000L for year 2014-April 06th. I have updated in Constant table V_T511K effective April 06th 2014 but this code is not going to Ceridian interface(PU12). I would like to know where we need to apply this new tax code?. Is there any OSS Notes?. Any help is appreciated. Thanks in AdvanceHello
Please note that the tax calculation for UK payroll is done based on the tax code as maintained in IT0065 ,.
Also please note the following :-
Code 0T u2013 This code is used cumulatively with no pay adjustment and all pay is taxed according to the relevant rate dependent on the level of earnings
Code BR - This code means that all the employeesu2019 pay is liable to basic rate tax and there is no pay adjustment allowed
Tables T5G01 and T5G02 are then used by payroll for tax calculation.
Hope this helps
Kind Regards
Ramana -
Is there a way to mass update or replace the SPM Firefighter IDs table?
We are upgrading from GRC 5.2 to 5.3. In 5.3 FF/SPM has added an Owners field to the FF ID table (/virsa/zffusers), which is apparently a required field because I keep getting a "Invalid Firefighter ID Owner" error when I try to look at the table.
Is there a way to mass update, or perhaps import/replace, this table? I am having problems trying to update this table thru the FF table screen. When I go to save my changes, it will return the above error because not all of the FFID records have an assignment in this new Owners field. We have over 160 FFIDs, so I can't change all of the records at the same time. I can only get about 20 per screen and it will return that error again when I try to page forward.
Thanks.Hi Bob,
that is perfectly possible - did it a few times already.
Export the table from within Firefighter, download the owners table (sorry, need to look up the name tomorrow - but you can't miss it), then add the owners through an Excel vlookup. Then re-import the table in Firefighter, and you're ste.
I'm at home right now - if you have difficulties getting this done shoot me a message tomorrow and I'll send you more details.
Frank. -
Material Account Assignment Group, in Sales Order Mass Update
Sd Experts,
We just went live, our consultant updated Account assignment group at the material level but did not updated existing materials. When we caught the problem and updated exisisting materials there were some existing orders already created. Which now I am getting an account determination error due to this field being empty at the material level.
We have some sales orders that I need to update but they are just too many, currently I have been fixing them thru VF02, for to the material and update manually.
Does anyone has any idea how to mass update this field for all existing orders, to update "Account Assignment Group" field automatically
Your help will be greatly appreciated.Hi
In Mass transaction choose object type as #BUS2032,after executing in the next screen from the tables choose#Sales Order Item Data, and from the fields choose#AcctAssgGr (MASSSDHE)-MASSSDHEAD_S-KTGRD, now execute to find fields Sales document and Sales Document item , here load all the Sales Orders for which the change is needed along with the items for which the changes are needed execute again to find the next screen with Sales Documet, Sales Document item and Account assignment which needed to be changed,now select the entire block enter new values in the Account assignment box in the above, click on the 'Carry out MAss change button ' and then save, it will take some time basing the change tobe carried and issues a log as to how many documents were changed
Hope this is clear,please do a test run before.
Regards
Chandra -
Mass Updating of Selected Rows
(As you can see from my low number of posts I'm new to ApEx, so any information you can provide is appreciated.)
Hi,
I've been asked to include what I consider a heavy duty feature on a report. It has been requested that there is a form region above a report region. The form will have some fields on it to be used to mass update selected rows.
For instance, let's say the report is a list of employees and their dept and the form has a dropdown dept field that contains a list of depts. They want to be able to select certain employees on the report, then select a dept from the form and then click an Update Rows button. They want the selected rows to be updated with the selected dept. * Also, they don't want the report to be editable. * The only way to update any rows is thru the Update Row button.
I'm new to ApEx and can code in JavaScript, but am not an expert in either. And, I'm still trying to figure out what JavaScript syntax works in Element Attributes, etc. fields. But, I digress.
I have looked over several threads, and went to several demo pages, and have learned some things. Hopefully they are correct. If not, please correct me.
- Using the Row Selector is tricky.
- You can get the Row Selector on a regular SQL report by changing it to Updateable SQL, adding the Row Selector type, and changing it back.
- You can only see row information on a column if the column is editable.
I now have a report that is NOT editable and has NO editable columns. And the report has the Row Selector. Also, the ID (key) of each row is the first column of each row. (It's a link field that populates another page.) With the ID I can populate the correct record. I'm thinking I need to populate the ID again in another column into a text field and then be able to access that value on the selected rows.
Here's my dilemma. (That is, if I'm on the right track.) I need to know which rows are selected and then access the ID (key value) of that row. After that I can let my PL/SQL do the work.
- - 1. How does the 2nd ID need to be defined such that people can't edit it, but the value can be retrieved? And, how is this done? I assume something can be put in the Element Attributes. If so, will you please provide the code?
- - 2. What is the trick to knowing which rows are selected? An example snippet of code would be great here too.
- - 3. Also, tell me if I'm on the wrong track and need to provide a solution in a different way.
Sorry for the novel, but I wanted you to have a good idea of what I'm trying to accomplish so you may provide appropriate answers.
Thanks much, TonyHi Tony,
check out the following threads:
Re: Reference a value within a report????
Re: MRU - trying to restrict UPDATE to only certain users - everyone INSERT
BTW, you don't have to use any JavaScript. When you write your "Update pl/sql process" for the tabular form, just reference you page item which contains the department for your mass update.
eg.
FOR ii IN 1 .. Apex_Application.g_f01.COUNT
LOOP
UPDATE EMPLOYEES
SET DEPARTMENT_ID = :P4_NEW_DEPARTMENT_ID
WHERE EMPLOYEE_ID = Apex_Application.g_f02(Apex_Application.g_f01(ii))
END LOOP;Hope that gives you a direction how to solve that
Patrick
Check out my APEX-blog: http://inside-apex.blogspot.com
Check out the ApexLib Framework: http://apexlib.sourceforge.net -
Hi,
I have a requirement for creation of new tax codes. I have created new tax codes in FTXP and assigned G/L accounts in OB40. This part is clear for me.
Now my questions are as under.
1. Where do i restrict the validity date for old tax codes and validity date for new tax codes.
2 What needs to be updated in terms of condition records
3 Is there anything needs tobe update in info records for MM.
Regards
KrishnaUnless you use jurisdiction codes, and no external tax system, for
example with tax procedure TAXUSJ, there is no validity dates for the
condition records. You can see this differnce by comparing the tables
A003 without jurisdiction codes and A053 with jurisdiction codes. A053
contains the extra fields DATBI (key field) and DATAB. This is the
standard functionality.
Please have a look at the following part of note 418582:
" Changing past percentage rates has to be inhibited in order to avoid
database inconsistencies. For this reason, the functions which allow you
to transport time-dependent tax codes with percentage rates from the
past are not supported." -
How to Define a new tax, same as WHT - 11i AP
Hi,
We use 11.5.8 Oracle Payables, We need to define a new tax (royalty tax) exactly similar to Withholding Tax.
In the invoice distribution the tax line should be negative figure which will deduct the payment amount just like in WHT.
Please let us know what type of Tax we should define to solve this and how to apply it in Invoices.
Thanks!Hi,
Please let us know what type of Tax we should define to solve this
You description of Scenario is indicating that you should withhold a part of Invoice amount i.e the Amount is inclusive of Invoice Amount.
Hence I think WHT is suitable for you.
and how to apply it in Invoices.
Define Withholding Tax options in Payable Options window.
Define a Withholding Tax Code and Group.
Enable WHT at Supplier Site and assign particular Tax group to Supplier Header or Site as per requirement.
Define Special Calender Withholding Tax.
When supplier is selected at Invoice level, Withholding Tax group shall be automatically populated at invoice level, which will take care of Withholding at the time of Invoice Validation or Payment as per Options set.
Regards,
Sridhar
Maybe you are looking for
-
I have been using this desktop for itunes for years. Never any problems. Recently I cannot access the store it keeps trying but does not load. I can access form my laptop but not from the desktop. I get automatic updates form microsoft so the system
-
Hello all. Im building a GUI using GridbagLayout. Im using some labels as spacers. Everything is cool when they have text on them or they setVisible(true). However when the test is removed or the setVisible(false), The GUI doesnt come out as it shoul
-
Firefox hang in task list after closing successfully
OS: windows 7 32 and 64-bit Symptom: firefox can be open can close "properly" without error message. But when you look in the task list, firefox is still there. You still can open firefox without problem. It will add another process if you close it.
-
Macbook Pro speakers not working in OS but work in Bootcamp ?
Had macbook pro for over a year so warranty is expired, i had spilled a drink on the laptop and thought that the speakers were lost for ever. But when i set up bootcamp with windows 8 the speakers now worked perfectly, this means that the speakers do
-
One Config Window to Color-Manage them all
Hi there! I'm not sure if this is the right place to post it, but since there seems to be no Adobe Bridge Forum, here it goes: I think Adobe should give Bridge a complete and unique window to manage Color Settings for all the Softwares when synchron