‎2017 Jul 18 6:05 PM
i neet to skip some infotypes, using HR_MAINTAIN_MASTERDATA with abap
because i need to use it, automatically with this function, but we need to skip some infotypes, and we not need to create new Infogroup, we want to use the same infogroup manually with PA40.
‎2019 Nov 04 11:23 AM
For all of you looking for a solution and not finding one, here it is.
It's requires quite an elaborate scheme but it gets the job done.
You need to implement BADI HRPAD00INFTY and pass value 'NEXT' into screen field FCODE in BEFORE_OUTPUT when the screen you want to skip is getting processed.
DATA: lv_screen_field TYPE string.
FIELD-SYMBOLS: <fv_field> TYPE any.
lv_screen_field = '(' && sy-cprog && ')' && 'FCODE'.
ASSIGN (lv_screen_field) TO <fv_field>.
<fv_field> = 'NEXT'.
Of course you need to find a way to pass information from your code calling HR_MAINTAIN_MASTERDATA to the BADI implementation which requires some IMPORT/EXPORT TO MEMORY gymnastics, but I'm sure you'll figure it out 🙂
‎2020 Jan 13 2:38 PM
This approach appears not to work if the screen contains a required field even though it is possible to skip in PA40 by clicking "next screen". Did the screen you skipped with this approach contain a required field?
Cheers.