cancel
Showing results for 
Search instead for 
Did you mean: 

Shortdump in VMD_EI_API when creating vendor

Former Member
0 Kudos

Hello folks,

I use VMD_EI_API=>MAINTIAN_BAPI for creating a new vendor. In general, the API works fine. However in a certain scenario, I get a shortdump SYSTEM_ON_COMMIT_INTERRUPTED and the reason is that an exception is raised during a perform on commit routine:

Method VMD_EI_API=>MAINTIAN_BAPI calls

perform data_save on commit (of function module VMD_DATA_SAVE)

which finally calls function module ADDR_MEMORY_SAVE where the error occurs:

...

654 ELSEIF NOT la_group[] IS INITIAL. "*1010i

655 * Es soll nur ein Teil der Adressdaten gesichert werden. "*1010i

656 * Wir müssen also prüfen, zu welcher Adressgruppe die "*1010i

657 * Handles gehören. "*1010i

658 LOOP AT addr_appl_to_int "*1010i

659 WHERE nation IS INITIAL. "*1010i

660 * Eine Überprüfung pro Handle reicht. "*1010i

661 PERFORM read_table_index_i "*1010i

662 TABLES iadrc "*1010i

663 USING 'IADRC' "*1010i

664 addr_appl_to_int-anr. "*1010i

665 IF iadrc-addr_group IN la_group. "*1010i

666 MESSAGE e830 RAISING address_number_missing. "*1010i

667 ENDIF. "*1010i

>>>> ENDLOOP. "*1010i

669 ELSE.

...

Here, value of iadrc-addr_group = 'BP' and the selection group la_group contains an entry for BP (I,EQ,BP,).

Therefore, the exception is raised.

Form routine read_table_index before read internal table iadrc with index 2 (iadrc contains two entries) where the second entry had no address number assigned.

I do not know the exact logic here so the question is why in a particular scenario this shortdump is raised. In this scenario I have assigned the vendor to be created as a debitor (i.e. with a KUNNR assigned) with this customer already being assigned to an existing vendor. But such a scenario also worked without a shortdump already.

Can anybody assist?

Thanks and kind regards,

Christoph

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Christoph,

in order to reduce the scope, just make sure at first no synchronisation would run with the ERP Business partner.

In other words try with the vendor not being synchronised with an ERP BP

AND ensure the customer related is also NOT synchronised with a BP

If it works in that case, then you know the trigger.

If this is really the syncrhonisation that generates this trouble, open a customer message at SAP

BR

Alain

Former Member
0 Kudos

Hi Christoph,

maybe you could look at [note 1228925|https://service.sap.com/sap/support/notes/1228925]

This could also provide the solution

BR

Alain