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

Update Infotype Master Data not using Batch Input

Former Member
0 Likes
851

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
Read only

Puneet_Gupta
Contributor
0 Likes
782

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

- Puneet

5 REPLIES 5
Read only

Puneet_Gupta
Contributor
0 Likes
783

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

- Puneet

Read only

0 Likes
782

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

Read only

0 Likes
782

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

Read only

0 Likes
782

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

Read only

Former Member
0 Likes
782

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

Thanks