Bapi for change contracts
Hi,
Does anybody knows any bapi ( or simple function module ) for changing a MM agreement, by creating new service item(s).
Thanks,
Paulo Sousa
Hi Ferry,
The F.M. ME_UPDATE_AGREEMENT_PO does not have any parameter or table where i can indicate the new service's line(s), so it's certainly not adequate.
About the BAPI_AGREEMENT_MAINTAIN, i've read the documentation and it refers structure parameters that do not exist when i display the F.M.. The documentation also says it should be used to create P.O. with the information from the contract. Do you know if it can also be used only to change one contract ? And do you also know why i cannot see any tabel named PoServices as referred in the documentation ?
Thanks,
Paulo Sousa
Similar Messages
-
BAPI for changing CONTRACTS.
Hi All,
I want to update the short text for CONTRACTS in table EKPO from filed CDPOS-VALUE_NEW
for this i was using function module BAPI_PO_CHANGE
This Bapi is is succesfully updating the PO it is not updating the contracts....
Please help me with the BAPI to update text in contracts....
Please its very urgent
Thanx in advance,
Amruta.Hi Ajay,
I have done the same .....
REPORT ZTEST1234 .
data : wa_ekpo-ebelp type ekpo-ebelp value '00010'.
parameters :ebeln type ekpo-ebeln.
data : it_poitem type STANDARD TABLE OF BAPIMEPOITEM with HEADER LINE .
data : it_poitem1 type STANDARD TABLE OF BAPIMEPOITEMX WITH HEADER LINE.
data : it_return type STANDARD TABLE OF bapiret2.
it_poitem-PO_ITEM = wa_ekpo-ebelp.
it_poitem-SHORT_TEXT = 'mod'.
APPEND it_poitem.
it_poitem1-PO_ITEM = wa_ekpo-ebelp.
it_poitem1-SHORT_TEXT = 'X'.
APPEND it_poitem1.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = ebeln
POHEADER =
POHEADERX =
POADDRVENDOR =
TESTRUN =
MEMORY_UNCOMPLETE =
MEMORY_COMPLETE =
POEXPIMPHEADER =
POEXPIMPHEADERX =
VERSIONS =
NO_MESSAGING =
NO_MESSAGE_REQ =
NO_AUTHORITY =
NO_PRICE_FROM_PO =
IMPORTING
EXPHEADER =
EXPPOEXPIMPHEADER =
TABLES
RETURN = it_return
POITEM = it_poitem
POITEMX = it_poitem1
POADDRDELIVERY =
POSCHEDULE =
POSCHEDULEX =
POACCOUNT =
POACCOUNTPROFITSEGMENT =
POACCOUNTX =
POCONDHEADER =
POCONDHEADERX =
POCOND =
POCONDX =
POLIMITS =
POCONTRACTLIMITS =
POSERVICES =
POSRVACCESSVALUES =
POSERVICESTEXT =
EXTENSIONIN =
EXTENSIONOUT =
POEXPIMPITEM =
POEXPIMPITEMX =
POTEXTHEADER =
POTEXTITEM =
ALLVERSIONS =
POPARTNER =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = ' '
IMPORTING
RETURN =..
This is my code just for updating the text but now the problemis this works with
When ebeln = 45000000017
whose bstyp = F ie PO
but when i do the same for Ebeln = 45000000000
whose bstyp = K ie contracts
it gives me error message that this BAPI cannot be executed for Contracts...
So please help me with the Bapi to change Contracts.
Thanx,
Amruta -
BAPI for Changing Contract (ME32K)
Hi Experts,
I am searching for BAPI which can be used for changing contract (T-Code ME32K). I'd tried to use this BAPI "BAPI_CONTRACT_CHANGE", but it do not have fields by which I can update the Service Line Item also.
Any help would be appreciated.
Thanks and Regards,
Virendra KediaHi,
Using BAPI_CONTRACT_CHANGE ,we cant update service line items.
Instead of that use BAPI_ENTRYSHEET_CREATE to create SE for changes in rates of the contract at the servic level.
Check below link for documentation.
https://wiki.sdn.sap.com/wiki/display/Snippets/BAPI_ENTRYSHEET_CREATE%20with%20mulit-accounting
Regards,
Ravi -
Badi/bapi to change contracts
hi gurus
could you please provide me some function/badi/bapi to change contracts on ISM?
In details I need a function to update the status:
- JHTVKO-XBESTK confirmed
- JHTVKO-XBEARB postprocess
thanks in advance
kind regards
pescaHi,
ISM_AM_CONTRACT - IS-M: BAdI for Contract
ISM_AM_COA_BAPI - IS-M: BAPIs for Contract (BUSISM012 BOR Object) try with this BAPI
regards
Saju.S -
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 -
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 -
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 ""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 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. -
Using BAPIs for sales contracts
Hi,
I'm having this situation that I have to upload sales contracts into SAP from flat files. We planned to use BAPIs for this purpose. Is it a good option. Can anyone suggest better ideas. If BAPI is a good option, has anyone used standard BAPIs for sales contracts updation in SAP System. If yes, can you guide me through the process.Hi,
You can start off with a program with:
Get the filename of the convert file
IMPORT /SAPDMC/LSMEMORY FROM MEMORY ID '/SAPDMC/LSMW'.
V_PROJECT = /SAPDMC/LSMEMORY-PROJECT. " Project
V_SUBPROJ = /SAPDMC/LSMEMORY-SUBPROJ. " Subproject
V_OBJECT = /SAPDMC/LSMEMORY-OBJECT. " Object
IF V_PROJECT IS INITIAL.
V_PROJECT = 'XXXX_LOC'.
ENDIF.
IF V_SUBPROJ IS INITIAL.
V_SUBPROJ = 'SD'.
ENDIF.
IF V_OBJECT IS INITIAL.
V_OBJECT = 'XXXX_VA41'.
ENDIF.
Function will return path of converted file by LSMW object
CALL FUNCTION '/SAPDMC/LSM_FILE_INFO_GET'
EXPORTING
PROJECT = V_PROJECT " /sapdmc/lsmemory-project
SUBPROJ = V_SUBPROJ " /sapdmc/lsmemory-subproj
OBJECT = V_OBJECT " /sapdmc/lsmemory-object
X_ONLY_USED_FILES = 'X'
IMPORTING
FILE_CONV = V_DSNAME " Path of converted file
EXCEPTIONS
NO_SUCH_OBJECT = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
I am not much of an LSMW expert so wont be able to comment much.
regards
Aveek -
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
RomanDear 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 -
BAPI for getting contract details
Hi,
I need a BAPI for getting contract details. Please let me know if there is any such BAPI.
Regards,hi,
Check this FM FI_DOCUMENT_READ
Maybe you are looking for
-
Small vertical lines when connecting macbook to a Samsung 37" LCD via HDMI
Hi Just connected my macbook to a Samsung 37" LCD thru the HDMI port. Works a treat bar one issue...on non-moving images, colours which aren't whites or blacks, namely brighter colours, there appear small vertical lines. These seem to appear around t
-
How do I turn off IP Flood Detection?
I've perused the forums and have concluded in my computer-technically-naive mind that this could lead me to internet bliss...... I have been experiencing excrutiatingly slow or never-loading web pages. Often, after a couple of minutes of waiting I
-
HELP - SQL Server Express Install Problems
The SQL Server Express completed without error. However, when I tried to connect to the SQLEXPRESS instance I received one of those wonderful MS errors, "Specified file not found". WHAT FILE? (After all these years MS still can't figure out how to gi
-
What do I do to stop this message from popping up every time I open my Logic project? I've deleted all my tracks in the project and started fresh so there's no recorded files in the project and there's only one track and this still comes up. If I cli
-
Color management printing Canon
Ugh, In the printing preference of Canon printers MP 600,should the color correction dialog in manual color correction be set to driver matching, ICM (adobe RGB or standard), or none. I have the printing set in Elements at color space Adobe RGB which