R3_MODIFY_VARIANT on SAP 7.4 Servicepack 15 returns empty fields when used with a v3.0 connection

Document ID : KB000084596
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
U2004065 Modifying variant was not successful.
U2004025 Job-script execution was aborted.

After upgrading SAP to version 7.4 Servicepack 15, module R3_MODIFY_VARIANT in SAP jobs returns empty parameters, which causes jobs to fail.
 
2016-09-21 05:23:37 - U2004057 Parameter 'FILE' = ''
2016-09-21 05:23:37 - U2004065 Modifying variant 'UC4_160921' of Report 'RSPOXDEV' was not successful.
2016-09-21 05:23:37 - U2004025 Job-script execution was aborted.

This only occurs when the "Interface version" parameter is set to "Default" or "3" in the Remote Function Call tab of the CONN.R3 used by the SAP agent.
0EMb0000001Qc6O.png


Investigation

This is caused by the fact that no value is returned by SAP for parameters sent by the SAP Job.

Below is an example with parameter 'FILE':

a) Automic Trace

 
20161107/095809.266 - 25 REPORT="RSPOXDEV", VARIANT="UC4_EXP", PNAME="MODE", PKIND="P", POLEN=1, PTEXT="Import", PSIGN="I", POPTION="EQ", PLOW="X"
20161107/095809.273 - 25 REPORT="RSPOXDEV", VARIANT="UC4_EXP", PNAME="DO_SRV", PKIND="P", POLEN=1, PTEXT="Server", PSIGN="I", POPTION="EQ"
20161107/095810.342 - 25 REPORT="RSPOXDEV", VARIANT="UC4_EXP", PNAME="FILE", PKIND="P", POLEN=128, PTEXT="Export/Import file name", PSIGN="I", POPTION="EQ", PLOW="/DLT/DLT/OMS"
20161107/095810.384 - 25 REPORT="RSPOXDEV", VARIANT="UC4_EXP", PNAME="FILE", PKIND="P", POLEN=128, PTEXT="Export/Import file name", PSIGN="I", POPTION="EQ", PLOW="/DLT/DLT/OMS"
000002F0 20272F44 4C542F44 4C542F4F 4D53272E > '/DLT/DLT/OMS'.<
000003F0 2D205532 30303430 35372050 6172616D >- U2004057 Param<
00000400 65746572 20274649 4C452720 3D202727 >eter 'FILE' = ''<
00000410 0D0A3230 31362D31 312D3037 2030393A >..2016-11-07 09:<
00000420 35383A31 30202D20 55323030 34303635 >58:10 - U2004065<
00000430 204D6F64 69667969 6E672076 61726961 > Modifying varia<
00000440 6E742027 5543345F 45585027 206F6620 >nt 'UC4_EXP' of <
00000450 5265706F 72742027 5253504F 58444556 >Report 'RSPOXDEV<
00000460 27207761 73206E6F 74207375 63636573 >' was not succes<
00000470 7366756C 2E0D0A32 3031362D 31312D30 >sful...2016-11-0<

b) SAP Trace
 
001060 | 00200020 00200020 00200020 00200020 |. . . . . . . .
001070 | 00200020 00200020 00200020 00200020 |. . . . . . . .
001080 | 00200020 00200020 00200020 00200020 |. . . . . . . .
001090 | 00200020 00200020 00200020 00200020 |. . . . . . . .
0010a0 | 00200020 00200020 00200020 00200020 |. . . . . . . .
0010b0 | 00200020 00200020 00200020 00200020 |. . . . . . . .
 
 
Cause:
Cause type:
Other
Root Cause: SAP
Resolution:
This is caused by SAP and affects only version 7.4 Servicepack 15. Please contact SAP in order to ask for a definite resolution.

Fix Status: No Fix

Fix Version(s):
N/A
Additional Information:
Workaround :
You may set a version 2.0 connection in the CONN.R3 connection object assigned to the SAP Agent:
0EMb0000001Qc6J.png