CKML_UPDATE_MATERIAL_PRICE
hi guys..
i'm using this fuction module CKML_UPDATE_MATERIAL_PRICE for changing the standard price in material..if it working means what parameters i should pass in tht function module..is there any other function module which change standard price (stprs) with material (matnr) and Valuation area (bwkey)...urgent..
regards
kirankpasupuleti
Try BAPI_MATVAL_PRICE_CHANGE OR
BAPI_PROJECTSTOCK_PRICE_CHANGE
TIP: if you go to SE11 -> give table -> MBEW -> find field ( STPRS), souble click Data elemnet - > find where use list in "fucntion modules" . you`ll get Fm
<b>Other Tip</b>
Go to Tr.SE80 select Package -> F4 "description field "search "PRICE". you`ll get Package " <b>CKMPC</b>" which has all prince change FMs
Thanks
Saquib
Message was edited by: Saquib Khan
Similar Messages
-
Running Function Module in Background with Update Task is not working
Hello Friends,
I have a "Z" Report Program where I am running this Report in Background using JOB_OPEN, JOB_SUBMIT, JOB_CLOSE. I am calling this in BADI.
In this Report I am calling another Function Module PRICES_POST which is a standard Function Module and in this FM there is another FM 'CKML_UPDATE_MATERIAL_PRICE IN UPDATE TASK'. Now when I am running the BADI these values are not being updated.
Friends I would like to know whether can we run Function Modules which are included with UPDATE TASK as Background Job program?
Kindly help me in providing your valuable suggestions in proceeding further.
Thanks and Regards
Pradeep GoliUsually the sequence of CALLs in your report should look like
CALL FUNCTION 'CM_F_INITIALIZE'
EXPORTING
msg_on_screen = c_x.
CALL FUNCTION 'CKMS_BUFFER_REFRESH_COMPLETE'.
CALL FUNCTION 'PRICES_CHANGE'
EXPORTING
actual_bdatj = f_matpr-pp-bdatj
actual_poper = f_matpr-pp-poper
bukrs = p_bukrs
budat = p_date
xblnr = p_xblnr
TABLES
t_matpr = t_matpr.
READ TABLE t_matpr WITH KEY pp-xerror = ' '
TRANSPORTING NO FIELDS.
IF sy-subrc <> 0.
MESSAGE i046(ckprch).
ELSE.
CALL FUNCTION 'PRICES_POST'
EXPORTING
i_bktxt = p_bktxt
bukrs = p_bukrs
lis_update = 'X'
TABLES
t_matpr = t_matpr.
ENDIF.
COMMIT WORK.
If you forget the COMMIT-WORK each and every FM called in UPDATE TASK will not be triggered.
Regards,
Raymond -
Hi all
I need to do mass upload of records in MR21 , can anyone suggest me BAPI for doing so ,
i need to pass the following parameters.
a. Posting Date = [Begin Date]
b. Company Code [Company Code]
c. Plant = Plant
d. Reference = u2018Vendor u2018 + Vendor Number from the Pricing Table
e. Doc. Header Text = u2018Standard Cost Updateu2019
For each Line item:
f. Material = Material from Pricing Table
g. Valuation Type = blank
h. New Price = price from Pricing TableHi
BAPI_M_REVAL_CREATEPRICECHANGE BAPI: Material Revaluation - Generate Price Change
BAPI_M_REVAL_GETDETAIL BAPI: Material Revaluation - Output Document
ADAPT_MATPR_TO_SMBEW Paßt die Tabelle MATPR an SMBEW an
APPEND_PRICE_CHANGE_LINES Die Preisänderungszeilen an RWIN-Tabellen anhängen
CKML_UPDATE_MATERIAL_PRICE Neuen Preis bei Preisänderung in MBEW einsetzen
CONVERT_MATPR_TO_MBEW_MTPER Ändert die Materialpreise in MBEW, QBEW, EBEW
DYNAMIC_PRICECHANGE_PROPOSE dynamische Preisänderung vorschlagen
EXECUTE_DYNAMIC_PRICECHANGE Durchführen dynamischer Preisänderungen
FUTURE_PRICES_POST Verbuchung zukünftiger Preise
FUTURE_PRICES_SET Zukünftiger Preis wird gesetzt
FUTURE_PRICES_SET_DEFAULT_RATE Setzt zukünftige Preis mit Standardumrechnung
FUTURE_PRICE_MBEW_SET Verbuchung des zukünftigen Preises in der MBEW
GET_PRICE_CHANGE_TABLE Liest die Preisänderungstabelle t_matpr der Funkt.gruppe
GET_TABLES_FOR_KOMOK Aufbereiten Customizing Tab. für MR22/21, CKME, CKMCCC
POST_COST_ESTIMATE Bucht freigegebene Kalkulation
POST_COST_ESTIMATE_STAT_SEG Bucht freigegebene Kalkulation
POST_DYN_PRICECHANGES Post-Baustein zu dynamischen Preisänderungen
PRCH_ACCEPT_PRICES_NEW Materiadaten für Preisänderungsbausteine lesen
PRCH_CHECK_MM_ACC_VIEW Prüft ob Buchhaltungssicht vorhanden ist
PRCH_CHECK_MR2X_BLANK Prüft für MR21 / MR22 ob BLANK-Segmente vorhanden sind
PRCH_COLLECT_BLANK_TO_MATPR Sammelt BLANK-Segmente in Ausgabestruktur
PRCH_COLLECT_MATPR_BLANK_ALL BLANK Segmente in Tabelle aufnehmen
PRCH_COLLECT_MBEW_TO_CKMLPR CKMLPR Tabelle mit MBEW-Daten Aufbauen
PRCH_MATPR_ADD_KEKO_CKMLPR Verschobene Anker an MATPR anhängen
PRCH_MATPR_ENQ Materialien paketweise sperren
PRCH_MAT_BLANK_CUR Wärungen für BLANK-Segmente lesen
PRCH_MAT_DATA_READ Materiadaten für Preisänderungsbausteine lesen
PRCH_MBEW_SELECTION Materialien direkt von MBEW-DB lesen
PRCH_MOVE_MATPR_TO_BLANK BLANK-Segmente in MATPR_BLANK verschieben
PRCH_MT08L_DATA_READ Materiadaten für Preisänderungsbausteine lesen
PRCH_NEW_PRICES_SHIFT_ANCHOR Ankerverschieben und neue Preise holen
PRCH_NEW_STOCK_VALUES Neue Preise und Bestandswerte nach Preisänderung berechnen
PRCH_SET_XERROR_SUPKALNR XERROR für getrennt bewertete Materialien berbeiten
PRCH_SHIFT_ANCHOR_BLANK Ankerverschiebung für BLANK Segmente
PRICES_CHANGE Materialpreise ändern, bzw. Material Be-/Entlasten
PRICES_CHANGE_DEFAULT_EX_RATE Preisänderung, weitere Währungen durch Umrechnung
PRICES_POST verbucht die aufgebauten Datenbanksätze bei Preisänderung
PRICES_PROPOSE Preisvorschlag aus geplanten Preisen
Hope it helps
Regards,
Raj
Maybe you are looking for
-
Individual attachment size in mail app
I was able to see the size of individual attachments in the old version of mail. I now only see the total size and the number of attachments. Does anyone know how to display the size of individual attachments in the new lion mail app?
-
Aperture for a Powerbook G4?
Hi! I have a powerbook G4 - 17" - Leopard and I´m planning to buy shortly a Macbook pro. However before I do I´m testing new applications in order to figure what applications I want for my new mac. I´m using photoshop and iphoto, but I read great thi
-
Hi guys, I want to install Windows along OS X... now what is better? to install Windows via Boot Camp or via Parallel / VMware fusion?? and if through one of the virtual machine softwares, which is BETTER?? the Parallel for Desktop or the VMware fusi
-
For some reason, I get this string of "return path" and "received" info at the header of every email in Mail! Have a look here: http://static.flickr.com/75/22908276094cd1ff850o.jpg It's very annoyed! Can anyone help me take it off?? Thanks, Ben
-
Forward a request from a filter
Hi, I want to be able to access a page www.whatever.com/page.jsp?username=me&content=something with the url www.whatever.com/user/something I am thinking doing it with a filter that parses out 'user' and 'something' in the second url and forward the