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

dump while calling HR_INFOTYPE_OPERATION

Former Member
0 Likes
1,846

Hi,

I'm calling HR_INFOTYPE_OPERATION and I'm getting a short dump with ASSIGN_BASE_TOO_SHORT error.

It's occuring on the line:

ASSIGN record TO <record> CASTING TYPE (tabname).

and it appears to be because the field symbol <record> is blank?

Can someone please explain what's going on and how I can sort this out?

Regards,

Hi,

I'm calling HR_INFOTYPE_OPERATION and I'm getting a short dump with ASSIGN_BASE_TOO_SHORT error.

It's occuring on the line:

ASSIGN record TO <record> CASTING TYPE (tabname).

and it appears to be because the field symbol <record> is blank?

Can someone please explain what's going on and how I can sort this out?

Regards,

6 REPLIES 6
Read only

0 Likes
1,478

Hi Rajendra,

As for fm HR_INFOTYPE_OPERATION import parameter  "RECORD" is pass value,,so you cannot leave this field blank and if you r passing values to  this parameter check for the exact data should be as per infotype logical structure Pnnnn.

So check your data type which you are passing to fm.

Regards

Ujjawal

Read only

former_member212124
Active Participant
0 Likes
1,478

This message was moderated.

Read only

former_member201275
Active Contributor
0 Likes
1,478

Have you enhanced an infotype and then processing this infotype through this FM?

The dump ASSIGN_BASE_TO_SHORT means that the structure of the field symbol (dynamicaly defined in T77D-DBTAB), is bigger than the field structure (typed TABLE HRINNNN).

Please can you post your dictoinary declaration here (SE11). 

Read only

former_member201275
Active Contributor
0 Likes
1,478

Hi Rajendra,

Is your question answered?

Read only

rajeshkothamasu
Active Participant
0 Likes
1,478

Hi Rajendra,

can your please post your code and what are the parameters passing to the function module.

Regards,

Rajesh K

Read only

former_member201275
Active Contributor
0 Likes
1,478

Hi Rajendra,

Please can you post your solution here so that others that have the same issue may also have the answer.

Thank you.