Skip to Content
0
Jul 01 at 04:12 PM

SAP PI 7.40 problem when re-importing RFC module

286 Views Last edit Jul 01 at 04:15 PM 2 rev

Hello all,

On existing Namespace of ESR, after i re-imported the updated RFC module that is used by our scenario, an unexpected problem showed. Specifically, when RFC module is executed from ECC and after inspecting on Message Monitor, i saw that the message that reached PI is filled with different values on each label.
The change that was made our RFC Module was a deletion of a whole structure.

FM before -> IMPORTING
VALUE(IS_CREDENTIALS) TYPE ZCREDENTIALS (STRUCTURE)
VALUE(IS_PERSONAL_DATA) TYPE ZPERSDATA (STRUCTURE)
VALUE(IS_SALE_IDENTIFICACTION) TYPE ZSALEID (STRUCTURE)

FM now -> IMPORTING
VALUE(IV_USERNAME) TYPE ZUSERNAME (DATA ELEMENT)
VALUE(IV_PASSWORD) TYPE ZPASSWORD (DATA ELEMENT)
VALUE(IS_SALE_IDENTIFICACTION) TYPE ZSALEID (STRUCTURE)

IS_CREDENTIALS has been deleted and its 2 fields are used as importing parameters.
IS_PERSONAL_DATA had 2 fields inside, all char50, and has been deleted.
IS_SALE_IDENTIFICATION has 4 fields inside, all char50.

Before the change, everything was sent correctly to PI.

eg. <IS_CREDENTIALS> <USERNAME>theo</USERNAME> <PASSWORD>1234</PASSWORD> </CREDENTIALS> <IS_PERSONAL_DATA> <A>aaa</a> <B>bbb</B> </IS_PERSONAL_DATA> <IS_SALE_IDENTIFICATION> <A>a1</A> <B>b1</B> <C>c1</C> <D>d1</D></IS_SALE_IDENTIFICATION>

After the change, the labels are filled with wrong values.

eg. <IV_USERNAME>theo</IV_USERNAME> <IV_PASSWORD>1234</IV_PASSWORD> <IS_SALE_IDENTIFICATION> <A>aa</A> <B>a</B> <C>b</C> <D>bb</D></IS_SALE_IDENTIFICATION>

I think that the message from ECC can't be splitted correctly on PI's labels.

I have tried the following to resolve the issue:
1) a) ESR: Re-import RFC, perform message mapping again and refreshing operation mapping and service interface
b) IB: Perform cache and mapping refresh on integrated configuration and all involved communcation channels
2) a) ESR: Delete already imported RFC, import it again, perform message mapping again and refresh operation mapping and service interfac
b) IB: Perform cache and mapping refresh on integrated configuration and all involved communcation channels
3) Perform Full mode Cache Refresh on PI.

After all these tries, the problem remains unsolved.