2006 Feb 01 4:23 PM
Hello!
I am developing an inbound IDoc, during which i am suppose to insert respective segment structure into infotypes PA0000, PA0001, PA0002, PA0006 & PA0008 through Function Module RH_INSERT_INFTY, its throwing error sy-subrc 1, i can give sample code of it
CALL FUNCTION 'RH_INSERT_INFTY'
EXPORTING
fcode = 'INSE'
vtask = 'S'
order_flg = 'X'
commit_flg = 'X'
repid = sy-repid
TABLES
innnn = innnn
EXCEPTIONS
no_authorization = 1
error_during_insert = 2
repid_form_initial = 3
corr_exit = 4
begda_greater_endda = 5
OTHERS = 6.
The internal table innnn has record of type as follows
710 12080033 12/31/2006 12/27/2005 000 01/02/2006
When Idoc is posted through We19 through 'RH_INSERT_INFTY', it throws Sy-Subrc 1.
When the same record is input manually through SE37 into function Module 'RH_INSERT_INFTY', it throws error_during_insert,
Can any guys suggest me to come out of this problem, if possible suggest any other standard Fuction Module to insert data into Infotypes,
Thank You
Regards
Rajesh
2006 Feb 01 5:06 PM
2006 Feb 01 5:06 PM
2006 Feb 01 5:10 PM
2006 Feb 01 6:22 PM
Hi Rajesh,
The function module 'RH_INSERT_INFTY lets you insert multiple infotype records for OM objects into the Personnel Planning databases (HRPnnnn). ie the PD infotypes. For updating PA infotypes pl use 'HR_INFOTYPE_OPERATION' as suggested by others earlier.
Regards,
Suresh Datti
2006 Feb 01 7:40 PM
The above FM to fill up data in IT`S . Remember you might ran in to buffer problem if you use these FM , as it happened to us so we created separated BDC programs for IT upload...
Just sharing a experience with you .
Thanks
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |