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: 

F4IF_GET_SHLP_DESCR not working in ECC 6.0?

Former Member
0 Kudos

Hello ABAPers,

We are in progress of upgrading from SAP system from SAP R/3 Release 4.6C to ECC 6.0. We have got an issue while doing testing after upgrade.

The FM F4IF_GET_SHLP_DESCR is used in the custom program to populate all the possible values

by passing the search help values. But the output retrieved from this FM is jumbled up since offset value is which gets populated in the FM DD_SHLP_GET_HELPMETHOD is incorrect.

The offset value in the structure shlp_method-fielddescr-offset of the function module DD_SHLP_GET_HELPMETHOD is getting populated incorrectly.

call function 'F4IF_GET_SHLP_DESCR'

exporting

shlpname = shlp-shlpname

shlptype = shlp-shlptype

importing

shlp = shlp_method.

The values passed to shlp-shlpname = TVKO and shlp-shlptype = CH. The offset value returned in shlp_method-fielddescr-offset for field VKORG is 000003 and VTEXT is 000007. Since the diference is very less, the output is getting jumbled up.

Kindly suggest if we have alternative solution/ FM or if any SAP notes are available for this.

Looking forward for your reply <removed by moderator>.

Thanks in Advance!

M M Jaffer

Edited by: Thomas Zloch on Sep 17, 2011 8:00 PM

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

I used the FM mentioned and found the details as below:

VKORG

TABNAME TVKO

FIELDNAME VKORG

LANGU EN

POSITION 0001

OFFSET 000006

DOMNAME VKORG

ROLLNAME VKORG

CHECKTABLE

VTEXT

TABNAME TVKOT

FIELDNAME VTEXT

LANGU EN

POSITION 0002

OFFSET 000014

DOMNAME TEXT20

ROLLNAME VTXTK

CHECKTABLE

LENG 000020

Shiva

3 REPLIES 3

Former Member
0 Kudos

Hi

I used the FM mentioned and found the details as below:

VKORG

TABNAME TVKO

FIELDNAME VKORG

LANGU EN

POSITION 0001

OFFSET 000006

DOMNAME VKORG

ROLLNAME VKORG

CHECKTABLE

VTEXT

TABNAME TVKOT

FIELDNAME VTEXT

LANGU EN

POSITION 0002

OFFSET 000014

DOMNAME TEXT20

ROLLNAME VTXTK

CHECKTABLE

LENG 000020

Shiva

Sandra_Rossi
Active Contributor
0 Kudos

Hi,

based on your input, and Shiva's answer, the difference is probably that you migrated to a Unicode system, it's not related to ECC. So you have to adapt your programs accordingly (as explained in SAP's Unicode migration advices).

Sandra

Former Member
0 Kudos

Resolved using Custom code.