I wonder if any of you can help me with some ideas about an IDOC configuration/development.
Im working in SAP HR on PA module. The challenge is to create IDOCS sorted by Company codes and distribute them to different folders corresponding to that company codes.
I think that the right way to do this is create copies (Zs) of RBDMIDOC and RHALEINI introducing a select option field on the selection screen to filter data by company code (CC).
My problem stars in the distribution of the output IDOCS by folders.
How can I create IDOCS and distribute them by different folders (1 folder per CC)? Im using the message type HRMD_A with the IDOC basic type HRMD_A07.
Thank you all in advance.