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: 

Update Infotype Master Data not using Batch Input

Former Member
0 Kudos

Hi Experts,

i need your suggestion to manage hr master data infotypes in order to create and update them no passing through screens (it means with no batch-input).

I need to create a FM that update infotypes, go through their validations but doesn't bring back screen configuration error ('Fill in all required fields').

All screens can have different attributes for each field (mandatory, hidden, etc.) and also can be retrieved by customizing V_T588M.

Do you know any BAPI or FM which makes all checks and then saves data with no batch input process?

Thanks

Nicola

1 ACCEPTED SOLUTION

Puneet_Gupta
Contributor
0 Kudos

Use function HR_INFOTYPE_OPERATION or HR_MAINTAIN_MASTERDATA. This does all the validations without screens.

- Puneet

5 REPLIES 5

Puneet_Gupta
Contributor
0 Kudos

Use function HR_INFOTYPE_OPERATION or HR_MAINTAIN_MASTERDATA. This does all the validations without screens.

- Puneet

0 Kudos

Hi Puneet,

you are right they check validations, but both of them are using Call Dialog, that's batch input. Batch input, even though in background, checks screen fields as required, not input, etc.

Cheers

0 Kudos

Hi Nicola,

Why do you want to bypass the screen field validations? This may lead to data inconsistencies.

Try the methods of class CL_HRPA_INFOTYPE_NNNN to see if they help.

-Puneet

0 Kudos

I am not using SAP frontend and I have created something like V_T588M for our frontend.

I am gonna check this class.

I'll let you know

Thanks

Former Member
0 Kudos

I have to create a custom class inheriting CL_HRPA_INFOTYPE_NNNN ('cause it's an abstract class), anyway a correct solution.

Thanks