Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need BAPI to block customer

Former Member
0 Likes
3,204

Hi Experts,

I want to block all those customers who are not doing any transaction since last 30 days, or can say those are not active since lat 30 days .

I need BAPI to block all customers .

I don't want to block customers one by one so I can not use XD05. I have condition of days....

I m passing KUNNR VKORG VTWEG SPART .

I have used this bapi "SD_CUSTOMER_MAINTAIN_ALL".

and passing KUNNR VKORG VTWEG SPART . but I am getting error  as following

The ASSERT condition was violated.

Pl suggest me.

Rgds,

Swapnika

Hi Experts,

I want to block all those customers who are not doing any transaction since last 30 days, or can say those are not active since lat 30 days .

I need BAPI to block all customers .

I don't want to block customers one by one so I can not use XD05. I have condition of days....

I m passing KUNNR VKORG VTWEG SPART .

I have used this bapi "SD_CUSTOMER_MAINTAIN_ALL".

and passing KUNNR VKORG VTWEG SPART . but I am getting error  as following

The ASSERT condition was violated.

Pl suggest me.

Rgds,

Swapnika

5 REPLIES 5
Read only

Former Member
0 Likes
1,749

I think there is no BAPis for it.Use MASS maintenance transaction to block mass customers

Read only

Former Member
0 Likes
1,749

You can use cmd_ei_api=>maintain_bapi to maintain centrally.

Please check the documentation on how to use this.

Thanks,

Shambu

Read only

Former Member
0 Likes
1,749

Dear Friends,

Issues resolved using function module : FM:  Customer_Update

Rgds,

Swapnika

Read only

Former Member
0 Likes
1,749

Dear Friends,

Issues resolved using function module : FM:  Customer_Update

Rgds,

Swapnika

Read only

0 Likes
1,749

This FM is an update task FM (check attributes tab)

- It performs no check at all (read the source code...)

- It does not call the other required FM like DEBI_WRITE_DOCUMENT for change document

Calling this kind of FM is not better than a direct update of the database. You should have create a BDC or used class CMD_EI_API.

Regards,

Raymond