Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

FM : BAPI_BUPA_ADDRESS_CHANGE

$
0
0

Hi Guys,

 

We are updating the Partner address details through IDOC.

 

We have used the FM BAPI_BUPA_ADDRESS_CHANGE to update the Address.

 

whenever we are processing the IDOC. it is giving the below standard message.

 

 

 

"Table IT_ADUSE_X must have the same number of lines as IT_ADUSE"

 

so, idoc not processing successfully.

 

the above error occurning in standard code

 

 

DESCRIBE TABLE  it_aduse    LINES lv_n1.

  DESCRIBE TABLE  it_aduse_x  LINES lv_n2.



  IF  lv_n1  <>  lv_n2.

    lv_msgv1 = 'IT_ADUSE'.

    lv_msgv2 = 'IT_ADUSE_X'.

    IF 1 = 2. MESSAGE e802(r11) WITH  lv_msgv1  lv_msgv2. ENDIF.

    CALL FUNCTION 'BALW_BAPIRETURN_GET2'

      EXPORTING

        type   = 'E'

        cl     = 'R11'

        number = 802

        par1   = lv_msgv1

        par2   = lv_msgv2

      IMPORTING

        return = ls_return.

    APPEND ls_return TO et_return.

 

can anybody suggest?

 

 

Regards,

Suresh.


Viewing all articles
Browse latest Browse all 4552

Trending Articles