BAPI to update planned price 2
Dear All,
Could some one tell the BAPI to update the planned price 2 ( Costing view of MM) ?
Thanks,
Ram
Hi Ram
Why not use Lsmw? It will be less expensive
Typically, you can use any Bapi that changes the material masters. You can search it in the T Code BAPI
Also, if you have few materials, use MM17 or MASS and copy paste from excel into it
Br. AjayM
Similar Messages
-
To update Planned price 1 in Raw material.
HI Experts,
our requirements is to update Planned price 1 in costing tab of Raw Material.
Can we use MR21 to update.
some of the discussion forums i found that MR21 updates only moving price only.
Kindly help.
Thanks,
SUdhaHI,
The requirement is to execute the cost estimate quaterly for planned price 1.
So we are planning to create separate costing variant to pick the planned price 1 of RM.
Clinet has the Excel file with the details of RM and Price combination but the prices are not available in SAP.
We are looking for the Mass transaction to upload the prices in Planned price 1.
Kindly help.
Thanks, -
Bapi to update 'plan fixed cost' using KP06 tranaction
Hi All,
Am updating Plan fixed cost depending on cost element using KP06 transaction.
Could you please suggest a Bapi for doing the same because sometimes BDC is creating some issues .
your help is highly appreciated.
Thanks,
Ravi.Hi Saha,
In KP06, you have to key in plan value manually, account wise. You do not have to go any where. Before that you need to decide the planner profile thru KP04.
You can take the Variance report, in case after planning the actual fixed cost has been posted.
Hope this solves your query
Regards
Bharat -
Good morning guys,
i need to delete all planned prices stored on material masters.
I'm referring to fields:
- MBEW-ZPLP1
- MBEW-ZPLP2
- MBEW-ZPLP3
I checked Tcode MASS and it seems that fields MBEW-ZPLP* are not available.
I checked Tcode CKR1 as well and it seems that only standard prices (both planned and current) can be deleted. They are:
- MBEW-ZPLPR
- MBEW-LPLPR
- MBEW-VPLPR
- MBEW-STPRS
and they are not what i need to delete.
Please, does anybody know how can i easily and massively delete planned prices?
Thanks for your help.
Regards,
EnricoHI,
I tried MASS but was not able to change the planned price as well. This exists in Costing 2 tab of material master data.
I have seen customers before who created custom programs to update planned price field.
As planned price is entered as one of the criteria for material valuation in the valuation variant, make sure that this change is rightfully impacted in standard cost estimate updates.
Thanks,
Ram -
BAPI / FM to update planning hierarchy details
Hi,
I need to update planning hierarchy details. Please suggest.
I see some forums where they say there is no BAPI or FM. I also saw one where it said the BDC did not work.
Have anyone done updation on planning hierarchy details?
I would also like to know if it is a better idea to update the table directly.[For example: if i need to update details in table S350, can i just a update statement on that table].
Thanks in advance.
Regards
Shanthi
Edited by: shanthi v on Sep 28, 2010 8:14 AMHi,
I used update on the table directly. It's not a good idea but i was not able to find any FM or BAPI.
Thanks -
Function modules or BAPI for deleting plan costs on a cost center
Hi all,
I search for a function module or bapi to delete plan costs / activity on a cost center.
At the moment I update the planning with 0, but that cause a mass of needles entries on the cost centers.
For check and posting I use the function group 6026 - BAPI_COSTACTPLN_* ,
but there is no function for deleting.
Has anyone an idea?
Thx for help - points as reward !check
BAPI_COSTACTPLN_POSTACTINPUT Activity Input Planning: Posting
BAPI_COSTACTPLN_POSTACTOUTPUT Activity/Price Planning: Posting
BAPI_COSTACTPLN_POSTKEYFIGURE Stat. Key Figure Planning: Postings
BAPI_COSTACTPLN_POSTPRIMCOST Primary Cost Planning: Postings
BAPI_PDTRANSCO_POSTPRIMCOST Transfer of Planning Data: Post Primary Costs
K40C CO Actual Postings, Manual
BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
BAPI_COPAACTUALS_POSTCOSTDATA BAPI Operating Concern: Post Costing-Based Actua
BAPI_PRIM_COST_CHECK_AND_POST Primary Costs: Formal Parameter Check
S@meer -
Update material price without cost estimate
hi guys,
I'm facing a problem. The requirement is to update the other prices( plan price1, tax price etc) without a cost estimate. My parnter suggested me to use BAPI_COSTESTIMATE_UPDATE_PRICE. But I found this FM needs an existing cost estimate to get the price then update the price field specified.
Do you have any ideas ?
thanks a lot,
ireneHi
Do you have the price to be uploaded in your mind or does it need a calculation??
If it is in your mind, use LSMW for MM02 and update the price directly
If it needs calculation and then updation, then use this BAPI...
Br, Ajay M -
Dear Expert,
Can anybody tell me wat are the standard BAPI available for doing cost element based /activty input planning in SAP.
Thanx in adv.
Regards
AshisHi Ashis Mohanty !
this is list of BAPI's used frequently in PS
BAPIs used in PS Transactions
Project Definition:
BAPI to extract details of Project Definition:
BAPI Name BAPI Description
BAPI_PROJECTDEF_EXISTENCECHECK To check whether a project definition exists
BAPI_BUS2001_GETDATA
To get detailed information about a project definition. To do this, you must transfer the external ID of the project definition in the parameter I_PROJECT_DEFINITION. If required, you can also specify in which language the language-dependent fields, such as time units, system status, and so on, are to be returned. If you do not specify a language, the system language is used
BAPI_PROJECT_GETINFO To read detailed information about project definitions and the WBS elements of projects from the system.
BAPI_PROJECTDEF_GETDETAIL To read detail information about the project definition
BAPI_BUS2001_GET_STATUS To get both the active system statuses and the user statuses for a project definition
BAPI_PROJECTDEF_GETLIST Provides a list of project definitions
BAPI_GET_PROJECT_STATISTICS Display project statistics
BAPI to create/update Project Definition data:
BAPI Name BAPI Description
BAPI_BUS2001_CREATE Create a project definition
BAPI_PROJECTDEF_CREATE Create a project definition
BAPI_BUS2001_CHANGE Change Project Definition
BAPI_PROJECTDEF_UPDATE Change Project Definition
BAPI_BUS2001_DELETE Delete Project Definition
BAPI_BUS2001_SET_STATUS one system status and one user status can be revoked each time, and one system status and one user status can be set each time for a project definition
WBS - Work Breakdown Structure:
BAPI to extract details of WBS element:
BAPI Name BAPI Description
BAPI_BUS2054_GETDATA To get detailed information about WBS elements.
BAPI_BUS2054_GET_GUID_FROM_KEY Read the GUID (Global Unique Identifier) using the
external object key.
BAPI_BUS2054_GET_STATUS To read the active system statuses and user statuses for
a list of PSP elements
BAPI_BUS2054_GET_KEY_FROM_GUID Read the externalobject key (WBS Key)
using the GUID (Global Unique Identifier).
BAPI create/update WBS element data:
BAPI Name BAPI Description
BAPI_BUS2054_CREATE_MULTI Create WBS Element
BAPI_BUS2054_CHANGE_MULTI Change WBS Element
BAPI_BUS2054_DELETE_MULTI Delete WBS Element
Network:
BAPI to extract details of Network:
BAPI Name BAPI Description
BAPI_NETWORK_EXISTENCECHECK Check whether network exists
BAPI_NETWORK_GETDETAIL Read detailed information about a network including all objects from the system.
BAPI_NETWORK_GETINFO Read detailed information about a network including all objects from the system
BAPI_NETWORK_GETLIST Produces a list of networks with descriptions. Returns a container of network numbers
BAPI_BUS2002_GETDATA Returns Detail Data for Network Header.
BAPI_BUS2002_GET_GUID_FROM_KEY Read GUIDS Using the Network Keys
BAPI_BUS2002_GET_KEY_FROM_GUID Read Network Key Using the GUIDs
BAPI_BUS2002_GET_STATUS Get network Status
BAPI create/update Network data:
BAPI Name BAPI Description
BAPI_NETWORK_MAINTAIN To edit network headers, activities and relationships
BAPI_BUS2002_CREATE Create Network Header. Only one network can be created each time this BAPI is called.
BAPI_BUS2002_CHANGE Change Network Header. Only one network header can be changed each time this BAPI is called.
BAPI_BUS2002_DELETE Delete Network Header. Only one network can be processed each time the BAPI is called.
BAPI_BUS2002_SET_STATUS Set/Reset Network Status. At the same time, you can revoke one system status and one user status, or set one system status and one user status in a list of activities for the network.
Activity:
BAPI to extract details of Activity:
BAPI Name BAPI Description
BAPI_BUS2002_ACT_GETDATA Detail Data for Activities
BAPI_BUS2002_GET_ACTGUID_4_KEY Read the GUIDs Using the Network Activity Key. Read the GUID (Global Unique Identifier) using the external object key.
BAPI_BUS2002_GET_ACTKEY_4_GUID Read the Network Activity Key Using the GUIDs. Read the external object key using the GUID (Global Unique Identifier).
BAPI_BUS2002_GET_STATUS Read active system statuses and user statuses for a network header (NUMBER) as well as its activities
BAPI create/update Activity data:
BAPI Name BAPI Description
BAPI_BUS2002_ACT_CHANGE_MULTI Change one or more activities. Activities of one network only can be changed each time this BAPI is called.
BAPI_BUS2002_ACT_CREATE_MULTI Create one or more activities. Activities of one network only can be changed each time this BAPI is called.
BAPI_BUS2002_ACT_DELETE_MULTI Delete one or more activities. Activities of one network only can be changed each time this BAPI is called.
Activity Element:
BAPI to extract details of Activity Element:
BAPI Name BAPI Description
BAPI_BUS2002_ACTELEM_GETDATA Get detailed information about activity elements.
BAPI_BUS2002_GET_ELEGUID_4_KEY Read the GUIDs Using the Activity Element IDs
BAPI create/update Activity Element data:
BAPI Name BAPI Description
BAPI_BUS2002_ACTELEM_CHANGE_M Change one or more activity elements. Each time this BAPI is called, only the activity elements for one network can be changed
BAPI_BUS2002_ACTELEM_CREATE_M Create one or more activity elements. Each time this BAPI is called, only the activity elements for one network can be changed
BAPI_BUS2002_ACTELEM_DELETE_M Delete one or more activity elements. Each time this BAPI is called, only the activity elements for one network can be changed
Activity Type:
BAPI to extract details of Activity Type:
BAPI Name BAPI Description
BAPI_ACTIVITYTYPE_GETDETAIL Detailed information on a selected activity type on Key Date.
BAPI_ACTIVITYTYPE_GETLIST List of Activity Types Using Selection Criteria
BAPI_ACTIVITYTYPE_GETPRICES Determines, for a given day, activity prices for cost center/activity type combinations.
BAPI create/update Activity Type data:
BAPI Name BAPI Description
BAPI_ACTTYPE_CHANGEMULTIPLE Change One or More Activity Types
BAPI_ACTTYPE_CREATEMULTIPLE Create One or More Activity Types
Confirmation:
BAPI to extract details of Confirmations
BAPI Name BAPI Description
BAPI_NETWORK_CONF_GETDETAIL Using this method you can make the detail data of a confirmation for a network available for the transferred object. You can also make goods movement posted together with the confirmation available.
BAPI_NETWORK_CONF_GETLIST All confirmations are determined for the specified network activity or activity element. The transferred capacity category and split are interpreted as additional constraints
BAPI_NETWORK_CONF_GETPROP To make default data available for confirming network activities
BAPI create/update Confirmation data:
BAPI Name BAPI Description
BAPI_NETWORK_CONF_ADD To enter confirmations for network activities/ activity elements and splits.
BAPI_NETWORK_CONF_CANCEL To cancel a network confirmation that has already been booked.
Thanks ,
Dhruv Kumar Malhotra -
Function modules or BAPI for posting plan costs for WBS Element
Hi all,
Does anyone know, whether there exists a function module or BAPI for posting plan costs to a WBS Element? K_COSTS_PLAN_PS does not work, because RKP1 is not allowed.
Greetingscheck
BAPI_COSTACTPLN_POSTACTINPUT Activity Input Planning: Posting
BAPI_COSTACTPLN_POSTACTOUTPUT Activity/Price Planning: Posting
BAPI_COSTACTPLN_POSTKEYFIGURE Stat. Key Figure Planning: Postings
BAPI_COSTACTPLN_POSTPRIMCOST Primary Cost Planning: Postings
BAPI_PDTRANSCO_POSTPRIMCOST Transfer of Planning Data: Post Primary Costs
K40C CO Actual Postings, Manual
BAPI_ACC_PRIMARY_COSTS_POST Accounting: Post Primary Costs
BAPI_COPAACTUALS_POSTCOSTDATA BAPI Operating Concern: Post Costing-Based Actua
BAPI_PRIM_COST_CHECK_AND_POST Primary Costs: Formal Parameter Check
S@meer -
Update the price related to condtions in Sales Order
Hi all,
I want to update the price related to condtions in Sales Order from input file. I am using bapi 'BAPI_SALESORDER_CHANGE' to for this.
the code for this
wa_conditions-itm_number = wa_itab-itm_number.
wa_conditions-cond_value = wa_itab-kbetr.
wa_conditions-cond_type = 'ZPSV'.
wa_conditions-cond_count = wa_itab-kwmeng.
APPEND wa_conditions TO it_conditions.
wa_conditionsx-itm_number = wa_itab-itm_number.
wa_conditionsx-cond_count = wa_itab-kwmeng.
wa_conditionsx-cond_value = 'X'.
wa_conditionsx-cond_type = 'ZPSV'.
wa_conditionsx-updateflag = 'U'.
APPEND wa_conditionsx TO it_conditionsx.
But this is creating a new line in conditions instead of updating the existing line, I want to update the exsting line with new condition rate instead of creating a new line.
i have tried by lv_logic-pricing = 'B'.
But it works when values are maintained in vk11.
Please help me if you have any soultion for this.hi siya,
plz refer to the following threads
Re: problem using Bapi_Salesorder_Change
http://www.sapfans.com/forums/viewtopic.php?p=160339&sid=bf9e3219db318d89596f7e911462416f
i hope it helps.
arjun -
Issue in Update Standard Price using BAPI_M_REVAL_CREATE PRICE CHANGE
Hi folks,
I was using BAPI_M_REVAL_CREATE PRICE CHANGE to update standard price, but this BAPI is not working for me..
Can anyone give me an example to run it?
My code is like this:
t_comp_code = t_thold_final-bukrs .
t_material_price_list-plant = t_final-werks.
t_material_price_list-material = t_final-matnr.
t_material_price_list-val_type = t_final-bwtar.
t_material_price_list-change_std_price = t_final-stprs.
APPEND t_material_price_list.
CLEAR t_material_price_list.
CALL FUNCTION 'BAPI_M_REVAL_CREATEPRICECHANGE'
EXPORTING
comp_code = t_comp_code
pstng_date = sy-datum
IMPORTING
ml_doc_num = w_mblnr
TABLES
material_price_list = t_material_price_list
return = t_return1.
Please help as after runing this there no error in return and no material document no created.
thanks,
varun
Edited by: Varun Gupta on Jun 12, 2009 4:06 PM
Edited by: Varun Gupta on Jun 12, 2009 4:08 PMNo idea
no error in return and no material document no created
just try debugging it -
Material valuation with respect planned price 1 in material master
Dear All,
The costing variant PPC1 has been used for released cost estimate. In my scenario I want to create one more variant say ZPC1 where to calculate the value of the material from the planned price 1. In this case
1. What should be the validity date mentioned in the material master for valuation
2. The variant has been configured as
a. Costing Type 12 Mod Std cost Est
i. Price Update No Update
ii. Save Parameter With Start of Period
iii. Misc Cost Sheet
b. Valuation Variant 001 Planned Valuation
i. Material Valuation - Planned Price
ii. Standard Price
c. Date control
i. From Date : Start of Current Posting Period
ii. To Date : End of Current Posting Period
iii. Qty Struc Date : Current Date
iv. Val Date : Current Date
d. Qty Structure Control (As PPC1)
3. When I run the standard cost estimate with variant ZPC1 the system calculates the standard price of the material even when the price is mentioned in the planned price1.
How the variant should be created to capture the planned price for calculation when using the variant ZPC1.
Kindly help me in this regards
Regards
VasanthaHI,
The requirement is to execute the cost estimate quaterly for planned price 1.
So we are planning to create separate costing variant to pick the planned price 1 of RM.
Clinet has the Excel file with the details of RM and Price combination but the prices are not available in SAP.
We are looking for the Mass transaction to upload the prices in Planned price 1.
Kindly help.
Thanks, -
BAPI_PO_CHANGE to update the Price for the line item not updating the Price
Hi,
I am using BAPI_PO_CHANGE to update the Price for the line item. This BAPI is not updating the Price. I am using external cummit also, but the BAPI is not updating price.
I am passing following data to the BAPI.
Plant: CQ11
PO Material Price
4500002142 TEST_BATCH 12
Please provide suggestion.
Regards,
Jubin.Hi,
check this link...this has sample code
[http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm]
Regards,
Surinder -
BAPI to change planned orders details
Hi Experts,
I need BAPI to change Planned order details,which are created through SNP PPM's.I searched for Bapi and got one 'BAPI_MOSRVAPS_SAVEMULTI3' but this BAPI will change order details if created for PP/DS PPM's.
Kindly suggest will this BAPI only work or someother.
I want to keep the PPM name blank and save the order details through BAPI.
Pls reply asap.
Thanks
surbhiHi Surbhi,
You may please search on google, there are lots of tutorial on BDC, you will surely get the solution... in short BDC is to record a transaction & then use same recording to generate ABAP program & you can play with screen navigations & update the fields you required...
Regards,
Adarsh -
Multilevel routing report (with planned price data)
Hi Experts,
Could any of You pls support me with a basic idea how to build a multilevel routing report?
I am not happy with the existing / standard reports related to routings, I actually need one with all subassemblies and also planned price included from CO.
So I have found out the following way:
1. I build a report, using standard FM CS_BOM_EXPL_MAT_V2, to get a hierarchical BOM all components,
2. only select top level and components which has subassemblies
3. run my own written FM to get routing data for subassemblies (using mapl, plas, plko, plpo, crhd, crco) already created
4. add planned price data (using CO-tables cssl, cost)
It is rather a by-pass; so does a better / nicer solution could be used for the purpose, possibly with some existing FMs (which I have not found up till now)?
Answers will be appreciatedWell it all depends on what this Z report which you're building should output at the end of it. Also the format in which it should be displayed.
Since there is no info on that in your query or what is the exact issue faced, just putting across some FM/Bapi which might be of interest
For routing you can use -
CARO_ROUTING_READ
Some BAPI's which are relevant for costing:
BAPI_COSTESTIMATE_GETEXPLOSION
BAPI_COSTESTIMATE_GETDETAIL
BAPI_COSTESTIMATE_ITEMIZATION
Maybe you are looking for
-
i have tired everything and nothing works i restored my ipod and now i cant get any of my apps back
-
Loops missing and not downloading
I upgraded to GB'11 via the app store. Some of the loops are there, but not all of them. When I click on the "ghosted" loops I get a dialogue that says "the software instrument or Apple loop selected is currently being installed." How long does it
-
Re: the similar decode sql command (in Oracle) in ABAP
Dear ABAP Expert, Could you let me know where there is a similar decode command in Oracle in ABAP? Thanks. Arthur
-
Hi, sorry for the noob question but I can't seem to find the freeze/thaw tool in liquify for Adobe CS 6 extended Version 13.0.6x64 on Mac. Any help would be greatly appreciated. Thanks
-
Download applications from ovi store via pc
i want 2 download applications for my 5800 via my pc. i have installed ovi suite.. however it sends a link 2 my phone and i ave 2 download directly 4m my phone... is der a way 2download and install de applications on my phone via my pc...