cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with SD_CUSTOMER_MAINTAIN_ALL

Former Member
0 Kudos

Hi Experts,

I am using the FM SD_CUSTOMER_MAINTAIN_ALL to update dunning info in KNB5 table. But this is giving the following error at runtime.

" Express Document "Update was terminated" received from author"

Can anyone please tell me why this ia happening?

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member

Hi,

SD_CUSTOMER_MAINTAIN_ALL is used in standard during the maintenance of a consumer using the standard customer master data transaction XD01 & XD02.

It is not intended to be used out of the transaction and in no case it should be used out of its original context. Due to the specificity of the function module, out of the original context we may face limitations and data inconsistencies.

This is precisely what you face in your case.

As an additional hint, such abort often are related to incorrect data related to address management.

For the maintenance of customers, there is NO BAPI and NO direct function module.

There are some functions modules like the one above where the name is looking nice. But these should not be used.

  • Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See [note 384462|https://service.sap.com/sap/support/notes/384462]

  • Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API

Hope this helps

BR

Alain

former_member226234
Contributor
0 Kudos

Hi,

In your SAP inbox, you will have the error message. You can check the inbox messages for more details why the short dump.

Regards,

Sandeep

Former Member
0 Kudos

Is there a dump? Has an enhancement been done? During the update processing, the actual database update part, something is causing a rollback. Since you're no longer in the transaction, SAP sends this message. Check for abends in ST22...might be something there, or might not...

Former Member
0 Kudos

Is this FM foe inserting a new record to KNB5 or can we update the existing one using this?