Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PA61 using BDC?

Former Member
0 Likes
770

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.

7 REPLIES 7
Read only

Sougata
Active Contributor
0 Likes
730

I think your approach is incorrect.

Which time infotypes are you trying to create for the employees?

Read only

Former Member
0 Likes
730

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.

Read only

Former Member
0 Likes
730

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

Read only

Sougata
Active Contributor
0 Likes
730

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.

Read only

Former Member
0 Likes
730

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.

Read only

Sougata
Active Contributor
0 Likes
730

How about rewarding some points first??

Read only

Former Member
0 Likes
730

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.