MM02 Massive change.
Hi gurús,
I would like to change in massive way the materials unit of measure.But the unit that is in the additional data botton, in MM02.
It is possible to do with MM17?
Regards
Enzo
Muchas gracias.
Encontré la forma de hacerlo con la MM17.
Saludos
Similar Messages
-
Vendor master data - massive change
Hello all,
I have to change payment method for several vendors.
Do you know how to do a massive change in vendor master data?
Thanks,
DavideHi:
Please execute XK99...Vendor Master (Company Code)....LFB1.
Regards
Edited by: Atif Farooq on Oct 4, 2011 12:30 PM -
Massive change of settlement rules in Sale order
HI,
CAN ANYONE ADVISE ME ON THIS TOPIC:
I NEED TO "REFRESH" THE PROFITABILITY SEGMENT IN THE SETTLEMENT RULES OF THE SALES ORDER, AS SOME OF THE CHARECHARISTICS WERE CHANGED AND AS LONG AS I USE THE "OLD" SETTLEMENT RULES IT GIVES ME THE OLDER CHARECHATERISTICS.
I WAS THINKING OF DOING A MASSIVE CHANGE TO SETTLEMET RULES - BLOCKING THE PREVIOUS SETTLEMENT LINE AND OPEN A NEW ONE
DOES ANYONE HAS AN IDEA OF HOW TO DO IT ?
THANK YOU
AMALIAHi,
1. Please check your customizing in SPRO -> Sales and Distribution -> Basic Functions-> Account Assignment/Costing -> Automatic generation of settlement rules.
2. Have a derivation rule in COPA (KEDR) which will post the changed value to COPA during settlement. If the settlement rule is not automatically adjusted and if you don't change the old value afterwards manually on the profitability segment screen of the settlement rule final derivation (at time of creation of the CO-PA line item) would overwrite the wrong char value for the line item - without any impact on the settlement rule itself.
regards
Waman -
Bom massive change of item category
dear
can you suggest a valid tool for a massive change of item category.
I need to change the item category of many bom component.
The old value is L , the new value is N.
In transaction CS02 is very difficult to change the item category of a component.
Thanks.Hi,
It is not possible to change the Item Category. You would need to delete the line & re-create back with the new item category.
You may use CEWB as suggested above, or you may go for a Z program.
Regards,
Vivek -
Massive change orders to Alterntive Resources in planned Orders
Hi SAP Experts,
We would like to change a lot of orders from one resource to an alternative resource in the DS planning board. We can only do this order by order but in such case we already know that for a set of orders we have the same alternative resource so I would be easier to just select a lot of resources to move from one resource to another resource.
Thanks and BR
MauricioHi,
If you know the orders/operations, which are to be moved to alternative resource, you can select them using CTRL+click on those operations. Then by drag and drop, you can shift them to the alternative resource. While drag and drop also, you have to keep the CTRL key pressed.
Hope this will help you.
Regards,
Manimaran M. -
Massive change of "User name" of spool request
HI all,
someone knows a report that changes "User name" of all spool request of an user to another user?
Thank you in advance.
PasqualeHi Pasquale,
There's none in SAP standard. But maybe the note 158487 - How can one user view the spool requests of other users suits your needs.
Br,
Javier -
Any Exit for MM01 and MM02 view change?
Dear All,
My requirement is I want to check profit center for particuler plant.
I have maintain a table of Plant , Busiiness area and Profit center. And I want to check profit center in that plant when user enterd after filling profit center.
I dont want on save material. Plz suggest me exit or Badi or enhancement at the time of Enter in Plant data view?
I searched and I got many exit at the time of saving but not for Plant data view Tab.
Thanks in Advance.
Thanks and Regards
Stevesolved
-
How to use change document for AUSP table in MM02?
Hi All,
I am working with MM02. When I change the characteristic value in classification view, I want that change to be logged in CDHDR table.
I have created a change document object for AUSP table and generated update program for that. Now that program needs to be called in some <b>badi</b> or <b>exit</b> which can be called upon saving in MM02 after changing the values in classification view.
Can anybody give me some idea where can I call that program.
Any help wud be appreciated.
Regards,
PragyaHi
You have 2 possible solutions to meet this requirement.
Option 1: Implement point # 3 of SAP OSS Note 943559
Option 2: This is a workaround solution to skip standard SAP check for activation of change documents of Classification system and allow entries to be written into CDHDR and CDPOS table through MM01 / MM02 / CL20N tcode
Solution: Implement an implicit enhancement inside include program 'LCLVFF10', at end of subroutine 'FILL_REDUN' i.e. line number '337'.
Here modify the entry of table 'REDUN' where OBTAB = 'MARA' and set the flag 'AEBLGZUORD' equal 'X'. This will activate the change document creation for Change Object 'CLASSIFY' in CDHDR and CDPOS tables.
Sample Code
LOOP AT redun WHERE obtab EQ 'MARA'.
redun-aeblgzuord = 'X'.
ENDLOOP. -
Script or Program for massive role changes
Hi,
does anybody know some script to execute massive changes in SAP ROLE??
CiaoYou can try a bash script. Example: This one converts wav to mp3:
#!/bin/bash
for i in "$@" ; do
lame --r3mix "$i" "`basename "$i" .wav `.mp3"
done
./wav2mp3.sh *.wav
will convert all wav in the current directory to mp3. You can change the lame line if you have other formats. -
Express document update was terminated in mm02
Dear experts:
when i use MM02 to change the material master,after saving,i get the error message'Express document update was terminated'.
The ID has working period of time and the authority is enough to do this,pls give some advice.
Thank you very much!Hi Stephen,
This error message comes when ur transaction doesn't get the proper system resources or when the load on the server is too much. Becuase of which tables dont get update and u get the error .
basically it is performance issue of the system. U can try after some time if proble persists u can contact ur BASIS team.
Regards,
AM -
Can I mass-change file associations?
On a Win7 I installed CS4 and CC. However, Bridge CC (although installed last) has *all* files associated with CS4. Which of course makes my life very difficult right now. Is there a way to massively change file associations in Bridge CC? I've done it many many times one-by-one in the past, and I really don't want to do it again.
ThanksYes, if you want to mess with registry. Try this solution for CS6, but use CS4. Will be slightly differenct as CS4 was 32 bit program.
HKEY_CURRENT_USER\Software\Classes\Applications\Photoshop.exe\shell\op en\command
This key was set to the path for Photoshop CS6 when it should have been set to Photoshop CC.
In other words, in my case, it was set to:
"C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Photoshop.exe" "%1"
When I changed the CS6 to a CC, in other words, so the whole key reads:
"C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Photoshop.exe" "%1" -
BAPI for FB09 change line items
Hi All,
Is there any BAPI avaialble for changing the line items of transaction FB09...... instead of going for a BDC
Please give the helpful answers.
ThanksHi
BI program is BatchInput program so it's BDC program: u need to simulate the trx FB09 by a BDC, if u need a fm u can insert the BDC in your fm.
Just I said if you need to change some std fields (like text, attribution, etc....), u can use the std fm FI_ITEMS_MASS_CHANGE: it's the fm used for massive changes.
If you see the include LFI_ITEMSF03, u can check which fields are managed by that std fm.
Max -
Change multiple employees names
Hello,
We ran into a problem when creating some BPs out of Users, which caused some of the BPs to be created without "First Name" and "Last Name". In the same scenario we have connected all of the BPs to CPs and added them to the organisational tree.
Most of the created employees already started working and opened orders for customers.
We cannot delete and reopen the employee BPs because they are already connected to orders in BUT050, and changes through BOL are not allowed because all of the data is read only.
My question is, is there any way to massively change Employees names or is there any API function that can be used for one by one change?
Will appreciate any help,
Thanks.Hi Yuri,
You can also use transaction MASS, to do some mass changes in employees.
The business object for that is BUS1006.
Kind regards,
Garcia -
Hi
I have problem while inserting values in UNIT of measure in MM02 transaction. I recorded transaction for second field of table control , but while running BDC it inserts value in 2nd row only. How to increase counter while inserting values.
Plz do needful.hi,
*& Report ZMMGB_MM02PLANPRICE_BDC
report zmmgb_mm02planprice_bdc.
tables : marc.
data: begin of bdcdata occurs 0.
include structure bdcdata.
data: end of bdcdata.
data: w_tcode like sy-tcode, " Transaction code
w_tkstatus like t130m-pstat, " SAP Transaction status
w_anzgstatus like t130m-pstat, " Summary Display status
w_t130m like t130m, " Transaction control: mat.master
w_bilds like t133a-bilds, " Screen sequence
w_dytxt like t133b-dytxt, " View description
w_linex(5) type c, " View # in table
w_line like sy-tabix, " View # on selection screen
w_num like sy-tabix,
w_matnr like mara-matnr, " Material
w_mtart like mara-mtart, " Material type
w_vpsta like mara-vpsta, " Material maintenance status
w_pstat like t134-pstat. " Material type maintenance status
data: begin of it_views occurs 30.
include structure mbildtab. " Selection Views
data: end of it_views.
data : mbrsh(1) type c,
mtart(4) type c,
kzsel(20) type c,
price(14) type c,
pdate(10) type c,
dytxt(20) type c,
pos(2) type n.
data : begin of itab occurs 0,
matnr like mara-matnr, "Material
werks like t001w-werks, "Plant
zplp1 like mbew-zplp1, "Planned Price1
zpld1 like mbew-zpld1, "Planned Price1 Date
end of itab.
parameters : upd as checkbox.
start-of-selection.
check upd eq 'X'.
perform upload_data.
loop at itab.
refresh bdcdata.
perform get_viewpos.
w_linex = w_linex - 17 .
pos = w_linex+2(2).
concatenate 'MSICHTAUSW-KZSEL(' pos ')' into kzsel.
concatenate 'MSICHTAUSW-DYTXT(' pos ')' into dytxt.
perform bdc_dynpro using 'SAPLMGMM' '0060'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MATNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RMMG1-MATNR'
itab-matnr . "'93110989'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(08)'.
perform bdc_field using 'BDC_OKCODE'
'=P+'.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
dytxt. "'MSICHTAUSW-DYTXT(05)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using kzsel "'MSICHTAUSW-KZSEL(05)'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '0080'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-WERKS'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'RMMG1-WERKS'
itab-werks. "'7100'.
perform bdc_dynpro using 'SAPLMGMM' '4000'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
move itab-zplp1 to price.
perform bdc_field using 'BDC_CURSOR'
'MBEW-ZPLP1'.
perform bdc_field using 'MBEW-ZPLP1'
price. "'103.00'.
PERFORM convert_date_external.
perform bdc_field using 'MBEW-ZPLD1'
pdate. "'27.03.2008'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
call transaction 'MM02' using bdcdata mode 'A' update 'S'.
clear : itab,price,pdate,pos,w_linex.
endloop.
* Start new screen *
form bdc_dynpro using program dynpro.
clear bdcdata.
bdcdata-program = program.
bdcdata-dynpro = dynpro.
bdcdata-dynbegin = 'X'.
append bdcdata.
endform. "BDC_DYNPRO
* Insert field *
form bdc_field using fnam fval.
clear bdcdata.
bdcdata-fnam = fnam.
bdcdata-fval = fval.
append bdcdata.
endform. "BDC_FIELD
*& Form GET_VIEWPOS
* text
* --> p1 text
* <-- p2 text
form get_viewpos .
if itab-matnr na sy-abcde.
unpack itab-matnr to itab-matnr.
endif.
select single * from marc where matnr = itab-matnr and
werks = itab-werks.
if sy-subrc eq 0.
w_tcode = 'MM02'. "Change view
endif.
call function 'MATERIAL_INIT'
exporting
tcode = w_tcode
kz_berprf = 'X'
importing
it130m = w_t130m
tkstatus = w_tkstatus
exceptions
no_authority = 1
wrong_call = 2
kstatus_empty = 3
tkstatus_empty = 4
aktyp_tcode_mismatch = 5
tcode_not_found = 6
material_article_mismatch = 7
others = 8.
if sy-subrc <> 0.
write: 'MATERIAL_INIT error code =', sy-subrc.
exit.
endif.
* 2. Get Material type and maintenance statuses
select single matnr mtart vpsta from mara
into (w_matnr, w_mtart, w_vpsta)
where matnr = itab-matnr.
* if sy-subrc <> 0.
* write: 'Material', material, 'not in material master'.
* exit.
* endif.
select single pstat from t134 into w_pstat
where mtart = w_mtart.
if sy-subrc <> 0.
write: 'Material type', w_mtart, 'not found'.
endif.
* 3. Get Screen Sequence for Tcode/Material
call function 'BILDSEQUENZ_IDENTIFY'
exporting
materialart = w_mtart
tcode_ref = w_t130m-trref
importing
bildsequenz = w_bilds
exceptions
wrong_call = 1
not_found = 2
others = 3.
if sy-subrc <> 0.
write: 'BILDSEQUENZ_IDENTIFY error code =', sy-subrc.
exit.
endif.
* 4. Get Summary status (Transaction+Material+Material Type)
call function 'ANZGSTATUS_SETZEN'
exporting
aktyp = w_t130m-aktyp
marastatus = w_vpsta
t134status = w_pstat
tkstatus = w_tkstatus
importing
anzgstatus = w_anzgstatus
exceptions
anzgstatus_empty = 1
wrong_call = 2
others = 3.
if sy-subrc <> 0.
write: 'ANZGSTATUS_SETZEN error code =', sy-subrc.
exit.
endif.
* 5. Get all selection views:
call function 'SELECTION_VIEWS_FIND'
exporting
bildsequenz = w_bilds
pflegestatus = w_anzgstatus
tables
bildtab = it_views
exceptions
call_wrong = 1
empty_selection = 2
others = 3.
if sy-subrc <> 0.
write: 'SELECTION_VIEWS_FIND error code =', sy-subrc.
exit.
endif.
* 5. Get view #:
read table it_views with key auswg = 35 . "35 - Costing View 2
if sy-subrc = 0.
w_linex = sy-tabix.
* else.
* write: 'View', view, 'not found'.
* exit.
endif.
endform. " GET_VIEWPOS
*& Form CONVERT_DATE_EXTERNAL
* text
* --> p1 text
* <-- p2 text
form convert_date_external .
call function 'CONVERT_DATE_TO_EXTERNAL'
exporting
date_internal = itab-zpld1
importing
date_external = pdate
exceptions
date_internal_is_invalid = 1
others = 2.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endform. " CONVERT_DATE_EXTERNAL
*& Form UPLOAD_DATA
* text
* --> p1 text
* <-- p2 text
form upload_data .
data : file_table type file_table occurs 0,
fwa type file_table,
filename type string,
rc type i.
call method cl_gui_frontend_services=>file_open_dialog
exporting
window_title = 'Open File'
* DEFAULT_EXTENSION =
* DEFAULT_FILENAME =
* FILE_FILTER =
* INITIAL_DIRECTORY =
* MULTISELECTION =
* WITH_ENCODING =
changing
file_table = file_table
rc = rc
* USER_ACTION =
* FILE_ENCODING =
exceptions
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
not_supported_by_gui = 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.
read table file_table index 1 into fwa.
filename = fwa-filename.
call function 'GUI_UPLOAD'
exporting
filename = filename
filetype = 'DAT'
* IMPORTING
* FILELENGTH =
tables
data_tab = itab
exceptions
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
others = 6 .
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
endform. " UPLOAD_DATA
Regards,
Morris Bond.
Reward Points if Helpful. -
Change Line Item Display in GL Accounts
Hi, I need to know how can I make a massive change to all my GL Accounts, to put the check in the flag of "line item display" in the Control Data of my accounts
Hi,
Try transaction MASS or you can find help at http://help.sap.com/saphelp_erp2005/helpdata/en/59/0735b112c311d396cb006094b969cf/frameset.htm
If you find the answer useful, please assign reward points.
Regards,
Svetlin
Maybe you are looking for
-
how do i transfer videos from my mac book to my iphone using i tunes? they are currently in iphoto. please help me asap thank you
-
Import CSV data to an existing populated XLS file
Hi Guys, Looking for some assistance, with some powershell I have never done before.. and don't know where to start.. I have a CSV file that contains some data - Several items exported from a standard powershell command. I also have an XLS file that
-
Trying to upload content from previous i-phone to a newer model
I am trying to set up my I-phone 4 and need to download the content from my old i-phone 3. The i-phone 4 does show up when conected to i-tunes via a cable to my mac. Can you help?
-
Cannot start instance of another server : correction
Correction : To the moderator of the newsgroup, please delete my other post with the subject 'Cannot start instance of another server'. In the console of WLS 6.1 SP3 on HP-UX, I have created another instance of a server I called 'another_of_myserver'
-
I use Firefox and had several tabs set to open when I logged on. But while these remain open, my browser won't open any more pages, even when the Google search page finds my own web page, it won't open it. The same thing happened when I tried my Safa