Application Development and Automation 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: 
Read only

Kernel call HELP_GET_FIELDS causes short dump

Former Member
0 Likes
900

I have the following problem. I've had to copy the standard transaction VEFU so I could eliminate some checks that the client didn't want to be bothered by. The programs call at one point the function DYNP_VALUES_READ which has a kernel call to HELP_GET_FIELDS. I've checked the parameters in the kernel call on both my transaction and the standard transaction and they are identical. However the standard version runs fine, while in my version it raises an INVALID_DYNNAME exception. Could it be that the kernell runs a check on the main program that called the function and that's why it causes the dump? If so, what's the best way around it?

2 REPLIES 2
Read only

Former Member
0 Likes
552

CALL FUNCTION 'DYNP_VALUES_READ'

EXPORTING

<b> DYNAME = SY-CPROG

DYNUMB = SY-DYNNR</b>

TABLES

DYNPFIELDS = DYFIELDS .

check byname and dynumb in the copy program, both should be your program and your screen number not standard program name and screen no. Otherwise change sy-cprog and sy-dynnr, system will take your program and screen number.

Let me know if you still have the probelm.

Cheers,

Satya

Read only

0 Likes
552

Hi

Can you tell me what does this FM 'help_get_fields' do?

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Apr 21, 2008 11:37 AM