01-17-2008 8:49 AM
Hi Gurus,
I need Bapi or FM to change the customer only with new Tax classification.
Here i am getting the new Tax values thru selection screen for a customer. when i pass these values thru internal table i need to change the customer tax corresponing to given customer in selection screen. for this i need BAPI or FM.
points will be rewarded for helpful answers.
Regards,
Balu
01-17-2008 9:00 AM
Hi,
As fas as I know there is no such BAPI. However, you could use IDoc DEBMAS05 to do the job.
Regards,
John.
01-17-2008 10:32 AM
Hi John,
can you please tell me how to use IDOC for this. if possible please send me the sample code.
thanks in advance.
regards,
Balu
01-17-2008 12:24 PM
Hi,
The easiest way to find out how to use this is by generating the IDoct from an existing customer transaction BD12.
Regards,
John.
01-17-2008 9:03 AM
Try the BAPI of this function group :
V02D Customer Master: Read/Block
BAPI_CUSTOMER_CHANGEFROMDATA Customer: Change customer
BAPI_CUSTOMER_CHANGEFROMDATA1 Check personal data of a customer
BAPI_CUSTOMER_CREATEFROMDATA Customer: Create customer
BAPI_CUSTOMER_CREATEFROMDATA1 BAPI Create customer for BO customer (KNA1) - with CAM features
BAPI_CUSTOMER_GETDETAIL Customer: Read customer
BAPI_CUSTOMER_GETDETAIL1 BAPI Read customer to BO customer (KNA1) - with CAM features
BAPI_CUSTOMER_SEARCH Customer: Find customer number
BAPI_CUSTOMER_SEARCH1 BAPI Search customer for BO customer (KNA1) - with CAM features
Regards
01-17-2008 9:05 AM
01-17-2008 3:09 PM
hi ,
In that function module there is no data regarding tax classification