‎2007 Apr 26 2:04 AM
Hello experts,
I am currently working on an object where in i need to upload time events data through PA61 transaction uusing BDC.
With the code i have written i m able to upload only the first three time evetns of a particular personnel no.
Can anybody suggest me where i could have gone wrong?
Thanks in advance,
sanjana.
‎2007 Apr 26 3:48 AM
I think your approach is incorrect.
Which time infotypes are you trying to create for the employees?
‎2007 Apr 27 2:51 AM
Hi Sougata,
I m using Infotype TIME EVENTS(2011).
And now i could develop the code to upload the data but only the first 13 records are getting uploaded ( table control).
I m facing problem with the folllowing issues.
1) uploading data (time events) into the next pages of the same person.
2) generalisation of screen resolution.
Please do suggest me if u any solutions for this.
Thanks in advance,
Mitra.
‎2007 Apr 27 6:21 AM
Hi Sangamithra ,
Are u recording Page down in your transaction , while handling Table Control , and one more thing which method u are using Either session or Call Trancation , if u were using Call Transaction Set The CTU_PARAMS structure def_size = 'X'.
Thanks & Regards
Bhaskar Rao.M
‎2007 May 01 5:17 AM
Hi Sangha,
Try creating this with help of Method defined in SAP Business Object Repository (BOR). See details below. Don't use BDC...its an old, outdated technology and involves cumbersome programming as well as testing.
Object name: <b>PTManagerExtPEvent</b>
Object type: <b>BUS7014</b>
Method: <b>Insert</b>
Function Module: <b>BAPI_CC1_UPLOAD_TIMEEVENT</b>
ALE Message Type: <b>HRCC1UPTEVEN</b>
Also, please read the documentation of the Business Object <b>PTManagerExtPEvent</b> and its Method <b>Insert</b> before using these in your program. There's heaps more doco in the system if you would like to read on - See customizing section <b>Connection with External Time Recording System using CC1</b> in the Implementation Guide (IMG) for Distribution (ALE).
Reward points if you found my post useful. Thanks.
‎2007 May 02 9:01 AM
Hello everybody,
Thanks a lot Saugat.
But i m already on the verge of completion of BDC program.
Still there exists an inefficiency where in the ORIGF field ( in the overview part of PA61 of a particular personnel no) is being filled up as 'M' (manual entry).This field should be left as empty.
Any suggestions.??
Thanks a lot in advance.
Sanghamitra.
‎2007 May 02 9:06 AM
‎2007 May 02 9:24 AM
I m very sorry Saugat,
I was in a hurry.
Nywayz any suggestions u have for the problem i have mentioned.
we need to change the content of ORIGF field which is not an input field.
Thanks,
Sanghamitra.