Application Development 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: 

ADRMAS IDOC failing with the error "Address doesn't exists 2894".

sanjana_lingras
Active Participant
0 Kudos


Hi All,

We are facng issue related to ADRMAS IDOC. Idocs are going into status 51, when we check error. it says "Address doesn't exist 2894".

We have checked all Address related tables like ADRC/ADRT/ADRV , but we are not able to find exact issue.

Please help.

Regards,

Sanjana

2 REPLIES 2

Former Member
0 Kudos

Hi,

I would suggest put the break point on the below code and check. It is very simple to trace the issue.

Function Module : MASTERIDOC_CREATE_REQ_ADRMAS

call function 'ADDR_GET_COMPLETE'

     exporting

       addrnumber           = address_number

       iv_current_comm_data = space                          "*981i

     importing

       addr1_complete       = addr1_complete

     exceptions

       parameter_error      = 1

       address_not_exist    = 2

       internal_error       = 3

       others               = 4.

   if sy-subrc <> 0.

*       Adresse nicht gefunden

     message e010 with address_number raising address_not_found.

Rg, kiran

former_member182354
Contributor
0 Kudos

Hello