cancel
Showing results for 
Search instead for 
Did you mean: 

Changing RFC user

Former Member
0 Kudos

Dear All,

We are using SRM classic scenario process ( SRM 5)

Accordig to SAP Note 938411 , we have to change the RFC user to RFCUSER ,

( It was SAPRFC) ,

This change caused us a problem on creating SC ( Runtime Error " GETWA_NOT_ASSIGNED" on ST22).

We appreciate to get more information on this issue.

Best Regards,

Moshe

Message was edited by:

Moshe Stein

Message was edited by:

Moshe Stein

Message was edited by:

Moshe Stein

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

<u>Which R/3 system version are you using ?</u>

Please ensure the following settings have made made correctly in R/3 back-end system.

<b>Be sure only ht follwoing changes as suggested in SAP OSS Note 938411 are done.</b>

<u>FUNCTION BAPI_GOODSMVT_CREATE</u>

<b>Delta 001Context Block </b>

* map head to internal structure **************************************
  CALL FUNCTION 'MAP2I_B2017_GM_HEAD_01_TO_IMKP'
       EXPORTING
            BAPI2017_GM_HEAD_01 = GOODSMVT_HEADER
       CHANGING
            IMKPF               = S_IMKPF.

<b>Delete Block</b>

   S_IMKPF-USNAM = SY-UNAME.

<b>Insert Block </b>

   IF SY-UNAME = 'RFCUSER'.
     S_IMKPF-USNAM = GOODSMVT_HEADER-PR_UNAME.
   ELSE.
     S_IMKPF-USNAM = SY-UNAME.

Don't forget to activate the Function module <u>FUNCTION BAPI_GOODSMVT_CREATE</u> after making the changes in R/3 backend.

Also, Please read OSS Note for RFC User details.

Note 642202 - EBP user admin: RFC user profile in back end/plug-in

Do let me know.

Hope this will definitely help.

Regards

- Atul

Former Member
0 Kudos

Hi Atul,

Thanks for your reply.

We are using R/3 version 4.7.

We have implement SAP OSS Note 938411 some months ago ,

But on SRM we have define RFC user as SAPRFC , and the system works properly .

When we realized that the Goods Confirmation on SRM request the RFC user to be RFCUSER , we had made the RFC change on SM59 -> ABAP CONNECTION -> change RFC destination Logon from SAPRFC to RFCUSER.

After this change the SC process caused an Error on ST22 (User name WF-BATCH)

Goods Confirmation process is OK.

Best Regards,

Moshe

Former Member
0 Kudos

Hi

You should be maintaining the same RFC USER (say RFCUSER) in both R/3 as well as the SRM systems. The user must not be locked and should be a Service user, with SAP_ALL and SAP_NEW Profiles attached in both the case in bot systems.

Do let me know.

Regards

- Atul