2012 Oct 23 10:23 AM
Hi,
I am insisted to use only this BAPI to insert time events data.I have Passed the following values.Still the data s not created in 2011 infotype. Am i missing any mandatory fields
SOURCE_SYS ERP_00_200 (My Current system logical Name)
TEVENTTYPE P01
TERMINALID 01
LOGDATE 17.10.2012
LOGTIME 12:41:30
PHYSDATE 17.10.2012
PHYSTIME 12:41:30
TIMEID_NO 00000000
PERNO 01000002
ATT_ABS_REASON
OBJECT_TYPE
OBJ_ID 00000000
COMP_CODE
COSTCENTER
ORDER
WBS_ELEMENT
CUSTOMER_FIELD_1
CUSTOMER_FIELD_2
2012 Oct 23 10:43 AM
Hi,
I am insisted to use only this BAPI to insert time events data.I have Passed the following values.Still the data s not created in 2011 infotype. Am i missing any mandatory fields
SOURCE_SYS ERP_00_200 (My Current system logical Name)
TEVENTTYPE P01
TERMINALID 01
LOGDATE 17.10.2012
LOGTIME 12:41:30
PHYSDATE 17.10.2012
PHYSTIME 12:41:30
TIMEID_NO 00000000
PERNO 01000002
ATT_ABS_REASON
OBJECT_TYPE
OBJ_ID 00000000
COMP_CODE
COSTCENTER
ORDER
WBS_ELEMENT
CUSTOMER_FIELD_1
CUSTOMER_FIELD_2
2012 Oct 23 10:43 AM
2012 Oct 23 10:53 AM
2012 Oct 23 1:11 PM
Thanks Its Working fine,If I call the below BAPIs in sequence.
BAPI_CC1_UPLOAD_TIMEEVENT,BAPI_TRANSACTION_COMMIT, and HR_CC1_TIMEEVENT_POST,I habe unknowingly typed as Useful answer instead of correct answer.Sorry BOss..
Thanks'
2012 Oct 23 10:46 AM
2012 Oct 23 11:28 AM
Yup,I am able to view the data s in CC1TEV table...Should i have to use transaction commit
2012 Oct 23 11:39 AM
Yes Please.. Commit the data after Function module Call. Use BAPI_TRANSACTION_COMMIT.
Check your data is available or not by giving the respective table for Infotype 2011. You can check this by going to Table T777D and enter infotype 2011 and execute in the field DBTAB your Mapping table for Infotype 2011 will be seen.
Check your entry in that table with your PERNR.
As suggested by Raymond check this report SAPCDT45 to get clarification on Errors.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |