Function Module to Search Service Contract ?
Hi All
I have to search the Service contracts based on :
1. Customer i.e. Sold-to-party and partner function
2. Product and
3. Sales org.
Is there any Function module which will provide ablove parmeters as Import gives me list of Service contracts?
thanks
AK
Try Using:
CRM_SERVICE_CONTRACTS_SEARCH
Similar Messages
-
Exposing ABAP function modules as web services
Hi All,
I am trying to expose function modules as web service but when i click on 'Web service Homepage' button it is throwing error :
"Setting for J2EE server do not exist".
Could you please guide me through this?
Regards,
Abhijeet.hi
r u releasing the web service for FMs
here r the steps.
To release FMs as webservice it should be RFC enabled.
then goto SE80 and search for the FM u want to release web service.
then right click on the FM
then Create->web service
then give the web service name then continue.
click on chk box for relase run time.
then assign one request and package
now goto WSADMIN tcode ahere u can see ur webservice and then use that.
mark points if helpful
Regs
Manas Ranjan Panda -
Function Module to calculate Open Contract Quantity
Hi All,
Is there a function module to calculate Open Contract Quantity?
Thanks.Hi Ravi,
Thanks for the reply.
For this FM, i need to pass the Sales Doc Number. Is there an FM where i can pass the contract number?
Best regards,
Sindy -
Function Module for search help Exit
How to create a function Module for search help exits?
please explain in details with step by step process.Hi,
How to create a function Module for search help exits?
function module for search help F4IF_SHLP_EXIT_EXAMPLE
dynamic search help use 'F4IF_INT_TABLE_VALUE_REQUEST'
please check out the link below it will help you
A repository object maintained in the ABAP Dictionary. It supplies input fields on Dynpros with single- or multi-column input helps. Search helps can be linked in the Dictionary with components from structures, data elements, and check tables. A search help enables you to search for entry values with assigned data, without you having to know the exact spelling of the value.
http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm
please explain in details with step by step process.
create a search help exit:
1. create an fm with this interface:
*" TABLES
*" SHLP_TAB TYPE SHLP_DESCR_TAB_T
*" RECORD_TAB STRUCTURE SEAHLPRES
*" CHANGING
*" VALUE(SHLP) TYPE SHLP_DESCR_T
*" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL
put this logic in it:
Delete duplicate filter logic.
This logic only needs to apply at the 'DISP' event - which is just
before the hit list is displayed
if callcontrol-step = 'DISP'.
delete adjacent duplicates from record_tab.
endif.
2. edit your search help in se11 and enter the name of the above search help exit fm
check this sample code..for dynamic search help
REPORT ZTEST_F4HELP .
*---Report with selection screen and to display the list of
possible entries for field 'B' as per the value in field 'A'.
parameters: p_vbeln type vbak-vbeln,
p_posnr type vbap-posnr.
at selection-screen on value-request for p_posnr.
data: begin of help_item occurs 0,
posnr type vbap-posnr,
matnr type vbap-matnr,
arktx type vbap-arktx,
end of help_item.
data: dynfields type table of dynpread with header line.
dynfields-fieldname = 'P_VBELN'.
append dynfields.
call function 'DYNP_VALUES_READ'
exporting
dyname = sy-cprog
dynumb = sy-dynnr
translate_to_upper = 'X'
tables
dynpfields = dynfields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
others = 11.
read table dynfields with key fieldname = 'P_VBELN'.
p_vbeln = dynfields-fieldvalue.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
importing
output = p_vbeln.
select posnr matnr arktx into table help_item
from vbap
where vbeln = p_vbeln.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'POSNR'
dynprofield = 'P_POSNR'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
tables
value_tab = help_item.
also check this link it will help you
/message/3854825#3854825 [original link is broken]
*********please reward points if the information is helpful to you************* -
Function module for reading service line items of a po
function module for reading service line items of a po.............I want to read data from eslh and esll tables to getthe service line details.....
My requirement is if the item category is 9 I need to print the service line items. So I wan to read the data of service line items from a function module. I am not able to find a fm which fetches both elsh and esll data...Hi oskchaitanya ,
use bapi BAPI_PO_GETDETAIL1.
Regards
REA -
Benefits of exposing function module as web services
Hi All,
We are developing a case study about exposing function modules as web services.
Those web services would be later used for integration to SAP box with a Java application.
Kindly help me with the pros and cons of exposing function modules as web services when compared to SAP PI. Also please do quote some examples, wherever possible.
Thanks,
VarunHi Varun,
Pros--->
1)Exposing FM as Web Services is indeed a good choice when you want service consumer to be platform and language independent.
i.e it can be consumed by .Net, java or any other language.
2) You are moving towards SOA
3) Composing Business Process by concatenating different functional modules is easy.
4) Complexity is less while consuming services Java, CAF etc.
Cons----> Performance for Web Services is comparatively less than JCo .
If you are bringing PI in between landscape, you are increasing one more layer of middleware which would also hit performance.
The benefit which PI can give is monitoring your company wide integrations at one central point when you have huge systems.
Hope this helps.
Piyush -
Migrating BAPI & RFC function modules into web services
What is the advantage of migrating BAPI & RFC function modules into web services?
Hi.
That's a very good question. Why did you ask it, are you considering doing so?
I wouldn't think there would be any performance advantages using WebServices.
You could make your BAPI's available for other systems than Web Dynpro or SAP systems by turning them into WebServices.
That could be an issue when you want to use different integration engines perhaps.
A WebService might also be better for dealing with large number of requests I guess.
When dealing with XML you can also use the advantage of XSLT for validating your data.
The main advantages would still be the availability of your service for non-SAP systems.
/Mikael -
Any Function Module to get Service Conditions in Service Contracts???
Hi All,
I have created a function module inside which I have written BDC code for changing Service Contracts (ME32K).
I have used Item_condition and item_cond_validity structures in Table parameters.
For changing the conditions related to services, I need to know first which ones of those conditions were already there in the database for the contract and which ones are newly put in item_condition structure.
Similar reqmnt I had for Services also, for which I got the FM - MS_FETCH_SPEC_FOR_LIST, wherein I am giving Package number from Ekpo and getting the services related to item. I need something similar for Conditions also.
Is there any Function module wherein by giving the item and service info, I can get the conditions related to that particular Service? Or else any way using SAP std tables, I can get this info.
Please respond if anyone has this info.
Thanks a lot!
NavitaHi Mukesh,
Step 1. Use FM SO_USER_READ_API1 to get the folder details of the user
Step 2. Use FM SO_FOLDER_READ_API1 of the respective folder. You can read the Inbox, Workflow Inbox depending on what folder you read. The function modules are documented well as well with examples.
Hope this will help u,
Thanks & Regards
Kiran -
Function module for Create service order with reference to sales doc (RAS )
Hi All,
I have to create a service order (type SM03) with reference to sales document (doc type RAS, in other way it is called as repair order).
I have used function module 'ALM_ME_ORDER_CREATE' && 'CO_ZV_ORDER_POST' to create service order and its working fine but problem is that i am not able to create linking between repair order and service order.
Can anyone suggest me function module, BAPI to create service order with reference as sales document (RAS) so that all related details of sales document will automatically reflect to service order..
SumitTry this function module BAPI_ORDER_MAINTAIN. Just search with BAPI_ORDER* in SE37 you will get some more functions.
Regards
Kathirvel -
Function module to get Service Order details created with a Sales Order
Hi,
Could anyone tell me if there is any function module to get the details of the Service order that is created automatically for a line item in a sales order. Let me explain my requirement clearly.
When a sales order is created with specific line item, a service order is automatically created for that line item. I need to get the information about the associated service order. I can't find this information in VBAK, VBAP or VBEP tables obviously. But, i can see the link between the service order created and related Sales document # and item # in the DB view CAUFV. But, the key field here is Service order #. But my requirement is to get the service order details from the key field of Sales document.
I tested the FM SD_SALES_DOCUMENT_READ_POS that reads the sales document header and item material tables, but this doesn't help me in getting the service order details associated with the material line item.
Your early response is greatly appreciated.
Thanks in advance,
venuHi Akshay,
I actually saw this , but surprisingly, there is nothing stored in this field in either of the tables VBAK or VBAP. I mean, even for the sales orders which have associated service orders, nothing is stored in either of the above tables.
Can you please tell me if there is anyother way.
Thank you,
venu -
A function module to create service confirmation
Hello,everyone
I need your help.
I'm looking for a function module to create crm service confirmation.
Can you give me some help.
Thanks.Hi,
You can find a very simple example of function module CRM_ORDER_MAINTAIN at SDN WIKI:
https://www.sdn.sap.com/irj/scn/wiki?path=/display/crm/creation%252bof%252bquatation%252bsample%252bcode
Cheers, -
Function Module to Create Service Order (IW31)
Hi All
Kindly let me is there any function Module or BAPI to create Service order (Transaction IW31).
ThanksFound Solution
-
Search Service Contract based on IBASE
Hello Experts,
My requirement is In the Search view of Service Contracts ADD the Search by IBASE option to Search the Contracts and i have to search the service contract based on IBASE can you please give me idea how can i achieve the solution?
Regards,
Chetan Agali.Hi Bhushan,
Thanks for your reply I append the field called zzsrv_ibase into the context node btqsrvcon through the structure,the field is in the context node but it is not appearing in the configuration tab I saw in one of your tread you mentioned about the maitaining the field in the design layer i will do that, more important is I need related code and where i need to add the code and I saw that in one of your tread mentioned about ( modify the class as per your requirement and then maintain entry for this query in CRMC_OBJ_BTIL_C so that your custom class would be called.) can u please elaborate this.
Thanks & Regards,
Chetan Agali. -
Function module or search help !
Hi ABAP gurus,
I have a requirement where I have to have the Material, Sales Organization and Distribution channel displayed as parameters on one screen.
But the trick here is when ever I select any material .. The sales organization and distribution channel should only have values that only correspond to that material only.
Basically the Sales organization and Distribution channel should only have values corresponding to that material only in F4 help.. How to achieve this ..There should be some function module for this can anyone help me with this requirement .
Correct answer would be rewarded accordingly !
Regards,
RagzHi Raghvendra,
try this.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_salesorg.
select salesorg from tablename into itab where matnr = p_matnr(selction screen value).
if sy-subrc eq 0.
CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'
EXPORTING
ENDPOS_COL =
ENDPOS_ROW =
STARTPOS_COL =
STARTPOS_ROW =
TITLETEXT =
TITLETEXT =
IMPORTING
CHOISE = W_LINEN0
TABLES
VALUETAB = itab
EXCEPTIONS
BREAK_OFF = 1
OTHERS = 2.
IF SY-SUBRC EQ 0.
READ TABLE itab INDEX W_LINENO.
IF SY-SUBRC EQ 0.
P_salesorg = itab-salesorg.
endif.
endif.
similarly for distribution channel pass sales org .... -
hi Exdperts,
Is there any function module to findout the given word in screen or report.
just like Ctrl+Fhi,
Execute program RPR_ABAP_SOURCE_SCAN and give the keyword that you are looking for
Maybe you are looking for
-
Can't install win 8 x64 on SSD partition on MacBook Pro
I have a MacBook Pro with a 512gb SSD drive and I'm trying to use Bootcamp to install windows 8 off a flash drive to half of the SSD partition. When I get to the windows installation screen after reboot, it tells me I can't install to that partition
-
a couple weeks ago, firefox stopped loading (just hung system) on my acer computer running windows xp. I deleted firefox and downloaded versin 4.0.1. But, the same thing is happening. it starts to load but then stops responding and hangs the system.
-
How to count number of rows in table
can I get number of row in table except Count(*) in pl/sql is there any other way
-
Dear All, when i create complaints in CRM and save it. 1- it didn't replicate to ERP 2- when i try to change in the document. the system appear this error "Document is being distributed; changes are not possible"
-
Cisco UCCX 9.x Web Chat integration with Siebel
Hi, I have a requirement to configure and integrate Cisco UCCX 9.x Web chat with Siebel. Do anyone have any good documentation/guides on configuring Web chat on UCCX aswell as integrating it with Siebel? Thanks KMS