on 07-09-2009 12:04 PM
Hi,
I would like to programatically create a 1001 relationship record using RH_INSERT_INFTY. But I couldnt find a way to also update the 1001 Additional data for object types like Room(PAD22), Qualification (PAD31) etc.
For the rest of the Infotypes I am able to see a structure p<nnnn>_exp available which can be used.
Any help.
Thanks.
Solution:
Move your data to a structure of the additional data (e.g. PAD23, PADxx, etc).
Then use method cl_hr_adata_type_cast=>padnn_to_adata to cast your PADxx structure to the ADATA field of INNNN structure.
Calling RH_INSERT_INFTY with the INNNN-ADATA filled will create the additional data and it's links.
To moderator: I know this is an old thread. I am updating my solution for other users who may be asking the same question. I too was searching for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello gandollf,
the P1001 structure include a generic ADATA field of CHAR 600, have you tried using itP Perhaps this is mapped automatically to the aditional data field of HRP1001.
Kind Regards
Roman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.