How to change standard price
Hi Friends,
How to change the standard price of a material, which transaction is used for
this, and data is to be passed for that Transaction.
Thanks,
Sreenivas
Here is also a BAPI which will do it programatically. You must pass all vales on the selection screen.
report zrich_0003 .
data: headdata type bapimathead.
data: valdata type bapi_mbew.
data: valdatax type bapi_mbewx.
data: return type bapiret2 .
data: returnm type table of bapi_matreturn2 with header line.
data: xmara type mara.
parameters: p_matnr type mbew-matnr,
p_bwkey type mbew-bwkey,
p_bwtar type mbew-bwtar,
p_stprs type mbew-stprs.
select single * from mara into xmara
where matnr = p_matnr.
headdata-material = xmara-matnr.
headdata-ind_sector = xmara-mbrsh.
headdata-matl_type = xmara-mtart.
headdata-account_view = 'X'.
valdata-val_area = p_bwkey.
valdata-val_type = p_bwtar.
valdata-std_price = p_stprs.
valdatax-val_area = p_bwkey.
valdatax-val_type = p_bwtar.
valdatax-std_price = 'X'.
call function 'BAPI_MATERIAL_SAVEDATA'
exporting
headdata = headdata
valuationdata = valdata
valuationdatax = valdatax
importing
return = return
tables
returnmessages = returnm.
check sy-subrc = 0.
Regards,
Rich Heilman
Similar Messages
-
How to change standard text in(me33k)?
How to change standard text in me33k (under Reference data : Dept/Proj Manager) field. I tried it changing in CMOD - under Goto in Text enhancements in Keywords then Change . I did this change and in table ekko-verkf I can see the change, but in me33k I cannot . Appreciate if anybody can reply back soon and help me solve this issue? points awarded for sure.
If u are talking about the text related to a Contract by (Trx ME33K --> Header --> Texts --> Text Overview).
Then u need to use the FM create_text and then put the import parameters as
Text Name = (contract number)
Language = EN
Text ID = K00 Release order header text put K01 for first item text K02 for second item text so on
Text object = EKKO Purchasing doc. header texts
and then call bapi_transaction_commit
u ll be a ble to find the changes
thnks
kanishak -
How to change standard text in portal
How to change standard text in portal
Pls replyArchana,
Please post it in the relevant forum(Portal Implementation/development)
What text do you want to change.
Thanks
Bala Duvvuri -
How to change the price of a material in PO
Hi,
Please tell me how to change the price of a material while raising a PO,for example i am raising a PO and in conditions the price is 100 and i wanna update it to 110.Please help meHI,
If you are using condion record, you can change the value for the required condition type so that it will flow to PO. IF you are not using that, you can change the price at the line item level in PO itself.
Regards
Ram -
Change standard price after executing CKMM for materials.
Dear all,
I faced a problem: right after MM period switching, I execute CKMM to switch 2 to 3 for some materials and after taht I changed standard price for these materials by releasing future price.
After material ledger closing (T-code CKMLCP), there is non-zero balance on account for price differences in FI report FAGLL03. This non zero balance occurs just for the materials, which standard price was changed.
Could you please explain me why this happens?
Best regards,
Linh.Hi Van,
The process follows: When Material Master in 3 (i.e) ML effect (when you release the std cost estimate "no Entry will post revaluation gain/loss" it will r evaluate @month end you do CKMLCP..with difference post to price difference.
Posting to re valuate inventory is non ML process.
Or can you test in testing server by changing std price with 3- no accounting doc will generate.
Let me you your response.
Regd,
Khan. -
How can change standard BW- reports
Hi ,
i nee small chnges to BW standard reports ..
plz tell me , how can change standard BW- reports...
i assign points ..
regards
PSRPSR,
You can make changes to them directly. But it is a best practice not to disturb them, but save as a new report and then make necessary changes. So you can save as them and make necessary changes. -
Mass Change Standard Price in Accounting view of material master
Hi anybody,
I am maintaining more than 5000 records material master . Each time change material prices using MR21, but I don't want go MR21. need to develope one abap program for change material standard prices using BAPI or normal ABAP Program. how do I develope?
please give me sample program for that.
Thanks
S.MuthuHello Mani
I have already checked all the open items.....
No sale order. No entry in table MSEG.
Only one PO without GR.....So that should not make any difference.
Br
Avinash -
How to change net Price by using BAPI_PO_change
Hi experts..
How i can change net price by using bapi_po_change.
What parameters i have to pass in this fm.
if possible please tell me , which table this FM will update.
Thanks.
I will award points for all help.See the below code and have tested and it works great..
REPORT ZTEST_PG_07 NO STANDARD PAGE HEADING
MESSAGE-ID z9_msg_prash.
Tables Declaration ****
TABLES: ekpo.
Variables Declaration ****
DATA: v_purchaseorder TYPE bapimepoheader-po_number.
DATA: v_ebelp TYPE ekpo-ebelp.
Constants Declaration ****
CONSTANTS: x VALUE 'X'.
Internal Tables Declaration ****
DATA: it_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
DATA: it_poitem TYPE STANDARD TABLE OF bapimepoitem WITH HEADER LINE.
DATA: it_poitemx TYPE STANDARD TABLE OF bapimepoitemx WITH HEADER LINE.
DATA: wa_return TYPE bapiret2.
Selection Screen ****
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS: p_ebeln LIKE ekpo-ebeln OBLIGATORY.
PARAMETERS: p_ebelp LIKE ekpo-ebelp.
PARAMETERS: p_menge LIKE ekpo-menge.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN
AT SELECTION-SCREEN ON p_ebeln.
IF p_ebeln IS NOT INITIAL.
SELECT SINGLE ebeln INTO v_purchaseorder FROM ekpo
WHERE ebeln = p_ebeln.
IF sy-subrc <> 0.
MESSAGE e002.
ENDIF.
ELSE.
MESSAGE e005.
ENDIF.
AT SELECTION-SCREEN ON p_ebelp.
if p_ebeln is not initial.
IF p_ebelp IS NOT INITIAL.
SELECT SINGLE ebelp INTO v_ebelp FROM ekpo
WHERE ebeln = p_ebeln AND ebelp = p_ebelp.
IF sy-subrc <> 0.
MESSAGE e003.
ENDIF.
ELSE.
MESSAGE e006.
ENDIF.
endif.
START-OF-SELECTION
START-OF-SELECTION.
v_purchaseorder = p_ebeln.
it_poitem-po_item = p_ebelp.
it_poitem-quantity = p_menge.
it_poitem-net_price = '20.00'.
APPEND it_poitem.
it_poitemx-po_item = p_ebelp.
it_poitemx-po_itemx = x.
it_poitemx-quantity = x.
APPEND it_poitemx.
*&----Calling BAPI function module
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = v_purchaseorder
testrun = x
TABLES
return = it_return
poitem = it_poitem
poitemx = it_poitemx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = space
IMPORTING
RETURN =
END-OF-SELECTION
END-OF-SELECTION.
LOOP AT it_return INTO wa_return.
WRITE:/ wa_return-message.
ENDLOOP.
Thanks
Seshu -
How to download Standard Price of the Previous Months
Hi,
I have a request to download the standard prices of the previous month.
Below is the Example:
Material A having the current standard price of $ 100 in Jan,2011 and $ 90 in Dec,2010.
I can see the standard price of $90 under Accounting View 1 against "Period 12.2010" Tab.
I would like to know how can I download the previous month standard prices for the whole list of Materials using Tables or any standard Report.
PanduHi Pandu,
You can meet your requirement through SAP standard report. Find more details:
Use t-code: S_P99_41000111 - Analyze/Compare Material Cost Estimates.
Enter the below details in selction screen:
Plant,
Material................ To ................
Costing Variant,
Costing Date, Valid From (enter the range of dates. e.g. 01.10.2010 to 01.01.2011)
Costing Status = FR (Released Without Errors).
Execute the above selction.
Check in your output layout/change the layout to get Costing date (Key), Costing Status. Material, Plant, etc.
You will be able to view/download the current month & previous month standard prices.
Thanks & Regards,
ADI -
Hi experts,
can u explain me how to valuate the material for which split valuation is active? When i am going to t code MR22 i entered material it asked for valuation type i entered the batch which are existing next what to do. plz explain me how to valuate the material
Thank you
Sap MMHi
If you want to change the material standard price (complete valuation) then use MR21.
MR22 can be useful if you want to change the material price (standard/ MAP) with resepect to quantity. ex: you received certain quantity of material at lower cost and you wanted to increase the price for that quantity only then use MR22. both these Tcodes generate same entried - price change documents.
So use MR22 and enter material, valuation type, new price, quantity. If you dont want to change the price for certain quantity then use MR21.
Thanks -
How to change PO price after Goods receipt
Hi Expert,
This is very urgent. I have created PO with account assignment (Individual order/project (D)) and has material master last month and received goods last month too.
PO item already been issued and used for production. There is no stock balance both urestricted and sales order stock.
Now we need to change the PO price for paying the vendor right price. I have tried MBST to cancel/reverse material document and give me error message saying "Sales ord stk deficit" I think because of no stock avaible in the system.
I need a urgent solution: How can i change PO price or cancel material doc to adjust the PO price.
Thanks,
Mohammed RahmanHi Mohammed
Which step system appear error ?
Example: Qty PO have already receipt 4 set, you already used 3 set. Stock have 1 set.
When you use 561with quantity 5 set, stock have 6 set.
after u cancel PO wrong price (qty is 4 set) - stock have 2 set but when you change PO and Goods Receipt again stock will have 6 set.
And you use 562 with Qty 5set => now stock still have 1 set.
And price already changed.
Regards,
Thang
Edited by: Cao Danh Thang on Jun 13, 2008 4:30 AM -
BI 7.0 infospoke - how to change standard destination path on appl. server
Hello,
I have the following problem:
I need to extract large amounts of data from infocubes to flatfiles. I have created an infospoke to do this. However, in this infospoke, the destination path, when I choose application server, is fixed.
In BW 3.x, there is a document "BW 3.1 Open Hub Extraction Enhancement Using Literal Filename and Path.pdf" that describes how to change the destination path for the application server.
This solution does not work for BI 7.0, I get short dumps, probably due to ABAP OO.
I need to extract the data to flat files on the application server, not on my local machine, nor into a table in SAP itself, so I need to change the destination path, because the amount of free storage is limited in the standard destination path.
Has anyone encountered this problem in BI 7.0 and solved it?
best regards
Ting
Edited by: Ting Kung on Jun 30, 2008 9:19 AM
Edited by: Ting Kung on Jun 30, 2008 9:19 AM
Sorry, wrong subforum, will close thisHi Ting.
I never had a simmilar problem but, if you go to your InfoSpoke, right click --> "Change" you can see (and change... ) the following values:
Destination Type: FILE (the one you have choosen)
Application Server: Check Box (I think this is your setting)
Server name: (BW server)
Type of File Name: (Here you can choose Between "File Name" or "Logical File Name")
Appl.Server File N: "MY_FILE.CSV" (for example)
Directory: (The directory you want - take a look at the end of this post )
Separator: (The field separator)
Note : If you are working with Linux or Unix you have to look if the BW system user has the corresponding rigths to write in the FileSystem.
. In the beginning I advice you to use something like this /usr/sap/<SID>/DVEBMGS<XX>/work
Hope it helps.
Regards. -
How to changes standard sap label description
Hi !
I heard that there is a way ton change standard sap label description.
Please tell me how to do this ?
Thanks
mosheHi Solman
You can do that using the method i have mentioned in
my earlier post to change the descrptions. Mostly these
will be used for Product Attributes in Material Master
to give meaningful names as per our business. You can
find the same if you go through the documentation
following the below path
IMG -> Sales & Distribution -> System Modifications ->
Create New Fields( without Condition Technique).
Here check the documentation of "Reserve Fields in the
Customer Master Record"
Hope that can help you understand better.
Kind Regards
Eswar -
How to change standard selection-screen fields
hi i am kishore.
i have requirement.
i have to change selection-screen label purchase order to purchase docuement in request for quatation.
pls suggest that how to change the standard selection screen field labels.Hi.
This is possible.
Just try out this way.Heres is an example.
TABLES: pernr.
data: i_tab type standard table of RSSELTEXTS with header line.
initialization.
i_tab-name = 'PNPPERNR'.
i_tab-kind = 'S'.
i_tab-text = 'Employee ID'.
append i_tab.
CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
EXPORTING
program = 'ZESO_TEST'
tables
seltexts = i_tab
EXCEPTIONS
PROGRAM_NOT_FOUND = 1
PROGRAM_CANNOT_BE_GENERATED = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks and regards,
Maheshwari.V -
How to change standard field name?
Hello Experts,
I have copied the whole VA11 program to ZVA11 program here i want to change the name of the standard field name can i know how to change. Please can anyone share the procedure.
ThnksHi,
try this u can change the name.
enter CMOD transaction code and in menu bar
GOTO-->TEXT ENHANCEMENTS->KEYWORDS---->CHANGE.
in popup screen (next screen) enter the data element as
BANDDT it will display the field name now u cna change what you like.
regards.
sriram.
Maybe you are looking for
-
SharePoint 2013 March Update Installation Error: Failed to install application content files
Hi, I've been trying to install SharePoint 2013 March Update. After installing when I ran the configuration wizard, I get the following error: Task applicationcontent has failed with an unknown exception Exception: System.NullReferenceException: Obje
-
Hi, I need a report which give PO amount and amount paid to vendor to be displayed PO wise PO amount is available in MM cube and amount paid to vendor is available in AP cube. I would like to enhance AP cube with PO and bulid a MP on top so that i ca
-
Unable to create File System Repository manager
Hello, I would like to create File System Repository manager to this path: I have mapped a certain Network drive " main-uni-fs1\pictures$" to the Portal Machine and under this machine it appears as drive "N:\", inside it there is a picture folder whi
-
We're getting Following error message on System Reboot Via Vmware Adapter ... "Unable to launch task, because another task is already running on this VM." Anyone knows what that might be ? These works most of the time.
-
I had installed flex IIS model correctly,and reboot the computer,it's show the default start page when enter windows,every thing seems ok. But when I click the links of samples in the default start page,I got this result: Compilation Results Errors,