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

Mandatory Field Validations in RH_INSERT_INFTY

Former Member
0 Likes
601

Hi all,

I am trying to use the Function Module RH_INSERT_INFTY to update the HRP1000, HRP1001 data.

I am able to update the data properly when I give all the mandatory field in the innnn table input field.

But when I miss the mandatory fields in the structure OR give a wrong relation in the HRP1001, the FM still creates the infotype with that mandatory field as empty/ wrong relation updated, which would not have happened when I use PO10.

If anyone has worked on this function module can you please let me know if this function module does perform any validations at all(It also fails in other validations) or it just updates the table without any validation.

Please let me know if there are any other FMs available for these uplaods.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

former_member188827
Active Contributor
0 Likes
514

I think the FM you are using is directly inserting records in tables and hence screen validations are not being considered. Have you tried using 'RH_PNNNN_MAINTAIN'?

You can also use BDC recording of PO10, this way, all input checks will be executed.

Regards

Message was edited by: netweaver developer

I think the FM you are using is directly inserting records in tables and hence screen validations are not being considered. Have you tried using 'RH_PNNNN_MAINTAIN'?

You can also use BDC recording of PO10, this way, all input checks will be executed.

Regards

Message was edited by: netweaver developer

1 REPLY 1
Read only

former_member188827
Active Contributor
0 Likes
515

I think the FM you are using is directly inserting records in tables and hence screen validations are not being considered. Have you tried using 'RH_PNNNN_MAINTAIN'?

You can also use BDC recording of PO10, this way, all input checks will be executed.

Regards

Message was edited by: netweaver developer