1. I have created a (custom) Infotype with 4 Subtypes (all fields are common for all subtypes). Infotype Characteristics, Technical Attributes are properly maintained to handle Subtypes for this Infotype. Subtype Obligatory is checked.
2. Also, I have created an HCM FPM based Form. Designed Backend Generic Service to update the Infotype.
I could clearly see that the Backend Service is populating the field I9006_SUBTY field in the DO_OPERATIONS method of generic service. But when the workflow updates the Infotype (Save Form after Approve form task), the SUBTY field is not updated and rest all fields are updated properly.
Please suggest, if i did something wrong.
In my HRASR_DT transaction, in the section to pick the service fields, i dont find it as part of the field. I doubt if this could be the reason.
To avoid this, i have added the field manually.
With the above code in DO OPERATIONS method, i am able to fill it in the service datasets, but the issue is when it updates the database.