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

Scroll table control TIME in transaction AS02 via batch input

petersgryska
Explorer
0 Likes
750

Hello

I should do some programming for importing a file to change the cost centers in assets.

Therefore I have to run the transaction AS02 via batch input. On the second tab there is the button more intervals.

On the dynpro with these intervals there is the table control TIME.

My problem here is to scroll single lines or pages in this table control via batch input. Recording a batch input throws back the ok-code '/00'. But that is not the one for scrolling.

Does anybody know the correct code or an other solution to scroll in this table?

Thanks a lot.

Peter

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
614

I saw in a thread that this transaction corresponds to BAPI_FIXEDASSET_CHANGE. Could you use it instead of BDC?

If you still want to use the BDC, the only possibility is that SAP has defined a user command to scroll (sometimes, the command is hidden, so you need to look at the abap code for comments about scroll or position), or a way to insert one line at a time "before" first line (then you don't need to scroll), or a button to position at a certain line. Unfortunately, I don't know this transaction, so I can't help much.

For more information about the table control scroll restriction, see the [BDC FAQ|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-Howtoscrollatablecontrol%3F].

Hello

I should do some programming for importing a file to change the cost centers in assets.

Therefore I have to run the transaction AS02 via batch input. On the second tab there is the button more intervals.

On the dynpro with these intervals there is the table control TIME.

My problem here is to scroll single lines or pages in this table control via batch input. Recording a batch input throws back the ok-code '/00'. But that is not the one for scrolling.

Does anybody know the correct code or an other solution to scroll in this table?

Thanks a lot.

Peter

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
615

I saw in a thread that this transaction corresponds to BAPI_FIXEDASSET_CHANGE. Could you use it instead of BDC?

If you still want to use the BDC, the only possibility is that SAP has defined a user command to scroll (sometimes, the command is hidden, so you need to look at the abap code for comments about scroll or position), or a way to insert one line at a time "before" first line (then you don't need to scroll), or a button to position at a certain line. Unfortunately, I don't know this transaction, so I can't help much.

For more information about the table control scroll restriction, see the [BDC FAQ|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-Howtoscrollatablecontrol%3F].

Read only

0 Likes
614

Hello again

I must be a kind of stupid. I saw this function module but was fixed far to much on finding a table where I can insert the values for doing the necessary changes in one time.

But now I had a detailed look on it and it seems like this may work by changing or inserting line for line.

This really could be the solution. I'll be back when I'm sure about it.

Update: This really works.

Thanks a lot.

Peter

Edited by: Peter Sgryska on Jul 22, 2010 12:53 PM