Modify services of contrat - ME32K
Hi experts,
I want to know if a BAPI exists to change the services of the contract, like in transaction ME32K.
Thanks in advanced.
Hi,
There is no Bapi to change contract services, only bapi for creating contract ( BAPI_AGREEMENT_MAINTAIN ) services exists. Please go for BDC.
Kesav
Edited by: Keshav.T on Jan 24, 2012 6:22 PM
Similar Messages
-
Restrict access to modify Service Orders operations within IW32
Hello experts,
We have a challenge due to our certifications programs. We allow certains users to create services orders and make the selection of the task list via IW31. They also have access to IW32 so that they can release the order later on.
I am looking for a way to block their capability to modify operations informations (wc, texts, prt,etc). So far I have explored few avenues but I am still not convinced.
Option 1:
-use a BADI (WORKORDER_UPDATE) and functions CO_BT* to track detail fields that were changed
-this involves a good development
Option 2:
-use BADI IWO1_ORDER_BADI method AUTHORITY_CHECK_AUART_ACTIVIT
-I couldn't find authorization object for my need...
Option 3:
-a check on changes docs being created or apparently there is a field VBKZ we could use to identify a object change...
Would you have faced the same requirement?
Thank you for your time.
Francois PaquetHi Pete, I am glad to receive an answer from you! Your other answers helped me on some other requirements.
We have given a try to this badi and as per the documentation it works well to hide information. We will see if we can push other parameters than set invisible because we still want the information to remain visible.
Thank you.
Francois P. -
Modify Service call ??
Hello Friends,
In web dynpro for java, one can re-import the model and if changes made in STR fields of the BAPI, it reflects via re-import........ How one can re-import the service call ?
e.g I have a service call and now the one of the str is change in the bapi and I want to refresh/modfiy/re-import the service call........but I dont see any wizard to do so ?
Can anyone pls suggest how to re-import/modify the service call?
Thanks and kind regards,Yes,
Unfortunately we don't have any other option for this at the moment other than starting from the scratch once again.
Regards,
Uday -
Modify service endpoint in webservices.xml throws class not found for link
Hello, we had a problem for serveral days and have not found any solutions googling. We read the documentation and seems ok, so we are a little desesperate.
We have a WebService project in Oracle Eclipse included in Weblogic 10.3.5 with the following classes:
- An EJB (org.test.TestWSImpl) with the @WebService annotation:
@WebService(serviceName = "TestService", portName = "testService", targetNamespace = "testNameSpace",
endpointInterface = "test.TestWS", wsdlLocation = "/wsdls/test.wsdl")
- When deploying the ear all runs ok. Now, for serveral business reasons, we need to change the defalut service URI so we added a webservices.xml and weblogic-webservices.xml.
The webservices.xml:
<?xml version='1.0' encoding='UTF-8'?>
<webservices xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2">
<webservice-description>
<webservice-description-name>TestService</webservice-description-name>
<port-component>
<port-component-name>testService</port-component-name>
<wsdl-port xmlns:tns="testNameSpace">tns:testDataService</wsdl-port>
<service-endpoint-interface>test.TestWS</service-endpoint-interface>
<service-impl-bean>
<ejb-link>TestWSImpl</ejb-link>
</service-impl-bean>
</port-component>
</webservice-description>
</webservices>
In the weblogic-webservices.xml we define the new endpoint:
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-webservices
xmlns="http://xmlns.oracle.com/weblogic/weblogic-webservices"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-webservices http://xmlns.oracle.com/weblogic/weblogic-webservices/1.1/weblogic-webservices.xsd">
<webservice-description>
<webservice-description-name>IE3SEnvironmentalMasterDataService</webservice-description-name>
<webservice-type>JAXWS</webservice-type>
<port-component>
<port-component-name>e3sEnvironmentalMasterDataService</port-component-name>
<service-endpoint-address>
<webservice-contextpath>/E3S</webservice-contextpath>
<webservice-serviceuri>/e3sEnvironmentalMasterDataService</webservice-serviceuri>
</service-endpoint-address>
</port-component>
</webservice-description>
We apreciate any help
Thanks in advance!
Edited by: 960518 on 21/09/2012 02:42
Sorry for the copy; a browser error. Please delete this threadWe have found a solution removing the eclipse webservice project and adding the EJB inside the EJB project module.
greetings. -
Can't delete or modify service name entries in OID
We've got an Oracle 9.2 OID setup for tnsnames resolution, it has been working flawlessly until lately. I use Net Manager to create and delete entries from it.
Since we've started upgrading databases to 11G, when I create new alias entries it sometimes throws an error (I forget exactly what and unable to replicate at this time) but it will still create an entry that I can connect with. Today though, I went to delete some recent entries from it and I get an error saying : "error retrieving DBService: <servicename>" and I can't click on it, modify or delete it. I looked at using ldapdelete but that seems to be more for more extensive use of LDAP/OID than what we are using it for. When I click on details for the error I get a few dozen lines in the Net Manager window that don't really tell me a lot.
Any suggestions on how I can delete these old entries?
thanksHey Max,
Sorry you're having trouble with this. If you're having trouble finding the location of the threat, you can try checking the scan log.
This will open up the console program. If you scroll through the scan log, you should hopefully see the file path of where the threat was detected. Feel free to post a copy of the output here and I can take a look.
-
APIs to Modify Service Contracts
Hi,
Can any one help me regarding apis for modification of service contracts (header,service line and covered line).
Thanks in AdvanceThere are lot of API s to achieve this process.
You can search for OKC_CONTRACTS_PUB.update_XXXXXX...
Thanks
Lloyd -
For example: user has Windows Azure Directory Rights and SharePoint Online (Plan 2) service plans of Enterprisepack AccountSKU. I am trying to assign Office 365 proplus and Office online, service plan for that user without removing Windows
Azure Directory Rights and SharePoint Online (Plan 2) plans. Is it possible using PowerShell?
>$licenses = (Get-MsolUser -UserPrincipalName [email protected]).Licenses
> $licenses[0].servicestatus
ServicePlan
ProvisioningStatus
YAMMER_ENTERPRISE
Disabled
RMS_S_ENTERPRISE
Success
OFFICESUBSCRIPTION
Disabled
MCOSTANDARD
Disabled
SHAREPOINTWAC
Disabled
SHAREPOINTENTERPRISE Success
EXCHANGE_S_ENTERPRISE Disabled
>$entOption = New-MsolLicenseOptions -AccountSkuId domain:ENTERPRISEPACK -DisabledPlans YAMMER_ENTERPRISE, MCOSTANDARD, EXCHANGE_S_ENTERPRISE
>Set-MsolUserLicense -UserPrincipalName [email protected] -AddLicenses domain:ENTERPRISEPACK -LicenseOptions $entOption #Giving me invalid AccountSKU errorHi Rayhan,
Is it possible for you to give me the full error & your account SKU numbers. you can for sure do this via powershell we just need to make sure your passing through the correct AccountSKU and I'd like to check over the commands that your using if possible
Send via PM if you require assistance still as appreciate this is rather an old thread now from MAY.
Thanks,
James. -
Srvctl config service should be updated using srvctl modify command
Hai all,
I have created a service recently on oracle RAC
srvctl config service -d dbname -s servicename
Disconnect: false
Service role: PRIMARY
Management policy: AUTOMATIC
DTP transaction: false
AQ HA notifications: false
Failover type: NONE
Failover method: NONE
TAF failover retries: 0
TAF failover delay: 0
Connection Load Balancing Goal: LONG
Runtime Load Balancing Goal: NONE
TAF policy specification: NONE
Edition:
What is Management policy? does AQ HA notifications should be true? Do i need to update the info in srvctl command, i have already entered in tnsnames.ora
(DESCRIPTION =
(LOAD_BALANCE = ON)
(FAILOVER = ON)
(ADDRESS = (PROTOCOL = TCP)(HOST =scan name)(PORT = 1527))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME =servicename)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 0)
(DELAY = 0)
i have already have the basic, select for TAF in tnsnames.ora?But when i enter srvctl config command i don't see the config details,Do i need to modify using srvctl modify service command?
can anyone provide me a good document on services and explaining run time load balancing goal,Management policy,TAF ??refer: -
http://www.ardentperf.com/pub/schneider-services.pdf
http://oracleinstance.blogspot.in/2010/08/transparent-application-failover-taf.html
http://www.google.co.in/url?sa=t&rct=j&q=server%20side%20load%20balancing%20in%20rac&source=web&cd=2&sqi=2&ved=0CDwQFjAB&url=http%3A%2F%2Fwww.oracleracsig.org%2Fpls%2Fapex%2FRAC_SIG.download_my_file%3Fp_file%3D1001400&ei=mPRZUZHmK8iPrgesq4DQCw&usg=AFQjCNGytq_Zy1NdUH4be2ICTi3q984sgg&cad=rja
Load Balancing and Failover with Oracle 10gR2 RAC -
Modify parmeter FCAServerThreadCount in HTTP service provider in NWA
I'm looking at the "Note 1375656 - SAP NetWeaver PI System Parameters" where it recommends increasing the value of the "FCAServerThreadCount" in the HTTP service provider to 50 from the default of 15. This value shows as non-modifiable in the NWA.
I'm going: "Java System Properties:overview" ---> click on services tab --> then search for http.
SAP recommends this change but you can't do it. Has anyone run into this before?My apologies ... Java System Properties are read-only and can't be modified using NWA. Use config tool (refer SAP Help on how to use the config tool). NWA is applicable for online-modifiable service properties only.
Also refer this -
http://wiki.sdn.sap.com/wiki/display/JSTSG/%28JSTSG%29%28Web%29FAQ-FCAServerThreadCount
Regards,
NR -
Creating Service Order from Campaign
Hello Guru's
I m really stuck presently with my Task.
My scenario is, we have modified service order transaction (zsrv), and this service order has been modified by adding custom developed classification that we assign every time we create service order manually. I have to create same service order from campaign execution.
At the same time when we create campaign, this classification is assigned in campaign screen and stored in bespoke table. Then i have to create service order automatically from campaign when executed.
So can any one help me on this scenario. what BADi i have to use, what is the best approach for this. How i can pass the classification of campaign to service order.
please help me
thank you
shankarHello. What was the solution, please?
I have a similar scenario in which I need a mass creation of service requests from a target group.
Thanks a lot,
Luis. -
OSB 11g - List business services with WLST
Hi,
We're using OSB 11.1.1.3 and 11.1.1.6 in several environments.
We just need to use wlst scripting to keep track of all business services and their endpoint uri's automatically.
We tried using some old scripts but found out that they don't work on 11g installations:
We tried the following code:
connect('weblogic','oracle10','t3://soavm2:7001')
domainRuntime()
sessionName = "FindServicesSession" + str(System.currentTimeMillis())
sessionMBean = findService(SessionManagementMBean.NAME, SessionManagementMBean.TYPE)
sessionMBean.createSession(sessionName)
servConfMBean = findService(ServiceConfigurationMBean.NAME + "." + sessionName, ServiceConfigurationMBean.TYPE)
alsbCore = findService(ALSBConfigurationMBean.NAME, ALSBConfigurationMBean.TYPE)
allRefs=alsbCore.getRefs(Ref.DOMAIN)
for ref in allRefs:
typeId = ref.getTypeId()
if typeId == "BusinessService":
serviceDefinition = servConfMBean.getServiceDefinition(ref)
endpointConfigration = serviceDefinition.getEndpointConfig()
print endpointConfigration
We get a "AttributeError: 'NoneType' object has no attribute 'getServiceDefinition'" error. It seems that it is related to metalink note "How To Modify Service Configurations By OSB JMX API [ID 1431254.1]". However the code provided there is for java through jmx, does anybody has a working example of how to do that on wlst?
Thanks!
p.d: already posted this question on wlst forum but got no answer...You may like to refer metalink note 1380705.1 and OSB java API (section "Using MBeans in a script")-
http://docs.tpu.ru/docs/oracle/en/fmw/11.1.1.6.0/apirefs.1111/e15033/com/bea/wli/sb/management/configuration/SessionManagementMBean.html
Regards,
Anuj -
List Business Services Endpoints with WLST
Hi,
We're using OSB 11.1.1.3 and 11.1.1.6 in several environments.
We just need to use wlst scripting to keep track of all business services and their endpoint uri's automatically.
We tried using some old scripts but found out that they don't work on 11g installations:
We tried the following code:
connect('weblogic','oracle10','t3://soavm2:7001')
domainRuntime()
sessionName = "FindServicesSession" + str(System.currentTimeMillis())
sessionMBean = findService(SessionManagementMBean.NAME, SessionManagementMBean.TYPE)
sessionMBean.createSession(sessionName)
servConfMBean = findService(ServiceConfigurationMBean.NAME + "." + sessionName, ServiceConfigurationMBean.TYPE)
alsbCore = findService(ALSBConfigurationMBean.NAME, ALSBConfigurationMBean.TYPE)
allRefs=alsbCore.getRefs(Ref.DOMAIN)
for ref in allRefs:
typeId = ref.getTypeId()
if typeId == "BusinessService":
serviceDefinition = servConfMBean.getServiceDefinition(ref)
endpointConfigration = serviceDefinition.getEndpointConfig()
print endpointConfigration
We get a "AttributeError: 'NoneType' object has no attribute 'getServiceDefinition'" error. It seems that it is related to metalink note "How To Modify Service Configurations By OSB JMX API [ID 1431254.1]". However the code provided there is for java through jmx, does anybody has a working example of how to do that on wlst?
Thanks!Hi Marc,
What i found is that we can get list of business services URIs by consulting SERVICE_URI_TABLE...
Here's a script that reads a parameter file (which can have multiple domains information) with connection info and then gets all services and prints a list of the service name and URI on a file for each domain...
# params.txt format:
# user,passwd,admin-url
# Ej:
# weblogic,weblogic1,t3://adminsoa:7001
# weblogic,weblogic100,t3//adminsoa2:7001
import wlstModule
from com.bea.wli.sb.management.configuration import SessionManagementMBean
from com.bea.wli.sb.management.configuration import ALSBConfigurationMBean
from com.bea.wli.sb.management.configuration import BusinessServiceConfigurationMBean
from com.bea.wli.sb.util import EnvValueTypes
from com.bea.wli.config import Ref
from com.bea.wli.sb.util import Refs
from xml.dom.minidom import parseString
f1 = open('/tmp/params.txt','r')
for line in f1:
spline=line.split(',')
usr=spline[0]
pwd=spline[1]
url=spline[2].replace("\n","")
try:
connect(usr,pwd,url)
domName=cmo.getName()
domainRuntime()
sessionMBean = findService(SessionManagementMBean.NAME,SessionManagementMBean.TYPE)
sessionName="WLSTSession"+ str(System.currentTimeMillis())
sessionMBean.createSession(sessionName)
alsbSession = findService(ALSBConfigurationMBean.NAME + "." + sessionName, ALSBConfigurationMBean.TYPE)
alsbCore = findService(ALSBConfigurationMBean.NAME, ALSBConfigurationMBean.TYPE)
allRefs=alsbCore.getRefs(Ref.DOMAIN)
fileName='/tmp/'+domName+'_'+url.replace('t3://','').replace(':','')+'_BServicesLista.csv'
f2 = open(fileName, 'w')
f2.write('Name'+','+'URL'+'\n')
for ref in allRefs:
typeId = ref.getTypeId()
if typeId == "BusinessService":
name=ref.getFullName()
uris=alsbSession.getEnvValue(ref, EnvValueTypes.SERVICE_URI_TABLE, None)
xml=parseString(uris.toString())
xmlTag = xml.getElementsByTagName('tran:URI')[0].toxml()
xmlData=xmlTag.replace('<tran:URI>','').replace('</tran:URI>','')
f2.write('\"'+name+'\"'+','+'\"'+xmlData+'\"'+'\n')
f2.close()
except Exception,e:
print "Error trying to connect to " + url + 'Error: ' + str(e)
f1.close()
disconnect()
It's been working for us so far... -
I would like to know, if there is any transaction that give and output on a list of
-Service entry sheet number
-Purchase Order Number
-Condition of Service entry sheet (status: blocked, ereased)
-last person who modified Service entry data sheet
-person that creates service entry data sheet
-amount payable on service entry data sheet
-quantity
or maybe be very close to give information requested.
Regardshi,
I hope this table should totally solve your problem..
check the table ESSR...
and fields:
LBLNI : for Entry sheet
LBLNEL Its external number
ERNAM : created by
AEDAT : changed on
AENAM : changed by
LWERT : Gross value
EBELN : Purchasing doc
LOEKZ : Deletion indicator
FRGZU : Release status
FRGKL : Rel. indicator
NETWR : Net value
BANFN : PR
You can also get a report made from this given table...
Hope it helps..
Regards
Priyanka.P -
LSMW for Purchasing Contracts(ME31k) for Services
Hi All
I am hoping that someone would be able to guide me or give a suggestion on this. I have seen many questions asked in the forum about upload for Service Conrtacts but none of these have been clearly answered.
The standard idocs PURCONTRACT_CREATE01 doesn't have service segments and also BLAORD03 doesnt have account assignment so the only option is recording but while doing recording using me32k , the cursor points the to recorded entry ( static) used in recording and tries to update that service line record and fails . As a workaround I tried a recording by leaving empty lines and it woked fine but the trouble with that is only 20 service lines ( what is visible in a page) can be recorded
So I have worked out another option as below and looks to be working but I feel the process is cumbersome and may be error prone when i have different scenarios . Has any body used a better solution using LSMW ? The option i tried is
Using a recording of ME31k, create the Service Line with a line no equivalent to maximum possible line for example if my maximum possible line is 100, create the contract with Service Line No as 100
Using a recording of me32k, insert the lines 99 to 1 in descending order and also making sure that source file has line no's from 99 in descending order . Also while recording , the + ( insert row) on left side of service screen was used .
Using another recording of me32k, renumber the service no's to be consecutive order ( recording of Edit -->renumber in Service Screen ) .This is required because some contracts may only have 3 service lines and some may have 100 lines and it will look odd to have only 3 service line with 98,99 and 100
Any suggestion from anybody who has uploaded/migrated Service contarcts using LSMW appreciated .In our project, there is a general guidance to avoid Z programs for upload and want to use that as last option.Sorry Mallinath
Can you please clarify me whats the method you are referring. The link you sent me talks about
BAPI_SAG_CREATE (CHANGE) which doesn't have any fields referencing service master ( Activity Number ) not does it have any fields related to Service tab in ME32K/ME31K?
Appreciate if you can give some more information.
Regards
Abhilash -
Bapi function module for ME32k Transaction
Hi all,
Can any one tell me what is the BAPI function module for ME32K transaction . I am trying to create service agreements in this transaction.
Even you can tell me if any other alternative procedure is there to create the service agreements in ME32K.
Bye
SrinivasHi srinivas p ,
Do you find some solution for this?! I have the same problem...
Can you help-me?
Patrícia.
Maybe you are looking for
-
How can I host multiple domains on a single Mac?
It's actually a little more complicated than that. I have a site, let's call it site.com, and it's hosted just fine on my Mac Mini, accessible via the Internet and everything. I want to use the .co domain of my site, which is pointed to the same IP a
-
I just got a new iphone 4 because my old one did work, when i tried activating the new one it give me problems and wont let me do anything on the phone. When i plug it into itunes i get a message there is no sim card installed in this device. Is ther
-
Documentation around Spend analytics 2.0 (0ASA_MP01)
Hi, Did anybody find documentation around Spend analytics 2.0 business content (0ASA_MP01)? I do see documentation around 1.0 but nothing around 2.0 SAP Folks - do you guys know where I can find it or any idea when it will be made available in help.s
-
Hi, i need to get the Domain Name in my OSB Proxy Service. how can i retrieve the Domain Name. if i need amanged server name i can use System.getProperty("weblogic.Name") in java callout. similarly can we have any peoperty like weblogic.DomainName to
-
Automatic federation from ldap to ldap
How can I get federation from ldap to ldap to work without getting the CannotProceedException? I've gotten an example of federation to work from an ldap tree to the filesystem...and there was nothing to setup other than: Reference fref=new Reference(