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

TCODE KPO6 Recording

adnanmaqbool
Contributor
0 Likes
630

Dear Guys

I have developed a upload program for Transaction KP06 using SHDB Transaction Recorder. Its working fine till the records fit into table control with out scrolling the scroll bar down. But when there is a need to scroll down the scroll bar to insert more records its get failed.

How can I scroll the scroll bar of table control while uploading the records using SHDB when there is a need to insert more records in Table Control.

Message was edited by:

Adnan Maqbool

Dear Guys

I have developed a upload program for Transaction KP06 using SHDB Transaction Recorder. Its working fine till the records fit into table control with out scrolling the scroll bar down. But when there is a need to scroll down the scroll bar to insert more records its get failed.

How can I scroll the scroll bar of table control while uploading the records using SHDB when there is a need to insert more records in Table Control.

Message was edited by:

Adnan Maqbool

3 REPLIES 3
Read only

Former Member
0 Likes
557

Hi Adnan,

Check this example to know how to code for handling table control in BDC.

http://sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm

You can use the bapi: BAPI_COSTACTPLN_POSTACTINPUT instead of BDCs to avoid the confusing aspects of BDC programming.

Regards,

Ravi

Message was edited by:

Ravi Kanth Talagana

Read only

adnanmaqbool
Contributor
0 Likes
557

Dear

The above example is for just to insert record in next row of table control but what should we do when all the lines of table control is fill and we have to scroll the table control futher to see more lines and to insert more records. My problem is that on my desktop i can see 100 lines of table control and i have inserted the 100 records in table control.

Now for inserting 101th record i have to scroll the table down.

Read only

0 Likes
557

Hi Adnan,

Check if the table control has any button that would always get the last record to the first row.

You can record the KP06 transaction in such a way that you enter the first record, then click that button(Or tge page down button itself), then enter the second record and again click that button untill you are done with uploading all the records. This way, your screen will always show 100 empty line with your current record being entered at the top.

Regards,

Ravi