ERROR IN CREATING SERVICE CONTRACT
HI GUYS,
WHEN IAM CREATING SERVICE CONTRACT IN VA41 IAM GETTING ERROR " BASELINE DATE=TODAYS DATE FOR PERIOD
HORIZON" WHY IAM GETTING THIS ERROR HOW I CAN RESOLVE THIS.PLEASE GIVE ME STEP BY STEP SOLUTION
Hi Nagesh,
Check if the settings for baseline date are correct. Please refer the below mentioned thread and see if it is helpful for you:
Contracts Creation message Base line date for rule 11 not
Thanks
Similar Messages
-
Error while creating services contract
dear all
when i am trying to create service contract i am getting error message as
Enter reason for change for version
Message no. MEDCM003
kindly help>
sardendu kumar wrote:
> dear all
> when i am trying to create service contract i am getting error message as
>
> Enter reason for change for version
> Message no. MEDCM003
> kindly help
Seems like there is version management active, and its asking for reason or number, look up a field requiring the input and fill it up.
Edited by: Afshad Irani on May 31, 2010 5:12 PM -
Error while creating Service Contract
Folks,
While I create a service contract, I am getting the error:
"An error occurred in system PEC510 during account assignment"
Could someone help me out with this?
Thanks,
Divya.Hi Divya,
Please check the following in IMG:
CRM -> Transactions -> Settings for Service Processes -> Integration -> Set up time sheet and controlling integration
After that you should enter the corresponding R/3 System. In R/3 customizing use the following path: Settings for Service Processing -> Controlling Integration -> Establish Controlling type, controlling level and controlling scenarios.
Here you should check if a controlling scenario for single object controlling (usually) has been maintained. See also paragraph 3.1.1.10.3 in BP guide C26 at the following location: http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/Documentation/C26_BB_ConfigGuide_EN_US.doc
Kind regards,
KZ -
ABAP dump Error while creating service order in PCUI.
Hi Experts,
We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
Runtime Errors RAISE_EXCEPTION
Date and Time 02.01.2008 14:55:38
Short text
Exception condition "TYPE_NOT_FOUND" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
exception
condition "TYPE_NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
| function module from the display of active calls.
We have added custom fields in the service application. these custom fields with Z-structure & data elements are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
Helpful answers would be rewrded max points as it is high priority issue.
Regards,
Basavaraj PatilHi Thirumala,
Thnaks for the reply.
I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields) created while doing EEWB is not included in BSP structure.
I f transports are missed to move to target system, Is there any other alternative to solve this problem?
Regards,
Basavaraj Patil -
Problem in Creating Service contract Quote
Hi,
I have a problem while creating Service Contract Quote. The Problem is "No Items being created in Service Contract Quote."
I am copying these line items from the Package Quote(Programatically). I am reading the Package Quote Lines Items using CRM_ORDER_READ and I am looping these one by one, and copying into one Item Table. Passed this table, to MAINTAIN_ORDERADM_I function module. And Then I am calling SAVE function module.
But, for me service contract Quote is being created with no line items.
Can you please let me know, how can I solve this problem.
And let me know what are the necessary steps to be taken progrmtically, for creating Service Contract Quote from a Package Quote.
Thanks,
SandeepA standard way of doing this would be to create an action in service contract with method call processing type, and method COPY_DOCUMENT. For this you need to do the following:
1) Create a new action called "SRV_CNTRCT_QUOTE_CREATE" in action pofile already attached to Package Quote. Use
CRMC_ACTION_DEF Tcode for this.
2) Choose processing type as method call and method as COPY_DOCUMENT.
3) Choose parameter CRMD_ORDERADM_H, PROCESS_TYPE with initial value as transaction type of Serv Contract Quote.
4) Institute start and scheduled conditions if required in CRMC_ACTION_CONF.
Note: For this copying controls at transaction level, item category level and itemcat determination while copying should have been determined.
Regds,
Raghu -
Hi All,
I am trying to create Service contracts using IDOC type CRMXIF_ORDER_SAVE_M in CRM thru LSMW.
I have a mapping issue of the file fields to the segment fields;
I have 5 files, Contract Header, Items, Dates, Partners, Objects(Serial numbers);
I Appreciate if you send me the mapping details for me if some one has already done this please;
or any otherhelp on the notes/documents are highly appreciated
Thanks
Iverhi, do you mean the problem is in the file resource file, and you want to use it in LSMW?
If so, I have meet the similar problem, two source file inbound into LSMW. one header , one item
And I solve it in this way,
combine the 2 file before lsmw read it, like this
Header data 1 / item1
header data 1 / item2
header data 2 / item1
header data 3 / item1
header data 3 / item2
for each line, the header data is exist, if item is mutiple, the header line can be repeat.
Then the 2 file combine to one file, lsmw read the combined file
You need to do some additional logic in data mapping, mapping the different item in each loop, but header data once if they are same. -
Hi,
I have created a web service in SAP ECC from a RFC.
While configuring the web service in SOA management to publish it, getting error SRT Framework exception: ICF: Error when creating service node. [rc:wrong_icf_name] No special characters allowed in name
How to resolve the same.
Thanks
TanmayHello Tanmay,
Are you including quotes (') in the name, I assume not?
Regards,
Siddhesh -
Creating service contract from OM
Hi,
We have tried creating service contracts from OM in 11.5.10.
Can we create service contracts from OM in 11.5.9? Any pointers where i can confirm this?
Thanks,
Sid.SId,
Yes we can!.
Thanks
Nagamohan -
Create Service Contract using BAPI_SLSTRANSACT_CREATEMULTI
Hi,
In my requirement, I have to create a Service Contract from flat file by using BAPI - BAPI_SLSTRANSACT_CREATEMULTI and data which are comming from flat files are, <b>Serial number, Sold-to party, Ship-to party, Installation date, Contract start date, Contract end date, Service profile, Response profile.</b>
Please suggest me what are the Import parameters should I pass in this BAPI to create Service Contract?
Thanks in Advance,
DeepeshHi Deepesh ,
Please use BAPI_BUSPROCESSND_CREATEMULTI for creating the service contract.This is better in terms of functionality and usage , though very similar to BAPI_SLSTRANSACT_CREATEMULTI in terms of its interface.
You need to call :
1. BAPI_BUSPROCESSND_CREATEMULTI
2. BAPI_BUSPROCESSND_SAVE
3. BAPI_TRANSACTION_COMMIT
in succession.
As far as filling the import parameters is concerned,
1.All your dates would go to APPOINTMENT_H or APPOINTMENT_I ( Header or Item)
2.Sold-to Party, Ship-to Party would go to PARTNER.
Regards,
Rishi. -
How to creating Service Contract using BAPI_SLSTRANSACT_CREATEMULTI
Hi,
In my requirement, I have to create a Service Contract from flat file by using BAPI - BAPI_SLSTRANSACT_CREATEMULTI and data which are comming from flat files are, Serial number, Sold-to party, Ship-to party, Installation date, Contract start date, Contract end date, Service profile, Response profile.
Please suggest me what are the Import parameters should I pass in this BAPI to create Service Contract?
Thanks in Advance,
DeepeshHi All,
for everybody's benefit (and to avoid you the time I've spent to work this out...), here is a working example on how to create an sales order (TA) via the BAPI_SLSTRANSACT_CREATEMULTI.
Not really a Service Contract, but it tells you how to call the BAPI.
Points appreciated, if you find this helpful...
I use the convention entryField for the values that should be set based on your system.
Cheers
G
*& Report ZZGVBAPISALESORDER
REPORT ZZGVBAPISALESORDER.
include constants
include crm_direct.
// GUIDs
data: lv_guid_h type GUID_32,
lv_guid_i type GUID_32,
lv_guid_sl type GUID_32,
lv_guid_p type GUID_32.
// Handles
data: lv_current_handle type crmt_handle,
lv_handle_h type crmt_handle,
lv_handle_i type crmt_handle,
lv_handle_sl type crmt_handle,
lv_handle_p type crmt_handle.
// Administration header + item + etc
data: lt_salesorder_header type table of bapibus20001_header_ins,
ls_salesorder_header type bapibus20001_header_ins,
lt_salesorder_item type table of bapibus20001_item,
ls_salesorder_item type bapibus20001_item,
lt_scheduleline type table of BAPIBUS20001_SCHEDLIN,
ls_scheduleline type BAPIBUS20001_SCHEDLIN,
lt_partner type table of BAPIBUS20001_PARTNER_INS,
ls_partner type BAPIBUS20001_PARTNER_INS,
ls_logical_key TYPE crmt_partner_logic_partner_key,
lt_organisation type table of BAPIBUS20001_ORGMAN_INS,
ls_organisation type BAPIBUS20001_ORGMAN_INS.
// Saved sales orders
data: lt_saved_process type table of bapibus20001_object_id,
ls_saved_process type bapibus20001_object_id,
ls_salesorder type CRMT_RETURN_OBJECTS_STRUC.
data: lt_input_fields type table of bapibus20001_input_fields,
ls_input_fields type bapibus20001_input_fields,
lt_return type table of bapiret2,
ls_return type bapiret2.
// Macro definition to populate structure and input field
This, called as
setfield ls_salesorder_header GUID lv_guid_h
is exploded as
ls_salesorder_header-GUID = lv_guid_h.
ls_input_fields-fieldname = 'GUID'.
append ls_input_fields to lt_input_fields.
Note 1: &2 (field name) MUST be uppercase
Note 2: for the salesorder header, I haven't used the macro,
to show how the code should look.
I've used the macro everywhere else.
define setfield.
&1-&2 = &3.
ls_input_fields-fieldname = '&2'.
append ls_input_fields to lt_input_fields.
end-of-definition.
// end of macro definition
// fill order administration header
perform get_guid changing lv_guid_h.
add 1 to lv_handle_h.
ls_salesorder_header-guid = lv_guid_h.
ls_salesorder_header-handle = lv_handle_h.
ls_salesorder_header-process_type = 'TA'.
clear ls_input_fields.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_guid = lv_guid_h.
*ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-orderadm_h.
ls_input_fields-fieldname = 'GUID'.
append ls_input_fields to lt_input_fields.
ls_input_fields-fieldname = 'HANDLE'.
append ls_input_fields to lt_input_fields.
ls_input_fields-fieldname = 'PROCESS_TYPE'.
append ls_input_fields to lt_input_fields.
append ls_salesorder_header to lt_salesorder_header.
// fill organisation data (I needed this, you may rely on
sales org determination instead...)
clear ls_input_fields.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-orgman.
setfield ls_organisation REF_GUID lv_guid_h.
setfield ls_organisation REF_HANDLE lv_handle_h.
setfield ls_organisation REF_KIND gc_object_ref_kind-orderadm_h.
setfield ls_organisation SALES_ORG_RESP salesOrgResp(input).
setfield ls_organisation SALES_ORG salesOrg(input).
setfield ls_organisation DIS_CHANNEL disChannel(input).
append ls_organisation to lt_organisation.
// fill order administration item
perform get_guid changing lv_guid_i.
lv_handle_i = lv_handle_h.
add 1 to lv_handle_i.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_i.
ls_input_fields-ref_handle = lv_handle_i.
*ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_i.
ls_input_fields-objectname = gc_object_name-orderadm_i.
setfield ls_salesorder_item GUID lv_guid_i.
setfield ls_salesorder_item HEADER lv_guid_h.
setfield ls_salesorder_item HANDLE lv_handle_i.
setfield ls_salesorder_item HEADER_HANDLE lv_handle_h.
setfield ls_salesorder_item ORDERED_PROD product(input).
*_set_field ls_salesorder_item ITM_TYPE 'TAN'.
setfield ls_salesorder_item MODE 'A'.
*adjustment taken from standard include LCMS_MAPPERF04
*(see where-used-list for BAPI_SLSTRANSACT_CREATEMULTI, program LCMS_MAPPERU11)
delete lt_input_fields where fieldname = 'HANDLE'
OR
fieldname = 'HEADER_HANDLE'.
append ls_salesorder_item to lt_salesorder_item.
// fill schedule line for item
perform get_guid changing lv_guid_sl.
add 1 to lv_handle_sl.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_i.
ls_input_fields-ref_handle = lv_handle_i.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_i.
ls_input_fields-objectname = gc_object_name-schedlin.
setfield ls_scheduleline ITEM_GUID lv_guid_i.
setfield ls_scheduleline GUID lv_guid_sl.
setfield ls_scheduleline HANDLE lv_handle_sl.
setfield ls_scheduleline ITEM_HANDLE lv_handle_i.
setfield ls_scheduleline QUANTITY '1.000'.
append ls_scheduleline to lt_scheduleline.
// fill partner line
*perform get_guid changing lv_guid_p.
*the partner use the logical key as well
ls_logical_key-ref_partner_handle = '0001'.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-partner.
ls_input_fields-logical_key = ls_logical_key.
setfield ls_partner REF_GUID lv_guid_h.
setfield ls_partner REF_HANDLE lv_handle_h.
setfield ls_partner REF_KIND gc_object_ref_kind-orderadm_h.
setfield ls_partner REF_PARTNER_HANDLE '0001'.
setfield ls_partner KIND_OF_ENTRY 'C'.
setfield ls_partner PARTNER_FCT '00000001'.
setfield ls_partner PARTNER_NO bpNumber(input).
setfield ls_partner NO_TYPE 'BP'.
setfield ls_partner DISPLAY_TYPE 'BP'.
move-corresponding ls_partner to ls_logical_key.
append ls_partner to lt_partner.
// example of a second partner function (custom) with data
override
ls_logical_key-ref_partner_handle = '0002'.
clear ls_input_fields.
ls_input_fields-ref_guid = lv_guid_h.
ls_input_fields-ref_handle = lv_handle_h.
ls_input_fields-ref_kind = gc_object_ref_kind-orderadm_h.
ls_input_fields-objectname = gc_object_name-partner.
ls_input_fields-logical_key = ls_logical_key.
setfield ls_partner REF_GUID lv_guid_h.
setfield ls_partner REF_HANDLE lv_handle_h.
setfield ls_partner REF_KIND gc_object_ref_kind-orderadm_h.
setfield ls_partner REF_PARTNER_HANDLE '0002'.
setfield ls_partner KIND_OF_ENTRY 'B'. "manual entry...
setfield ls_partner PARTNER_FCT customFct(input).
setfield ls_partner PARTNER_NO bpNumber(input).
setfield ls_partner NO_TYPE 'BP'.
setfield ls_partner DISPLAY_TYPE 'BP'.
setfield ls_partner TITLE 'Mr.'.
setfield ls_partner FIRSTNAME 'John'.
setfield ls_partner LASTNAME 'Smith'.
setfield ls_partner STR_SUPPL1 'John Smith and Co'.
setfield ls_partner STREET 'Street1'.
setfield ls_partner STR_SUPPL3 'Street4'.
setfield ls_partner HOUSE_NO '42'.
setfield ls_partner CITY 'Townville'.
setfield ls_partner DISTRICT 'Districtshire'.
setfield ls_partner POSTL_COD1 'AA1 2BB'.
note now ...
*adjustment taken from standard include LCMS_MAPPERF04
*(see where-used-list for BAPI_SLSTRANSACT_CREATEMULTI, program LCMS_MAPPERU11)
I don't use macro because name of the field in input_table is different
*_set_field ls_partner COUNTRYISO 'GB'.
*instead
ls_partner-COUNTRYISO = 'GB'.
ls_input_fields-fieldname = 'COUNTRY'.
append ls_input_fields to lt_input_fields.
*_set_field ls_partner LANGU_ISO 'EN'.
ls_partner-LANGU_ISO = 'EN'.
ls_input_fields-fieldname = 'LANGU'.
append ls_input_fields to lt_input_fields.
move-corresponding ls_partner to ls_logical_key.
append ls_partner to lt_partner.
Create sales orders *
call function 'BAPI_SLSTRANSACT_CREATEMULTI'
EXPORTING
testrun = false
TABLES
header = lt_salesorder_header[]
item = lt_salesorder_item[]
partner = lt_partner[]
organisation = lt_organisation[]
input_fields = lt_input_fields[]
scheduleline = lt_scheduleline[]
saved_process = lt_saved_process[]
return = lt_return[].
// get the GUID of the created object
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
INCLUDE ZZGVBAPISALESORDER_GET_GUIDF01.
The include contains only this:
***INCLUDE ZZGVBAPISALESORDER_GET_GUIDF01 .
*& Form get_guid
text
<--guid text
FORM get_guid CHANGING GUID.
CALL FUNCTION 'SYSTEM_UUID_C_CREATE'
IMPORTING
UUID = GUID.
ENDFORM. " get_guid -
Error when creating service node. [rc:special_service_error]
Hi,
I have updated or created Inbound Service Interface in PI ISR, but when i acitivate the SI in SPROXY, the following message raised:""Error when creating service node. [rc:special_service_error] Method: ServiceCreate; return code: 3 Exception of class CX_SRT_WSP_ICF",
anyone can solve this issue,thanks?
GongtaoPlease check with your SAP Security Team if you have complete authorization/roles to generate proxies.
See related issue on this link: Inbound Proxy Error - JDBC to PROXY Scenario
Regards,
Jenny -
How to create Service Contract-Urgent
Hii All,
Can anyone tell me what all the requirements needed to create a service contract?
I shall be thankful to anyone who could please please send me the step by step procedure to create the service contract.
Thanks
Gopi.Hi Gopal ,
Use following steps for creating service contract.
1] Use t-code <b>ME31K</b>
2] Enter details like Vendor , Agreement type (MK) , Purch Orgn Purch.group.In the same , enter Item Category as "<b>D</b>" and respective account assignment category (K,F etc.)
3]In second screen enter Validity period , then short text for the desired services.In next screen , enter Service details and proper account assnmnt
Save the contract
Regards
Nilesh -
Hi All,
I'm Configuring UBB - Usage Based Billing scenario. Once I enter Service Product & reference product in UBB Service contract, I see the following messages.
1. Error when reading billing plan date with GUID 00000000000000000000000000000000
2. Transfer parameter missing in function CRM_BILLPLAN_D_READ_OB
3. Item was not found
Please advise me where the config is missing.
Thanks & Regards,
JMHi J M,
I am configuring Milestone billing.
I also have seen same error messages while creating transaction in CRM.
Please advice me if i missed any configuration.
Thanks,
Venu. -
Error while creating service entry sheet
Hi Experts,
I am trying to create service entry sheets using bapi 'BAPI_ENTRYSHEET_CREATE' for a purchase order with multiple line items. The bapi creates SES for the first line item but gives error 'User xxxxxx already processing purchase order nnnnnnnnnn' for the rest of all. Tried using 'COMMIT AND WAIT' after bapi call but it's not working.
Kindly help me out with the solution.
Regards,
B.SiddheshHi Siddhesh,
Please use below code before calling the 'BAPI_ENTRYSHEET_CREATE' to unlock the PO.
Hope this is helpful.
**Delete the Lock objects EKKO Header PO.
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
GNAME = 'EKKO'
GARG = ''
GUNAME = SY-UNAME
TABLES
ENQ = ENQ
EXCEPTIONS
OTHERS = 0.
IF NOT ENQ IS INITIAL.
DESCRIBE TABLE ENQ LINES SY-TFILL.
CHECK SY-TFILL > 0.
CALL FUNCTION 'ENQUE_DELETE'
EXPORTING
SUPPRESS_SYSLOG_ENTRY = 'X'
IMPORTING
SUBRC = RC
TABLES
ENQ = ENQ.
ENDIF.
**Delete the Lock objects EKPO Header PO.
CALL FUNCTION 'ENQUEUE_READ'
EXPORTING
GNAME = 'EKPO'
GARG = ''
GUNAME = SY-UNAME
TABLES
ENQ = ENQ
EXCEPTIONS
OTHERS = 0.
IF NOT ENQ IS INITIAL.
DESCRIBE TABLE ENQ LINES SY-TFILL.
CHECK SY-TFILL > 0.
CALL FUNCTION 'ENQUE_DELETE'
EXPORTING
SUPPRESS_SYSLOG_ENTRY = 'X'
IMPORTING
SUBRC = RC
TABLES
ENQ = ENQ.
ENDIF.
Reward if helpful.
Regards,
Shakeel Ahmed -
Error while creating service for BW query
Hi All,
I am creating service in gateway system by using BW query.
I had created service using Entity Type -> Redefine -> BW query Service
It is generated successfully but when i am running through Gateway Client, It is throwing error, given below
" The argument '67.504.82831' cannot be interpreted as a number."
All properties are string but still it is giving error in number.
I am using Netwiever Gateway 7.3.
Kindly advise, what could be issue and , how we can analyse.
Thanks in Advance.
Regards
VivekThanks for the reply.
We are aware that system will not allow to create Service entry sheet for held po. But it is allowed me to create on a particular date. Another day i tried to create/delete a SES for the same PO or new PO(held status) system is not allowing me to delete/create SES.
Please help me what might be the reason which allowed me on a particulare date.
Thanks in Advance,
Vinod....
Maybe you are looking for
-
Removing customization link from portlet header.
Hi, Could u suggest me out of the 2 ways to remove customization link from portlet header.I am using the default stock prices portlet in my page. Where and how should i change the provider.xml file. If not this how can I setShowEdit(False) which is o
-
Is it possible to get the current output level??
Is it possible to get the audio output level of a stream (in this case a mic input going through GSM compression to an RTP socket). I would like a couple of volume bars in my application so people can see how loudly they are talking. If anyone has an
-
OIM 11gr2 UNIX Connector SUDO user
Good Day! I would like to ask on how can I configure the UNIX connector using a SUDO user? I already have followed the documentation guide in setting up the SUDO user but I am getting this error: org.identityconnectors.framework.common.exceptions.Ope
-
Hi All I am trying to create a shortcut via GP to point to our print server, so people can connect to optional printers. we have the following settings set in the policy. Action Create Type: File System Object Path: Desktop Target: "\\server" Icon Pa
-
Invoice Approval Stautus is Not Approved get Approver
Hi, Client is using employee/supervisor hierarchy , Not sure how to get the Next Approver. Don't have enough time, please let me know how to find the approver if Invoice Approval Stautus is Not Approved in AP Thanks