QM Orders - Funktions/BAPI for Changing
Dear all,
I have to mass change the Profit Center and the Cost Center in the QM Orders.
I can not find a function or BAPI to change the data. Can anybody give me a tip - please.
Thanks for help.
Best regards
Roman
Dear Roman
Please check this link. I couldnt find anything to change
Link: [Bapi for changing internal order master data]
My recommendation will
1) Write a program to change the costcenter and profit center in the table
2) You can replace the existing order by creating new QM order using the BAPI BAPI_INTERNALORDER_CREATE
Regards
Gajesh
Similar Messages
-
Suggest BAPI for change notification IW52
Hi,
Kindly suggest BAPI for change notification IW52.
Regards,
TanayaHow to find function module or Bapi for particular transaction in sap?
If you mean that you need to know what BAPI's a particular tranx uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use.
Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this.
1. Find out the package of the transaction.
Start Va01 go to system --> status.
Double click on transaction
Package is VA
Open this package in SE80
Open business engineering-->Business object types
Find the BO which sounds the most appropriate
I would suggest BUS2032 Sales Order
Double click.
Open methods.
Find the released method with from data or something similar in the name
, Createfromdat2
Position the cursor in it and click the program button
Scroll down to find the bapi used in this method
With this way you can also find out programs and FM's
2. Start va01 go to system-->status
Double click transaction VA01
Double click on package
Read the application component. (this is SD-SLS Sales)
Then open the transaction BAPI
Sales and distribution>Sales>sales order
createfromdat2
Answer: This is the BAPI for your mentioned transaction code BAPI_GOODSMVT_CREATE.
thanks,
Sankar M -
BAPI for ""Change Cost Element / Activity Input Planning ""
Hi
Is there any BAPI for ""Change Cost Element / Activity Input Planning "" ( TC KP06) as there is BDC for that but is goes through lot of steps . ( TC OKKS, KP04, KP06 )
So if any one know the BAPI for the same please let me know, and if possible send me your code also it will be really help full.
Regardso OBJECT_INDEX - Index uniquely identifying the row and thus the
object. The index must be greater than zero and may only appear once
in the table. If the index does not exist in INDEXSTRUCTURE, the row
is ignored.
o COSTCENTER - Cost center that includes the activity.
o ACTTYPE - Activity type that includes the activity. You must
fill this together with COSTCENTER. You only need it for an activity
input that is activity-dependent.
o CO_BUSPROC - Business process that includes the activity.
o ORDERID - Order that includes the activity.
o WBS_ELEMENT - WBS element that includes the activity
You may fill one object only,for example COSTCENTER, CO_BUSPROC,
ORDERID, or WBS_ELEMENT. -
BAPI for changing delivery date and delivery time fields in LIKP table
Hi All,
Is there any BAPI or function module to change the delivery date and delivery time in LIKP table ?
Please tell me experts if exists.
Thank you,
Raghu.try these:
BAPI/FM to update LIKP and VTTK tables
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-for-changing-sales-headertable-likp-662800 -
Can u tell me any predefined BAPI for change and creation of Material
Hi,
Can anybody tell me predefined BAPI for change and creation of Materialmasterand Pricing?
Thanks & regards,
Gopianne.you can use the BAPI to BAPI_MATERIAL_SAVEDATA create as well as to change material master.
When changing material master data, you need enter only the material
number.
In the header data, you must select at least one view for which data is
to be created. Depending on the view selected, you must maintain other
required parameters. If you do not enter values for all of the required
parameters, the method is ended with an error message.
The corresponding fields in the tables (such as CLIENTDATA) must first
be supplied with data by the calling program. An indicator must also be
set for each of these fields so that the data is written to the database
by the method. This requires the calling program to supply the
corresponding field with the indicator in a checkbox table (for example,
CLIENTDATAX). Checkbox tables exist for tables that do not contain any
language-dependent texts (MAKT, MLTX), International Article Numbers
(MEAN), or tax classifications (MLAN). Several data records for a
material can be created in these tables.
regards
vivek
reward points if it helps -
Develop Order Search BAPI for web order
hi all,
Develop Order Search BAPI for web order.
Z_IORDER_ORDER_SEARCH this is the function module i have to use.
how can i do this as i am new to BAPI.
thanks in advance.
shravanhave you tried this ...BAPI_ALM_ORDER_MAINTAIN
-
Hi Experts,
We have a requirement to change the details of a customer. We are using BAPI, "BAPI_CUSTOMER_CHANGEFROMDATA". Change is happening when we try to change details like name, But when we try to change 'country' field, we are getting error saying "Personal address diffrent from comapany address; change not allowed"..... Can anybody help me with this,,, or can somebody suggest any other BAPI for change customer....
Thanks and regards,
Mahendra RHi Mahendra,
CHek the link below[using BAPI_CUSTOMER_CHANGEFROMDATA1; -
BAPI for change documents like FB09
Hi
I need to change the Assignment Number (ZUONR) Field for several document positions just like FB09 ,
Does somebody knows a BAPI for change document positions (BSEG) ?
Regards
FrankHi,
Please see this link, It may help you.
Add documents to materials via BAPI
Regards,
Shamma -
BAPI for "Change Base Planning Object"
Hi
Is there any BAPI for "Change Base Planning Object" ( TC KKE2).
I need to change the Price of a Resource in the Cost Items for a Base Planning Object.
So if any one know the BAPI for this topic please let me know, and if possible send me your code also it will be really help full.
RegardsI didn't find a BAPI to do this. I had to do it by a Batch Input.
-
BAPI for changing Appropriation request - IMA12
Hi,
What is the BAPI for changing the Appropriation request(IMA12).i found the BAPI BAPI_APPREQUEST_CHANGE.But i want to change the plan values . In this BAPI there is no parameters for these fields.Is there any BAPI 's for this?
Regards,
Charumathi.BHi,
Try this BAPI BAPI_APPREQUEST_CHANGE_MPO. -
BAPI for Changing Status of Internal Order Tcode : KO02
Hello Everybody ,
I want to change System status of Internal Order Tcode : KO02 .
I.e if status are REL ( Released ) then I want to make it as CLSD ( Closed ) and Vice Versa .
In AUFK ,
AUFK-PHAS2 = REL (RELEASED )
AUFK-PHAS3 = CLSD ( Closed )
this field we need to set as 'X' as per our requriment .
I used FM " ALE_INTERNALORDER_DB_CHANGE " to changing this field .
but after excution this FM , value of this field is changed but when i see the same order in KO03 this is not reflecting but value in AUFK is changed .
this should not be happend if the value is chage in Table AUFK then must be reflect in KO03 .
I also used BAPI_INTERNALORDER_SAVEREPLICA for Change Internal Order but it's no use ....
Please suggest me any BAPI as per requriment .
ASAP
Regards,
SandeepHi ,
You are right .... I want to chage the status of internal order if CLSD then it should be REL and vice-versa .
and things I am talkinG about is that 'X is maintained in table AUFK-PHAS1 = 'X for REL and AUFK-PHAS3 = 'X' for CLSD .
So my point is that is there any BAPI of FM available for changing the status of Internal Order .
from CLSD to REL and from REL to CLSD ?
i used this FM : ALE_INTERNALORDER_DB_CHANGE and
BAPI : BAPI_INTERNALORDER_SAVEREPLICA But not getting output .
Regards,
Sandeep -
BAPI for changing Work order user status in IW32
Hello Experts,
I am getting Same Problem in updating status via BAPI, BAPI_ALM_ORDER_MAINTAIN. Its not giving any error but even not update status.
I know i can use this for changing the user status also but not sure how to carry out things.
I used this code.
fi_methods-method = 'SAVE'.
APPEND fi_methods.
fi_methods-refnumber = 1.
fi_methods-objecttype = 'USERSTATUS'.
fi_methods-method = 'CHANGE'.
fi_methods-objectkey = '002000002453'.
APPEND fi_methods.
fi_userstatus-user_st_text = 'COMM'.
fi_userstatus-user_langu = 'EN'.
fi_userstatus-change_event = ' 01 '.
APPEND fi_userstatus.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = fi_methods
it_userstatus = fi_userstatus
return = fi_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Above code I am using and there the message comes like
T ID NUM MESSAGE
S IW 080 Order saved with number 2000002453
S IWO_BAPI2 110 BAPI control was ended
can any on know what is wrong in this? please help if having knowledge.
Thank You,
Jahnavee TrivediI am getting Same Problem.
fi_methods-method = 'SAVE'.
APPEND fi_methods.
fi_methods-refnumber = 1.
fi_methods-objecttype = 'USERSTATUS'.
fi_methods-method = 'CHANGE'.
fi_methods-objectkey = '002000002453'.
APPEND fi_methods.
fi_userstatus-user_st_text = 'COMM'.
fi_userstatus-user_langu = 'EN'.
fi_userstatus-CHANGE_EVENT = ' 01 '.
APPEND fi_userstatus.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = fi_methods
it_userstatus = fi_userstatus
return = fi_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Above code I am using and there the message comes like
T ID NUM MESSAGE
S IW 080 Order saved with number 2000002453
S IWO_BAPI2 110 BAPI control was ended
can any on know what is wrong in this? please help if having knowledge.
Thank You,
Jahnavee Trivedi -
BAPI for change PO confirmation date
Hi,
Does anyone know a bapi or a function module for change the confirmation date of one item of a purchase order ( that changes the field EINDT of table EKES ) ?
I need to change it according to goods receipt date.
Thanks in advance,
Paulo Sousayou can use BAPI_PO_CHANGE
In particular you would be interested in schedule line table POSCHEDULE in the function interface and the field for confirmation date is DELIVERY_DATE.
Also you need to pass the BAPI some header fields like PO number etc and item fields liek material number etc along with the POSCHEDULE structure.
Also remember to mark X in POSCHEDULEX for corresponding field POSCHEDULEX-DELIVERY_DATE, so that the change will be transferred to the PO in database.
Also this BAPI can auto COMMIT
Hope this helps -
Need BAPI for change of quality info record (Tcode: QI02)
Hi,
Currenrly iam using BDC for creation of Quality info record (QI01) and now i need to do this creation as a back ground task. for which BDC is not supporting. So, i need to know the relavent BAPI for creation/change of QI02.
Regards,
Krishna.Hi,
Have you tried doing this in ECATT??
See this Link:
http://help.sap.com/bestpractices/BBLibrary/Documentation/G09_BB_InstallGuide_EN_DE.doc -
Function Module or BAPI for Change Customer Master in Background
Hi,
I would like to ask is there any Function Module or BAPI to change the Customer Master in the Background
Thanks.Hi
Please check the following link
[FM|http://help.sap.com/saphelp_nw04/helpdata/EN/8f/53b67ad30be445b0ccc968d69bc6ff/content.htm]
[FM for BAPI|Is there a BAPI or Function module can create a Customer Master record?]
Hope this link helps you
Regards,
Rajani
Maybe you are looking for
-
How To OTA Sync BB10 and non-BES Outlook (Details)
Step By Step Instructions for configuring wireless synchronization of Calendar and Contacts between a PC/Outlook platform and a BlackBerry 10 mobile device Note1: This process, similar to others posted on the Internet, is intended to achieve "passive
-
How many sessions can you run on a single PC?
I have a user who insists that they need to be able to run multiple sessions of MS Dynamics AX 2012. Now they are complaining because they can only run 3 sessions instead of 4. Is it advisable to run multiple sessions of DAX on a single computer?
-
Why is my macbook taking ten minuites to turn on? i have all my software up to date
someone help meeeeeeeeeeee
-
I'm a new iMac user. I think I might need to run some Windows applications on occasion. What do you folks suggest: Boot Camp (that came with the OS) or Parallels? Is Parallels worth the $80? Thanks, Jeff Message was edited by: jla930
-
Recently I've lost the ability to use the options available with a right click on a bookmark in the main menu bookmarks. I can't move them around up or down, can't delete any either. The weird thing is in assorted bookmarks I'm having no problems at