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
Navin
Hi,
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
Similar Messages
-
No standard BAPI to update Customer???
Hi All,
We are trying to find BAPI to update the changed customer details (address, phone numers ...any details). In ABAP forum they mentioned following 3 BAPIS:
BAPI_CUSTOMER_CHANGEFROMDATA1
SD_CUSTOMER_MAINTAIN_ALL
BAPI_CUSTOMER_EDIT
I can't use any of these because of the following reasons:
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
Can I import those associated types to XI?? They are structures in SAP. If not is there any way that I can do this??
2) SD_CUSTOMER_MAINTAIN_ALL
It is not Remote-enabled module. Can't import to XI.
3) BAPI_CUSTOMER_EDIT
I dont think I can update details of the customer using this BAPI...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??
Any other RF Modules that I can use ??
Thx
Navin
Message was edited by:
navin kumarHi Navin,
How did you import the BAPI_CUSTOMER_CHANGEFROMDATA1 into XI? Normally datastructures for the BAPI will be imported together with the BAPI....
Regards,
John. -
Extending sales order change BAPI and updating custom fields
Hi
i added 3 new fields into VA01/02/03 screen.i added at the header level in the additional data tab B area and appended them in VBAK table.
i want to change these values using sales order change BAPI.i added the fields in the structure VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX.
may i know what else i need to do?should i move them anywhere with in the code or does the bapi take those values automatically using EXTENSIONIN structure?
also can some one send me code to actually check if bapi is changing my values?
if poss tell me how should i populate values into BAPI.After adding field in structures VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX, create pair of name-value pair extensiot structure and value.
Fill values as follows :
Data : ls_parex TYPE bapiparex,
lt_parex TYPE STANDARD TABLE OF bapiparex.
ls_parex-structure = 'BAPE_VBAK'.
ls_parex-valuepart1+0(10) = Sales order no
ls_parex-valuepart1+10(XX) = somevalue. <---- Value for custom field no 1
ls_parex-valuepart1+XX(XX) = somevalue. <---- Value for custom field no 2
APPEND ls_parex TO lt_parex .
clear ls_parex.
ls_parex-structure = 'BAPE_VBAKX'.
ls_parex-valuepart1+0(10) = Sales order no
ls_parex-valuepart1+10(1) = 'X'. <--- checkbox mark for custom field no 1
ls_parex-valuepart1+11(1) = 'X'. <--- checkbox mark for custom field no 2
APPEND ls_parex TO lt_parex.
Same pair for VBAKKOZ & VBAKKOZX
Updating custom fields
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = Sales order number
order_header_inx = 'U' <--- U for update
TABLES
extensionin = lt_parex[].
Edited by: nkarwa on Oct 25, 2010 12:39 PM -
SAP standard FM or BAPI for getting customer details from condition record
Can someone suggest some SAP standard BAPI or FM with the help of which we can get the customer details of all it's pricing conditions maintained in condition tables provided we have the condition record number with us.
Hi,
look at the below BAPI's
BAPI_CUSTOMER_DISPLAY
BAPI_CUSTOMER_GETDETAIL2
Regards
Sudheer -
FM or BAPI to update custom fields in Excise invoice header (J_1IEXCHDR) table
Dear friends,
I have created the following custom fields in standard table J_1IEXCHDR (Excise invoice header detail),
1) ZZKURRF - Exchange rate
2) ZZWAERK - SD Document Currency
Is there any BAPI or Function module to update these Custom fields of Excise header table J_1IEXCHDR?
Have a nice day ....
Thanks.Dear Lakshmipathi,
Sorry for posting in wrong domain.
Thanks for your immediate response. I will use the FM J_1I7_USEREXIT_EXCISE_BEF_SAVE for Excise invoices created in future.
But, I have to update the custom data for existing records in J_1IEXCHDR. For that I need a FM or BAPI.
Please provide the same.
Thanks in advance .
Have a nice day . -
BAPI for Changing Customer Details
Hi
Pls tell me how to use "BAPI_CUSTOMER_CHANGEFROMDATA1".
When I'm filling all mandatory fields, its showing message- Make an entry in all fields where required.
Regards.Hi,
Try
[http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_CHANGEFROMDATA1]
Regards,
Surinder -
Bapi not updating custom warning message
Hello,
I am using BAPI_PO_CREATE to create PO,
in the po user exit i am populating the warning message.After the PO creation in the return table i am not able to find the warning message.If it is error message i am able to find in return tablwe.Please help me how to caopture the warning message.Hi,
In the badi mentioned by you GOITEM is the importing parameters & if the relevant field is not used in any MIGO screen you cannot change the data.
Please check example BADI interface: IF_EX_MB_MIGO_BADI~LINE_MODIFY
Please check the BADI documentation:
Changed data in GOITEM is only adopted if the relevant fields are visible and ready for input.
Changed data in GOITEM is not adopted if the relevant field is not used in any MIGO screen (warning via MIGO 049).
Changed data in GOITEM is not adopted if the relevant fields are not ready for input (warning via MIGO 050)
Thanks and Regards,
Chandra -
Update address details of connection object
Hi,
I need a FM/BAPI to update address details of connection object.
I'm currently using ADDR_UPDATE and 'ADDR_MEMORY_SAVE' I'm able to successfully update 9 address lines.
But not the telephone and fax number.
Hence I need a FM/BAPI to specifically update telephone and fax number of connection object.
Please suggest.
Thanks.
Priyanka Ashtekarhi,
refer ti this link...
Updating Connection Object Address -
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. -
To update vendor and customer details in BP transaction
I have created a donor in the BP transaction . i need to update the vendor and customer details for the reated donor.
please can someone suggest some BAPI's or FM's which are available to do the same.Hello Om,
You can get vendor/costumer number and their names in FBL3N when you get bank ledger's line item.
You must use BTE functions.
I don't your techinal skills about SAP but if you don't know ABAP or ABAP dictionary details, you can get help your ABAPer.
I will explain step by step.
First of all, if you don't use BTE before, You must create a product on FIBF.
Call FIBF transaction -> Settings -> Products -> ...of a customer
Create a new line,
Product : ZFI
Text : BTE Products for FI Exit
Product active : tick check fro activation.
Then you must call SE11 for structure RFPOS.
You must use append structure function for this structure and you can define ZFI_RFPOS append structure.
Define 4 fields.
Component : KUNNR - Component type : KUNNR
Component : NAMED - Component type : NAME1
Component : LIFNR - Component type : LINFR
Component : NAMEK - Component type : NAME1
Then save and active your RFPOS structure.
After that, you must do same step for structure RFPOSX.
Then go to SE37 and copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM.
After copy action, you must uncomment this line on ZFI_INTERFACE_00001650 FM's source code. It's very very important;
E_POSTAB = I_POSTAB.
Then you should add some ABAP code for getting customer & vendor details.
I give you some examples, you can use it. (next message on this thread, please check)
Then save and active FM.
Call FIBF transaction again.
FIBF -> Settings -> Process Modules -> ...of a customer
Define a new line.
Process : 00001650
Function Module : ZFI_INTERFACE_00001650
Product : ZFI
and this customizing.
Then you go to SE38 transaction.
start report RFPOSXEXTEND. After starting, a pop-up appears, you must click YES.
After those operations, you can see customer/vendor code and their names on FBL3N.
I hope it helps to you.
Regards,
Burak. -
BAPI or Function Module to Update Vendor Details
Hi Friends,
I need to update Vendor Details (Street) in my program using a BAPI or Function Module. Is there such thing available which can do my job?
Regards,
Raju...Hi,
Thanks for the Reply.
I tried to use the FM Vendor_Update... It updates the adrress field in the table LFA1. But it is not reflected in the transaction FK02.
So, Is there any thing that I have to do after the FM Vendor_Update is called so that the address field is also get reflected in address field of FK02 transaction.?
Regards,
Raju... -
Hi Expert,
Please let me know How to find out recently updated Contacts details of customer at the Communication tab defined at the Site level in oracle AR.
Thanks in advance.Hi -
Please use the below code to get the Contacts at the Account level.
where Sold to Org id is the Customer Account Id.
SELECT hp2.person_last_name||', '||hp2.person_first_name
FROM apps.hz_parties hp,
apps.hz_parties hp2,
apps.hz_relationships hr,
apps.hz_cust_accounts hca
WHERE 1 = 1
AND hca.party_id = hp.party_id
AND hca.cust_account_id = :sold_to_org_id
AND hr.subject_id = hp.party_id
AND hr.relationship_type = 'CONTACT'
AND hp2.party_id = hr.object_id
AND hr.object_type = 'PERSON'
AND hp.party_id = hr.subject_id
Thanks
Vyaghresh
Edited by: user11990386 on Jun 20, 2011 2:33 PM -
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. -
BAPI for XD02 (Customer Update)
Hi Everyone,
I am unable to find any BAPI which updates selective fields from transaction XD02 in background.
Does any one have any info on the same.
Thanks,
Altaf Shaikh.Hi,
or use abap rfbide00 (->look docu with se38)
A. -
Update Customer Phone No in DBM
Hi all, I've a situation which required/allow users from many Branches to do changes/update Customer Contact/Phone No permanently into the system.
My Boss dont allow them to used the t.Code XD02 or VD02 to make the changes where Customer Master Data are open to the users. Here I would like to know on how the users can update the Customer Phone No without allowing them to do modification on other Customer Master Details.
Please Help
Best Regards,
Jenny.Jenny, as far as I understood you want to updated / change the customer phone no without using XD02 or in other wards you want to restrict user from using XD02.
So BAPI is one way and Also you can use LSMW to update the phone numbers for customers. but for both things you need help of ABAPer
For LSMW steps you can check below mentioned link
http://www.abapcode.info/2007/05/step-by-step-guide-for-using-lsmw-to.html
Maybe you are looking for
-
I have 100 shots I need to render. I know how to submit the shots to qmaster using a shell command, but my problem is that I can only figure out the syntax to have one job per line. That means that instead of one batch with 100 jobs, I get 100 batche
-
How to delete an element from a template??
I bought a dreamweaver template and there's a menu that goes across the top of the screen but I don't know how to get rid of it?? I don't see any coding for it in dreamweaver it just kinda shows up. Link to page: http://ramclutches.com/newsite/index.
-
HT2105 I am trying to set up an allowance for someone and it isn't allowing me to do so.
I am trying to set up an allowance for someone and it isn't allowing me to do so.
-
Recently purchased MacBookPro and have used Adobe Acrobat 9 on my PC. Is Adobe OK with Mac?
-
Hello, I have a problem that i wonder if its possible to solve using xalan xpath. I have a XML structure that looks like this: <ReferenceCoded> <type>AgreementType</type> <value>AgreementType1111</value> </ReferenceCoded> <ReferenceCoded> <type>Proje