T Code for Changing material price
Hi friends,
Can anybody tell me what is the T-Code for
1. To change th material price
2. Transfer posting from Un-restricted stock to block stock
3. Transfer posting from Un-restricted stock to Quality stock
Steve,
I have a requirement
Daily cycle counts are completed on inventory. SAP prints nightly a count cycle of 50 inventory items to count (Inventory Audit). This is done so our warehouse folks count items throughout the year rather than at the end of the year all at once. Every January 1 of each year the cycle count begins until we finish cycling through the inventory, which usually happens around October.
When suspend the inventory counts it places the inventory cycle counts on hold for a period of time. The cycling that would usually happen in October of each year is extended out by the days the inventory counts were placed on hold. This is to allow for 100% inventory audit counts. As I understand SAP puts those inventory counts on hold and begins again when it is restarted.
I will need the TCODE to stop and start the inventory cycle count
Can you please help me out
Similar Messages
-
T-codes for uploading material prices and domestic prices?
t-codes for uploading material prices and domestic prices?
regardsUse Transaction VK11 and VK12 based on Condition type for price .
Please reward if useful. -
BAPI needed for change material(Transaction : MM02)
Hi all,
We have a requirement where in we need to post the documents throuh BAPI for change material (Transaction: MM02).
Any inputs on this..is highly appreciable...
thanks in advance...
regards..
prathima.CHECK THIS CODE
*& Report ZBAPI_MATERIAL_SAVEDATA
REPORT ZBAPI_MATERIAL_SAVEDATA NO STANDARD PAGE HEADING MESSAGE-ID (ZHNC).
TYPES:BEGIN OF TY_MAT,
MATERIAL(4),
IND_SECTOR(1),
MATL_TYPE(4),
MATL_GROUP(9),
BASE_UOM(3),
BASE_UOM_ISO(3),
PLANT(4),
DEL_FLAG(1),
PUR_GROUP(3),
BASE_QTY(13),
STGE_LOC(4),
MRP_IND(1),
SALES_ORG(4),
DISTR_CHAN(2),
DEL_FLAG1(1),
MIN_ORDER(13),
LANGU(2),
MATL_DESC(40),
END OF TY_MAT.
DATA: IT_DATA TYPE TABLE OF TY_MAT,
WA_DATA LIKE LINE OF IT_DATA.
*decalraing flag
data: v_flag value ''.
*DECLARING WORK AREAs TO BE PASSED TO THE FUNCTION MODULE.
DATA: BAPI_HEAD LIKE BAPIMATHEAD,
BAPI_CLIENTDATA LIKE BAPI_MARA,
BAPI_CLIENTDATAX LIKE BAPI_MARAX,
BAPI_PLANTDATA LIKE BAPI_MARC,
BAPI_PLANTDATAX LIKE BAPI_MARCX,
BAPI_STORAGELOCATIONDATA LIKE BAPI_MARD,
BAPI_STORAGELOCATIONDATAX LIKE BAPI_MARDX,
BAPI_SALESDATA LIKE BAPI_MVKE,
BAPI_SALESDATAX LIKE BAPI_MVKEX,
BAPI_MAKT LIKE BAPI_MAKT,
BAPI_RETURN LIKE BAPIRET2.
*INTERNAL TABLE TO HOLD THE MATERIAL DESCRIPTION
DATA: BEGIN OF IT_MAKT OCCURS 0.
INCLUDE STRUCTURE BAPI_MAKT.
DATA END OF IT_MAKT.
DATA:BEGIN OF IT_RET OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
DATA END OF IT_RET.
*INTERNAL TABLE TO HOLD HEADER DATA
DATA: IT_EXCEL TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
*SELECTION-SCREEN ELEMENTS
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETER: FNAME TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT 'C:\Documents and Settings\Administrator\Desktop\MATMAS.XLS' .
PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK B1.
*DECLARATION OF EXCELAL TABLE
AT SELECTION-SCREEN ON VALUE-REQUEST FOR FNAME.
PERFORM F_GET_FILE USING FNAME.
START-OF-SELECTION.
PERFORM F_XLS_ITAB USING FNAME
CHANGING IT_EXCEL.
PERFORM F_MOVE_DATA.
perform F_GET_DATA.
*& Form F_GET_FILE
text
-->P_FNAME text
<--P_SY_SUBRC text
FORM F_GET_FILE USING P_FNAME LIKE FNAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
PROGRAM_NAME = SYST-REPID
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
STATIC = ' '
MASK = ' '
CHANGING
FILE_NAME = P_FNAME
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE E006(ZHNC).
ENDIF.
ENDFORM. " F_GET_FILE
*& Form F_XLS_ITAB
text
-->P_FNAME text
<--P_IT_EXCEL text
FORM F_XLS_ITAB USING P_FNAME
CHANGING P_IT_EXCEL.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = FNAME
I_BEGIN_COL = P_BEGCOL
I_BEGIN_ROW = P_BEGROW
I_END_COL = P_ENDCOL
I_END_ROW = P_ENDROW
TABLES
INTERN = IT_EXCEL
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 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.
ENDFORM. " F_XLS_ITAB
*& Form F_MOVE_DATA
text
--> p1 text
<-- p2 text
FORM F_MOVE_DATA .
DATA : LV_INDEX TYPE I.
FIELD-SYMBOLS <FS>.
*--- Sorting the internal table
SORT IT_EXCEL BY ROW COL.
CLEAR IT_EXCEL.
LOOP AT IT_EXCEL.
MOVE IT_EXCEL-COL TO LV_INDEX.
*--- Assigning the each record to an internal table row
ASSIGN COMPONENT LV_INDEX OF STRUCTURE WA_DATA TO <FS>.
*--- Asigning the field value to a field symbol
MOVE IT_EXCEL-VALUE TO <FS>.
AT END OF ROW.
APPEND WA_DATA TO IT_DATA.
CLEAR WA_DATA.
ENDAT.
ENDLOOP.
ENDFORM. " F_MOVE_DATA
*& Form F_GET_DATA
text
--> p1 text
<-- p2 text
FORM F_GET_DATA .
LOOP AT IT_DATA INTO WA_DATA.
MOVE-CORRESPONDING WA_DATA TO BAPI_HEAD.
BAPI_HEAD-BASIC_VIEW ='X'.
BAPI_HEAD-SALES_VIEW ='X'.
BAPI_HEAD-PURCHASE_VIEW ='X'.
BAPI_HEAD-STORAGE_VIEW ='X'.
MOVE-CORRESPONDING WA_DATA TO BAPI_CLIENTDATA.
BAPI_CLIENTDATAX-MATL_GROUP = 'X'.
BAPI_CLIENTDATAX-BASE_UOM = 'X'.
BAPI_CLIENTDATAX-BASE_UOM_ISO = 'X'.
MOVE-CORRESPONDING WA_DATA TO BAPI_PLANTDATA.
BAPI_PLANTDATAX-PLANT = BAPI_PLANTDATA-PLANT.
BAPI_PLANTDATAX-DEL_FLAG = 'X'.
BAPI_PLANTDATAX-PUR_GROUP = 'X'.
BAPI_PLANTDATAX-BASE_QTY = 'X'.
MOVE-CORRESPONDING WA_DATA TO BAPI_STORAGELOCATIONDATA.
BAPI_STORAGELOCATIONDATA-PLANT = BAPI_PLANTDATA-PLANT.
BAPI_STORAGELOCATIONDATAX-PLANT = BAPI_STORAGELOCATIONDATA-PLANT.
BAPI_STORAGELOCATIONDATAX-STGE_LOC = BAPI_STORAGELOCATIONDATA-STGE_LOC.
BAPI_STORAGELOCATIONDATAX-MRP_IND = 'X'.
MOVE-CORRESPONDING WA_DATA TO BAPI_SALESDATA.
BAPI_SALESDATAX-SALES_ORG = BAPI_SALESDATA-SALES_ORG.
BAPI_SALESDATAX-DISTR_CHAN = BAPI_SALESDATA-DISTR_CHAN.
BAPI_SALESDATAX-DEL_FLAG = BAPI_SALESDATA-DEL_FLAG.
BAPI_SALESDATAX-MIN_ORDER = 'X'.
REFRESH IT_MAKT.
IT_MAKT-LANGU = WA_DATA-LANGU.
IT_MAKT-MATL_DESC = WA_DATA-MATL_DESC.
APPEND IT_MAKT.
CLEAR IT_RET.
REFRESH IT_RET.
PERFORM F_CALL_BAPI.
READ TABLE IT_RET WITH KEY TYPE = 'S'.
IF SY-SUBRC EQ 0.
PERFORM F_BAPI_COMMIT.
WRITE:/ 'MATERIAL CREATED OR UPDATED SUCESSFULLY WITH MATERIAL NO',WA_DATA-MATERIAL.
ELSE.
MESSAGE E000(ZHNC) WITH 'ERROR IN CREATING THE MATERIAL'.
*WRITE: / 'ERROR IN CREATIN MATERIAL',IT_RET-MESSAGE.
*PERFORM F_DOWNLOAD.
ENDIF.
*ENDIF.
ENDLOOP.
ENDFORM. " F_GET_DATA
*& Form F_CALL_BAPI
text
--> p1 text
<-- p2 text
FORM F_CALL_BAPI .
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_CLIENTDATA
CLIENTDATAX = BAPI_CLIENTDATAX
PLANTDATA = BAPI_PLANTDATA
PLANTDATAX = BAPI_PLANTDATAX
STORAGELOCATIONDATA = BAPI_STORAGELOCATIONDATA
STORAGELOCATIONDATAX = BAPI_STORAGELOCATIONDATAX
SALESDATA = BAPI_SALESDATA
SALESDATAX = BAPI_SALESDATAX
IMPORTING
RETURN = IT_RET
TABLES
MATERIALDESCRIPTION = IT_MAKT
UNITSOFMEASURE =
UNITSOFMEASUREX =
INTERNATIONALARTNOS =
MATERIALLONGTEXT =
TAXCLASSIFICATIONS =
RETURNMESSAGES =
PRTDATA =
PRTDATAX =
EXTENSIONIN =
EXTENSIONINX =
APPEND IT_RET.
ENDFORM. " F_CALL_BAPI
*& Form F_BAPI_COMMIT
text
--> p1 text
<-- p2 text
FORM F_BAPI_COMMIT .
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
ENDFORM. " F_BAPI_COMMIT -
CKMM Change Material Price Determination
Hello all,
Under what conditions or scenarios CKMM (Change material price determination) is used in Material Ledger/Actual Costing
ThanksNasir,
I presume that you are aware of the two price controls prevailing in Product Costing. (1) Standard Price S is constant price without considering usage or invoices; Material stock valued at the same price over an extended period; Price variances are posted to price difference accounts; not affecting the standard price. (2) Moving Average Price V is the price that changes in consequence of usage and entry of invoices; Calculated by dividing the value of material by the quantity in stock; Automatically recalculated based on activity.
Thru' CKMM transaction, you can inter-switch material from one price control to another. However, as I have been observing clients dont move from one price control to another just like that. In my many years of SAP experience, I have moved so far only one material from V to S.
Even within Standard Price S, the standard price can be adjusted from single / multilevel pricing to transaction based pricing. CKMM transaction can also be used for making that kind of change.
Thanks. -
T-Code for changing the default Exchange Rate reference for creating PO?
Dear All,
Can somebody kindly give me the T-Code for changing the default
Exchange Rate reference for creating PO? Is there a Step by Step
procedure before changing the default exchange rate?
Thank you in advance.
Regards,
GopeshHi
There is not such Tcode to change the default exchange rate from the PO.
If you want you can confugure the exchange rate in the following path in the IMG,
SPRO>MM>LIV>Incoming Invoice>Configure How Exchange Rate Differences Are Treated
Hope it helps you.
Cheers
Umakanth -
Code for changing a TextField BackGround color?
Hello again!
I can´t find anywhere the code for changing the background color of a TextField, anyone knows?
I tried:
TextField.border.fill.color.value = "255,255,255"; // doesn´t change bg color
TextField.caption.font.fill.color.value = "255,255,255"; // doesn´t change bg color
TextField.value.rectangle.fill.color.value = "153,153,153"; // doesn´t change bg color
Bur none of them works!The script works fine..please show here..
https://workspaces.acrobat.com/?d=EKbH6jmrJ-5RXnVNyxPiPA
Kind regards,
Mandy -
Possible t-codes for changing schedule line dates
Hi
I am trying to find out all possible t-codes for changing schedule dates in sales order. I found out of the following t-codes:
VA02
CO06
V_RA
V_V2
Experts please tell if I'm missing any t-code
TIAHi,
As far as my knowledge goes, you have got all the tcode. if you get more tcode send me a mail.
Thanking you
Regards
Manoj
([email protected]) -
T.code for change company email address
Hi experts,
How can i change email address of billling invoices of XXXX company code.
old: [email protected]
new : [email protected]
Any T.code for change email address of particular company code.
Thanks in advance for answer.Hi,
if I correctly understand your Q- a company code is your customer.
In general data of the customer master record there is an option to enter the e mail address of the Customer.
Regards
A -
Display change material price for a customer ?
Hello,
Could you please show mw which transaction used for displaying and changing the material price for a customer ( Based on period)
Thanks,HI
If Material price means Moving Average Price then system will automatically determines fromthe material master in the combination plant .
Material price means normal price then kindly check the VK11 for maintaining the condition records & VK12 for change
Regards
Damu -
What is the effect of change material price in previous period?
i have changed the material price in 31/12/2010 and we are in period 01/2011
but the moving price doesn't changed in period 01/2011 its still the old price.
i want to know why the system didn't change the price for period 01/2011
and i want to change the price for now and all next periods.?Hi,
you are using moving average price and not standard price.
You can change standard price thru costing run. you can't change moving average price it is calculated based on procurement. further you can change thru MR21 but beware it will generate revaluation entry that will have financial impact.
If you still has doubt then please elaborate the requirements.
Regards,
Atul
Edited by: Mr. Atu on Jan 23, 2011 2:40 PM -
Recreating duty calculations for PO for changed Net price of an item.
Dear Friends,
i am trying to simulate the duty values for a PO by calling the FM's in the below said order.
it is working fine, when i am simply passing the actual value of the item via structure (gfl_komp) shown below.
My requirement is like, i want to change the net price in the item structure (gfl_komp) and recalculate based on the changed Net Price. But when i change the Net value, it is not getting reflected in the simulated value of FM 'Pricing_screen'.
Is there anything i should pass to the header structure (gfl_komk). Please help me out.
CALL FUNCTION 'ME_FILL_KOMK_PO'
EXPORTING
i_ekko = gfl_ekko
i_ekpo = gfl_ekpo_pass
i_lfa1 = gfl_lfa1
i_t001 = gfl_t001
i_kalsm = gfl_ekko-kalsm
i_kappl = 'M'
I_EGIMP = I_EGIMP
I_LFM1 = I_LFM1
I_T001W = I_T001W
I_TRTYP = I_TRTYP
I_WEDATEN = I_WEDATEN
I_KVORG = I_KVORG
IMPORTING
e_komk = gfl_komk
CALL FUNCTION 'ME_FILL_KOMP_PO'
EXPORTING
i_ekpo = gfl_ekpo_pass
i_t001w = gfl_t001w
i_ekko = gfl_ekko
i_komk = gfl_komk
I_MT06E = I_MT06E
I_EINE = I_EINE
I_EINA = I_EINA
I_PREISFINDUNGSMENGE = I_PREISFINDUNGSMENGE
I_UEBPO = I_UEBPO
IMPORTING
e_komp = gfl_komp
Here i am trying to change the values of the actual PO values in gfl_komk and gfl_komp.
CALL FUNCTION 'PRICING_SCREEN'
EXPORTING
comm_head_i = gfl_komk
comm_item_i = gfl_komp
COMM_TEXT = ''
DISPLAY_ONLY = ''
MATERIAL_TEXT = ''
TRTYP_I = 'A'
FPTYP_I = ''
CTRL_NO_DISPLAY = CTRL_NO_DISPLAY
REQUEST_POS1 = '-'
REQUEST_POSM = '-'
REQUEST_POSP = '-'
REQUEST_POSL = '-'
IMPORTING
COMM_HEAD_E = COMM_HEAD_E
COMM_ITEM_E = COMM_ITEM_E
CALCULATION_TYPE = CALCULATION_TYPE
FCODE_E = FCODE_E
TABLES
tkomv = git_tkomv
SVBAP = SVBAP
CHANGING
C_VFKOMV = C_VFKOMV
ENDCASE.
ENDIF.
Regards,
Sandeep Sivan
Edited by: sandeep sivan on Apr 13, 2010 11:32 AM
Edited by: sandeep sivan on Apr 13, 2010 11:32 AM
Edited by: sandeep sivan on Apr 13, 2010 11:37 AM
Edited by: sandeep sivan on Apr 13, 2010 11:47 AMhi sirnivas..
Thanq you for the points..these are the first i ever recieved..
if you are working on peice of code which can get the price history do me a favour if you have finished the code just explain it to me who did u do that...
i have been working on an object from last two weeks to get the latest price...
the thing is even though the price for condition items has been changed it wont get updated in the Sales orders unless new pricing fot the document is done...
so i have to get all the sales orders who condition items price has been changed and display them in an ALV...so if you can get the exact old values...for the conditions i guess the opposite also can be done.....
Here i have suggestion for you...in condition items there is a process called SCHEMA ( pricing Schema) which you can see using Condition Analysis button at the bottom of the condition item window...
you can see all the price changes to the condition when you parse the tree structure of the procedure..EXAMPLE :- R0000 etc...
so some Sales orders if the Schema has been changed all the existing condition are replaced by New ones from the changed Schema...so i guess that would play an important role in deciding the Price of Sales order...
I know this is bit long but .....if you did finsish your program do let me know how you did it...
Thankyou very much and good luck. -
What is the IDOC type for changing PO price in ECC from SNC?
We have configured the consensus finding tolerance check for date and it is working. When we create confirmation from PO worklist by changing the price and the delivery date, it goes for manual approval if the date change is outside tolerance. Once the confirmation is approved by the buyer we are getting two Idocs in SAP. One is ORDRSP-ORDERS05. This one has the new price, but does not change the price in the PO. It only creates confirmation. The other one is PORDCH-PORDCH02. This one does not have the new price. It only changes the delivery date in the PO line item. We want one single IDOC which will change price (if price is changed), change delivery date and create confirmation. is that possible? If yes, what IDOC type would that be?
Thanks for your help.
SoumenHi Soumen
Can you please check whether the below settings are available on ERP side
SPRO-MATERIAL MANAGEMENT-PURCHASING-CONFIRMATIONS-SET UP CONFIRMATION CONTROL
select your confiramtion control line
lets say ZICH, select the confirmation sequence on left hand side
for your order acknowledgement,XX
check the field "Price"
and give the allowed tolerance values in fileds
Permitted Price Overrun in % (Inbound EDI/SOA)
Permitted Price Shortfall in % (Inbound EDI/SOA)
Now resend the data.... it will work
ORDRSP-ORDERS05 should work this time
Best Regards
Vinod -
PO release strategy for changes in price ($ and %)
Hello,
I have searched this forum and others to find an answer to my question, but as I was unsuccessful, I decided to post my question here.
I have a requirement for a PO release strategy that involves triggering the release strategy only if the total value of the PO has increased over a certain dollar amount or %. I will need to calculate the difference in the total value between the original PO and the changed PO.
Example:
Original PO total net value is $1000
PO after a price change - total net value is $1500
Total net value has increased by $500 or 50%.
Tolerance for price change is $200 or $20, so tolerance has been exceeded.
I know I will be using the total net order value (CEKKO-GNETW). I will have my tolerances in a custom table, and I will need to take the difference in the total net value from the changed PO and the original PO and check against my custom tolerance table. I also know that I will use a user defined field (CEKKO-USRC1) to indicate if the tolerance has been exceeded or not. I know that I will put this tolerance check code in the M06E0004 enhancement for changes to communication structure for release of PO.
What I don't know is where will I find the previous total net order value once the PO has been changed? Is the only place that information is stored in the change logs? If so, what is the change log table name? Or is there a different table that would contain this information?
Thanks in advance for any help you can provide.
Sincerely,
AngelaUpdate:
I utilized function module EXIT_SAPLEBND_002 as a solution to this. I got the old PO value from the database table EKPO, and I got the new/changed value from the I_CEKKO structure which is accessible from this FM.
I check to see if my tolerance has been exceeded. If it has, I pass a 'Y' as a tolerance flag via CEKKO-USRC1.
I originally thought about using the change document tables, but I discounted this when I discovered that those tables weren't updated at the time that the function module EXIT_SAPLEBND_002 was being hit. -
BAPI/FM for change Material Document Posting date
Hi Experts,
Is there any BAPI/FM for change a material document posting date.
Its urgnt.Hi You can check the source code of MB02.
i doubt whether you can change the date , hope so you have to reverse the document asd post it again.
check & use MB_CHANGE_DOCUMENT at your own risk. -
Configuration of Tax code for a material
Hi ,
Does anyone know how annd where is the tax code of a material configures ?
To elaborate, I am stuck ata condition in which I have to know if that particular material has a tax code configured for it or not.
Kindly let me know
Regards
nileshHi,
You can Create Tax Code with T.Code : FTXP and assign country and Tax Jurisdiction code to It.Assign country, tax procedure also.
But tax on material , you have to define in your Calculation Schema with a condition type..Further more you can enter tax code on Purchase Order in Item Details and save.
If helpful then reward.If ur question is answered, pl close it.
Regards,
Biju K
Message was edited by:
Bijay Kumar Barik
Maybe you are looking for
-
How to fetch the BCC address using java mail
Hi, I want to extract the mail address given in the Bcc address field of an email which I fetch it from the IMAP store !! I will be very much thankful if this problem is solved !! Thanks!!
-
Help..all the music on my sons 2nd gen Nano has been wiped out. When we attempt to sync it back up, we get an error message that says "Songs on the ipod Jakes Ipod cannot be synced because all the playlists selected for syncing no longer exist." The
-
Hi Guys I have two issues One I don't have AVCHD support and yes I have a full version but do have the new AVC-Intra support. Two Whenever I import .avi files they seem to play much faster than the audio. This second problem would not matter as much
-
N86 bluetooth connection to HP 8350w elite book la...
I am unable to connect n86 to HP 8350w elite book laptop. Windows vista (64) keeps asking for device driver, Have tried downloading appropriate *.inf files from Nokia, they do not run/install, just open as*.txt files. Vista does not find them. How do
-
Question about oradim and windows services
Hello. I have a db instance on my W-XP Pro machine that was created with this command: oradim -new -sid <my_sid> -startmode m -pfile <my_pfile> Since the creation I only used to need to start the windows service in order to work with the db. I decide