CRM Funtion Module to update customer
Hi,
My scenario is CRM>XI>Webservice (Async). The customer has their own home grown legacy system where they maintain the customer data (master & transactional).
CRM IC Webclient is used as front end. There is a minimal amount of data that has been replicated from the legacy to CRM system like the customer info and etc. The user will change the CustomerName & Address in the CRM system and upon submit it has to go via XI and call a pre-existing webservice which inturn will update the customer system.
As we want to accomplish this scenario out-of-the-box are there any standard IDOCs or RFCs or BAPIs available in the CRM system. If so please give the name of the module.
Thanks in advance.
Krishnan
Hi Krishnan,
As you are saying that you have XI adaptor configured, please make necessary configuration and developments in XI.
1 Create proper data type in XI which holds the same input common between XI and CRM.
2 assign data type to message type in XI.
3 assign message type interface type in XI.
4.Configure and open the communication channels between XI and CRM.
All these things shud be done at XI side and preferably an XI resource would do this.
Once this is done or already done, you will have a proxy associated to this particular interface in CRM ...Inside this proxy you will have to develop and built this proxy( write the code for calling FM CRMXIF_PARTNER_SAVE) which will be triggered to XI as an output message.
Siva
Similar Messages
-
CRM function module to update the attribute in the classification TAB of BP
Hi All,
Can any body let me know if there is any functionmodule to update the CRM function module to update the attribute in the classification TAB of BP tcode.
I have searched a lot i get FM to update the marketing attribute and not the attributes in the classification tab.
Thanks in Advance
Edited by: Sharath Kumar on Dec 2, 2010 4:48 PMFor material bom: CSAP_MAT_BOM_CREATE
and CSAP_ORD_BOM_CREATE for Order BOM.
Regards,
Ravi -
Standard Function modules to update customer partner
Hi,
Can anyone please suggest standard function modules to update customer partner functions?
Was looking at Customer_insert, customer_update, CUSTOMER_UPDATE_SALES_AREA.
I will have only the partner data in the customser sales view to get updated. I dont need the company data.
Awaiting some insightful inputs please.
Thanks,
SatheeshFM and TABLES
http://72.14.235.104/search?q=cache:71IXBMWcX_8J:reflexcontracts.co.uk/SAP_R3_QUICK_REF.xlsupdatetable+tse05&hl=en&ct=clnk&cd=1&gl=in
FUNCTION MODULES
http://www.erpgenie.com/abap/functions.htm
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
http://www.erpgenie.com/abap/index.htm
http://www.geocities.com/victorav15/sapr3/abapfun.html
Rewards if useful.........
Minal -
Funtion module to update Infotype 14
Hi guys,
Is ther any function modules to update infotype 14 other than
HR_INFOTYPE_OPERATION and HR_MAINTAIN_MASTERDATA......
Thanks,
SatyaThis FM uses BDC in its code, see the code in SE37 and you will get some idea as how to use it in your program.
There is a table of type SPA_PACKAGE_COMPONENT that you have to populate first and then passto this FM. While populating that table you will be providing the information to update the infotype and the operation like insert, update etc. -
User-Exit/Badi/Funtion Module for update Batch in transaction CORK
Hi Gurus,
when an IDoc 'Z' is executed to do a confirmation using the FM CO_RU_ORDER_CONFIRMATION, the values of transaction CORK are modified.
I'd like to update the field batch number so when you enter a process order in transaction CORK and then you click on Components, you'll see the list of component and the batch number updated throught the custom IDoc.
Does anyone knows any user-exit or Badi or maybe a FM to implement so when the first confirmation is done, the batch numbers are updated?
Thanks in advance.Hi,
You can copy and paste the Report code below. This will give the list of User Exits and BADIs available for the Transcation code. Very usefull program.
Below code will give a list of BADIs for particular transaction.
=============START
*& Report ZNEGI16 *
REPORT ZNEGI16 .
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT ,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase.
================END
<b>Reward POints if this helps.
Manish</b> -
Function modules to update ME01 transaction
Hi,
Can I get the list of Function modules to update ME01 transaction..
Thnx in advance,
ShivaaHi shiva,
Try this funtion module ,
ME_UPDATE_SOURCES_OF_SUPPLY Update source list
ME_UPDATE_SOURCES_OF_SUPPLY_BA Update source list records in background during generation
I hope,it will help you
<=<< Sharing Knowledge is a way to Innovative >>=>
By,
Yoga -
Bapi's or Fun Modules to update vendor related tables
Hi All,
Can any one tell me the Bapi's or funtion modules to update,create or modify vendor related tables without using any call transaction.
Best answers will be rewarded nicely.
Regards,
praveen.Hi
Did below code work for you?
If not the best way to manage Vendor information for UPDATING and CREATING check below class
VMD_EI_API
Which you just use methods INITIALISE and MAINTAIN with the populated structures of vendor tables.
Regards
Tumelo Modise -
How to Update crmd_customer_h TABLE Using CRMV_EVENT Through Funtion Module
Hi
How we can update customer_h table using the CRMV_EVENT Where i implemented logic below in the Funtion Module.
data: lt_doc_flow TYPE crmt_doc_flow_wrkt,
lw_cust_h_com TYPE crmt_customer_h_com,
lw_input_field_names TYPE crmt_input_field_names,
lt_input_field_names TYPE crmt_input_field_names_tab,
lt_objects_to_save TYPE crmt_object_guid_tab,
lw_guid TYPE CRMT_OBJECT_GUID.
DATA : lv_process_type TYPE crmt_process_type.
data: wa_doc_flow type CRMT_DOC_FLOW_WRK.
data: wa_customer_h type crmd_customer_h.
* Function module for retriving the Process type.
CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'
EXPORTING
iv_orderadm_h_guid = iv_header_guid
IMPORTING
ev_process_type = lv_process_type
EXCEPTIONS
admin_header_not_found = 1
OTHERS = 2.
if lv_process_type eq 'ZG01'.
CALL FUNCTION 'CRM_DOC_FLOW_READ_OB'
EXPORTING
IV_HEADER_GUID = iv_header_guid
IMPORTING
ET_DOC_FLOW_WRK = lt_doc_flow.
read table lt_doc_flow with key objtype_a = 'BUS2000116' INTO wa_doc_flow. "gc_object_type-service.
if sy-subrc eq 0. "set flag for service order
lw_cust_h_com-ref_guid = wa_doc_flow-objkey_a.
lw_cust_h_com-ZZTRAIL_FLAG = 'X'.
lw_cust_h_com-mode = 'A'.
lw_cust_h_com-ref_handle = '0000000001'.
lw_guid = wa_doc_flow-objkey_a.
INSERT lw_guid INTO TABLE lt_objects_to_save.
endif.
lw_input_field_names-fieldname = 'REF_GUID'.
lw_input_field_names-fieldname = 'ZZTRAIL_FLAG'.
lw_input_field_names-changeable = ' '.
INSERT lw_input_field_names INTO TABLE lt_input_field_names.
Maintain Customer H
CALL FUNCTION 'CRM_CUSTOMER_H_MAINTAIN_OW'
EXPORTING
is_customer_h_com = lw_cust_h_com
CHANGING
ct_input_field_names = lt_input_field_names
EXCEPTIONS
header_change_error = 1
header_create_error = 2
error_occurred = 3.
ENDIF.
*endif.
*Clearing local variables
clear: lv_process_type,
lw_cust_h_com,
lw_input_field_names.
*Free internal tables
free: lt_doc_flow,
lt_input_field_names.Hi Faisal
I think your not clear with what i am saying anyhow i will again explain you my requirement
As per my requirement
1)in the service order search report i need to add a field called "Has trail order with No Follow up" with values "Yes" & "Blank"
For above Field i added using the structure CRMST_QUERY_SRVO_BTIL and through configuration i am able to display the field in webui as per (Attachement Pic 1)
2)When i search with search criteria as "Has trail order with No Follow up" with "Yes"
Then in result list i need to show the service order those having follow up as trail orders(sales order) only.if for next document trail order having any follow up then those service orders dont want to show in result list.
For above requirement i implemented F.M using CRMV_EVENT & I configured for BUS2000115 And BEFORE_SAVE The Order
The FM Will get trigger when i save the service order and for that service order if create any follow up and try to save the trail order then This FM Will trigger and in this i am doing validations.
3)Add one AET Trail Flag field is added under CUSTOMER_H Table.
4)in the FM I am validating for if the trail order having the preceding document as service order then i need to make flag as "X" For that service order in customer_h
if suppose when i delete trail order from the service order then that flag must need to be "unset" from the CUSTOMER_H.
Why bcoz we are doing above process is do show records in result list based on Flag values
these flag checks are validating in the BADI Which we implemented for search logic.
Please refer below Login for my requirement:-
Proposal to have a custom “flag” field (background at table level,
crmd_customer_h) linked to service order which gets flagged whenever at
least one Trial order is created and saved from the Service Order.
The flag value should be cleared when all the trial orders created and
saved as follow up transactions are deleted from the system.
Similarly for Trial Orders will use the same custom “flag” field
which gets activated when at least one follow up is created and saved from Trial Order.
The flag value should be cleared when all the follow up transactions from
the Trial Order are deleted from the system.
When the above search criteria “Has Trial order with no follow up”
“is” “Yes” is applied then the logic derives all the service
orders which satisfy additional search criteria applied in the search and
for these Service orders checks if the custom flag field is checked to
derive all Service orders which have Trial order. The custom flag values
values are derived from crmd_customer_h table in CRM.
4 )Further for all the Trial Orders determined in Step 3
check if the Trial Order has a follow up by checking if the custom flag field
is checked. The custom flag values are derived from crmd_customer_h table in
CRM.
5) If step 4 is not met populate the preceding Service
Orders in the Result list -
BP extend : how to use FM to update customer specific fields ?
Hello
I'm working on a CRM 2007 project and for customer needs, the BP data have been extent with specific fields using EEWB. So specific FMs have been automatically generated to manage the specific data. We want to use these FM to maintain the values of the specific fields. In the EEWB transaction, in the Task BUPA_API for the specific object, 2 FMs have been generated : ZZ1XO_BUPA_MAINTAIN and ZZ1XO_BUPA_MNTN_ALL : we suppose we have to use these FMs to update the values fo this object. This object (customer specific data) is time dependent with gaps and multiple instance. We tried to use these 2 FMs to update values but it does not work : anybody has already used this kind of FMs ?
Thanks to all.Jerome,
Normally I use the FM modules generated by the EEWB that contain API to update the data. However keep in mind if this is a Z-Table and you don't like what is provided, then add your own BAPI modules to the BDT function group to update the data.
Take care,
Stephen -
Funtion Module in accounting document
Hi All,
Can someone tell what function module is called while creating the accounting document and what are its important import and export parameters?
Regards
VijayHi Vijay,
The most important funtion module responsible to creating accounting documentt is RV_ACCOUNTING_DOCUMENT_CREATE . Below are its important import and export parameters:
Import parameters
CASH_SALE_ACCOUNT : contains the cash clearing account, if this is not to be posted to the customer
CPD_ADRESS: must be filled if you are posting to a one-time customer
DOCUMENT_OLD : contains the $000000x number of the billing document, as VBRK-VBELN already has the final value, XVBRP and so on still contain $000000x
INVOICE_HEADER : Contains the billing header VBRK
I_COMP : Control parameter, if only CO is to be posted
I_COMP_CHECK : Control parameter if only CO is to be posted (check run)
CHECK : Controlling for error messages (issue immediately or in log)
MODE : Change mode ( A = old, B = new)
MODE_TYPES : Scope of change (1=rebate/2=VPRS)
Differences can occur due to the update of cost price conditions or rebate conditions in billing documents that have already been posted. These two fields (MODE and MODE_TYPES) are required to enable the posting of those differences to CO-PA.
RRREL: If this field is set, the billing document contains revenue recognition items
BOKRE : If this field is set, the billing document is rebate-relevant
These two fields (RRREL and BOKRE) are required for the new cancellation function as of Release 4.6A. This is because the new cancellation procedure cannot be implemented for revenue recognition or rebate relevant billing documents.
Export parameters
O_VBRK_RFBSK: This is set if an error has occured in account determination ( characteristic B)
O_KONV_CHANGED: This is set if XKOMV is changed in account determination
Regards
Roop -
Ecommerce - Edit/Update Customer Information Form(Shipping/billing)
Hi gentlemen,
Im working on a ecommerce site right now and I have a problem with a page for updating Customer Details(for customer to update their shipping/billing info).
But unfortunately the CRM form that is there currently is only for updating Home Address/Work Address.
I tried creating a separate form for updating those fields, but it acts as registration form and doesnt allow to update current customer.
Is there a way to solve this?
Future update maybe?http://forums.adobe.com/docs/DOC-1846
You can use home address to pre-populate the billing address.
There are billing address module tags but these will only prepopulate if the customer has made a previous order. -
Update Customer User Details Form
I'm pretty new to BC so hope someone can help me out with this.
I'm wanting to create a Secure Login page that allows my customers to login and update their Account details that they have provided with a (Custom Registration form), due to some customer fields
My problem is that the Secure Zone is setup fine, however under Site Modules --> SecureZones --> Update User Details form does not have the fields which I need it to update from the Customer Registration Form.
What I've done is below:
1. Setup a secure login page
2. Upon login it is redirected to the Update Details page
3. Within the Update Details page, I have inserted the module "Update User Details form"
However I'm not sure how to customize the form in order for it to update/edit information retrieved from other forms.
Hope someone can help. Thanks!Hey there,
You can, what your probably missing is selecting the dropdown where you choose to include the CRM data. -
Impact of Updating Customer Name in existing Open Sales Orders
Hello,
There's a requirement to update an existing Customer Name which we can very well do via API but what we tested the impact on :
Sales Order in 'Entered status'
Sales Order in 'Booked status'
Sales Order in 'Shipped status'
Sales Order in 'Closed status'
Sales Order in 'Cancelled status'
and the customer information was updated in all the above scenarios.
The question/doubt I have is:
1) Does the change in Customer Name has an impact in other modules like Service Contracts etc (In other words is the change reflected there automatically?)
2) For an Sales Order in Shipped status with an Old customer Name and if we now change the customer name, will there be any impact in AR?
To summarize will just changing the 'Customer Name' from 'Recievables' ensure that the change is flowed to all modules or is there a chance that somewhere in some module Customer Name is not in sync??
Please come with suggestions/solutions/alternatives ...
If you need any more information on this please let me know.
Thanks in Advance!
-AjitHi Jyoti,
Thanx for the reply.
You are correct, but for my question I am changing customer name at Recievables not in a Sales Order.
When I change a Customer Name from Recievables it replaces all existing 'in-process' sales order with the new updated customer name(note that I am just updating the name thereby party_id etc columns remains the same...) in whatever Status it is.
So my question was:
1) Does the change in Customer Name has an impact in other modules like Service Contracts etc (In other words is the change reflected there automatically?)
2) For an Sales Order in Shipped status with an Old customer Name and if we now change the customer name, will there be any impact in AR?
To summarize will just changing the 'Customer Name' from 'Recievables' ensure that the change is flowed to all modules or is there a chance that somewhere in some module Customer Name is not in sync??
Hope you got the point!
Please provide your valuable inputs.
Thanks,
Ajit -
Variable size item formulla key funtion module,
I am developing user interface for manual reservation (cutsom development). User wants to calculate quantity of material if he enters size1, size2 and size3. Also he wants that a formula key option to be provided so that he can mention conversion formula. Is there any standard function module for variable size formulla funtion module.
I want to use same logic of variable size item formulla of bom in the above custom template.
Please suggest.Hi
The function module EVAL_FORMULA and FORMULA_EVALUATION may help you as they all export calculated values as output. Please go to SE37 to click the button 'Function module documentation' to see more information.
Or go to SE80 to check the function group CALC to see more function.
Best Regards
Leon. -
BAPI to update customer details
Hi All,
What is the BAPI that we should use to update customer details into SAP??
What are the mandatory fields we need to update customer record in SAP?
Thx
NavinHi,
1)
I tried BAPI_CUSTOMER_CHANGEFROMDATA1, imported to XI. But it has the following Parameter Names and corresponding Associated Types respectively:
PI_PERSONALDATA, PI_PERSONALDATAX, PI_OPT_PERSONALDATA, PI_OPT_PERSONALDATAX, PI_COMPANYDATA, PI_COMPANYDATAX, PI_OPT_COMPANYDATA, PI_OPT_COMPANYDATAX
BAPIKNA101_1, BAPIKNA101_1X, BAPIKNA105, BAPIKNA105X, BAPIKNA106,BAPIKNA106X, BAPIKNA105, BAPIKNA105X.
For the above 8, I am getting following message in XI: Schema for type urn:sap-com:document:sap:rfc:functions: BAPIKNA106 (Category Data Type) not found
2) SD_CUSTOMER_MAINTAIN_ALL
It is not Remote-enabled module
3) BAPI_CUSTOMER_EDIT
I dont I can update details of the customer...I am not sure...Because it has only Customer ID in request parameters....If I want to change name or address...how would I send them in Request to BAPI??
Thx
Navin
Maybe you are looking for
-
RFC connection error in recording eCATT from Solman
Hello, I am trying to record eCATT from Solution Manager into our DEV box. I have set-up the RFC connection and tested them. When trying to recording I got the following message: "RFC error ThControl: illegal sap_dext call !!!/ connection" Any sugges
-
Name to be displayed along with the emailid in the email
Iam sending email with the help of java mail but the requirement of mine is to display the name of the sender along with the emaiil id of the sender i.e the name should appear along with the from address Hope you will help me in this regard and do th
-
Making a field as not selectable(Readable) in dropdown box in HTML
Hi All, I have one requirement like make a field as no selectable(readable) in dropdown box(combo) in HTML, Could you please any one of you help me out in this regard. If Drop down box contains values like blue,red,white.. I want to make blue as not
-
1/4" with optical audio output
Does anyone actually use the digital audio output? Like in a home theater for Dolby Digital? Does the MBP output DTS?
-
Using Live Meeting in Macintosh
There is a Live Meeting client for MAC? I'm using BPOS, but the web-base Live Meeting has limited functions compare to the windows version. Wagner Kondo – [email protected] MCP, MCTS, MCITP