‎2014 Mar 04 4:28 PM
Hello
My requirement is to update the tax jurisdiction code (TXJCD / ADRC - TAXJURCODE) of a existing customer, I didn't find any FM / BAPI / API because we want to go w/ BDC as a last option
Thank you
‎2014 Mar 04 5:03 PM
Hi,
Try with BAPI BAPI_CUSTOMER_CHANGEFROMDATA1 to update tax Jur Code of existing customer.
Thanks,
Kishor.
‎2014 Mar 04 5:03 PM
Hi,
Try with BAPI BAPI_CUSTOMER_CHANGEFROMDATA1 to update tax Jur Code of existing customer.
Thanks,
Kishor.
‎2014 Mar 04 5:38 PM
Thank you.
Yes, I saw already this BAPI, but when I checked its description its saying as
"Only for ONLINE Store!!! Check Personal Data of a Customer"
Pls. let me know still is it OK to use it for a ECC requirement?
Regards
‎2014 Mar 04 5:47 PM
I think you can still use this BAPI for your customer Master change. This should be fine.
Thanks,
Kishor.
‎2014 Mar 04 5:51 PM
OK, I will start building my code.......btwn.......wait for inputs from any other experts
Thank you
‎2014 Mar 04 6:30 PM
You can use the function module "SD_CUSTOMER_MAINTAIN_ALL" and "BAPI_CUSTOMER_CHANGEFROMDATA" also for your requirements.
Regards,
Thanga
‎2014 Mar 04 6:35 PM
If you check all the relevant BAPI's use function module "SD_CUSTOMER_MAINTAIN_ALL" inside thier logic to update the customer master. it is good to use the function module "SD_CUSTOMER_MAINTAIN_ALL" directly to update.
It will reduce your run-time of your report if you directly use function module SD_CUSTOMER_MAINTAIN_ALL
Regards,
Thanga
‎2014 Mar 04 7:32 PM
Basically the FM SD_CUSTOMER_MAINTAIN_ALL will internally being called , if you are using BAPI_CUSTOMER_CHANGEFROMDATA or BAPI_CUSTOMER_CHANGEFROMDATA1.
May be the run time of the execution may be reduced using the FM.
Thanks,
Kishor.
‎2014 Mar 04 7:53 PM
Hello Kishor,
The runtime will be reduced only when you call the FM "SD_CUSTOMER_MAINTAIN_ALL".
Let me explain you, FM "SD_CUSTOMER_MAINTAIN_ALL" is called internally inside BAPI "BAPI_CUSTOMER_CHANGEFROMDATA". at line number 160.
If you use BAPI it will excute this 160 lines of waste and then the function module is called.
If you use the function module, you don't need to execute 160 lines and obviously it reduces our runtime.
Please let me know, are you okay with my explanation, still having some doubt ?
Regards,
Thanga
‎2014 Mar 04 8:16 PM
Agreed, but the FM SD_CUSTOMER_MAINTAIN_ALL is not released for customers (if I don't have any other FM/BAPI I would hv go with this), but we hv a wrapper BAPI as BAPI_CUSTOMER_CHANGEFROMDATA, hence even though runtime more (I guess, it gonna be couple of seconds for one turn/execution) I personally prefer using BAPI bcz of its RELEASED status
Thank you all
‎2014 Mar 04 8:24 PM