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: 

Unable to create Infty 000 with FM 'HR_MAINTAIN_MASTERDATA'

Former Member
0 Kudos

Hi,

I am unable to create infotype 000 record in background mode by using

function : HR_MAINTAIN_MASTERDATA' .

The code works in foreground .

appreciate any leads / solution .

Thanks

1 ACCEPTED SOLUTION

amit_khare
Active Contributor
0 Kudos

check this value -

DIALOG_MODE = (1 or 0-foreground or Background)

2 REPLIES 2

amit_khare
Active Contributor
0 Kudos

check this value -

DIALOG_MODE = (1 or 0-foreground or Background)

Former Member
0 Kudos

Hi Rohan,

I am currently working on ECC 6.0, working on the Newhire application.

From the webdynpro Application we will enter all the reqired fields to hire an employee where it will hit the

workflow for the approval,once the approval is done,a step in workflow is calling my Class Method which inturn

is calling HR_MAINTAIN_MASTERDATA,so I am trying to call this in a background mode ie DIALOG_MODE = 1 or 2.

But still it is going to a exception 'An exception with the type CX_SY_DYN_CALL_ILLEGAL_TYPE occurred, but was neither handled locally, nor declared in a RAISING clause'.

This is going to this exception at the point where it calls the FM.

Please let me know if this FM HR_MAINTAIN_MASTERDATA has to be called differently in the background mode.

Appreciate your help.

Thanks,

Pavan.